/*
Theme Name: PhươngNamVina
Description: Giao dien duoc thiet ke boi Cong Ty TNHH PhuongNamvina, HOTLINE: 0912817117 | 0915101017
Theme URI: https://phuongnamvina.com
Author: PhuongNamVina.com
Author URI: https://phuongnamvina.com
Template: flatsome
Version: 3.0
Tags:  phuongnamvina, thietkeweb, giaodiendep, 0912817117, 0915101017, hotrotructuyen, seo

*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

.header-bottom{
    border-bottom: 2px solid #f6b300;
}

.header-bottom-nav.nav-box > li > a{
    padding: 0 1.25rem;
    font-weight: 700;
    font-family: "Source Sans 3", sans-serif;
}

.header-bottom-nav.nav-box > li:not(li.active) > a{
    background: linear-gradient(to bottom, #f6b300 0%, #ffe7a9 20%, #f6b300 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-bottom .header-bottom-nav.nav-box > li.active > a{
    background-color: transparent !important;
    color: #0a0a0ae3 !important;
    position: relative;
}

.header-bottom .header-bottom-nav.nav-box>li a:hover{
    background-color: transparent !important;
    color: #f6b300 !important;
}



.header-bottom-nav.nav-box > li.active > a:after{
    content: "";
    position: absolute;
    top: -0.25rem ;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(0deg, #f6b300 0%, #fbdd3d 50%, #f6b300 100%);
    clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
}

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



.nav-left .header-search-form{
    margin-left: 0;
}

.searchform .search-field{
    border: 1px solid #ccc !important;
}

.searchform .submit-button{
    width: 32px;
    height: 32px;
    background-color: var(--primary-color) !important;
    border: 0;
}


.nav-right{
    flex-direction: column;
    align-items: flex-end;
    font-size: 1rem;
    text-align: end;
}


.nav-right li.html{
    font-weight: 500;
    font-size: 1rem !important;
    line-height: 1.2;
}


.nav-right .gtranslate_wrapper{
    margin-top: 0.5rem;
}


/*===*/
.vertical_menu_category .navigation{
    width: 100%;
}

.vertical_menu_category ul{
    width: 100%;
    background-color: #fff;
    border: 1px solid #dfdfdf;
    list-style: disc;
}

.vertical_menu_category ul li{
    margin-left: 0;
}

.vertical_menu_category .navigation>ul>li{
    padding-left: 1rem;
}

.vertical_menu_category ul li + li{
    border-top: 1px dashed #dfdfdf;
}

.vertical_menu_category ul li a{
    color: #000;
    text-shadow: none;
    font-size: 15px;
}

.vertical_menu_category .navigation>ul>li>a:after{
    content: "\f196";
    position: absolute;
    right: unset;
    left: 1rem;
    top: 15px;
    font-family: FontAwesome;
}

.vertical_menu_category ul li:hover,
.vertical_menu_category ul li:hover>a{
    background-color: #f6b300;
    color: #fff;
}

.vertical_menu_category ul li.has-sub ul{
    margin-top: 0;
    width: max-content;
    z-index: 10;
}

.vertical_menu_category ul li.has-sub ul li:hover a{
    background-color: #f6b300;
    color: #fff;
}



