@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import "thaydoimau.css";
@import "bs-modal.css";
@import "FontFamily.css";
@import "autoptimize.css";
@import "slide-slick.css";
@import "home.css";
@import "product.css";
@import "news.css";
@import "contact.css";
@import "footer.css";

/*
@import "nhomsp.css";
@import "vimc.css";
@import "lvhd.css";
*/

:root {
  --container-max-width: 1300px;
  /*--container-max-width: 100%;*/
  --content-width: min(100%, var(--container-max-width));
  --swiper-theme-color: #41a729 !important;
}

.animate-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}
.hs-container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.hs-container2{
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}
.hs-container:before, 
.hs-container:after {
    content: "";
    display: table;
}


/*****************************/

body {
    /*font-family: 'Montserrat', sans-serif !important;*/
    font-family: "Roboto", sans-serif !important;
    margin: 0;
    padding: 0;
    background: #fff;
    font-size: 12px;
}
.header-topbar{
    background-color: #41A729;
    min-height: 40px;
    position: relative;
}
.flex-row {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    width: 100%;
    max-width: 1350px;
    height: 100%;
}
.flex-left {
    margin-right: auto;
}
.flex-col {
    max-height: 100%;
}

.flex-col > ul.nav {
    align-items: center;
    display: inline-block;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}
#top-bar .html {
    font-size: 15px;
    font-weight: bold;
    color: #FFF;
}




.dark .social-icons, .nav-dark .social-icons {
    color: #fff;
}
.html .social-icons {
    font-size: 1em;
}

.desk-hidden{
    display: none;
}
.colred{
    color: red !important;
}
.marT10{
    margin-top: 10px !important;
}
.marT20{
    margin-top: 20px !important;
}
.marT30{
    margin-top: 30px !important;
}
.marT40{
    margin-top: 40px !important;
}
.padd5{
    padding: 0 5px !important;
}
.height35 {
    height: 35px;
}
.paddL50{
    padding-left: 50px !important;
}
.posR {
    position: relative;
}
.posA {
    position: absolute;
}
.vs-bgwhite{
    background: #fff !important;
}

.marB10{
    margin-bottom: 10px !important;
}
.marB20,
.mar-bottom-20{
    margin-bottom: 20px !important;
}
.marB30{
    margin-bottom: 30px !important;
}
.marB40{
    margin-bottom: 40px !important;
}
.marB50{
    margin-bottom: 50px !important;
}
.marB60{
    margin-bottom: 60px !important;
}

