/*
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=Anton&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --fs-title: clamp(1.5rem, 1.4rem + 0.5vw, 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);
    --ff-1: "Roboto", sans-serif;
    --ff-2: "Anton", sans-serif;
    --ff-awesome: "Font Awesome 6 Pro";
}

body{
    font-family: var(--ff-1);
    line-height: normal;
}

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.5rem 1rem;
    line-height: normal;
    font-size: 1rem;
    font-weight: 600;
}

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

.button.secondary{
    color: #fff;
}

.button.white{
    color: #122647 !important;
}

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

.button.is-underline:before{
    left: 0;
    width: 100%;
}

.button.icon-celendar i:before{
    content: "\f073";
    font-family: var(--ff-awesome);
}
.button.icon-download i:before{
    content: "\e094";
    font-family: var(--ff-awesome);
}

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;
}

.border-x-1 > .col-inner{
    border: 1px solid var(--fs-color-primary);
}


.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%);
}

.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;
}

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

.wpcf7 .wpcf7-spinner{
    display: none;
}

.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-main{
    transition: all .3s ease;
}

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

.header-nav.header-bottom-nav .menu-item.current-menu-item a{

}

.header-block{
    font-weight: 700;
    color: var(--fs-color-primary);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.header-main li .icon.button,
.mobile-nav .nav-icon a{
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--fs-color-primary);
    background-repeat: no-repeat;
    background-position: center center;
    border: 0;
    font-size: 10px;
}

.header-main li .icon.button i{
    line-height: normal;
    top: 0;
}


.gtranslate_wrapper{
}

.gtranslate_wrapper .gt_float_switcher{
    font-family: var(--ff-1);
    font-size: 1rem;
    border: 1px solid var(--fs-color-primary);
    border-radius: 50rem;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.gtranslate_wrapper .gt_float_switcher .gt_options{
    position: absolute;
    right: 0;
    top: 100%;
    max-width: unset !important;
    width: max-content;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 5px 15px;
    border-radius: 0.5rem;
    z-index: 2;
}

.gtranslate_wrapper .gt_float_switcher .gt_options a{
    display: flex;
    color: #000;
    transition: all .2s ease;
}

.gtranslate_wrapper .gt_float_switcher .gt_options a:hover{
    background-color: var(--fs-color-primary);
}

.gtranslate_wrapper .gt_float_switcher .gt-selected{
    background-color: transparent;
}

.gtranslate_wrapper .gt_float_switcher .gt-selected .gt-current-lang{
    padding: 0.5rem;
}

.gtranslate_wrapper .gt_float_switcher img{
    width: 24px;
}


.header-bottom{
    background: -webkit-linear-gradient(0deg, #ca8c34 0%, #ffd376 100%);
    background: linear-gradient(0deg, #ca8c34 0%, #ffd376 100%);
}



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


#search-lightbox{
    font-size: 1rem;
}

.searchform-wrapper .flex-col{
    padding: 0 !important;
}

.searchform-wrapper.form-flat .flex-col:last-of-type{
    margin-left: -2.5rem;
}

.searchform-wrapper input[type=search]{
    height: unset;
    padding: 0.5rem 1rem;
}

.searchform-wrapper button[type="submit"]{
    margin: 0;
    padding: 0;
}


/*===*/
.banner-page{
    height: clamp(15rem, 13rem + 10vw, 25rem);
    background-color: transparent;
}

.banner-page .title-banner-page{
    margin: 0;
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.75rem);
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.rank-math-breadcrumb p{
    margin-top: 0.25rem;
}

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


/*===*/
input.form-control,
textarea.form-control{
    padding: clamp(0.625rem, 0.55rem + 0.375vw, 1rem) 1rem;
    height: unset;
    background-color: #fff;
    box-shadow: none;
    border-radius: 0.375rem;
    transition: all .3s ease;
    font-size: inherit;
}

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

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

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

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


.main-slide .flickity-page-dots .dot{
    width: clamp(0.75rem, 0.725rem + 0.125vw, 0.875rem);
    height: clamp(0.75rem, 0.725rem + 0.125vw, 0.875rem);
    background-color: #D9D9D9;
    border: 1px solid #D9D9D9;
    opacity: 1;
    transition: all .3s ease;
}

