/*
 Theme Name:   Forster xmarket Custom
 Theme URI:    http://forster.m45.com/xmarket-child/
 Description:  Customization within child theme
 Author:       M45 Marketing Services
 Author URI:   http://www.m45.com
 Template:     xmarket
 Version:      1.0.0
*/

.reset_variations {
   margin: 10px 0 0px !important;
}

.fp-category-block {
    width: 100% !important; 
    clear: both !important;
    float: none !important;
    margin-left: 0 !important;
}

.fp-category-block .two-third {
    width: 63% !important; 
    float: left !important;
    margin-right: 0px !important; 
    margin-left: 2%;
}

.fp-category-block .one-third {
    width: 31% !important; 
    margin-right: 0px !important; 
    margin-left: 2%;
}

@media only screen and (max-width: 639px) {
    .fp-category-block .two-third, .fp-category-block .one-third { width: 94% !important; margin: 0 3% !important; clear: both;  }
    .fp-category-block { padding-bottom: 1em; border-bottom: 1em solid #e1e1e1;  }
}

.fp-category-block h3, .fp-category-block h2 {
    margin-bottom: 2px;
    font-weight: 400;
    line-height: 1.1;
    font-size: 20px;
    font-family: Calibri,Arial;
    text-transform: uppercase;
    color: #666669;
}

.products-categoies {
    background: #fff;
    padding-top: 2px;
    margin-top: 15px;
}

.term-description {
    background: #fff;
    padding: 20px 20px 20px 20px;
}

div.menu, #main-nav {
    margin-top: 5px !important;
}

.term-description + [data-readmore-toggle] {
    background: #464646;
    margin-bottom: 20px;
    display: block;
    width: auto;
    color: #fff;
    padding: 4px 0px 2px 20px;
}

.term-description P:last-of-type {
    margin-bottom: 0px !important;
}

.footer-information DIV.fpISO {
    margin-top: 16px;
    overflow: auto;
}

.footer-information DIV.fpISO IMG {
    float: left;
    margin-right: 4px;
    background: rgba(250, 250, 250, 0.9);
}

.footer-information LI SPAN {
    margin-left: 2px; 
    padding: 2px 0;
    font: 12px Calibri, sans-serif;
}

@media only screen and (min-width: 960px) {
    .footer-information .two-third {
        width: 600px !important;
    }

    .footer-information .one-third {
        width: 310px !important;
    }

    .logo {
        margin-top: -25px;
    }

    ul.sub-menu {
        width: 200px !important;
    }
}

.widget_etheme-subcategories {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.widget_etheme-subcategories DIV.block-content {
    padding: 20px 0px 10px 0px !important;
    margin-bottom: 0px !important;
}

.page-template-frontpage .one-third {
    /*background: #fff;*/
}

#homepage-sidebar .textwidget A {
    width: 31%;
    float: left;
    padding: 1%;
    text-align: center;
    border-right: 1px solid #e1e1e1;
    display: block;
    background: #fff;
}

#homepage-sidebar .textwidget h4 {
    margin-bottom: 2px;
    text-transform: none;
    font-size: 17px;
}

#homepage-sidebar .textwidget P {
    color: #666669; 
    margin-bottom: 0;
    line-height: 125%;
}

#homepage-sidebar .textwidget P:hover {
    color: #ff0000; 
}

#container {
    margin-bottom: 20px !important;
}

.home .banner, .home-page .banner {
    width: 98% !important;
    max-width: 460px !important;
    margin-left: 1.5%;
}

.home .banner P, .home-page .banner P, .home .banner H4, .home-page .banner H4  {
    margin-bottom: 0px;
}

.home .banner H4, .home-page .banner H4  {
    margin-top: 0.7em;
}

.home .banner.last, .home-page .banner.last {
    float: left !important;
}

@media only screen and (min-width: 640px) and (max-width: 767px) {
    .home .banner.last { float: none !important; margin: 0 auto; }
}

@media only screen and (max-width: 639px) {
    .home .banner.last { float: none !important; margin: 0 auto; }
    H1.tagLine { font-size: 1.6em !important; }
    #top-cart { background-image: none !important; }
}

