/*
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.   ***************/
/* Ảnh hiển thị đẹp hơn */
.section-product .product-images img {
    max-height: 550px;
    width: 100%;
    object-fit: contain;
}
a.button.lien-he-price {
    text-transform: none;
    border-radius: 35px;
    margin-bottom: 0px;
    margin-top: 0px;
}
.product_list_widget .lien-he-price {
    font-size: 13px !important;
    padding-top: 6px !important;
}
a.button.lien-he-price::before{
    font-family: "Font Awesome 5 Free";
    content: "\f2a0";
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
    font-weight: 900;
    color: #fff !important;
}
.single-product a.lien-he-price{
    display: none;
}
.single-product .add-to-cart-container{
    display: none;
}
a.button.primary.lowercase.expand.button-dat::after {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 900;
    color: #FFF212 !important;
}
a.button.primary.lowercase.expand.button-vct::after {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 900;
    color: #D50E14 !important;
}
.home-sec-1 .text-run h2 {
    font-size: 36px;
    margin-bottom: 0;
    color: #2d2d2d;
}
.text-run .run {
    height: 55px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.txt-rotate {
    height: 55px;
}
.txt-rotate .wrap{
    color:#D50E14 !important;
    
}
button.single_add_to_cart_button.button.alt::before {
    font-family: "Font Awesome 5 Free";
    content: "\f49e";
    display: inline-block;
    padding-right: 6px;
    vertical-align: middle;
    font-weight: 900;
    color: #D50E14 !important;
}
form.cart{
    display: block !important;
}
.h3-tc{
    color: #D50E14 !important;
    font-size: 18px !important;
}
.section-product {
    padding-bottom: 0px !important;
}
.col-product-info .product-price-container .price-wrapper span.amount bdi{
    font-size: 30.4px;
    font-weight: 800;
    font-family: Nunito, sans-serif;
    color: #FFF212;
}
.col-product-info .product-price-container .price-wrapper p.price {
    display: flex !important;
    align-items: flex-end;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.col-product-info .product-price-container .price-wrapper del span.amount bdi{
    font-size: 16px;
    font-weight: 700;
    color: #929292;
    opacity: 1;
}
.col-product-info .product-price-container .price-wrapper del {
    font-size: 16px;
    margin-left: 10px;
}
.col-product-info .quantity::before {
    content: "Số lượng";
    min-width: 100px;
    padding-top: 7px;
    padding-left: 10px;
    font-size: 16px;
    font-weight: 700;
}
.col-product-info .price-wrapper {
    order: 3;
    background: #fafafa;
    padding: 8px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
}
.col-product-info .quantity.buttons_added input.minus.button.is-form {
    border-radius: 8px 0 0 8px;
}
.col-product-info .quantity.buttons_added input.minus.button.is-form{
    max-width: unset;
    width: 38px;
    height: 38px;
    min-height: unset;
    line-height: 38px;
    border: thin solid #dee2e6;
    font-size: 22px;
    color: var(--primary-color);
    padding: 0;
    box-shadow: none;
    background: transparent;
}
.col-product-info .quantity.buttons_added input.input-text.qty.text {
    width: 60px;
    font-size: 15px;
    color: #000;
}
.col-product-info .quantity.buttons_added input.plus.button.is-form {
    border-radius: 0 8px 8px 0;
}
.col-product-info .quantity.buttons_added input.plus.button.is-form {
    max-width: unset;
    width: 38px;
    height: 38px;
    min-height: unset;
    line-height: 38px;
    border: thin solid #dee2e6;
    font-size: 22px;
    color: var(--primary-color);
    padding: 0;
    box-shadow: none;
    background: transparent;
}
button.single_add_to_cart_button.button.alt {
    background: #ac1a1a !important;
    border-radius: 10px;
    width: 47% !important;
    margin-left: 22px;
}
.div-nen-tang {
    margin-left: 0 !important;
    background: #fdf2bb;
    margin-right: 0 !important;
    padding: 10px;
    border-radius: 4px;
    border: 2px dashed;
}
.div-nen-tang .col {
    font-size: 13px;
    padding-bottom: 0 !important;
}
.div-nen-tang .col p{
    margin-bottom: 0px ;
}
.widget_search .searchform .button.icon i {
    color: #fff;
}
.copyright-footer {
    color: #fff !important;
}
.header-bottom ul.header-nav > li.menu-item ul.sub-menu > li > a{
    padding-left: 10px !important;
    color:#223339;
}
.header-bottom ul.header-nav > li.menu-item ul.sub-menu > li > a:hover {
    background-color: #D50E14;
    color: #ffffff;
    border-radius: 10px;
}
.home-blog .box-blog-post .is-divider {
    display: none;
}
.home-blog .box-text .box-text-inner .button {
    order: 4;
    color: #D50E14;
    text-transform: initial;
    font-size: 16px;
    font-weight: 800;
}
.home-blog .box-text .box-text-inner .button:hover {
    color: #eeee22;
}
.home-blog .box-text .box-text-inner .button {
    order: 4;
    color: #D50E14;
    text-transform: initial;
    font-size: 16px;
    font-weight: 800;
}
.home-blog .box-text .box-text-inner .button:after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    font-size: 12px;
}
.blog-wrapper.blog-single .entry-content.single-page h2 {
    font-size: 21px;
    color: #D50E14;
    padding-left: 10px;
    border-left: 2px solid #D50E14;
}
.blog-wrapper.blog-single .entry-content.single-page h3 {
    font-size: 18px;
    color: #D50E14;
    padding-left: 10px;
    border-left: 2px solid #D50E14;
}
.slick-initialized .slick-prev, .slick-initialized .slick-next, .flickity-button.previous .flickity-button-icon, .flickity-button.next .flickity-button-icon {
    width: 30px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f7f7;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
    color: #707070;
    transition: .3s;
    outline: none;
    opacity: .9;
}
.section-content button.flickity-button svg {
    border: 1px solid #D50E14;
    border-radius: 100% !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 1;
}
#header .header-search-form input {
    height: 40px;
    color: #4c4c4c;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-shadow: none;
}
.slider-logo .flickity-page-dots {
    bottom: -15px;
}
.slider-nav-light .flickity-page-dots .dot {
    border-color: #D50E14;
}

