/*
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=Play:wght@400;700&display=swap');

:root{
	--cl-x: #F68735;
	--cl-y: #00864B;
	--fs-title: clamp(1.5rem, 1.35rem + 0.75vw, 2.25rem);
}

body{
    font-family: "Inter", sans-serif;
}

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

#main, #wrapper{
    background-color: #F9F7DE;
}

.justify-content-center{
	justify-content: center;
}

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

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

.button, button, input[type=button], input[type=reset], input[type=submit], .button.icon{
    min-width: unset;
    min-height: unset;
    margin: 0;
    padding: 0.625rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: unset;
    line-height: normal;
    /*padding: 0.325rem 1rem;*/
    span{
        line-height: inherit;
    }
}

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

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

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

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

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

.social-icons a{
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 !important;
}

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

/*===*/
.header-main .header-nav > li.menu-item{
    margin: 0 1rem;
}

.header-main .header-nav > li.menu-item a{
    font-size: 1rem;
    font-weight: 600;
}

.header-main .nav>li.html{
    font-size: 1rem;
}


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

.searchform{
    background-color: #FFFEEE;
    border-radius: 50rem;
    overflow: hidden;
}

.searchform-wrapper input[type=search]{
    height: unset;
    padding: 0.625rem 1rem;
    border: 0;
    background-color: transparent;
    box-shadow: none;
}

.searchform-wrapper button[type="submit"]{
    margin: 0;
    padding: 0 1rem 0 2rem;
    height: 2.5rem;
    background-color: var(--cl-x);
    clip-path: url('#clip-path-search');
}

.html .icon-hotline{
    padding: 0;
    line-height: 1.2;
    background-color: transparent;
    box-shadow: none;
}

.html .icon-hotline .icon-box-img{
    width: 2rem !important;
}

.html .icon-hotline .icon-box-img img{
    filter: brightness(0) saturate(100%) invert(20%) sepia(74%) saturate(3518%) hue-rotate(151deg) brightness(102%) contrast(103%);
}

.html .icon-hotline .icon-box-text p{
    color: var(--cl-y);
}



/*===*/
.row-slider .flickity-prev-next-button{
    width: clamp(2rem, 1.9rem + 0.5vw, 2.5rem) !important;
    height: clamp(2rem, 1.9rem + 0.5vw, 2.5rem);
    top: 50%;
}

.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button{
    margin-top: unset;
}


/**/
.main-title h2{
    font-size: var(--fs-title);
}

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

.box-main-title h3{
    margin-bottom: 0;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    font-family: "Great Vibes", cursive;
    font-weight: 400;
}

.text-cover{
    font-size: clamp(2rem, 1.8rem + 1vw, 3rem);
    font-weight: 700;
    background-image: linear-gradient(to bottom, #00864B 0%, rgb(0, 134, 75, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.25;
    line-height: 1;
}

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


/*===*/
.main-slide .text-box h2 span,
.text-split span{
    font-family: "Play", sans-serif;
    font-size: clamp(2rem, 1.2rem + 4vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.75);
    -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, transparent 100%);
}

.main-slide .text-box h3{
    font-family: "Play", sans-serif;
    font-size: clamp(1.5rem, 1.1rem + 2vw, 3.5rem);
}

.wrapper-button-slide .button{
    display: flex;
    align-items: center;
    padding: 0.625rem clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    border-radius: 0.5rem;
    box-shadow: 0px 4px 4px #00000040;
}


/*===*/
.banner-page{
    height: 20rem;
    background-color: transparent;
}


.banner-page .text-box{
    top: unset;
    bottom: 0;
    width: auto !important;
    transform: translate(0) !important;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: clamp(1rem, 0.9rem + 0.5vw, 1.5rem) clamp(1rem, 0.9rem + 0.5vw, 1.5rem) 0 0;
}

.banner-page .text-box .text-split span{
    font-size: clamp(2rem, 1.8rem + 1vw, 3rem);
}


.banner-page .title-banner-page{
    margin: 0;
    font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
    font-weight: 700;
    line-height: normal;
}

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


/*===*/
.icon-hotline{
    width: auto;
    display: flex;
    align-items: center;
    padding: 0.25rem 1rem 0.25rem 0.5rem;
    border-radius: 0.5rem;
    background-color: var(--cl-y);
    box-shadow: 0px 4px 4px #00000040;
}

.icon-hotline .icon-box-img{
    width: clamp(1.5rem, 1.4rem + 0.5vw, 2rem) !important;
}

.icon-hotline img{
    padding-top: 0;
}

.icon-hotline.icon-box-left .icon-box-img+.icon-box-text{
    padding-left: 0.5rem !important;
    color: #fff;
}

.icon-hotline .icon-box-text p{
    margin-top: 0;
    color: #fff;
}

.icon-hotline .icon-box-text p span{
    font-weight: 500;
}


/*===*/
.grid-post{
    display: flex;
    gap: 1rem;
    
}

.grid-post .item{
    flex: 1;
    position: relative;
    transition: all 0.7s ease;
    height: 500px;
    overflow: hidden;
}

.grid-post .item:hover{
    flex: 3;
}

.grid-post .item .box-thumbnail{
    height: inherit;
    border-radius: 1rem;
    overflow: hidden;
}

.grid-post .item .box-thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease;
}

.grid-post .item:hover .box-thumbnail img{
    filter: brightness(0.8) blur(1px);
}


.grid-post .item .box-content{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    color: #fff;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.7s ease;
}

.grid-post .item:hover .box-content{
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}


.grid-post .item .box-content .title{
    margin-bottom: 0.25rem;
    font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    color: inherit;
}