a:hover {
    text-decoration: none !important;
}
.paddL0{
    padding-left: 0 !important;
}
.paddR0{
    padding-right: 0 !important;
}
.paddR40{
    padding-right: 40px !important;
}
.paddL10 {
    padding-left: 10px;
}
.padd0 {
    padding: 0 !important;
}
.padd-top-50{
   padding-top: 50px !important; 
}
.padd-top-60{
    padding-top: 60px !important;
}
.padd-top-70{
    padding-top: 70px !important;
}
.marB0 {
    margin-bottom: 0px !important;
}
.marB10 {
    margin-bottom: 10px !important;
}
.marB20 {
    margin-bottom: 20px !important;
}
.marB30 {
    margin-bottom: 30px !important;
}
.marT0 {
    margin-top: 0px !important;
}
.marT10 {
    margin-top: 10px !important;
}
.marT15 {
    margin-top: 15px !important;
}
.marT20 {
    margin-top: 20px !important;
}
.marT30 {
    margin-top: 30px !important;
}
.width1300 {
    width: 1300px;
    margin: 0 auto;
}
.height-40{
    height: 40px;
    line-height: 40px;
}
.col-white{
    color: white;
}
/***********************/
#kigi-header {
    min-height: 70px;
    position: relative;
    z-index: 112;
    /*position: fixed;*/
    top: 0; left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
    transition: top 0.3s ease;
}
#kigi-header.hide {
    top: -120px;
    position: fixed;
}
.kigiheader{
    /*position: fixed;*/
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 1);
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05);
}
.kigiheader .wraphead {
    padding: 0 30px;
}
.kigimainhead {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kigimainhead .kigilogo {
    /*width: 400px;*/
    width: 220px;
    height: 70px;
    position: relative;
}
.kigimainhead .kigihead {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
}

.vhsliderhome{
    /*margin-top: 70px;*/
}


.vhlogohead .logo {
    position: absolute;
    left: 0;
    top: 6px;
    width: 100%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.logo {
    text-align: left;
    padding-left: 20px;
}
.logo img {
    width: 90%;
    padding-top: 2px;
}
.wrapkigi {
    padding: 0 30px;
}
.kigihead .kigiItem {
    margin-left: 20px;
    position: relative;
}

.languageTop {
    position: relative;
}
.languageTop.active .popup {
    opacity: 1;
    visibility: initial;
    top: 45px;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.languageTop .popup {
    position: absolute;
    top: 55px;
    right: 0;
    width: 150px;
    background-color: #fff;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.menuTop ul {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    width: 100%;
}
.menuTop ul > li {
    /*margin-right: 50px;*/
    position: relative;
}

.menuTop > ul > li > a {
    display: block;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
    /*padding: 24px 0;*/
    padding: 9px 5px;
    position: relative;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1.5px;
}
.menuTop > ul > li > a:lang(en) {
    font-size: 13px;
}
.menuTop ul li.current > a,
.menuTop ul li:hover> a {
    color: #222;
}
.menuTop ul li:hover>a:before, 
.menuTop ul li.current>a:before {
    width: 100%;
}
.menuTop > ul > li > a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    transform: translate(-50%, 0);
    height: 3px;
    background-color: #222;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.menuTop ul li ul {
    /*min-width: 540px;*/
    min-width: 320px;
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    z-index: 99999999;
    border-bottom: solid 3px #41A729;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /*-webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
    transform: translateY(10px);*/

    -webkit-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    -o-transform: translateX(-20px);
    transform: translateX(-20px);
    /*padding: 10px;*/
    margin: 0;
}
.menuTop ul li ul.submenu.styleNews {
    min-width: 300px !important;
    padding: 0;
}

.menuTop ul li:hover>ul {
    opacity: 1;
    visibility: initial;
    pointer-events: auto;
    -webkit-transform: initial;
    -ms-transform: initial;
    -o-transform: initial;
    transform: initial;
}
.menuTop ul li ul li {
    border-bottom: solid 1px rgba(0, 0, 0, 0.15);
    margin-right: 0;
}
.menuTop ul > li > ul > li > a {
    font-size: 14px;
    line-height: 22px;
    text-transform: initial;
    padding: 9px 10px;
    color: #333333;
    font-weight: 600;
    /*text-transform: uppercase;*/
    display: block;
}
.menuTop ul > li > ul > li:hover>a {
    background: #41A729;
    color: #fff !important;
    display: block;
}

.menuTop ul li ul li ul {
    left: 270px;
    top: 0;
    border-left: 1px solid #f1f1f1;
}
.menu-parent {
    font-weight: bold;
    text-transform: uppercase;
}
.swiper {
    /*margin-top: 72px;*/
    margin-top: 70px;
}
.lhtide {
    color: #428bca;
    font-size: 20px;
    margin-bottom: 15px;
}
.gloabl-tuyendung{
    padding: 40px 0 60px 0;
}
.cuahang-live{
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
}

.vhsliderhome .bg {
    /*height: calc(100vh - 70px);*/
    background-size: cover;
    background-position: center;
    position: relative;
    /*padding-top: 70px;*/
    width: 100%;
    /*margin-top: 70px;*/
}

/*************************************/

/*
.vhsliderhome .item {
    width: 100%;
    height: 100%;
}*/

/*.vhsliderhome .bg {
    width: 100%;
    height: 100%;
    background-size: cover;    
    background-position: center; 
    background-repeat: no-repeat;
}*/
.bodyfoot {
    /*background: url(../images/bgfoot.png);*/
    padding: 30px 0 0 0;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #f2f4f6 ;
}
.bodyfoot::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}


.f-csbanhang {
    padding: 0px 15px 0 0px;
    margin: 15px 0;
    width: 100%;
    max-height: auto;
}
.waiting {
    background: #fff;
    z-index: 9999999999999999;
    position: fixed;
    bottom: 40%;
    padding: 15px;
    width: 600px;
    border-radius: 30px;
    text-align: center;
    left: 30%;
    display: none;
    font-size: 18px;
}
#hs-back-top {
    background: #41a729;
    font-family: "Roboto", sans-serif;
    position: fixed;
    right: 10px;
    bottom: 40px;
    height: 60px;
    width: 60px;
    color: #fff;
    text-align: center;
    line-height: 36px;
    cursor: pointer;
    font-size: 40px;
    border-radius: 36px;
    z-index: 9999;
    place-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  
    /* Hiệu ứng bóng mờ xám */
}
#hs-back-top:hover{
    background: #fff !important;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);  
    /* Tăng độ bóng khi hover */
}
#hs-back-top:hover i{
    color: #004ea0;
}



