/*
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=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root{
	--fs-title: clamp(1.375rem, 1.25rem + 0.625vw, 2rem);
    --fs-16-18: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    --fs-14-20: clamp(0.875rem, 0.8rem + 0.375vw, 1.25rem);
    --fs-16-20: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    --fs-18-20: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
    --rounded-8-16: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
    --rounded-8-12: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    --ff-awesome: "Font Awesome 6 Pro";
    --ff-1: "Inter", sans-serif;
    --ff-2: "Roboto", sans-serif;
}

body{

}

p{
    margin-bottom: 1rem;
    font-family: var(--ff-2);
}

p:last-of-type{
    margin-bottom: 0;
}

.row-inner-full > .col > .col-inner,
.row-inner-full.row-slider .col > .col-inner{
	height: 100%;
}

.row-slider .flickity-slider > .col{
	/*padding-bottom: 0 !important;*/
}

.button{
    min-height: unset;
    padding: 0.625rem 1rem;
    line-height: normal;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--ff-1);
}

.button span{
    line-height: normal;
}

.button.is-outline{
    border-width: 1px;
}

.button.is-large{
    font-size: 1.125rem;
}

.button.secondary{
    color: #000;
}

.button.white{
    color: var(--fs-color-primary) !important;
}


i.icon-angle-right:before{
    content: "\f061";
    font-family: var(--ff-awesome);
}

i.icon-envelop:before{
    content: "\f0e0";
    font-family: var(--ff-awesome);
}

.img-cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-contain{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rounded-3 > .img-inner,
.rounded-3 > .col-inner{
    border-radius: var(--rounded-8-16);
    overflow: hidden;
}

.section-bg-linear .section-bg:before,
.section-bg-linear .section-bg:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    height: 50%;
    pointer-events: none;
}

.section-bg-linear .section-bg:before{
    top: 0;
    background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 50%);
}

.section-bg-linear .section-bg:after{
    bottom: 0;
    background: linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0.00) 50%);
}

.section-clip-path-curve{
    clip-path: url("#clip-path-curve");
}


.svg-clip-path {
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
}

.justify-content-between{
    justify-content: space-between;
}

.align-self-center{
    align-self: center;
}

.h-100{
    height: 100%;
}

.uxb-wrapper--flatsome_swiper .swiper-wrapper{
    flex-wrap: wrap;
    gap: 1rem;
}

.uxb-wrapper--flatsome_swiper_slide{
    width: 30%;
}

.wpcf7-form{
    margin-bottom: 0;
}

.wpcf7 .wpcf7-not-valid-tip{
    position: absolute;
    margin-top: 0;
    font-size: 0.75rem;
    z-index: 1;
}

.social-icons a{
    width: 2rem;
    height: 2rem;
    min-width: unset !important;
    min-height: unset;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    margin: 0;
    border: 1px solid #3A3A3C !important;
    border-radius: 50%;
    padding: 0 !important;
    line-height: normal;
    font-size: 1rem !important;
    color: #3A3A3C;
}

.social-icons a i{
    top: unset;
}

.social-icons a.is-outline{
    /*color: #fff;*/
}


/*===*/
.header-top .nav li{
    line-height: normal;
}

.header-top .button.secondary{
    background-color: rgba(241, 193, 83, 0.6);
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.header-top .social-icons a.is-outline{
    border: none !important;
    color: #fff;
}

.header-main{
    transition: all .3s ease;
}

.header-main .header-nav .menu-item a{
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
}


#logo img{
    transition: all .3s ease;
}


/*===*/
.polylang_langswitcher{
    display: flex;
    align-items: center;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    gap: 0.25rem;
}

.polylang_langswitcher li{
    margin-bottom: 0;
}

.polylang_langswitcher li img{
    width: 30px;
    height: auto !important;
}



/*===*/
.banner-page{
    height: clamp(15rem, 14rem + 5vw, 20rem);
    background-color: transparent;
}