.grid-post .item .box-content .excerpt{
    line-height: normal;
}

.grid-post .item .box-content .view-more{
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    text-decoration: underline;
    color: inherit;
}

.grid-post .item .view-expand{
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(217, 217, 217, 0.5);
    color: #fff;
    font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    transition: all .5s ease;
}

.grid-post .item:hover .view-expand{
    transform: translateX(-200%) rotate(45deg);
}


.grid-post .item .label-title{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-orientation: mixed;
    transition: all .5s ease;
}

.grid-post .item:hover .label-title{
    transform: translateX(100%) rotate(180deg);
}



/*===*/
.rounded-3{
    border-radius: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
    overflow: hidden;
}

/*===*/
.box-blog-post.box-overlay .box-text{
    padding: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
}

.box-blog-post.box-overlay .box-text .button{
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 0.375rem;
    color: var(--cl-x) !important;
    font-size: clamp(0.75rem, 0.725rem + 0.125vw, 0.875rem);
}

.box-blog-post.box-push .box-text{
    margin: -2rem auto 0;
    border-radius: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
}

.box-blog-post.box-push .box-text .box-text-inner{
    display: flex;
    flex-direction: column;
}

.box-blog-post.box-push .box-text .post-title{
    order: -1;
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
    color: var(--cl-x);
    font-weight: 600;
}

.box-blog-post.box-push .cat-label{
    font-size: clamp(0.75rem, 0.725rem + 0.125vw, 0.875rem);
    color: #9B9B9B;
}

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

.box-blog-post.box-push .from_the_blog_excerpt{
    color: #9B9B9B;
}

.box-blog-post.box-normal{
    background-color: #fff;
    border-radius: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    --w-img: clamp(14.375rem, 13.375rem + 5vw, 19.375rem);
}

.box-blog-post.box-normal .box-image{
    border-radius: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    /*clip-path: url('#clip-path-post');*/
}

.box-blog-post.box-normal .box-image .image-cover{
    height: var(--w-img);
}

.box-blog-post.box-normal .box-text{
    padding: 0.75rem 0.75rem 0.25rem;
}

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

.box-blog-post.box-normal .post-title,
.box-blog-post.box-normal .post-title a{
    margin: 0;
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
}

.box-blog-post.box-normal .badge.post-date{
    left: 100%;
    top: var(--w-img);
    transform: translate(calc(-100% - clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem)), calc(-100% + clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem) + 1px));
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
    background-image: url('/wp-content/themes/flatsome-child/images/bg-date.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    padding-top: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
    padding-left: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    width: clamp(4.5rem, 4.4rem + 0.5vw, 5rem);
    height: clamp(4.5rem, 4.4rem + 0.5vw, 5rem);
}

.box-blog-post.box-normal .badge.post-date .badge-inner{
    border-radius: 0.5rem !important;
}

.post-date-month{

}

/*===*/
.banner-video{
    border-radius: 0.5rem;
    overflow: hidden;
}

.button.open-video{
    width: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    height: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--cl-x);
    padding: 0.5rem;
}

.section-client .section-bg{
    mix-blend-mode: luminosity;
}


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

.col-footer h3{
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}

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

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

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

.social-icons.social-footer{
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.social-icons.social-footer a{
    margin: 0;
    padding: 0.25rem;
    height: unset;
    min-width: unset;
    min-height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    color: var(--cl-y);
    font-size: 1rem;
}

.social-footer a i{
    top: 0;
    line-height: normal;
    font-size: 1rem;
}

.icon-envelop:before{
    content: "\f0e0";
    font-family: "Font Awesome 6 Pro";
}

.absolute-footer{
    display: none;
}

.menu-footer-bottom{
    flex-direction: row;
    gap: 1.5rem;
}

.menu-footer-bottom .ux-menu-link__link{
    min-height: unset;
    padding: 0;
}

.menu-footer-bottom .ux-menu-link__link:hover{
    color: var(--cl-y) !important;
}

.form-footer{
    display: flex;
    gap: 0.5rem;
}

.form-footer .form-control{
    margin: 0;
    max-width: 300px;
    padding: clamp(0.5rem, 0.475rem + 0.125vw, 0.625rem) 1rem;
    height: unset;
    border: 0;
    border-radius: 0.375rem;
    box-shadow: unset !important;
    font-size: inherit;
}

.form-footer input[type="submit"]{
    margin: 0;
    border-radius: 0.375rem;
    background-color: var(--cl-y);
}

.footer-top .section-content{
    position: unset !important;
}

.img-cover-footer{
    position: absolute;
    right: 0;
    bottom: 0;
}


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

/*==== Page Contact*/


/*==== Page Contact*/
.box-main-title.content-contact ul{
    list-style: none;
}

.box-main-title.content-contact ul li{
    margin-left: 0;
}

.box-map{
    border-radius: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
    overflow: hidden;
    height: 250px;
}

.box-map iframe{
    width: 100%;
}

.form-contact .form-control{
    height: unset;
    background-color: #FFFFFF;
    padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem) 1rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: none !important;
    color: #000;
}

.form-contact .form-control::placeholder{
    color: rgba(0, 0, 0, 0.5);
}

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

.form-contact input[type=submit]{
    border-radius: 0.5rem;
}

/*===*/
.entry-content.single-page p:last-of-type{
    margin-bottom: 1.3em;
}

.social-icons.share-icons a{
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    margin: 0 2px;
    background-color: var(--cl-x);
    color: #fff;
}

#comments .comment-respond{
    padding-bottom: 6px;
}

.single-page figure{
    width: 100% !important;
}

.single-page img{
    width: 100% !important;
}

/*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)
    }
}