/*
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=Alex+Brush&family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
	--fs-color-primary: #044C9D;
	--fs-color-secondary: #EC0C11;
    --fs-18: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    --fs-20: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
	--fs-title: clamp(1.375rem, 1.25rem + 0.625vw, 2rem);
    --rounded-xs: 0.5rem;
    --rounded-sm: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    --rounded-md: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
    --rounded-lg: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}

body{
    font-family: "Be Vietnam Pro", sans-serif;
    line-height: normal;
}

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

strong{
    font-weight: 700;
}

.row-clear:after{
    content: unset;
}

.row > .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]{
    min-height: unset;
    padding: 0.625rem 1rem;
    line-height: normal;
    font-weight: 600;
    letter-spacing: 0;
    border-radius: 0.375rem;
}

.button span{
    line-height: inherit;
}

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

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

.icon-angle-right:before{
    content: "\f178";
    font-family: "Font Awesome 6 Pro";
}

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

.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.button.icon{
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
}

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


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



/*====*/
.header-social-icons .social-icons a.button.icon{
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid #fff;
}

.header-nav{
}

.header-nav > li.menu-item{
    margin: 0 0.25rem;
}

.header-nav > li.menu-item a{
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
}


.html.custom{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1.5rem;
    font-size: 0.875rem;
}

.html.custom.html_top_right_text{
    flex-basis: 100%;
    height: 0;
}

.cart-item a.header-cart-link{
    padding-top: 0;
    padding-bottom: 0;
}


.header-search.header-search-lightbox a{
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    padding: 0;
}

#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.75rem 1.5rem;
}

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


/*===*/
.wrapper-button-outside{
    .swiper-button-next{
        right: -3rem;
    }
    .swiper-button-prev{
        left: -3rem;
    }
}

.swiper-button-next:after{
    color: #bbbbbb;
    font-weight: 400;
}
.swiper-button-prev:after{
    color: #bbbbbb;
    font-weight: 400;
}

.dark .wrapper-slide{
    .swiper-button-next:after{
        color: #fff;
    }
    .swiper-button-prev:after{
        color: #fff;
    }
}

.swiper-pagination-bullet{
    width: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    height: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    background-color: var(--fs-color-primary);
    transition: all .3s ease-in-out;
}

.wrapper-pagination-normal .swiper-pagination{
    position: unset;
    bottom: unset;
    margin-top: 1rem;
}


.uxb-wrapper .swiper .swiper-wrapper,
.swiper .uxb-wrapper--flatsome_swiper_wrapper > .swiper-wrapper > .uxb-wrapper{
    display: flex;
    flex-wrap: wrap;
}

.uxb-wrapper .swiper .swiper-wrapper > .swiper-slide,
.swiper .swiper-wrapper > .uxb-wrapper.uxb-wrapper--flatsome_swiper_slide{
    width: 30%;
}


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

.banner-page .banner-page-title{
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: normal;
    color: var(--fs-color-primary);
}

.rank-math-breadcrumb p{
    margin-top: 0;
    color: var(--fs-color-primary);
}

.rank-math-breadcrumb p span,
.rank-math-breadcrumb p a{
    color: inherit !important;
    font-weight: 500;
}

.rank-math-breadcrumb span.last{
    color: var(--fs-color-secondary) !important;
}


.main-slide{
    clip-path: url('#clip-path-slide');
}


/**/
.font-weight-100 { font-weight: 100; }
.font-weight-200 { font-weight: 200; }
.font-weight-300 { font-weight: 300; }
.font-weight-400 { font-weight: 400; }
.font-weight-500 { font-weight: 500; }
.font-weight-600 { font-weight: 600; }
.font-weight-700 { font-weight: 700; }
.font-weight-800 { font-weight: 800; }
.font-weight-900 { font-weight: 900; }


.heading-title h1,
.heading-title h2,
.heading-title h3,
.heading-title h4,
.heading-title h5,
.heading-title h6{
    margin-bottom: 0;
    font-weight: 500;
    font-size: var(--fs-title);
    line-height: 1.2;
}

.text-inherit > *{
    font-size: inherit;
}


.banner h1, .banner h2, .banner h3{
    margin: 0;
    line-height: normal;
    font-size: inherit;
}


