/*
Theme Name: flatsome-child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@media (min-width: 850px) {

    header#header .nav-dropdown {
        display: block;
    }

    .header-search .nav-dropdown {
        min-width: 800px;
    }

    header#header .nav-dropdown ul.sub-menu {
        position: absolute;
        left: 100%;
        top: 0;
        background: #fff;
        width: 250px;
        padding: 0;
        display: none !important;
        border-radius: 5px;
        -webkit-box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
        box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    }

    header#header .nav-dropdown ul.sub-menu a {
        white-space: normal;
        margin: 0;
        padding: 10px 15px;
        border: 0;
        font-weight: 400;
    }

    header#header .nav-dropdown li:hover > ul.sub-menu {
        display: block !important;
    }

    header#header .nav-dropdown li {
        border-right: 0;
        white-space: normal;
        width: 100%;
        display: block;
        position: relative;
    }

    header#header .nav-dropdown li.menu-item-has-children > a {
        font-weight: 400;
        text-transform: none;
        color: rgba(102, 102, 102, .85);
    }

    header#header .nav-dropdown li.active > a {
        color: #e82c2a;
    }
}

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


}


.header-main {
	z-index: 99;
}

.header-main .img .img-inner {
	overflow: inherit;
}

.header-main #logo img {
	max-height: 100px;
	position: relative;
	top: -30px;
}

/** HEADER **/
input#woocommerce-product-search-field-0 {
    font-size: 16px;
    width: 100%;
    background-color: #fff !important;
    height: 40px;
    color: #333 !important;
    padding-left: 10px;
    box-sizing: border-box;
    padding-right: 50px;
    border-radius: 5px;
    outline: none !important;
}

.btn_hotline {
    line-height: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}

.btn_hotline span {
    display: block;
    font-size: 14px;
	color:#fff;
}

.btn_hotline .span_hotline a {
    font-weight: 600;
    font-size: 17px;
    color: #ffeb7c;
}

.icon-search:before {
    color: #ffeb7c;
}

.page-id-94 .box-breadcrumb, .page-id-94 .header-block.block-html-after-header.z-1 {
    display: none;
}

.box-breadcrumb {
    padding: 10px 0 !important;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, .2);
    border-top: 1px solid rgba(0, 0, 0, .2);
}

.box-breadcrumb p {
    margin-bottom: 0px;
}

/** HOMEPAGE **/
.section_services .promo-item .col-inner {
    background: #fff2e2;
    padding: 10px;
    border-radius: 10px;
    height: 100%;
    border: 2px solid #eeeeee59;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.section_services .promo-item .col-inner:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    background: #f7941e47;
}

.duration-300 {
    transition-duration: .3s;
}

.css-sanphambanchay .col-inner {
    background: #0b3b3b;
    padding: 40px 20px;
    border-radius: 12px;
    overflow: hidden;
}

.css-sanphambanchay .product-small.box {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    height: 100%;
    box-shadow: 0px 0px 6px 0px rgba(50, 50, 93, .15), 1px 1px 5px rgba(0, 0, 0, .05);
    margin-bottom: 0;
    position: relative;
}

.product-small.box {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    height: 100%;
    box-shadow: 0px 0px 6px 0px rgba(50, 50, 93, .15), 1px 1px 5px rgba(0, 0, 0, .05);
    margin-bottom: 0;
    position: relative;
}

.title-wrapper {
    display: block;
    font-size: 18px;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 21px !important;
    font-weight: 600;
    text-align: center;
}

.price-wrapper {
    margin-top: 15px;
}

.product-small.box .price del span {
    font-size: 15px;
}

.product-small.box .price del, .product-small.box .price del.amount {
    font-size: 17px !important;
    color: #999;
    font-weight: 400 !important;
    margin-right: 12px;
}

.product-small.box .price ins span, .product-small.box .price span.amount {
    font-size: 20px;
    font-weight: 700;
}

.badge {
    backface-visibility: hidden;
    display: table;
    height: 25px;
    pointer-events: none;
    width: 3em;
    z-index: 20;
}

.badge-container {
    margin: 0px;
}

.badge-inner.secondary.on-sale {
    font-size: 13px;
    padding: 1px 10px;
    background-color: #ea624c;
    display: inline-block;
    position: absolute;
    top: 5px;
    left: -6px;
    box-shadow: rgba(60, 64, 67, .1) 0px 1px 0px 0px, rgba(60, 64, 67, .15) 0px 2px 3px 2px;
    color: #fff;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 8px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .25);
    z-index: 1;
    line-height: 23px;
}