.tagLine {
    text-align: center; 
    font-weight: 400; 
    font-size: 2.8em; 
    margin-bottom: 0.5em;
}

.et-menu-title {
    margin-top: 6px !important;
}

/* moved to \wp-content\themes\xmarket\code\css\admin.css to shorten categories list
td.column-description {
    display: inline-block;
    max-height: 100px !important;
    overflow: auto;
} */

.term-description H2 {
    margin-bottom: 0.3em !important;
}

.term-description OL, .woocommerce-tabs OL {
    list-style: decimal !important;
    margin-top: 0.4em;
}

.term-description OL LI, .woocommerce-tabs OL LI {
    margin-left: 2em !important;
    padding-left: .5em !important;
}

.term-description UL {
    margin-bottom: 1em !important;
}

.term-description UL UL, .term-description OL UL {
    margin-bottom: 0 !important;
}

.term-description OL UL LI {
    margin-left: 0em !important;
    padding-left: 2em !important;
}

.term-description A, .term-description A:visited, .woocommerce-tabs A, .woocommerce-tabs A:visited,
#tabs UL.check LI A, #tabs UL.list-square LI A,
.woocommerce-variation-description A, .content.simple-page A, .entry-content A  {
    color: #f00; 
    text-decoration: none;
}

.term-description A:hover, .woocommerce-tabs A:hover,
#tabs UL.check LI A:hover, #tabs UL.list-square LI A:hover,
.woocommerce-variation-description A:hover, .content.simple-page A:hover, .entry-content A:hover {
    color: #000; 
    text-decoration: underline;
}

#tabs UL.check LI A, #tabs UL.list-square LI A {
    background: none;
    border: none;
    display: inline;
    padding: 0;
    margin: 0;
    font: inherit;
}

div.woocommerce-tabs table.table th {
    font-size: 13px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

div.woocommerce-tabs H5 {
    margin-bottom: 0.2em !important;
    text-transform: none !important;
    font-size: 13px !important;
}

div.woocommerce-tabs UL, div.woocommerce-tabs OL {
    margin-bottom: 0.8em !important;
}

.descrip-faq {
    padding-left: 12px; 
    border-left: 5px solid #efefef;
}

.fp-part-no {
    color: #f00;
    font-size: 12px;
    font-weight: normal;
}

.cats .block-content .wpsc_categories li {
    padding: 2px !important;
}

.widget-container {
    padding-right: 18px !important;
}

.btn-show {
    width: 18px !important;
    height: 18px !important;
}

/* Swap position of search box */
#search {
    text-align: right !important;
    float:right !important;
    width:30%;
    margin-top:-6px !important;
}

#links {
    float:left !important;
    width:30%;
    text-align: left !important;
    margin-top:3px !important;
}

#customLinks {
    float: right;
    width: 40%;
    text-align: right;
}

@media only screen and (max-width: 767px){
    #customLinks { text-align: center; float: none; width: 100%; }
    .links { text-align: center !important; }
}

#search .button {
    background-color: #bdbdbd;
}

#search .button:hover {
    background-color: #ff4949;
}

#breadcrumb span {
    display: inline-block;
    margin-left: 2px;
}

input[type="text"], textarea, select {
    border-color: #cbcbcb !important;
    background-color: #fcfcfc !important;
}

.content.simple-page A.button {
    color: #777; 
    text-decoration: none;
    background-color: #dfdfdf;
}

.content.simple-page A.button:hover {
    color: #fff; 
    text-decoration: none;
    background-color: #f00;
}

.pdf-catalog-info {
    margin-top: 0 !important;
}

/* Temporary functions while site isn't secure. 
.widget_shopping_cart_content a.button.fl-r {
    display: none  !important;
}*/

.form .formField label,
#commentform .formField label{
    font-size: 12px !important;
}

.pswp__bg {
    background: #acacac !important;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85) !important;
    opacity: 0.85 !important;
}

IMG.pswp__img {
    border: solid 10px #fff;
}

/* Unique to Forster Focus (ff) */
#ffcontainer {
    width: 100%;
    margin: auto;
    background: #dfe0e1;
}