.tab-tc .has-icon {
    margin-right: 15px !important;
}
.tab-tc .has-icon a {
    color: var(--wp--preset--color--primary);
    border: 1px solid var(--wp--preset--color--primary);
    padding: 8px 12px;
    border-radius: 12px;
}
.product-small .add-to-cart-button a {
    width: 100%;
    border: 1px solid !important;
    border-radius: 8px;
    padding: 4px;
    font-size: 10px;
    font-weight: 800;
    font-family: Nunito, sans-serif;
    background: var(--wp--preset--color--primary) !important;
    color: #fff !important;
}
.badge-container {
    top: 5px;
    left: unset;
    right: 5px;
    margin: 0;
}
.badge-container .badge {
    height: unset;
    width: unset;
}
.badge-container .badge .on-sale {
    font-size: 12px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 5px;
    font-family: Nunito, sans-serif;
    height: 24px;
    background: #d80000;
    box-shadow: 0px 0px 5px 2px var(--white-color);
}
.product-small.box {
    border: 1px solid var(--wp--preset--color--primary);
    padding: 3px;
}
.product-small .box-text{
    padding-bottom: 5px !important;
}
.product-small .box-text .product-title a {
    font-size: 17px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Nunito, sans-serif;
    white-space: nowrap;
    display: block;
    margin: 5px 0;
}
.product-small .box-text .price span.amount bdi, .product-small .box-text .price ins span.amount bdi {
    font-size: 16px;
    font-weight: 800;
    color: var(--wp--preset--color--primary);
    font-family: Nunito, sans-serif;
}
.product-small .box-text .price {
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    line-height: 1.5;
    margin-bottom: 4px;
}
del span.amount {
    font-weight: 400;
    margin-right: .3em;
    margin-left: .3em;
    opacity: .6;
}
screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    word-wrap: normal !important;
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    overflow-wrap: normal !important;
    padding: 0;
    position: absolute !important;
    width: 1px;
}
span.widget-title {
    display: block;
    background: #D50E14;
    padding: 15px;
    color: white;
    font-weight: bold;
    font-size: 15px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
ul.product-categories>li::before {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
    color: #D50E14 !important;
}
a.primary.is-small.mb-0.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.is-outline::before {
    font-family: "Font Awesome 5 Free";
    content: "\f49e";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
    color: #FFF212 !important;
}
.product-categories {
    background: #FEF8F1;
}
ul.product_list_widget {
    background: #FEF8F1;
}
.widget_price_filter .price_slider_amount .button {
    background-color: #D50E14 !important;
}
.header-main .phone-header-block img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    animation: play0 1.5s ease infinite;
}
.header-main .phone-header-block span:hover{
        color: #D50E14 !important;
}
.header-main .phone-header-block span{
    font-size: 16px;
    font-weight: 800;
    line-height: normal;
    text-transform: none;
    color: #424242;
    position: relative;
}
.col-tc {
    padding: 0px !important;
}
.box.box-category.has-hover.box-default {
    border-radius: 12px;
    box-shadow: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    padding: 10px 10px;
}
.section-dichvu .box-dichvu {
    border-radius: 13px;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    padding: 10px;
    border: 1px solid #D50E14;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.section-content .nav {
        flex-wrap: nowrap;
        overflow: auto;
        justify-content: left;
    }