.main-slide .flickity-page-dots .dot.is-selected{
    background-color: var(--fs-color-primary);
}

.main-slide .content-slide h2{
    margin-top: 0;
    font-size: clamp(2.5rem, 2.2rem + 1.5vw, 4rem);
    font-family: var(--ff-2);
    line-height: 1;
}


.icon-location{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    padding: clamp(0.5rem, 0.4rem + 0.5vw, 1rem) clamp(1rem, 0.8rem + 1vw, 2rem);
    border-radius: 0.5rem;
    background-color: #4C230F;
    color: #fff;
}

.icon-location-y{
    background-color: var(--fs-color-secondary);
}

.icon-location .icon-box-img{
    width: auto !important;
    height: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
}

.icon-location .icon,
.icon-location .icon-inner{
    width: 100%;
    height: 100%;
}

.icon-location .icon-box-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding-top: 0;
}

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



.icon-global-connection{
    display: flex;
    align-items: center;
}

.icon-global-connection h3{
    margin-bottom: 0;
}


/*===*/
.box-img-product{
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    border-radius: 0.5rem;
    overflow: hidden;
}

.box-img-product .box-text{
    padding: 0.75rem;
    font-size: inherit;
}



/*===*/
.testimonial-box{
    padding: 2rem;
    background-color: #F7E9D5;
    border-radius: 0.75rem;
}

.testimonial-box .icon-box-text{
    display: flex;
    flex-direction: column;
}

.testimonial-box .icon-box-text{

}

/*===*/
.slide-review .flickity-page-dots{
    bottom: 0;
}

.slide-review .flickity-page-dots .dot{
    border: 2px solid #C2C2C2;
    opacity: 1;
}

.slide-review .flickity-page-dots .dot.is-selected{
    background-color: var(--fs-color-secondary);
    border-color: var(--fs-color-secondary);
}




/*===*/
.box-blog-post{
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
}

.box-blog-post .box-text{
    padding: 1rem;
    min-height: 122px;
}

.box-blog-post .box-text .post-title{
    font-size: var(--fs-16-18);
    font-family: var(--ff-1);
}

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

.box-blog-post .box-text .button{
    position: absolute;
    top: 0;
    right: 1rem;
    transform: translateY(-3rem);
    width: 2.5rem;
    height: 2.5rem;
    min-width: unset;
    min-height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-radius: 50% !important;
    border: 0;
}

.box-blog-post .box-text .button:hover{
    transform: translateY(-3rem) scale(0.95);
}

.box-blog-post .box-text .button:after{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/themes/flatsome-child/images/icon-view.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}


/*====*/
.row-footer:after{
    content: none;
}

.col-footer h3{
    margin-bottom: 1.25rem;
    font-size: var(--fs-18-20);
}

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

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

.col-footer .ux-menu .ux-menu-link__link{
    flex: unset;
    min-height: unset;
    padding: 0;
    transition: all .3s ease-in-out;
    color: var(--fs-color-primary)
}

.col-footer .ux-menu .ux-menu-link__link:hover{
    transform: translateX(0.5rem);
    color: var(--fs-color-secondary) !important;
}

.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;
}

#footer .social-icons{
    display: flex;
    align-items: center;
}

#footer .social-icons span{
    font-weight: 400;
    color: var(--fs-color-primary);
    font-size: 1rem;
}

#footer .social-icons a{
    background-color: var(--fs-color-primary);
    border-radius: 50% !important;
    border: 0 !important;
    color: #fff;
}


/*===*/
.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;
}


/**/
.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-contact{
    height: 100%;
    position: relative;
}

.icon-contact:after{
    content: "";
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F8F8F9;
    border-radius: 0.5rem;
    z-index: -1;
}

.icon-contact .icon-box-img{
    width: clamp(3rem, 2.8rem + 1vw, 4rem) !important;
}

.icon-contact .icon-box-img img{
    padding-top: 0;
}

.icon-contact .icon-box-text{
    padding: 0 2rem 2rem;
}

.icon-contact .icon-box-text h3{
    font-size: var(--fs-16-18);
}

.form-contact .form-control{
    height: unset;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    box-shadow: none;
    transition: all .3s ease;
}

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


.map-contact{
    height: 100%;
    min-height: 400px;
}

.map-contact iframe{
    width: 100%;
    height: 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)
    }
}