/*
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.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Quicksand:wght@300;400;500;600;700&display=swap');
body{
    font-size: 18px
}
.dark .nav-vertical li li.menu-item-has-children>a, .dark .nav-vertical-fly-out>li>a, .dark .nav-vertical>li>ul li a, .dark .nav>li.html, .dark .nav>li>a, .nav-dark .is-outline, .nav-dark .nav>li>a, .nav-dark .nav>li>button, .nav-dropdown.dark .nav-column>li>a, .nav-dropdown.dark>li>a{
    color: #153822;
}
.nav-line-bottom>li>a:before, .nav-line-grow>li>a:before, .nav-line>li>a:before{
    height: 1px;
}
.header-bottom-nav > li > a{
    font-size: 16px;
}

h2.alt-font{
    font-size: 76px;
}
ul#header-contact a, div#masthead .social-icons.follow-icons a{
    opacity: 0.5;
}
div#wide-nav li.active >a, div#wide-nav li:hover >a{
    color: #d8c88d
}
a.button.primary span{
    color: #153822
}
.size30{
    font-size: 25px;
}
.justify{
    text-align: justify;
}
.info_1 span{
    color: #6DCBFF;
    font-weight: 700;
    font-size: 16px;
    margin-left: 10px;
}
.underline{
    text-decoration: underline;
}
.tab_product ul.nav a{
    font-size: 24px;
    color: #153822;
    font-weight: 700;
    padding: 0;
     transition: ease all .3s;
}
.tab_product ul.nav a:before{
   content: "";
    background-color: #ABABAB;
    opacity: 0.8 !important;
    width: 8px;
    border-radius: 10px;
    height: 100%;
    display: inline-block;
    height: 70px;
    margin-right: 23px;
     transition: ease all .3s;
}
.tab_product ul.nav li.active a, 
.tab_product ul.nav li:hover a{
    color: #d8c88d;
    transition: ease all .3s;
}
.tab_product ul.nav li.active a:before,
.tab_product ul.nav li:hover a:before{
    background-color: #d8c88d;
     transition: ease all .3s;
}
.tab_product .tab-panels{
    border:none;
   
}
.product-small.box .box-image{
    border-radius: 15px;
}


a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    color: #153822;
    font-weight: 700;
    font-size: 16px;
}
.product-small.box .title-wrapper:after{
    content: "See more";
    color: #d8c88d;
    font-size: 12px;
    font-weight: 400;
    text-decoration-line: underline;
}
.row5  p{
    margin-bottom: 0;
}
.row5>.col>.col-inner:hover{
    background-color: #F4F9FF;
    transition: ease all .3s;
    cursor: pointer;
}
.sec_2 .bg.section-bg.fill.bg-fill.bg-loaded{
        background-size: contain !important;
}
.absolute-footer{
    display: none;
}
.sec_2{
    margin-bottom: -250px;
}
#footer{
    font-size: 16px;
}
.form-register input.wpcf7-form-control.wpcf7-email{
    border-radius: 30px;
    height: 46px;
}
.form-register input.wpcf7-form-control.wpcf7-submit.has-spinner.button{
    width: 32px;
    box-shadow: none;
    height: 32px;
    position: absolute;
    top: 7px;
    right: 7px;
    font-size: 0;
    background: url(images/mail.png);
    border: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#footer .ux-menu-link__link{
    padding-top: 0;
}
.our_product  .product-small.box .box-image{
    border-radius: 5px;
}
.our_product .product-small.col>.col-inner{
    padding: 10px;
    border:1px solid #EAEAEA;
    background-color: #F4F9FF; 
      transition: ease all .3s;
}
.our_product .product-small .product-small.box{
     background-color: #F4F9FF; 
     transition: ease all .3s;
}
.our_product .product-small>.col-inner:hover .product-small.box{
    background-color: #153822; 
    transition: ease all .3s;
}
.our_product .product-small.col>.col-inner:hover{
    transition: ease all .3s;
    box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.10);
    background-color: #153822; 
}
.imgcover{
    position: absolute;
    bottom: -1px;
    left: 0;
}

.menu-home a.ux-menu-link__link.flex {
    padding: 16px 20px;
    background: rgb(21, 56, 34);
    border-bottom: 1px solid;
}


.menu-home .ux-menu-link:before {
    content: "";
    background-color: #ABABAB;
    opacity: 0.8 !important;
    width: 8px;
    border-radius: 10px;
    height: 100%;
    display: inline-block;
    height: 68px;
    /* margin-right: 23px; */
    transition: ease all .3s;
}