/*===*/
.text-counter{
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    position: relative;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.text-counter:before{
    content: "";
    position: absolute;
    inset: 20%;
    z-index: -1;
    background-color: var(--fs-color-primary);
    transform: rotate(45deg);
}


/*===*/

.icon-commit .icon-box-img{
    width: 3rem;
    height: 3rem;
}

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

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

.icon-commit h3{
    font-size: var(--fs-18);
}



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


.box-category{
    background-color: #fff;
}

.box-category .box-text{
    padding: 0.75rem;
}

.box-category .header-title{
    font-size: var(--fs-18);
}


/*===*/
.product-small.box{
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.product-small.box  .box-text .title-wrapper{
    margin-bottom: 1rem;
}

.product-small.box .product-title,
.product-small.box .product-title a{
    font-size: 1rem;
    font-weight: 700;
}



.button.open-video{
    width: clamp(3rem, 2.8rem + 1vw, 4rem);
    height: clamp(3rem, 2.8rem + 1vw, 4rem);
    min-width: unset;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
}




/*====*/
.box-testimonial .comment{
    margin-bottom: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
}

.box-testimonial .img{
    width: clamp(4rem, 3.8rem + 1vw, 5rem) !important;
    border-radius: 50%;
    padding: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
    border: 1px solid #fff;
}

.box-testimonial .img .img-inner{
    border-radius: inherit;
}



/*=== Footer*/
.col-footer h3{
    position: relative;
    margin-bottom: 1rem;
    font-size: var(--fs-20);
}

.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(--fs-color-secondary) !important;
}

.map-footer{
    height: 150px;
    border-radius: 0.5rem;
    overflow: hidden;
}

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

.social-icons.social-footer{
    display: inline-flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1rem;
    width: unset !important;
}

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

.absolute-footer{
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    display: none;
}

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



/*==== Page Contact*/
.box-map{
    overflow: hidden;
    height: 300px;
    min-height: 300px;
}

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

.box-shadow-2{
    box-shadow: 0 0 4px 0 rgba(0, 0, 0,  0.25);
}

.form-contact .form-control{
    box-shadow: none !important;
    border-radius: 0.5rem;
}


/*==== Trang Tin tức*/
.category-page-row,
.blog-wrapper,
.page-wrapper{
    padding-top: clamp(2.5rem, 2.25rem + 1.25vw, 3.75rem);
    padding-bottom: clamp(0.625rem, 0.375rem + 1.25vw, 1.875rem);
}


/*==== Trang sản phẩm */
.ux-quantity.quantity.buttons_added .button{
    padding: 0;
    width: 2rem;
    height: 2.5rem;
}



/*===*/
.box-blog-post{

}

.box-blog-post .box-text{
    padding: 0.75rem 0 0;
    font-size: inherit;
}

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

.box-blog-post .post-title{
    font-size: var(--fs-18);
}


/*=====*/
.page-numbers.nav-pagination{

}

.page-numbers.nav-pagination li a,
.page-numbers.nav-pagination li span{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #EDEDED;
    border: none;
    border-radius: 0.25rem;
    line-height: normal;
    margin: 0;
    color: #717171;
    border-bottom: 2px solid transparent;
    transition: all .3s ease-in-out;
}

.page-numbers.nav-pagination .page-number.current,
.page-numbers.nav-pagination .page-number:hover{
    color: var(--fs-color-primary);
    border-bottom: 2px solid var(--fs-color-primary);
}

.page-numbers.nav-pagination li i{
    font-size: inherit;
    top: unset;
}



/*====*/
.entry-header{
    display: none;
}

.single-page{
    padding-top: 0;
}


.page-wrapper.page-left-sidebar .col-divided{
    border-right: none;
    padding-right: 15px;
}



/*====*/
.widget {
    margin-bottom: 0;
    border: 1px solid #ccc;
}

.widget + .widget {
    margin-top: 1.5rem;
}

.widget .widget-title{
    display: block;
    padding: 0.75rem 1rem;
    background-color: var(--fs-color-primary);
    border-top: 4px solid var(--fs-color-secondary);
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.widget .is-divider{
    display: none;
}


ul.product-categories .cat-item{
    padding: 0.5rem 1rem;
}

.widget-contact{
    padding: 1rem;
}

.widget-contact .img{
    margin-bottom: 1rem;
}

.widget-contact p{
    margin-bottom: 0.5rem;
}


.widget.flatsome_recent_posts .recent-blog-posts-li{
    padding-left: 1rem;
    padding-right: 1rem;
}

.widget.flatsome_recent_posts .recent-blog-posts-li a{
    margin-bottom: 0;
}

/*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:scale(.5) translate(-50%,-50%);opacity:.1}
    30%{transform:scale(.7) translate(-50%,-50%);opacity:.5}
    100%{transform:scale(1) translate(-50%,-50%);opacity:.1}
}

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

@keyframes coccoc-alo-circle-img-anim{
    0%,50%,100%{transform:rotate(0) scale(1)}
    10%,30%{transform:rotate(-25deg) scale(1)}
    20%,40%{transform:rotate(25deg) scale(1)}
}