.badge-inner.secondary.on-sale:after {
    content: "";
    height: 0;
    width: 0;
    display: block;
    position: absolute;
    bottom: -4px;
    left: 0;
    border-top: 4px solid #ea624c;
    border-left: 7px solid transparent;
}

/** CSS BLOG **/
.col.post-item .col-inner {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, .25);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.col.post-item .col-inner .box-text {
    -webkit-box-flex: 1;
    flex-grow: 1;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    background: #f9f9f9;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 10px 15px;
}

.col.post-item .col-inner .box-text a {
    font-size: 19px;
    display: -webkit-box;
    overflow: hidden;
    visibility: visible;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: 600;
    color: #333333db;
    line-height: 24px;
}

.col.post-item .col-inner .box-text p.from_the_blog_excerpt {
    margin-top: 10px;
    font-size: 16px;
    color: #484848;
    font-weight: 400;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 23px;
}

.entry-content {
    padding-top: 0px;
}

.entry-header-text {
    padding-bottom: 0px;
}

/** CSS SANPHAM **/
.sort_giuseart {
    margin-bottom: 20px;
    padding: 10px;
    background: #f1f1f1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 7px;
}

.sort_giuseart form {
    padding: 0 0 0 20px;
    margin-bottom: 0px;
}

.sort_giuseart .pt-checkbox {
    margin-right: 0px;
    margin-bottom: 0px;
}

.block-promotion {
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid #d1a975;
    margin-bottom: 20px;
}

.block-promotion .heading-promo {
    background: #d1a975;
    padding: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    line-height: initial;
    gap: 5px;
}

.block-promotion .promo-content {
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
}

.block-promotion .promo-content p {
    margin-bottom: 5px;
}

.css-sanphamcotgiua button.isures-btn--cta_global.isures-btn--atc {
    display: block !important;
}

.css-sanphamcotgiua .ux-quantity.quantity.buttons_added.form-minimal, .css-sanphamcotgiua button.single_add_to_cart_button.button.alt {
    font-size: 16px;
    margin-bottom: 0;
}

.isures-btn--order_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-column-start: 1;
    grid-column-end: 3;
}

button.button.buy_now_button {
    width: calc(100% - 70px) !important;
    height: 60px;
    border-color: #0b3b3b !important;
    background: #0b3b3b !important;
    border-radius: 8px !important;
    display: inline-block;
    color: #fff;
    text-align: center;
    margin-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
}

.buy_now_button span {
    display: block;
    line-height: 22px;
}

.buy_now_button .span1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.buy_now_button .span2 {
    font-size: 15px;
    text-transform: initial;
    font-weight: 400;
}

.isures-btn--order_wrap .isures-btn--atc span {
    font-size: 15px;
    text-transform: initial;
    font-weight: 400;
    line-height: 2;
}

.isures-btn--order_wrap .isures-btn--atc {
    margin-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
    width: 135px;
    border-radius: 15px;
    justify-content: center;
    text-align: center !important;
    flex-direction: column;
    height: 60px !important;
    align-items: center;
    text-transform: inherit !important;
    background: #d1a975;
    border: 0px;
    margin-right: 0px;
}

.product_action_1 .col-inner {
    background: #0b3b3b !important;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    padding-bottom: 0;
}

.price-wrapper del {
    font-size: 17px;
}

.price-wrapper del span {
    font-size: 17px !important;
    font-weight: 400 !important;
}

.price-wrapper ins span, span.amount {
    font-size: 20px;
    font-weight: 400;
}

.bgthongso {
    background: #f7f7f7;
    padding: 20px;
    font-size: 17px;
    line-height: 26px;
    border-radius: 10px;
}

.cssnoidungsanpham .fancybox {
    background: #f7f7f7;
    padding: 20px;
    font-size: 17px;
    line-height: 26px;
    border-radius: 10px;
}

.cssnoidungsanpham ul.tabs.wc-tabs.product-tabs {
    /*display: none;*/
    font-size: 20px;
}

.cssnoidungsanpham .tab-panels {
    padding-top: 0px !important;
}

.is-divider {
    height: 0px !important;
}

/** CSS FOOTER **/
.block-subscribe {
    text-align: center;
    margin-top: 45px;
}

