/*
Theme Name: Safford New
Description: Safford Child theme of FlatSome
Author: UX Themes
Template: flatsome
Version: 3.4
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/** Custom Fonts **/
@font-face {
    font-family: 'lamplighter_scriptregular';
    src: url('assets/fonts/ufonts.com_lamplighter-script-webfont.woff2') format('woff2'),
    url('assets/fonts/ufonts.com_lamplighter-script-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {font-family: "HWT Slab W00 Antique";
    src: url("assets/fonts/c6f66d3eac0eca1304d31ffea83f5380.eot"); /* IE9*/
    src: url("assets/fonts/c6f66d3eac0eca1304d31ffea83f5380.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("assets/fonts/c6f66d3eac0eca1304d31ffea83f5380.woff2") format("woff2"), /* chrome?firefox */
    url("assets/fonts/c6f66d3eac0eca1304d31ffea83f5380.woff") format("woff"), /* chrome?firefox */
    url("assets/fonts/c6f66d3eac0eca1304d31ffea83f5380.ttf") format("truetype"), /* chrome?firefox?opera?Safari, Android, iOS 4.2+*/
    url("assets/fonts/c6f66d3eac0eca1304d31ffea83f5380.svg#HWT Slab W00 Antique") format("svg"); /* iOS 4.1- */
}

@font-face {font-family: "Bodoni Book";
    src: url("assets/fonts/72c6d6dde263ab535d48874154051fd5.eot"); /* IE9*/
    src: url("assets/fonts/72c6d6dde263ab535d48874154051fd5.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("assets/fonts/72c6d6dde263ab535d48874154051fd5.woff2") format("woff2"), /* chrome?firefox */
    url("assets/fonts/72c6d6dde263ab535d48874154051fd5.woff") format("woff"), /* chrome?firefox */
    url("assets/fonts/72c6d6dde263ab535d48874154051fd5.ttf") format("truetype"), /* chrome?firefox?opera?Safari, Android, iOS 4.2+*/
    url("assets/fonts/72c6d6dde263ab535d48874154051fd5.svg#Bodoni Book") format("svg"); /* iOS 4.1- */
}

@font-face {
    font-family: 'signpainter_houseslantregular';
    src: url('assets/fonts/signpainter_houseslant_regular-webfont.woff2') format('woff2'),
    url('assets/fonts/signpainter_houseslant_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


/**
  Top bar
  **/
#top-bar .flex-right {
    max-width: 60%;
}
#top-bar .nav-top-link {
    padding: 8px 15px;
}
/**
  Branding Page
  **/
#brands_a_z .top{
    display: none;
}

.stuck #logo img {
    max-height: 70px !important;
    padding: 5px 0;
}

#masthead .header-divider {
    background: #3C5478;
    height: 16px;
    width: 2px;
    border-radius: 6px;
}

/**
  My account and cart on header
  **/
#masthead .flex-right .header-nav {
    padding-left: 30px;
    padding-right: 60px;
    padding-top: 34px;
}
.stuck #masthead .flex-right .header-nav {
    padding-top: 10px;
}
/**
  Search box on header
  **/
#masthead .search-field {
    border-radius: 2px;
    background: #fff !important;
    color: #444444 !important;
    border: 2px solid #BFBEBC;
    height: 49px;
    font-size: 16px;
    margin-top: 20px;
    line-height: 49px;
}
#masthead input::-webkit-input-placeholder {
    color: #636363;
}
#masthead .search-form .submit-button {
    padding-top: 17px;
    padding-right: 10px;
    min-width: 43px;
    color: #3C5478 !important;
}
#masthead .search-form i {
    color: #3C5478;
    font-size: 22px;
    left: -6px;
}

#masthead .search-form .button.loading::after {
    margin-top: 1px;
    margin-left: -14px;
}

.stuck #masthead .search-form .button.loading::after {
    margin-top: -8px;
}

.stuck #masthead .search-field {
    margin-top: 0;
    height: 37px;
    font-size: 14px;
    line-height: 37px;
}

.stuck #masthead .search-form i {
    color: #1F385F;
    font-size: 18px;
    left: -6px;
}

.stuck #masthead .search-form .submit-button {
    padding-top: 0;
}
/**
  Megamenu
  **/
.header-bottom .nav-top-link {
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    font-weight: 700;
    flex-grow: 1;
    text-shadow: 0 1px 1px #aaa;
    font-weight: 700;
}

.header-bottom .nav-top-link > i {
    display: none;
}