#ffbody {
    margin: auto;
    width: 82%;
    background: #fff;
    padding: 2%;
}

#ffdateline {
    width: 86%;
    background: #000;
    text-align: right;
    font-family: Georgia, serif;
    font-size: 14pt;
    color: #fff;
    padding: 6px 7%;
}

#ffbody H2, H3 {
    font-family: Arial, sans-serif;
    font-size: 16pt;
    color: #ef3125;
    font-weight: bold;
    margin-bottom: 0.7em;
}

#ffbody P, #ffbody LI, #ffbody TD {
    font-family: Georgia, serif;
    font-size: 11pt;
    line-height: 140%;
}

#ffbody H3 {
    font-style: italic;
    font-size: 14pt;
    margin-bottom: 0.2em;
    text-transform: none;
}

#ffbody OL {
    list-style: decimal !important;
    margin-top: 0.4em;
}

#ffbody UL {
    list-style: outside;
    margin-top: 0.4em;
}

#ffbody OL LI, #ffbody UL LI {
    margin-left: 2em !important;
    padding-left: .5em !important;
}

#ffbody P, #ffbody OL, #ffbody UL {
    margin-bottom: 0.5em !important;
}

#ffbody HR {
    border-top: 1px solid #bebebe;
    border-bottom: 2px solid #bebebe;
    margin: 1em 0;
}

#fffooter {
    margin: auto;
    width: 82%;
    background: #dfe0e1;
    padding: 2%;
}

#fffooter P {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    text-align: center;
}

#prefooter-container #prefooter {
    padding-bottom: 15px;
}

/* Custom email response checkbox on checkout page */
P#our_mailing_subscribe_field label.checkbox, P.create-account label.checkbox  {
    width: 100%;
}

.woocommerce-checkout .form-row input#our_mailing_subscribe, .woocommerce-checkout .form-row input#createaccount {
    width: 2em;
    margin-right: 0;
}

DIV.woocommerce-terms-and-conditions-wrapper P.form-row LABEL, DIV.woocommerce-terms-and-conditions-wrapper P.form-row LABEL INPUT#terms {
    width: auto;
}

.widget-container.widget_etheme-subcategories .block {
    margin-bottom: 20px !important;
}

/* High res image download */
.hi-res-main-image {
    max-width: 180px;
    height: auto;
    float: left;
    margin: 1em 2em;
    background: #fff;
    position: relative;
}

.hi-res-main-image A IMG {
    cursor: crosshair
}

.hi-res-main-image IMG.hi-res-svg {
    height: 1em;
}

.woocommerce-hi-res-main-image {
    display: block; 
    position: relative;
    border: 6px double #000;
    border-radius: 50%;
    max-width: 168px;
    overflow: hidden;
    margin-bottom: 5px;
}

.hi-res-main-image:last-of-type {
    margin-right: 0px;
}
        
.hi-res-main-image P {
    text-align: center;
    font-size: 12px;
    margin: 0;
    width: 100%;
    line-height: 100%;
    border: 1px groove #808080;
    border-top: none;
}

.hi-res-link {
    position: absolute;
    bottom: -8px;
    left: 0;
    background: #ee3124;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding-top: 8px;
    width: 100%;
    height: 0;
    overflow: hidden;
    -moz-transition: height 0.8s ease;
    -webkit-transition: height 0.8s ease;
    -o-transition: height 0.8s ease;
    transition: height 0.8s ease;
}

.hi-res-main-image A:hover > .hi-res-link {
    height: 34px;
}

.hi-res-main-image A {
    margin: 0 2px;
}

.hi-res-main-image P {
    min-height: 2.6em;
    line-height: 1.23;
}

.lb-caption {
    color: rgb(255, 255, 255, 1);
}

p.in-stock {
    display: none;
}

P.available-on-backorder {
    color: #f00;
    font-weight: 700;
    text-shadow: 1px 2px 3px #666669;
}

TEXTAREA.form-note {
    height: 5em;
}

table.shop_attributes td.product_weight, table.shop_attributes td.product_dimensions {
    padding: 8px !important;
}