.block-subscribe .container {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    background-image: url(/wp-content/themes/khoacua-child/imgs/bg_email.png);
    padding-top: 40px;
    background-size: cover;
    padding-bottom: 44px;
}

.block-subscribe-flex {
    max-width: 700px;
    text-align: right;
    position: relative;
    padding-right: 200px;
}

.block-subscribe .subscribe-title {
    font-size: 24px;
    font-weight: 700;
    color: #0b3b3b;
    margin-bottom: 0;
}

.block-subscribe .desc {
    font-size: 14px;
    font-weight: 500;
    color: #585858;
    margin-bottom: 15px;
}

.subscribe-image {
    position: absolute;
    bottom: -22px;
    right: 0;
}

.subscribe-image img {
    width: 170px;
}

.block-subscribe-form {
    text-align: center;
}

.block-subscribe-form .flex-row.form-flat.medium-flex-wrap {
    position: relative;
    margin-bottom: -60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.block-subscribe-form form.wpcf7-form.init {
    margin-bottom: 0px;
}

.block-subscribe-form input.wpcf7-form-control.wpcf7-tel.wpcf7-text.wpcf7-validates-as-tel {
    height: 50px;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
    margin: 0;
    outline: none !important;
    border: none !important;
    background: #fff;
}

.block-subscribe-form input.wpcf7-form-control.wpcf7-submit.has-spinner.button {
    position: absolute;
    top: 8px;
    border: initial;
    background: #d1a975;
    color: #fff;
    border-radius: 5px;
    line-height: inherit;
    outline: none !important;
    cursor: pointer;
    font-size: 14px;
    margin-right: 0px;
}

.footer-1 {
    color: #fff;
    padding-top: 70px;
    padding-bottom: 60px;
    font-size: 16px;
}

.footer-1 span.widget-title {
    font-size: 18px;
}

span.wpcf7-spinner {
    display: none;
}

.icon-box-left .icon-box-img + .icon-box-text {
    padding-left: 1em;
    margin: auto;
}

/** CSS @MEDIA **/
@media screen and (max-width: 728px) {
    .breadcrum {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 14px;
    }

    .buy_now_button .span2, .isures-btn--order_wrap .isures-btn--atc span {
        font-size: 14px;
    }

    .block-subscribe-form .flex-row.form-flat.medium-flex-wrap {
        margin-bottom: -85px;
    }

    .block-subscribe-form input.wpcf7-form-control.wpcf7-submit.has-spinner.button {
        top: 12px;
        right: 0;
    }
}

@media screen and (min-width: 850px) {
    .block-subscribe-form input.wpcf7-form-control.wpcf7-submit.has-spinner.button {
        right: 30px;
    }

    .blog-wrapper .large-10 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .blog-wrapper .large-10 .col.post-item {
        flex-basis: 25%;
        max-width: 25%;
    }
}


.woocommerce-variation-add-to-cart {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.product-type-simple .add-to-cart-container .cart {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.color-f {
    background-color: #146EB4 !important;
    height: 46px;
}

.color-p {
    background-color: #FF3535 !important;
    height: 46px;
}

.icon-box h4 {
    margin-bottom: 0;
}

.icon-box p {
    margin-bottom: 0;
}

.viewed_pt {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.devvn_buy_now.devvn_buy_now_ajax {
    display: none;
}

.coupons-list ul {
    border: 1px dotted #FF52527D;
    padding: 10px;
}

.coupons-list li {
    list-style: none;
    background-color: #FFF1F1;
    margin: 0 !important;
    margin-bottom: 10px !important;
}

.coupons-list li strong {
    display: inline-block;
    background-color: #D0011B14;
    border: 1px solid #D0011B;
    color: #D0011B;
    padding: 5px 10px;
    min-width: 120px;
    text-align: center;
}

.label label {
    font-size: 16px;
}

@media screen and (max-width: 768px) {

    .product-type-simple .add-to-cart-container .cart {
        flex-direction: column;
        gap: 20px;
    }

    .woocommerce-variation-add-to-cart {
        flex-direction: column;
        gap: 20px;
    }

    a.devvn_buy_now_style {
        max-width: 100%;
    }

    .blog-wrapper .large-10 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .blog-wrapper .large-10 .col.post-item {
        flex-basis: 25%;
        max-width: 25%;
    }
}