.banner-page.banner-page-is-hidden{
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.banner-page .title-banner-page{
    margin: 0;
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: normal;
    color: #fff;
}

.rank-math-breadcrumb p{
    margin-top: 0.25rem;
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
    color: #fff;
}

.rank-math-breadcrumb a{
    color: inherit;
}


/*===*/
input.form-control,
textarea.form-control{
    padding: 0.75rem 1rem;
    height: unset;
    background-color: #fff;
    box-shadow: none;
    border-radius: 0.5rem;
    transition: all .3s ease;
    font-size: inherit;
}


.main-title h2{
    margin-bottom: 0;
    font-size: var(--fs-title);
}

.text-main h3{
    font-size: 1.5rem;
    font-weight: 400;
    font-family: var(--ff-2);
}

.text-main h2{
    margin-bottom: 0;
    font-weight: 700;
    font-size: var(--fs-title);
    line-height: normal;
}

.text-main h2 + *{
    margin-top: 1rem;
}

.text-main p:last-of-type{
    margin-bottom: 0;
}

.subtitle p{
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--fs-color-primary);
    -webkit-text-fill-color: transparent;
    mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    font-weight: 900;
    font-family: var(--ff-1);
    font-size: 2.75rem;
    line-height: 1;
    color: transparent;
    margin-bottom: -1rem;
}

/*===*/
.section-title-container{
    max-width: unset !important;
    margin-bottom: 1rem;
}

.section-title-container .section-title{
    margin-bottom: 0;
    border-bottom: 0;
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--fs-color-primary);
}

.section-title-container .section-title b{
    visibility: hidden;
}

.section-title span.section-title-main{
    margin: 0;
    padding: 0;
    border-bottom: 0;
    border-bottom: 1px solid var(--fs-color-primary);
    position: relative;
}

.section-title-container .section-title span.section-title-main:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width:  120px;
    height: 3px;
    background-color: var(--fs-color-secondary);
    border-radius: 4rem;
    transform: translateY(50%);
}

.section-title-container .section-title.section-title-normal span.section-title-main{
    width: 100%;
}   

.section-title-container .section-title.section-title-center span.section-title-main:after{
    left: 50%;
    transform: translate(-50%, 50%);
}



/*===*/
.box-img-banner .box-image{
    border-radius: 2.25rem 0;
    box-shadow: 2px 2px 4px 0 rgba(255, 255, 255, 1);
}

.box-img-banner .box-text{
    margin-top: 0.5rem;
    padding: 0.25rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 50%, rgba(255, 255, 255, 0) 100%);
}

.box-img-banner .box-text p{
    margin-top: 0;
    color: #1E1E1E;
}


/*===*/
.banner-category{
    border-radius: var(--rounded-8-16);
}


/*===*/
.icon-box-about .icon-box-img{
    margin-bottom: 0;
}

