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

:root{
	--cl-x: #0068DE;
	--cl-y: #05294D;
	--fs-title: clamp(1.25rem, 1.1rem + 0.75vw, 2rem);
    --grd-blue: linear-gradient(-45deg, #0026bf 0%, #0068de 100%);
    --grd-purple: linear-gradient(-45deg, #5600bf 0%, #de5c00 100%);
    --grd-green: linear-gradient(-45deg, #008cbf 0%, #00af43 100%);
    --grd-red: linear-gradient(-45deg, #bf7c00 0%, #de0000 100%);
}

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

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

.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{
    /*line-height: normal;*/
    /*min-width: unset;*/
    /*min-height: unset;*/
    font-size: 1rem;
    /*padding: 0.325rem 1rem;*/
    span{
        /*line-height: inherit;*/
    }
}

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

.button-grd-x{
    background: linear-gradient(0deg, #000000 0%, #7e7e7e 50%, #000000 100%);
    border: 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: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 !important;
}

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


.hotline-header{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem !important;
    background-color: #fff;
    border-radius: 0.25rem;
    transition: all .3s ease-in-out;
}

.hotline-header .icon{
    width: 2rem;
    height: 2rem;
}

.hotline-header .content{
    flex: 1;
    font-weight: 700;
    font-size: 1.25rem;
    color: #000 !important;
}

.hotline-header:hover{
    box-shadow: rgba(255, 255, 255, 0.35) 0px 5px 15px;
}



.header-top .nav-small.nav>li.html,
.header-top .nav>li>a{
	font-size: 0.875rem;
}

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



.header-social-icons .social-icons{
    display: flex;
    gap: 0.5rem;
}

.header-social-icons .social-icons a{
	width: 1.75rem;
	height: 1.75rem;
    min-width: unset;
    min-height: unset;
    display: inline-flex;
    justify-content: center;
    align-items: center;
	margin: 0;
    padding: 0;
    background-color: transparent;
	border: 0;
    line-height: normal;
}

.header-social-icons .social-icons a i{
	top: 0;
    font-size: 0.875rem;
}

/*===*/
.banner-page{
    height: clamp(8rem, 6.6rem + 7.000000000000001vw, 15rem);
    background-color: transparent;
}

.banner-page .bg-fill{
    background-position: center bottom;
}

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


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


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

.icon-about .icon-box-text h3{
    margin-bottom: 0.25rem;
    line-height: normal;
    font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
}


/*===*/

.product-small .badge-container{
    left: unset;
    right: 0.5rem;
    margin-top: 0.5rem;
    .badge{
        height: 1.8rem;
    }
}

.product-small.box{
    .box-image{
        border-radius: 0.25rem;
    }

    .box-text{
        margin-top: 0.75rem;
        padding: 0;
        .product-title{
            margin-bottom: 0.5rem;
            font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
            font-weight: 700;
        }

        .price-wrapper .price{
            display: flex;
            flex-direction: row-reverse;
            justify-content: center;
            gap: 1.25rem;
            font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
        }

        .button.white{
            margin: 0.75rem 0 0;
            border-radius: 0.25rem;
            font-size: clamp(0.625rem, 0.55rem + 0.375vw, 1rem);
        }
    }
}


/*===*/
.box-feautured-service .box-text{
    padding: 1rem 0 0;
}

.box-feautured-service .box-text h3{
    font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
}

.box-feautured-service .button{
    margin:  1rem 0 0;
}


/*====*/
.box-blog-post{
    display: flex;
    flex-direction: column;
    .box-image{
        width: 100%;
        border-radius: 0.25rem;
    }

    .box-text{
        flex: 1;
        padding: 0.75rem 0 0;
        font-size: inherit;
        line-height: 1.3;
    }
    .box-text-inner{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .is-divider{
        display: none;
    }

    .post-meta{
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
        opacity: 1;
        color: #7F7F7F;
    }

    .post-meta:before{
        content: "\f073";
        font-family: "Font Awesome 6 Pro";
        color: var(--cl-x);
        margin-right: 0.5rem;
    }

    .post-title{
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
        font-weight: 600;
    }

    .post-title a{
        margin: 0;
    }

    .from_the_blog_excerpt{
        line-height: inherit;
        margin: 0 0 clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
    }

    .button{
        margin: auto 0 0;
        color: rgba(0, 0, 0, 0.5);
        text-decoration: underline;
        font-weight: 400;
    }

    .badge.post-date{
        top: 0%;
        left: 0.5rem;
        transform: translateY(calc(-100% - 0.5rem));
        width: 2.75rem;
        height: 2.75rem;        
    }

    .badge.post-date .badge-inner{
        border-radius: 0.325rem;
        background-color: #fff;
        font-size: 1.25rem;
    }

    .badge.post-date .badge-inner span{ 
        color: #000;
        text-transform: uppercase;
    }

    :hover .post-title a{
        
    }
}


/*=== Footer*/
.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: #BF7C00 !important;
}

.social-icons.social-footer{
    display: flex;
    gap: 0.25rem;
    margin-top: 1rem;
}

.social-icons.social-footer a{
    margin: 0;
    padding: 0.25rem;
    width: 2rem;
    height: 2rem;
    min-width: unset;
    min-height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 0;
    color: #000;
    font-size: 0.75rem;
}

.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;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #fff;
    background-color: transparent !important;
    box-shadow: unset !important;
    color: #fff !important;
}

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


.form-footer input[type="submit"]{
    margin: 0;
    border: 0;
    border-bottom: 1px solid #fff;
    background-color: transparent !important;
    color: #fff;
}

.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 Service*/
.box-service{
    height: 100%;
    display: flex;
    flex-direction: column;
}

.box-service .box-image{
    width: 100%;
}

.box-service .box-image img{
    filter: grayscale(1);
    transition: all .3s ease-in-out;
}

.box-service:hover .box-image img{
    filter: grayscale(0);
}

.box-service .box-text{
    flex: 1;
    padding: 0.75rem;
}

.box-text-inner{
    height: 100%;
    display: flex;
    flex-direction: column;
}

.box-service .box-text p{
    margin-bottom: 1rem;
}

.box-service  .button{
    margin: auto 0 0;
}

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

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


.form-booking input[type="submit"]{
    margin: 0;
    border-radius: 0.25rem;
}


/*==== Page About*/
.icon-vission-mission{
    --w-icon: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: 100%;
    position: relative;
}

.icon-vission-mission:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--w-icon) / 2);
    bottom: 0;
    z-index: -1;
    background-color: #fff;
    border-radius: 0.25rem;
}

.icon-vission-mission .icon-box-img{
    width: var(--w-icon) !important;
    height: var(--w-icon);
    margin-bottom: 0;
    padding: 0.5rem;
    background-color: #000;
    border-radius: 50%;
    overflow: hidden;
}

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

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

.icon-vission-mission .icon-box-text{
    padding: 1rem;
}

.icon-vission-mission .icon-box-text h3{
    margin-bottom: 0.25rem;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}


/*==== Page Contact*/
.icon-info-contact{
    --w-icon: clamp(3rem, 2.9rem + 0.5vw, 3.5rem);
    height: 100%;
    position: relative;
}

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

.icon-info-contact .icon-box-img{
    width: var(--w-icon) !important;
    height: var(--w-icon);
    background-color: #000;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

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

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

.icon-info-contact .icon-box-text{
    padding: 0.75rem;
    line-height: normal;
}

.icon-info-contact .icon-box-text h3{
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}


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

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

.wrapper-form-contact{
    padding: 2rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

.wrapper-form-contact .form-contact input[type=submit]{
    margin: 0;
    border: 0;
    border-radius: 0.25rem;
    font-weight: 600;
}



/*=== Sản phẩm*/
.blog-archive > .row > .col{
    padding-bottom: 0;
}


.custom-header-archieve-product{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.507em;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    background-color: #EFEFEF;
}

.custom-header-archieve-product .woocommerce-ordering,
.custom-header-archieve-product .orderby{
    margin: 0 !important;
}

.custom-header-archieve-product .orderby{
    background-color: transparent;
    box-shadow: none;
    border: none;
}


/*=== Sản phẩm*/
.product-info .woocommerce-breadcrumb {
    display: none;
}

.product-info .product-short-description{
    margin-bottom: 1rem;
}

.product-info .ux-quantity.quantity{
    display: flex;
}

.product-info .ux-quantity.quantity input[type="button"]{
    margin: 0;
    width: 2.5rem;
    height: 2.5rem;
    font-weight: 700;
    text-shadow: none;
}

.product-info .ux-quantity.quantity input[type="number"]{
    height: 2.5rem;
    box-shadow: none !important;
}

.product-info .single_add_to_cart_button:not(.buy_now){
    display: none;
}

.product-info .single_add_to_cart_button{
    padding: 0.75rem 1rem;
    background-color: #000;
    width: 100%;
    border-radius: 0.25rem;
    line-height: normal;
}

.product-info .single_add_to_cart_button .label-bottom{
    font-size: 0.875rem;
    font-weight: 400;
}


.woocommerce-tabs .tabs li a{
    font-size: 1.25rem;
}

.woocommerce-tabs .tabs li a:before{
    top: 100%;
}


.related-products-wrapper{
    margin-bottom: 2rem;
}

.product-section-title-related{
    padding-top: clamp(2rem, 1.6rem + 2vw, 4rem);
    text-align: center;
    font-size: var(--fs-title);
}



/*=== Shop Sidebar*/
.widget .is-divider{
    display: none;
}

.widget .widget-title{
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.widget .searchform .flex-row{
    background-color: #F6F6F6;
    border-radius: 0,.25rem;
    overflow: hidden;
}

.widget .searchform input{
    background-color: transparent !important;
    border: 0;
    box-shadow:  unset !important;
    color: rgba(0, 0, 0, 1);
}

.widget .searchform input::placeholder{
    color: rgba(0, 0, 0, 0.5);
}

.widget .searchform button{
    border: 0;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.5);
}


.widget .product-categories li.cat-item{
    transition: all .3s ease-in-out;
}

.widget .product-categories li.cat-item:hover{
    transform: translateX(0.25rem);
}

.widget .product-categories li.cat-item a{
    font-weight: 600;
}

.widget .product-categories li.cat-item a:before{
    content: "\f111";
    font-family: "Font Awesome 6 Pro";
    font-weight: 700;
    font-size: 0.325rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}




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