.title_menu_category{
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0;
    padding: 0.5rem;
    font-size: 18px;
    background: linear-gradient(180deg, #f6b300, #f2c753);
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Source Sans 3", sans-serif;
}

/*===*/
.home .home-news-item {
  border-right: 1px solid #ccc;
}


.product-small .product-title{
    margin-bottom: 0.25rem !important;
}

.product-small .box-text{
    padding-bottom: .7em;
}

.product-small .box-excerpt{
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-small .star-review{
    color: #fcb304;
    font-size: 14px;   
}


/**/
.slide-no-padding .col{
	padding-bottom: 9.8px !important;
}

.title-style b{
	display: none;
}

.title-style .section-title-main{
	display: block;
	width: 100%;
}

.title-style{
    position: relative;
}

.title-style:before{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.25rem;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.title-style:after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.25rem;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background-color: #fff;
    animation: title-animation 3s linear infinite;
}

.title-style-gray:after{
    background-color: #f5f5f5;
}

.title-style-red:before{
    background-color: #fff;
}

.title-style-red:after{
    background-color: #f6b300;
}

@keyframes title-animation {
    0% {
        transform: translateX(-70px);
    }
    100% {
        transform: translateX(70px);
   }
}


/**/
.group-contact-product{
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 70%;
}

.group-contact-product .button{
    display: block;
    width: calc(50% - 0.25rem);
    margin: 0 !important;
    font-weight: 500;
    background-color: #367E18 !important;
    border-radius: 0.25rem;
}

.group-contact-product .button-ho-tro-tu-van{
    width: 100%;
    border-radius: 0.5rem 0;
    background-color: #fcb304 !important;
}

.single_add_to_cart_button{
    border-radius: 0.25rem;
}

.name-company-header strong{
    font-weight: 900;
    font-family: "Source Sans 3", sans-serif;
}


.custom.html_topbar_right{
    width: unset !important;
}


#mega-menu-title{
    font-family: Quicksand, sans-serif;
    font-size: 1.1em;
}




.product-small .box-text{
    font-size: 1rem;
}

.product-small .product-title{
    font-size: 1.125rem;
    font-weight: 600;
}


.copyright-footer a{
    color: #fff !important;
}

#wpcf7-f942-o1{
    padding: 1rem;
    background-color: #fff;
}

#wpcf7-f942-o1 .wpcf7-form{
    margin-bottom: 0;
}

#wpcf7-f942-o1 .wpcf7-submit{
    margin: 0;
}



#wpcf7-f942-o1 .wpcf7-form input[type=text]{
    color: #000;
}

#wpcf7-f942-o1 .wpcf7-form input[type=text]:placeholder{
    color:  #000;
}


.wrapper-slide{
    position: relative;
}

.post-slide{
    height: 312px;
}

.post-next,
.post-prev{
    margin: 0;
    width: unset;
    height: unset;
}

.post-next:after,
.post-prev:after{
    font-size: 1.5rem;
    color: var(--primary-color);
}


.wrapper-slide.button-hover .post-next,
.wrapper-slide.button-hover .post-prev{
    opacity: 0;
    transition: all .2s ease-in-out;
}

.wrapper-slide.button-hover:hover .post-next,
.wrapper-slide.button-hover:hover .post-prev{
    opacity: 1;
}


/*=====*/
.carousel-slider-3308 .carousel-slider__item{
    padding: 0.5rem;
    height: 125px;
    background-color: #fff;
}
.carousel-slider-3308 .carousel-slider__item a{
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-slider-3308 .carousel-slider__item img{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.carousel-slider-3308 .owl-nav{
    display: block !important;
}


@media (max-width: 991.98px){
    .box-vertical-lg{
        display: flex;
        flex-direction: column;
    }

    .box-vertical-lg .box-image{
        width: 100% !important;
    }

    .box-vertical-lg .image-cover{
        padding-top:56.25% !important;
    }

    .box-blog-post .post-title{
        font-size: 1.125rem;
    }

    .product-small .product-title{
        font-size: 1.125rem;
    }


}


@media only screen and (max-width: 48em) {
      /*************** ADD MOBILE ONLY CSS HERE  ***************/
      .home .home-news-item {
        border-right: none;
      }
}


@media (min-width: 768px) {
    .post-next{
        left: 50%;
        bottom: 0;
        top: unset;
        right: unset;
        transform: translate(-50%, 100%) rotate(90deg);
    }

    .post-prev{
        top: 0;
        left: 50%;
        transform: translate(-50%, -100%) rotate(90deg);
    }
}


@media (min-width: 992px) {
    .col-left-slide{
        flex-basis: 20.75%;
        max-width: 20.75%;
    }

    .col-right-slide{
        flex-basis: calc(100% - 20.75%);
        max-width: calc(100% - 20.75%);
    }

}