#wide-nav.header-bottom .flex-col {
    width: 100%;
    border-top: 2px solid #D5D2D0;
    padding-top: 10px;
    padding-bottom: 10px;
}

#wide-nav.header-bottom .flex-col > ul > li {
    flex-grow: 1;
}
.nav-dropdown .menu-item:not(.menu-item-has-children) > a {
    font-size: 13px;
    font-weight: normal;
}
.header-nav > li > ul > li > ul.nav-column > .menu-item:not(.menu-item-has-children) > a {
    text-transform: uppercase;
    font-size: .8em;
    font-weight: bolder;
    color: #000;
}

.nav-dropdown .menu-item-has-children>a, .nav-dropdown .title>a, .nav-dropdown .nav-dropdown-col>a,
.header-nav > li > ul > li > ul.nav-column > .menu-item:not(.menu-item-has-children) > a {
    color: rgb(24, 54, 98);
}

.stuck .header-bottom {
    min-height: 30px;
}
.stuck #wide-nav.header-bottom .flex-col {
    padding-top: 0;
    padding-bottom: 0;
}
.stuck .header-bottom .nav-top-link {
    font-size: 12px;
}

/**
  Custom Footers
  **/
#footer .footer-widgets {
    padding-top: 80px;
}
#footer h3.widget-title {
    font-weight: bold;
    color: #222;
    text-transform: none;
    font-size: 1em;
    margin-top: 30px;
}

#footer .is-divider {
    display: none;
}

/**
  Info Block on footer
  **/
.info-block .footer-logo {
    max-width: 170px;
    margin-bottom: 20px;
}

.info-block h3 {
    margin-bottom: 0;
    color: #3C5478;
    font-weight: 700;
    font-size: 1.6em;
    line-height: 110%;
}

.info-block h4 {
    margin-bottom: 0;
    font-size: 1.3em;
    color: #3C5478;
    font-weight: 400;
    line-height: 110%;
}

.info-block footer,
.info-block address {
    text-decoration: none;
    font-style: normal;
    font-size: 0.9em;
    color: #444;
}

.info-block footer {
    margin-top: 20px;
}

.info-block address {
    margin-bottom: 20px;
}

.info-block .payment-icons {
    margin-bottom: 30px;
}

.info-block .payment-icon {
    opacity: 1;
    background:#3C5478;
    margin: 0 1px 3px;
    padding: 0 4px 3px
}

.info-block .payment-icon svg {
    height: 16px;
    fill: #fff;
}

.widget_text .newsletter-block {
    padding: 15px 0;
}
.widget_text .newsletter-block br {
    display: none !important;
}
.widget_text .newsletter-block .top-block h3 {
    font-size: 18px;
}
.widget_text .newsletter-block .top-block {
    display: block;
}
.widget_text .newsletter-block .top-block .col {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    flex-basis: 100% !important;
    padding-bottom: 10px;
}
.widget_text .newsletter-block .top-block .col:nth-child(2) {
    display: none;
}
.widget_text .newsletter-block input {
    font-size: 13px;
    margin-bottom: 0;
}

/**
  Visual Composer Fix
  **/
.content-area .vc_row-o-content-middle {
    max-width: 1370px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/**
  Woocommerce fix for product catalog images
  **/
#products .col-inner .box-image {
    padding: 20px;
    text-align: center;
}

#products .col-inner .box-image img {
    max-width: 100%;
    width: auto;
    height: 260px;
    object-fit: cover;
    object-position: 50% 50%;
}

#products .col-inner .box-image img.show-on-hover {
    width: 100%;
    height: 100%;
}

/**
  Woocommerce Product categories listing fix
  **/
#products .product-category > .col-inner > [itemprop="description"] {
    display: none;
}

#products .product-category > .col-inner {
    border: 1px solid #183662;
}

#products .product-category > .col-inner .box-text {
    background: rgba(24, 54, 98, 0.89);
    color: #aaa;
}

#products .product-category > .col-inner .box-text h5 {
    color: #e7e7e7;
}

#products .gridlist-toggle {
    display: none;
}

/**
  Woocommerce variation add to cart hide and seek
  **/
.woocommerce-variation-add-to-cart {
    transition: height,opacity 0.6s ease;
    -webkit-transition: height, opacity 0.6s ease;
}
.woocommerce-variation-add-to-cart-disabled {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.woocommerce-variation-add-to-cart-enabled {
    visibility: visible;
    opacity: 1;
    height: auto;
}


/**
  Woocommerce out of stock
  in single page?
  **/
.product-info .out-of-stock {
    color: red;
    font-size: 1em;
}

@media (max-width: 550px) {
    #logo img {
        padding: 6px !important;
    }
}