.icon-box-about .icon-box-text{
    padding: 1rem;
    background-image: url('/wp-content/themes/flatsome-child/images/img-cover-icon-about.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    font-weight: 600;
}



/*===*/
.box-home-counter{
    text-align: center;
    color: #fff;
}

.box-home-counter .title{
    margin-bottom: 0;
    font-weight: 700;
    font-size: clamp(2rem, 1.8rem + 1vw, 3rem);
    color: inherit;
}



/*====*/
.box-blog-post{
    height: 100%;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background-color: #F3F3F3;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
}

.box-blog-post .box-image{
    border-radius: 0.5rem;
}

.box-blog-post .box-text{
    padding: 1rem 0.5rem 0.25rem;
    text-shadow: none !important;
    font-size: inherit;
    line-height: normal;
}

.box-blog-post .box-text .post-title{
    height: clamp(2.5rem, 2.375rem + 0.625vw, 3.125rem);
    margin: 0 0 0.25rem;
    font-size: var(--fs-16-20);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box-blog-post .box-text .post-title a{
    margin: 0;
    color: var(--fs-color-primary);
}

.box-blog-post .box-text .is-divider{
    display: none;
}

.box-blog-post .from_the_blog_excerpt{
    color: #303030;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box-blog-post .button{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
    padding: 0 !important;
    border-radius: 0.375rem;
    border: 0;
    background-color: transparent !important;
    font-size: 0.875rem;
    font-family: var(--ff-2);
    color: #1E1E1E;
}

.box-blog-post .button:before{
    content: "";
    display: inline-block;
    width: 1.375rem;
    height: 1.375rem;
    background-image: url('/wp-content/themes/flatsome-child/images/view-more.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}


/*===*/
.form-register-consultation .form-control{
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(4px);
    color: #fff !important;
}

.form-register-consultation textarea.form-control{
    height: 5rem;
}

.form-register-consultation .form-control::placeholder{
    color: #fff;
}

.form-register-consultation .button{
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

/*===*/
.gallery-partner .box-image{
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    border-radius: 0.5rem;
}


/*====*/
.row-footer:after{
    content: unset;
}
.col-footer h3{
    margin-bottom: 1.25rem;
    font-size: var(--fs-18-20);
}

.col-footer p{
    margin-bottom: 0.5rem;
}

.col-footer .ux-menu{

}

.col-footer .ux-menu .ux-menu-link + .ux-menu-link{
    margin-top: 0 !important;
}

.col-footer .ux-menu .ux-menu-link__link{
    flex: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: unset;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    height: 2em;
    text-transform: uppercase;
    transition: all .2s;
}

.col-footer .ux-menu .ux-menu-link__link:hover{
    background-color: #fff;
    color: var(--fs-color-primary);
}

.list-icon ul{
    margin-bottom: 0;
    list-style: none;
}

.list-icon ul li{
    display: flex;
    align-items: baseline;
    margin-left: 0;
}

.list-icon ul li i{
    min-width: 24px;
}


.absolute-footer{
    display: none;
}

.button.back-to-top{
    width: 2.75rem;
    height: 2.75rem;
    min-width: unset !important;
    min-height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
}


/*===*/
.nav-pagination>li{
    margin: 0 0.25rem !important;
}

.nav-pagination>li>a,
.nav-pagination>li>span{
    min-width: unset;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem;
    border: 1px solid #000;
    line-height: normal;
}

.nav-pagination>li i{
    top: 0;
    font-size: inherit;
}


/**/

.blog-wrapper.blog-archive{
    padding-top: 50px;
}

.flatsome-custom-top-content{
    margin-bottom: 1.5rem;
}

.flatsome-custom-top-content .title-single-content{
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.flatsome-custom-top-content .meta-post{
    display: flex;
    gap: 1.5rem;
    color: #333333;
}




/*=== Trang liên hệ*/
.icon-box-contact{
    height: 100%;
    padding: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
    border: 1px solid var(--fs-color-primary);
    border-radius: var(--rounded-8-12);
}

.icon-box-contact .icon-box-text{
    line-height: normal;
}


.form-contact .form-control{
    background-color: #f2f3f7;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0.25rem;
    box-shadow: none !important;
    transition: background-color .2s, box-shadow .2s;
}

.form-contact textarea.form-control{
    height: 8.5rem;
}

.form-contact .button{
    width: 100%;
    border-radius: 0.25rem;
    font-weight: 600;
}

.map-contact{
    height: 470px;
    border-radius: var(--rounded-8-16);
    overflow: hidden;
}

.map-contact iframe{
    width: 100%;
    height: 100%;
}



/*=== Trang giới thiệu*/
.box-vm .icon-box-top{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin-bottom: 1rem;
}

.box-vm .icon-box-top .icon{
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
}

.box-vm .icon-box-top .title{
    margin-bottom: 0;
    font-size: var(--fs-title);
}

/*===*/
.row-history-item .is-divider{
    position: relative;
}

.row-history-item .divider:after{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    height: 2rem;
    background-color: var(--fs-color-primary);
    border-radius: 1rem 0;
    border: 3px solid #F6F3EF;
}


.row-history-item .box-image-history .img-inner{
    border-radius: 5rem 0;
}




/*=== Danh mục sản phẩm*/
.icon-wcu.icon-box-left{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-wcu.icon-box-left .icon-box-img{
    width: clamp(2.5rem, 2.25rem + 1.25vw, 3.75rem) !important;
}

.icon-wcu.icon-box-left .icon-box-img+.icon-box-text{
    padding-left: 0;
}



/*=== Trang sản phẩm*/
.product-small.box .box-image img{
    object-fit: contain;
}

.product-small.box .box-text{
    padding: 0.75rem 0 0;
}

.product-small.box .title-wrapper a{
    font-size: var(--fs-16-20);
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}



/*=== Trang chi tiết*/
.woocommerce-breadcrumb{
    display: none;
}

.product-thumbnails .flickity-slider > .col a{
    display: block;
    height: 150px;
}

.product-thumbnails .flickity-slider > .col a img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info .product-title{
    color: var(--fs-color-primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: var(--fs-title);
    font-weight: 600;
    line-height: 40px;
    letter-spacing: -.5px;
}

.product-info .product-short-description table tbody{
    vertical-align: top;
}

.product-info .product-short-description table tr{
    border: 0;
}

.product-info .product-short-description table td,
.product-info .product-short-description table th{
    font-size: inherit;
    color: #000;
    border: 0;
}

.flatsome-custom-button-single-product{
    display: flex;
    margin-top: 1.5rem;
}

.flatsome-custom-button-single-product a{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: unset;
    padding: 0.75rem 1rem;
    border-radius: 50rem;
    text-align: center;
    font-size: var(--fs-16-18);
}

.woocommerce-tabs.wc-tabs-wrapper{
    max-width: unset !important;
    border-top: 0;
    padding-top: 0;
}

.woocommerce-tabs .product-tabs li a{
    padding: 0.5rem 2.5rem 0.5rem 1.5rem;
    border-radius: 0 !important;
    font-size: 1.5rem;
    line-height: unset;
    clip-path: url('#clip-path-tab');
}

.woocommerce-tabs .tab-panels{
    padding: 1.5rem;
    background-color: #F3F3F3;
}

.woocommerce-tabs .tab-panels table th,
.woocommerce-tabs .tab-panels table td{
    color: #000;
    font-size: inherit;
}


.product-section.related{
    border-top: unset;
}

.product-section-title{
    max-width: unset !important;
    font-size: var(--fs-title);
    text-align: center;
    color: var(--fs-color-primary);
}

.product-section.related > .row{
    max-width: 100%;
}



/*=== Button contact*/
.button-contact-fixed{
    position: fixed;
    bottom: 8%;
    right: 0.25rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.box-ring {
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: visibility .5s;
    position: relative;
}

.box-ring-outline {
    position: absolute;
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid rgba(30, 30, 30, 0.5);
    background-color: transparent;
    border-radius: 50%;
    opacity: .5;
    transition: all .5s;
    animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
}

.box-ring-inline {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(3rem, 2.8rem + 1vw, 4rem);
    height: clamp(3rem, 2.8rem + 1vw, 4rem);
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all .5s;
    animation: coccoc-alo-circle-fill-anim 2.3s infinite ease-in-out;
}

.box-ring-image{
    width: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    height: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: #000;
    opacity: 1;
    animation: coccoc-alo-circle-img-anim 1s infinite ease-in-out;
}

.box-ring-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box-ring-label{
	position: absolute;
	right: 2rem;
	height: 2.25rem;
	z-index: -1;
	padding: 0.25rem 3rem 0.25rem 1rem;
	border-radius: 50rem;
	white-space: nowrap;
	color: #fff;
	display: flex;
	align-items: center;
}

@keyframes coccoc-alo-circle-anim {
    0% {
        transform: rotate(0) scale(.5) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }
    30% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
        opacity: .5
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }
}

@keyframes coccoc-alo-circle-fill-anim {
    0% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
    }
    100% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }
}

@keyframes coccoc-alo-circle-img-anim {
    0% {
        transform: rotate(0) 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(0) scale(1) skew(1deg)
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg)
    }
}