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

:root{
    --color-main: #007437;
    --color-main2: #eb1e1d;
}

body{
    line-height: 1.6;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.header .logo img{
    padding: 10px 0;
}

.header-main .header-nav{
    justify-content: center;
}

.header-search-form .searchform{
    width: 450px;
}

.header-search-form .searchform input{
    height: 50px;
    border: none !important;
    box-shadow: none !important;
    background: #f7f7f7;
    font-size: 15px;
    border-radius: 10px 0 0 10px;
}

.header-search-form .searchform .button.icon{
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
}

.header-search-form .searchform .button.icon:hover{
    box-shadow: none;
    background: var(--color-main);
}

.header-nav.nav>li>a{
    color: #fff;
}

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

.home-policy{
    padding: 40px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.home-policy .item{
    width: calc((100% - 30px)/4);
    border: 1px solid var(--color-main);
    border-radius: 10px;
    padding: 5px;
    align-items: center;
}

.home-policy .item h3{
    font-size: 15px;
}

.cus-title h2{
    padding: 10px 15px;
    background: var(--color-main);
    text-transform: uppercase;
    color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
}

.home-cate-pro .product-category .col-inner, .product-small.product  > .col-inner{
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-main);
    height: 100%;
    background: var(--color-main);
}

.home-cate-pro .product-category .box-image, .product-small.product .box-image{
    padding: 15px;
    background: #fff;
}

.home-cate-pro .product-category .box-image img, .product-small.product .box-image img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-cate-pro .product-category .box-text, .product-small.product .box-text{
    padding: 10px 15px;
}

.home-cate-pro .product-category .box-text h5, .product-small.product .box-text .product-title{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 25px;
    color: #fff;
    margin: 0;
}

aside.widget .widget-title, aside.widget .box-support h2{
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-transform: uppercase;
    background: var(--color-main);
    color: #fff;
    border-radius: 10px 10px 0 0;
    line-height: 1.2;
    font-size: 16px;
}

aside.widget .product-categories, aside.widget .box-support .list-item{
    border: 1px solid var(--color-main);
    border-radius: 0 0 10px 10px;
    padding: 10px 15px;
}

aside.widget .product-categories li{
    padding-left: 15px;
    position: relative;
    text-transform: uppercase;
}

aside.widget .product-categories > li{
    font-weight: 700;
}

aside.widget .product-categories li::before{
    content: '';
    width: 7px;
    height: 7px;
    display: inline-block;
    background: var(--color-main);
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    transform: rotate(45deg);
    opacity: 1;
}

aside.widget .product-categories li + li{
    border: none !important;
    margin-top: 10px;
}

aside.widget .product-categories li a{
    padding: 0;
}

aside.widget{
    margin-bottom: 30px;
}

aside.widget .box-support .icon-box{
    align-items: center;
}

aside.widget .box-support + .box-support{
    margin-top: 30px;
}

aside.widget .box-support .list-item p, .cus-breadcrumbs p, footer .footer-contact ul li:last-child, 
footer .copyright p{
    margin-bottom: 0;
}

aside.widget .box-support .list-item a{
    font-weight: 700;
    color: var(--color-main2);
}

.home-partner .gallery-col{
    padding-bottom: 0 !important;
}

.home-partner .gallery-col .col-inner{
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--color-main);
}

.home-partner .box-image .overlay, .shop-page-title, .absolute-footer, .is-divider, .product-small.product .quick-view{
    display: none;
}

.home-partner .box-image img{
    height: 50px;
    object-fit: contain;
}

footer{
    background: var(--color-main);
    color: #fff;
}

footer .main-footer{
    padding-top: 30px;
}

footer .main-footer .title-footer{
    font-size: 18px;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    font-weight: 700;
}

footer .footer-contact svg{
    height: 16px;
}

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

footer .footer-contact ul li{
    margin-left: 0;
    margin-bottom: 10px;
}

footer .footer-contact .icon{
    vertical-align: middle;
    line-height: 1;
    margin-right: 5px;
}

footer .footer-menu .title-footer{
    min-height: unset;
    padding: 0;
}

footer .footer-menu .menu-item:not(:last-child){
    margin-bottom: 10px !important;
}

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

footer .footer-map .box-map iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: unset;
}

footer .copyright{
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #fff;
}

.cus-breadcrumbs{
    padding-top: 10px;
    padding-bottom: 10px;
    background: #f7f7f7;
}

.widget .current-cat>a{
    color: var(--color-main2);
}

.cus-page-title{
    font-size: 26px;
    color: var(--color-main);
    margin-bottom: 30px;
    text-align: center;
}

.product-small.product .box-text .product-title a{
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.product-small.product:hover .box-text .product-title a{
    color: var(--color-main2);
}

.nav-pagination>li>a, .nav-pagination>li>span{
    height: 36px;
    width: 36px;
    line-height: 36px;
    border-radius: 5px;
    border-width: 1px;
}

.hotline-phone-ring-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999;
}

.hotline-phone-ring {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 110px;
    height: 110px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.hotline-phone-ring-circle {
    width: 110px;
    height: 110px;
    top: 0;
    left: 0;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #e10000;
    -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0.5;
}

.hotline-phone-ring-circle-fill {
    width: 80px;
    height: 80px;
    top: 16px;
    left: 16px;
    position: absolute;
    background-color: #e10000;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.hotline-phone-ring-img-circle {
    background-color: #e10000;
    width: 50px;
    height: 50px;
    top: 31px;
    left: 31px;
    position: absolute;
    background-size: 20px;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotline-phone-ring-img-circle .pps-btn-img {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.hotline-phone-ring-img-circle .pps-btn-img img {
    width: 33px;
    height: 33px;
}

.hotline-bar {
    position: absolute;
    background: #e10000;
    height: 45px;
    line-height: 40px;
    padding: 0 15px;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.8s;
    -webkit-transition: all 0.8s;
    z-index: 9;
    border-radius: 50px !important;
    left: 42px;
    bottom: 31px;
}

.hotline-bar > a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-indent: 32px;
    letter-spacing: 1px;
    display: block;
    line-height: 45px;
    white-space: nowrap;
}

#gom-all-in-one #zalo-vr {
    transition: 1s all;
    -moz-transition: 1s all;
    -webkit-transition: 1s all;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

.phone-vr-img-circle img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

#button-contact-vr {
    position: fixed;
    z-index: 99999;
}

#button-contact-vr .button-contact {
    position: relative;
    margin-top: -5px;
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#button-contact-vr {
    bottom: 110px;
    left: 10px;
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.phone-vr-circle-fill {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}

.phone-bar a {
    position: fixed;
    bottom: 25px;
    left: 30px;
    z-index: -1;
    color: #fff;
    font-size: 16px;
    padding: 8px 15px 7px 50px;
    border-radius: 100px;
}

@-webkit-keyframes phonering-alo-circle-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.5) skew(1deg);
        -webkit-opacity: 0.1;
    }
    30% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        -webkit-opacity: 0.5;
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        -webkit-opacity: 0.1;
    }
}

@-webkit-keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        opacity: 0.6;
    }
    100% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
}

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

@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@-webkit-keyframes zoom {
    0% {
        transform: scale(.9)
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@keyframes zoom {
    0% {
        transform: scale(.9)
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@media(max-width: 849px){
    .home-policy .item{
        width: calc(50% - 5px);
    }
}

@media(max-width: 549px){

    .header .logo img{
        padding: 5px 0;
    }

    .home-policy .item{
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-policy .icon-box-left .icon-box-img+.icon-box-text{
        width: 100%;
        flex: unset;
    }

}