.home-giaiphap {
    /*background: #bdbcbc;*/
}
.footer-map {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    margin-top: 20px;
    height: 230px;
    background: #fff;
}
.footer-map iframe {
    width: 100%;
    max-height: 210px;
}
.topicon i {
    color: #fff;
    font-size: 16px;
    padding-right: 8px;
}
.topicon img {
    max-width: 40px;
    margin-top: -5px;
}
.topright-contact span,
.topright-contact a {
    color: #fff;
    font-size: 15px;
}
.topright-contact a:hover{
    color: aliceblue;
}
.topright-contact {
    text-align: right;
}
.topright-contact span {
    border-right: 1px solid #fff;
    padding: 0 15px;
}
.topright-contact span:last-child {
    border: none;
    padding-right: 0;
}
/*******top-tooltip*******/
.topright-contact span a {
    color: #fff;
    text-decoration: none;
    position: relative;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* Hover show tooltip */
.topright-contact a[data-title]:hover::after,
.topright-contact a[data-title]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Tooltip BOX nằm dưới */
.topright-contact a[data-title]::after {
    content: attr(data-title);
    position: absolute;
    top: 38px;          /* hiển thị dưới icon */
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 0px 20px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
    z-index: 99999;
}

/* Mũi tên hướng xuống */
.topright-contact a[data-title]::before {
    content: "";
    position: absolute;
    top: 28px;  /* nằm ngay trước tooltip */
    left: 50%;
    transform: translateX(-50%);
    /* tam giác hướng xuống */
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #000;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
    z-index: 99999;
}
.hotline-call {
    background: url(../images/phone.png) no-repeat;
    background-size: 35px;
    background-position: left center;
    padding-left: 50px;
    font-weight: 500;
}
.header-cart-title, 
.hotline-call span {
    font-size: 14px;
    font-weight: 500;
    text-transform: initial;
    letter-spacing: 0;
    color: #333;
}
.hotline-call a {
    font-weight: 700;
    font-size: 17px;
    color: #dd3333;
}
.icon-search {
    padding-left: 15px;
}


/* GTranslate - Google Translate */
#gt_float_wrapper {
    position: relative !important;
    left: 150px !important;
    bottom: 22px !important;
    z-index: 999;
}
.language-item {
    width: 122px;
    height: 50px;
}
.gt_float_switcher img {
    vertical-align: middle;
    display: inline-block;
    width: 20px !important;
    height: auto;
    margin: 0 5px 0 0;
    border-radius: 3px;
}