/**
  Shipping on checkout
  **/
.shipping ul, .shipping li, .shipping label {
    text-align: left;
}


/**
  Price percent off bubble
  **/
.woocommerce-sale-bubble-percentage {
    color: #D15939;
    font-size: 70%;
    vertical-align: text-top;
    margin-left: 5px;
}
.product-small .price-wrapper .woocommerce-sale-bubble-percentage,
.product-small .price-wrapper .price del {
    display: block;
}
.product-small .price-wrapper .woocommerce-sale-bubble-percentage {
    vertical-align: middle;
    font-size: 100%;
    padding: 5px 0;
}

.product-title {
    text-transform: capitalize;
}

/**
  Styling the box for more choices
  **/
/**.vt-more-choices-box {
    padding: 10px 20px;
    background: rgba(240, 93, 36, 0.86);
    color: #fff;
    font-size: 14px;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}**/

.grid-tools {
    left: 0;
}

.upsell-products-wrapper .vt-more-choices-box,
.related-products-wrapper .vt-more-choices-box {
    display: none !important;
}

.form-wppp-select select {
    display: inline-block;
    margin: 5px 0;
}
.shop-container.loading {
    position: relative;
}
.shop-container.loading:after {
    background: rgba(255,255,255, 0.8) url('./assets/images/loader.svg') no-repeat center 100px;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 30;
}


/**
  New styling
  **/
.primary.is-underline,
.primary.is-link,
.primary.is-outline {
    color: #F06630;
}

.button.is-underline:hover {
    color: #c0562a;
}

.button.is-underline:before {
    display: none;
}

.product-small.col {
    margin-bottom: 60px;
}

.product-small .col-inner {
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.product-small .col-inner > .box {
    flex-grow: 1;
}

.product-small .col-inner hr {
    display: none;
}

.product-small .box-text-products {
    padding-bottom: 0;
}

.product-small .box-image {
    border: 1px solid #A9A9A9;
    margin-bottom: 10px;
}

.product-small .category {
    font-size: 11px;
    color: #606060;
    font-weight: 600;
    line-height: 130%;
}

.product-small .product-title a,
.product-small .product-title {
    color: #222;
    font-weight: 600;
    font-size: 18px;
    line-height: 110%;
}
.product-small .price-wrapper,
.product-small .price-wrapper span.amount {
    font-size: 16px;
    color: #777;
    font-weight: 400;
}

.product-small .price-wrapper .price .woocommerce-sale-bubble-percentage {
    font-size: 13px;
    margin-top: -5px;
}

.product-small .price-wrapper .price {
    display: flex;
    margin-top: 10px;
}

.product-small .price-wrapper .price > * {
    padding: 0;
}

.product-small .product-short-description {
    display: none;
}

.vt-more-choices-box {
    color: #F06630;
    font-size: 14px;
    position: absolute;
    bottom: 4px;
    width: 100%;
    z-index: 2;
}

.secondary, .checkout-button, .button.checkout, .button.alt {
    background-color: #F06630;
    padding: 0 10px;
    line-height: 36px;
    font-weight: normal;
}

.box-image .out-of-stock-label {
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    top: 60%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 9px 0;
    background: rgba(255,255,255,0.9);
    text-align: center;
    opacity: .9;
}

.product-section .box-text-products {
    text-align: left;
}

.product-section .product-small .product-title a {
    font-size: 15px;
    font-weight: 500;
}

.nav-dropdown li:not(.menu-item-has-children) > a {
    font-size: 13px;
    font-weight: normal;
}
ul.brands_index li {
    margin: 0 2px 2px 0 !important;
}


@keyframes product_exit {
    from {
        margin-top: 0;
        opacity: 1;
    }
    to {
        margin-top: 200px;
        opacity: 0;
    }
}

@keyframes product_enter {
    from {
        margin-top: 80px;
        opacity: 0;
    }
    to {
        margin-top: 0;
        opacity: 1;
    }
}

.products.row > .col {

}

.products.row > .entering {
    animation-name: product_enter;
    animation-duration: 0.3s;
    animation-delay: 0s;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier;
    animation-play-state: paused;
    display: none;
}

.products.row > .entering.play {
    animation-play-state: running;
    display: block;
}

.products.row > .exiting {
    animation-name: product_exit;
    animation-duration: 0.3s;
    animation-delay: 0s;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier;
    animation-play-state: running;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}