/*
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.   ***************/
p{
    margin-bottom: 1rem;
}
.footer-wrapper p{
    margin-bottom: 0.8rem;
}
#logo img{
    margin: auto;
}
.box-header{
    display: flex;
    margin-left: 15px;
    gap: 10px;
}
.phone-contact .icon-phone{
    font-size: 44px;
    color: #017841;
}
.box-header .right{
    line-height: 1.2;
}
.phone-contact .text{
    font-size: 18px;
    color: #7c7c7c;
}
.phone-contact .number{
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #017841;
}
.header .searchform > div:first-child{
    border-radius: 6px;
    overflow: hidden;
}
.header .searchform .search-field{
    box-shadow: none;
    border: 0;
    height: 39px;
}
.header .searchform .submit-button{
    border: 0;
    padding: 4px 20px;
    background-color: #017841 !important;
}
.box-cam-ket .box-text{
    padding-bottom: 0;
}
#menu-vertical-menu.nav-vertical-fly-out > li > a{
    color: #333333;
    font-weight: 500;
}
.section-slides{
    margin-top: -10px;
}
.woocommerce-LoopProduct-link{
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    height: 2.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product .title-wrapper{
    display: flex;
    flex-direction: column-reverse;
}
.product .product-cat{
    opacity: 1;
    font-size: 0.8rem;
}
.price-wrapper .sales-rating-container{
    display: flex;
    flex-direction: column;
    font-size: 13px;
    margin-bottom: 10px;
}
.related-products-wrapper .price-wrapper .sales-rating-container,
.cart-wrapper .price-wrapper .sales-rating-container{
    flex-direction: column;
    gap: 0;
    align-items: baseline;
}
.price-wrapper .box-star-rating{
    display: flex;
    align-items: center;
}
.box-star-rating .star-rating{
    margin-top: 5px;
}
.price-wrapper .price{
    display: flex;
}
.product.product-type-variable .price-wrapper .price{
    align-items: center;
    font-size: 0;
}
.single-product .product-info .price-wrapper .price{
    flex-direction: unset;
}
.single-product .product-info .price-wrapper .price del{
    margin-top: 0;
    order: 1;
    margin-left: 4px;
}
.price-wrapper .price del .amount{
    font-size: 0.9rem;
    color: #333;
    text-decoration: line-through;
}
.price-wrapper .price .amount,
.woocommerce-variation-price .price span.amount{
    font-size: 1.2rem;
    color: red;
}
.product-info .price-wrapper .price ins .amount,
.product-info .woocommerce-variation-price .price ins span.amount{
    font-size: 1.6rem;
}
.product .box{
    box-shadow: 0 0 2px #929292;
    border-radius: 5px;
    overflow: hidden;
}
.product .box-text{
    position: unset;
}
.box-text-products{
    padding-left: 10px;
    padding-right: 10px;
}
a.add_to_cart_button{
    position: absolute !important;
    right: 10px;
    bottom: 15px;
    font-size: 0 !important;
    padding: 7px 5px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    text-align: center;
}
a.add_to_cart_button:before{
    content: "";
    font-family: fl-icons;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}
a.added_to_cart{
    padding-bottom: 0;
    color: #017841;
}
.box-star{
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbd346;
}
.box-star > span:last-child,
.box-star-rating > span{
    color: #999999;
}
.box-star > span:first-child{
    display: flex;
    gap: 5px;
}
.sales-count{
    color: #7e7e7e;
    font-weight: 300;
}
.sales-count i{
    color: #017841;
}
.star-rating span:before,
.star-rating:before{
    letter-spacing: 3px;
    font-size: 85%;
}
.ux-menu-link__link{
    padding-top: 0;
    padding-bottom: 0;
    min-height: 2rem;
}
.section-title a{
    font-weight: 400;
    font-size: 66%;
    align-items: center;
    display: flex;
    color: #017841;
}
.home .section-slides .col:first-child .col-inner,
.product .col-inner,
.product .col-inner .box{
    height: 100%;
    background: #ffffff;
}
.box-star-rating .star-rating:before,
.box-star-rating .star-rating span:before,
.stars a.active,
.star-rating:before,
.woocommerce-page .star-rating:before,
.star-rating span:before{
    color: #fbd346 !important;
}
.product-section{
    background: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}
.variations .reset_variations{
    top: 6px;
}
.woo-variation-swatches .variable-items-wrapper .variable-item{
    line-height: 1;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected{
    background-color: #006133 !important;
    color: #fff !important;
}
h1.product-title{
    margin-bottom: 0;
}
.woocommerce-variation-price{
    border-top: 0;
}
table.variations{
    margin-bottom: 0.5rem;
}
table.variations label{
    text-transform: capitalize;
}
.product-short-description,
.variations_form{
    margin-top: 15px;
}
.variations_form,
form.cart{
    margin-bottom: 0;
}
.product.product-type-variable .price-wrapper .price span.amount:last-child{
    display: none;
}
.product .badge-container{
    margin: 10px 15px 0;
}
.product .badge-frame{
    height: 1.6rem;
    margin-bottom: 5px;
}
.product .badge-frame .badge-inner{
    background-color: #db0000;
    color: #fff;
    border: 0;
    border-radius: 3px;
    font-weight: 300;
    font-size: 14px;
}
.add_to_wishlist{
    display: inline-block;
    background: #006133;
    color: #fff;
    padding: 7px 30px;
}
.single_add_to_cart_button,
.add_to_wishlist{
    border-radius: 5px;
}
.variations .label,
.variations label{
    font-size: 1rem;
}
#product-sidebar{
    margin-top: 20px;
}
#product-sidebar aside.widget{
    background: #fff;
    padding: 10px;
    border-radius: 5px;
}
#product-sidebar .icon-box-left{
    align-items: center;
}
.box-brand{
    display: inline-block;
    border: 1px solid #c3c3c3;
    border-radius: 10px;
    overflow: hidden;
}
.add-to-cart-button a:not(.add_to_cart_button){
    display: none;
}
.woocommerce-cart .col-inner > .woocommerce,
.woocommerce-checkout .col-inner > .woocommerce{
    background: #fff;
    padding: 15px;
    border-radius: 5px;
}
.shop_table .product-subtotal{
    white-space: nowrap;
}
.button{
    border-radius: 5px;
}
.woocommerce-billing-fields__field-wrapper .form-row-first{
    margin-right: 0;
    width: 100%;
}
.pwb-filter-products ul li{
    margin-left: 0;
}
.pwb-filter-products ul li label{
    cursor: pointer;
}
.product_list_widget li .product-title{
    color: #333;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product_list_widget li .woocommerce-Price-amount{
    color: red;
}
.product_list_widget li del .woocommerce-Price-amount{
    font-size: 0.8rem;
    color: #666;
}
.widget_price_filter .price_slider_amount .button,
.widget_price_filter .ui-slider .ui-slider-handle{
    background-color: #006133;
}
.price_slider_amount .price_label span{
    color: red;
}
.widget_shopping_cart ul li a{
    color: #333;
}
ul.product_list_widget li a.remove{
    border: 0;
}
.woocommerce-checkout-payment ul li img{
    height: 40px;
    margin-left: 10px;
}
input[type=email], input[type=number], input[type=search], input[type=tel], input[type=text], input[type=url], textarea{
    border-radius: 5px;
    box-shadow: none;
}
.shop-container{
    display: flex;
    flex-direction: column;
}
.shop-container .term-description{
    order: 1;
    margin-top: 25px;
}
.more-read{
    display: block;
}
.more-read button{
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}
.ux-menu.menu-ngang{
    flex-direction: unset;
    gap: 25px;
    max-width: 760px;
    overflow-x: auto;
}
.ux-menu.menu-ngang .ux-menu-link__link{
    white-space: nowrap;
    font-weight: bold;
    color: #006133;
}
.ux-menu.menu-ngang.stack-col::-webkit-scrollbar-track{
    border-radius: 10px;
    background-color: #F5F5F5;
}
.ux-menu.menu-ngang.stack-col::-webkit-scrollbar{
    width: 7px;
}
.ux-menu.menu-ngang.stack-col::-webkit-scrollbar:horizontal{
    height: 7px;
}
.ux-menu.menu-ngang.stack-col::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background-color: #006133;
}
.product-short-description{
    font-size: 15px;
    color: #666;
}
.product-short-description p{
    margin-bottom: 0.4rem;
}
@media(min-width: 992px){
    .header-search-form-wrapper{
        padding-right: 50px;
    }
    .add_to_wishlist:hover{
        background-color: #004122;
        color: #fff;
    }
    .single-product .product .row-large>.col{
        padding: 0 15px 30px;
    }
    .single-product .product .row.row-large{
        max-width: 1170px;
    }
    .ux-menu.menu-ngang{
        position: absolute;
        right: 145px;
        top: 29px;
    }
    .price-wrapper .price del{
        order: 1;
        margin-left: 5px;
    }
    .category-page-row .large-3{
        flex-basis: 22%;
        max-width: 22%;
        padding-right: 5px;
    }
    .category-page-row .large-9{
        flex-basis: 78%;
        max-width: 78%;
        padding-left: 10px;
    }
    .category-page-row #shop-sidebar{
        background: #fff;
        padding: 15px;
        border-radius: 7px;
    }
    .category-page-row .row-small>.col{
        padding: 0 5px 10px;
    }
    .single .product-main{
        background: #fff;
        margin: 20px 0;
        padding: 15px;
        padding-bottom: 0;
        border-radius: 5px;
    }
    .product-main .row .col{
        padding-bottom: 0;
    }
}
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .header-wrapper .header-inner{
        background-color: #fff;
    }
    .box-cam-ket.row{
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .box-cam-ket.row .col .box-image{
        width: 40px !important;
    }
    .box-cam-ket.row .col .box{
        padding-left: 15px;
        padding-right: 15px;
    }
    .box-cam-ket.row .col .box .box-text-inner h4{
        white-space: nowrap;
        font-size: 1rem;
    }
    .price-wrapper .sales-rating-container{
        flex-direction: column;
        gap: 0;
        align-items: baseline;
    }
    .ux-menu.menu-ngang{
        margin-top: -20px;
        margin-bottom: 20px;
    }
    .product:not(.product-type-variable) .price-wrapper .price{
        flex-direction: column-reverse;
    }
    .price-wrapper .price del{
        margin-top: 6px;
        text-decoration: auto;
    }
    .row-small>.col{
        padding: 0 5px 10px;
    }
    .category-page-row{
        padding-top: 15px;
    }
    .product-main{
        padding: 15px 0;
    }
    .product-main .row .col{
        background-color: #fff;
        padding-bottom: 0;
    }
    .product-main .row .col.large-6{
        margin-bottom: 15px;
    }
    .product-footer{
        margin-left: -15px;
        margin-right: -15px;
    }
    #product-sidebar ~ .col.large-9{
        padding-bottom: 0;
    }
}