.tab-tc .has-icon a {
    padding: 0px 10px;
    width: max-content !important;
    border-radius: 7px;
}
.product-small .add-to-cart-button a{
    font-size: 8px !important;
}
.sidebar-menu>ul>li>a {
    color: #000 !important;
}
h5.uppercase.header-title {
    font-size: 13px !important;
}
button.single_add_to_cart_button.button.alt {
    font-size: 12px !important;
}
.col-product-info {
    padding-bottom: 0px !important;
}
.row-tab-mt {
    margin-top: 0px !important;
}
    form.cart {
    display: inline-grid !important;
    margin-bottom: 15px !important;
}
button.single_add_to_cart_button.button.alt {
    font-size: 15.52px !important;
    border-radius: 10px;
    width: 100% !important; 
    margin-left: 0px !important; 
}
.home-sec-1 .text-run h2 {
    font-size: 30px;
    
}
.h3-tc {
    font-size: 15px !important;
    text-align: left !important;
}
.section-dichvu .icon-box .text p {
    font-size: 12px !important;
    text-align: left;
    line-height: 1.4;
}
.section-dichvu .box-dichvu {
    padding: 7px;
}
}
@media (max-width: 549px){
    .row-tab-mt {
    margin-top: 0px !important;
}
.col-product-info {
    padding-bottom: 0px !important;
}
.section-content .nav {
        flex-wrap: nowrap;
        overflow: auto;
        justify-content: left;
    }

.tab-tc .has-icon a {
    padding: 0px 10px;
    width: max-content !important;
    border-radius: 7px;
}
.product-small .add-to-cart-button a{
    font-size: 8px !important;
}
.sidebar-menu>ul>li>a {
    color: #000 !important;
}
h5.uppercase.header-title {
    font-size: 13px !important;
}
button.single_add_to_cart_button.button.alt {
    font-size: 12px !important;
}
    form.cart {
    display: inline-grid !important;
    margin-bottom: 15px !important;
}
button.single_add_to_cart_button.button.alt {
    font-size: 15.52px !important;
    border-radius: 10px;
    width: 100% !important; 
    margin-left: 0px !important; 
}
.home-sec-1 .text-run h2 {
    font-size: 30px;
    
}
.h3-tc {
    font-size: 15px !important;
    text-align: left !important;
}
.section-dichvu .icon-box .text p {
    font-size: 12px !important;
    text-align: left;
    line-height: 1.4;
}
.section-dichvu .box-dichvu {
    padding: 7px;
}
}
@media(max-width: 855px){

   .section-content .nav {
        flex-wrap: nowrap;
        overflow: auto;
        justify-content: left;
    }

.tab-tc .has-icon a {
    padding: 0px 10px;
    width: max-content !important;
    border-radius: 7px;
} 
.col-product-info .col{
    padding-bottom: 0px;
}
}

@keyframes play0 {
    0% {transform: rotate(0deg) scale(1) skew(1deg);}
    10% {transform: rotate(-25deg) scale(1) skew(1deg);}
    20% {transform: rotate(25deg) scale(1) skew(1deg);}
    30% {transform: rotate(-25deg) scale(1) skew(1deg);}
    40% {transform: rotate(25deg) scale(1) skew(1deg);}
    50% {transform: rotate(0deg) scale(1) skew(1deg);}
    100% {transform: rotate(0deg) scale(1) skew(1deg);}
}