.menu-home span.ux-menu-link__text {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: Quicksand, sans-serif;
}

.menu-home .menu-item:hover span.ux-menu-link__text,
.menu-home a.ux-menu-link__link.flex:hover span.ux-menu-link__text {
    color: #d8c88d;
}

/* Hover border-left */
.menu-home .menu-item:hover .ux-menu-link::before,
.menu-home a.ux-menu-link__link.flex:hover .ux-menu-link::before {
    background-color: #d8c88d;
    opacity: 1;
}

.menu-home {
  max-height: 321px;
    overflow-y: auto;
    overflow-x: hidden;
}

.menu-home::-webkit-scrollbar {
    width: 8px;
}

.menu-home::-webkit-scrollbar-track {
    background: transparent;
}

.menu-home::-webkit-scrollbar-thumb {
    background-color: #d8c88d;
    border-radius: 10px;
}

.menu-home::-webkit-scrollbar-thumb:hover {
    background-color: #d8c88d;
}

.slide-img-box-home .flickity-page-dots {
    bottom: 0px;
   
}

/* 1. Ẩn các lớp background mặc định của header */
.header-bg-container.fill, 
.header-bg-image.fill, 
.header-bg-color.fill {
    display: none !important;
}

body.category-news #header,
body.category-news .header-wrapper,
body.tax-product_cat #header,
body.tax-product_cat .header-wrapper {
    background-color: #153822 !important;
    background-image: none !important;
}

/* Đảm bảo chữ trên menu dễ đọc trên nền tối (nếu cần) */
body.category-news .header-nav > li > a {
    color: #ffffff !important;
}

@media screen and (min-width: 850px){
    .row5 >.col{
        flex-basis: 20%;
        max-width: 20%;
    }
    .sec_3{
        margin-bottom: -400px
    }
    .tab_product .tab-panels{
        border:none;
        margin-right: -35%;
    }
     .col-3>.col-inner{
        width: calc(100% + 200px);
            z-index: 9;
    }
    .col1>.col-inner{
        width: calc(100% + 80px);
        z-index: 9;
    }
    
}
@media screen and (min-width: 767px){
     .row5 >.col{
        flex-basis: 20%;
    max-width: 20%;
    }
    .col-3>.col-inner{
       /* width: calc(100% + 360px);*/
            z-index: 9;
    }
    .col1>.col-inner{
        width: calc(100% + 80px);
        z-index: 9;
    }
}
@media screen and (min-width: 1600px){
        .size30{
        font-size: 30px;
    }
    h2.alt-font{
        font-size: 96px;
    }
}
@media screen and (max-width:849px){
    .sec_2 {
        margin-bottom: -406px;
    }
    .tab_product ul.nav a:before{
        height: 8px;
        width: 70px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .tab_product ul.nav a {
   
        display: flex;
        flex-direction: column;
        padding: 0 10px;
    }
    .tab_product ul.nav li{
        display: inline-block;
            width: auto;
    }
    .tab_product ul.nav{
        display: block;
    }
    h2.alt-font {
        font-size: 48px;
    }
}
@media screen and (max-width:549px){
    .tab_product ul.nav a{
        font-size: 18px;
    }
    .tab_product ul.nav a:before{
        height: 6px;
    width: 60px;

    }
    h2.alt-font {
        font-size: 36px;
    }
    .size30{
        font-size: 20px;
    }
}