/* ÉP dropdown luôn mở xuống */
.gt_float_switcher .gt_options {
    top: 100% !important;   /* đặt ngay dưới khối đã chọn */
    bottom: auto !important; 
    transform: none !important;
}

/* Căn chỉnh đẹp dưới nút EN */
.gt_float_switcher.gt-open .gt_options {
    margin-top: 6px; /* cách nhẹ 1 khoảng */
}
.gt_float_switcher {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
}
.gt_float_switcher {
    position: absolute !important;
    top: 100% !important;
    left: -250px !important;
    right: auto !important;
    bottom: auto !important;
    max-width: 260px;
    font-size: 12px;
}

.gt_float_switcher .gt-selected .gt-current-lang {
    padding: 2px 6px;
    color: #333;
    font-weight: bold;
    font-size: 12px;
}
.gt_float_switcher .gt_options a{
    font-size: 14px !important;
}
/* End Google Translate */

.mbi-headphone {
    color: #222;
    text-decoration: none;
    /*background: black;*/
    padding: 10px;
    /* width: 80px; */
    text-align: center;
    font-size: 20px;
    font-family: saminfood;
}
.mbi-headphone{
    animation: colorBackground 0.5s infinite;
    -webkit-animation: colorBackground 5s infinite;
    -moz-animation: colorBackground 5s infinite;
    -o-animation: colorBackground 0.5s infinite
    }
    @keyframes colorBackground {
    0% {
        /*background-color: yellowgreen;*/
        color: #222;
    }
    25% {
        /*background-color: yellowgreen;*/
        color: blue;
    }
    50% {
        /*background-color: red;*/
        color: yellow;
    }
    75% {
        /*background-color: red;*/
        color: orange;
    }
    100% {
        /*background-color: red;*/
        color: purple;
    }
}
.mbi-headphone:hover {
    /*background: yellow;*/
    color: red;
}
.topruntext {
    position: absolute;
    left: 315px;
    color: #333;
    font-size: 16px;
    top: 27px;
}


#typingText {
    animation: colorChange 2s infinite linear;
}
@keyframes colorChange {
    0% { color: #ff0000; }
    25% { color: #00a2ff; }
    50% { color: #00cc00; }
    75% { color: #ff00ea; }
    100% { color: #ff0000; }
}
.items-tailieu {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}
.tailieu-pic {
    height: 250px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.tailieu-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tailieu-pic::before {
    content: "";
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 50%;
    right: 50%;
    border-top: solid 1px #ffffff;
    border-bottom: solid 1px #ffffff;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    pointer-events: none;
    z-index: 1;
}
.tailieu-pic::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    bottom: 50%;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #ffffff;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    pointer-events: none;
    z-index: 1;
}
.tailieu-pic:hover::before {
    left: 15px;
    right: 15px;
}
.tailieu-pic:hover::after {
    top: 20px;
    bottom: 20px;
}
.tailieu-pic:hover img {
    transform: scale(1.05);
}
.tailieu-text {
    padding: 10px;
}
.tailieu-detail {
    text-align: center;
    background: #ccc;
    padding: 10px;
}
.tailieu-detail a {
    color: #0F106F;
    font-size: 16px;
}
.tailieu-text a {
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: #41A729;
    font-size: 16px;
}
.fixhead{
    position: static; /* trạng thái bình thường */
    background: #fff;
    transition: all 0.3s ease;   
    animation: stuckMoveUp .6s; 
}

.home-giaiphap {
    /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 -5px 10px rgba(0, 0, 0, 0.1);*/
    background: #eeeeee;
}

/* Khi scroll xuống */
.fixhead.is-fixed{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    box-shadow: 0 3px 5px rgba(0,0,0,0.05);
    animation: stuckMoveDown .6s;
}
@-webkit-keyframes stuckMoveDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes stuckMoveDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@-webkit-keyframes stuckMoveUp {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes stuckMoveUp {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%)
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@-webkit-keyframes stuckFadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@keyframes stuckFadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}