﻿:root {
    --h-main-color1: #198754;
    --h-main-color2: #efb301;
    --h-header1-bg: #013a96;
    --h-header2-bg: #ffffff;
    /* H menu*/
    --h-menu-bg: transparent;
    --h-menu-hover: #efb301;
    --h-menu-text: #2b7901;
    --h-menu-text-hover: #fff;
    --h-menu-hor-space: 20px;
    --h-menu-ver-space: 12px;
    --h-menu-divider-color: rgb(255,255,255,0);
    --h-menu-min-width: 260px;
    --h-menu-sub-bg: #ffffff;
    --h-menu-sub-hover: #efb301;
    --h-menu-sub-text: #111111;
    --h-menu-sub-text-hover: #ffffff;
    --h-menu-sub-ver-space: 8px;
    /* M menu*/
    --h-mmenu-icon-color: #198754;
    --h-mmenu-bg: #efb301;
    /* Layout */
}

@font-face {
    font-family: Carattere;
    src: url(/lib/fonts/Carattere-Regular.ttf);
}

/* Scroll bar */
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #aaa;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #888;
    }
/* /Scroll bar */        
img {
    max-width: 100%;
    height: auto;
}
a {
    text-decoration: none;
    color: var(--h-main-color1);
}
.container-fluid {
    max-width:1200px;
}
.h-main-font {
    font-family: var(--bs-body-font-family);
}
.h-content-margin {
    margin-top: 48px;
}
.h-header1 {
    /*background-color: var(--h-header1-bg);*/
    background-image: linear-gradient(to right, var(--h-main-color1), var(--h-main-color1), var(--h-main-color2));   
    color: var(--h-main-color2);
    font-size: 0.9rem;
}
.h-header2 {
    background-color: var(--h-header2-bg);
    padding: 16px 0px;
    display: block;
}
.h-hide-on-mobi {
    display: inline-block;
}
/* H menu */
.h-menu {
    
    background-color: #ffffff;
    opacity: 1;
    
    /*margin-bottom: 24px;*/
    display: block;
    position: relative;
    top: 0;
    z-index: 1000;
}
.h-nav-wrap {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: -20px;
}
.h-logo-wrap {
    position: absolute;
    padding: 20px;
    top: -40px;
    background-color: #fff;
    border-radius: 5px;
}
.h-logo {
    transition: all 1s;
    display: block;
    margin: auto;
    transition: all 1s;
}
.h-menu-fixed {
    /*background-color: #fff !important;
            padding: 0px !important;
            margin-bottom: 5px;*/
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: all 1s;
    animation: fadeInDown 1.3s ease backwards;
    -webkit-animation: fadeInDown 1.3s ease backwards;
    padding: 6px 0px !important;
    /*background-color: rgba(26,75,152,0.8);*/
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 2px 0 rgba(0,0,0,0.1), 0 6px 10px 0 rgba(0,0,0,0.1);
    /*background-image: linear-gradient(to right, var(--h-main-color1), var(--h-main-color1), var(--h-main-color2));
    --h-menu-text: #ffffff;
    --h-menu-sub-bg: var(--h-main-color1);*/
}

    .h-menu-fixed .h-logo-wrap {
        position: relative;
        padding:0;
        top: 0px;
        float:left;
        box-shadow:none !important;
    }
    .h-menu-fixed .h-logo {
        height: 50px;
        transition: all 1s;
    }
    .h-menu-fixed .h-company-name {
        display:none;
    }

/* M menu */

/*nav.mm-menu {
    display: block;
}
*/
.mm-wrapper--position-left .mm-slideout, .mm-wrapper--position-right .mm-slideout {
    -webkit-transform: initial;
    transform: initial;
}

#h-mmenu-header {
    position: sticky;
    /*height: 50px;*/
    padding: 12px;
    top: 0;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    z-index: 1000;
    background-color: var(--h-mmenu-bg);
    box-shadow: 0 4px 2px 0 rgba(0,0,0,0.1), 0 6px 10px 0 rgba(0,0,0,0.1);
    /*  color: #fff;
    text-align: center;
    background: #0167B1;*/
    display:none;
}
    #h-mmenu-header mm-burger {
        color: var(--h-mmenu-icon-color);
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }


/* /h-menu */
.h-content {
    /*background: #f2f2f2;*/
}

.h-heading-text {
    font-weight: 700;
    background: linear-gradient(to right, var(--h-main-color1),var(--h-main-color1), var(--h-main-color2));
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    
    /*color: var(--h-main-color1);*/
}
.h-heading-font {
    font-family: Carattere;
    font-size: 3rem;
    font-weight: 400;
}
.h-post-heading {
    background: url('/UserFiles/Images/Layout/heading-bg.png') #fffad6;
    background-position: right bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    min-height: 200px;
}
.h-post-heading-date {
    color: #999;
    font-size: 0.8rem;
}
.h-post-heading-path-title {
    color: #999;
}

.h-card-header {
    background-image: linear-gradient(to right, var(--h-main-color1), var(--h-main-color1), var(--h-main-color2));
    font-weight: 600;
    color: #ffffff;
}
.h-card-box {
    
    transition: all 0.2s linear;
    margin-bottom: 48px;
    border-radius:20px;
    box-shadow: 0 0px 8px #ccc;
}
.h-card-box a {
    color: var(--h-main-color1);
}
.h-card-box:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
    .h-card-box .h-card-title-2-line {
        height:48px;
        text-align:center;
        overflow: hidden;
        display:flex;
        justify-content:center;
        align-items:center;

    }
    .h-card-box .h-card-title-3-line {
        height: 72px;
        text-align: center;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
.h-card-img-ratio {
    overflow: hidden;
    width:100%;
    height:100%;
    border-radius:20px;
}
.h-card-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transition: all 0.2s linear;
}
    .h-card-img:hover {
        transform: scale(1.1);
       
    }

.h-list-item {
    margin-left: 24px;
    position: relative;
}

    .h-list-item::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: '\f105';
        position: absolute;
        left: -24px;
    }

@media only screen and (max-width: 991px) {
    .h-hide-on-mobi {        
        display: none;
    }

    .h-header2 {
        display: none;
        
    }

    .h-menu {
        display: none;
        /*box-shadow: none*/
    }

    #h-mmenu-header {
        display: block;
    }

    .h-post-heading {
        min-height: 120px;
    }
    
}
/* Product */
.h-product-title {
    color:#111111;
    line-height:20px;
    height:48px;
    padding:0 5px;
    text-align: center;
    overflow:hidden;
}
    .h-product-title a {
        color: #111111;
        font-weight:bold;
        font-size: 1.1rem;
    }
.h-product-price {
    color: red;
    font-size:1.1rem;
    font-weight:bold;
}
.h-product-old-price {
    color: #333;
    font-size: 0.9rem;
    text-decoration: line-through;
}
.h-product-tab-border {
    border-bottom: solid 1px #dedede;
    border-left: solid 1px #dedede;
    border-right: solid 1px #dedede;
    padding: 8px 8px 8px 8px;
}

.h-product-tab-bg {
    background-color: #f2f2f2; /*
    border-right:solid 1px #828282;
    border-top:solid 1px #828282;
    border-left:solid 1px #828282; */
}

#h-soLuong {
    display: inline-block;
}

.h-qty-num {
    width: 60px;
    display: inline-block;
    text-align: center;
}

.h-qty-btn {
    border: none;
    font-size: 1.2rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.h-product-info > div{
    margin-bottom:10px;
}
.h-galleria-container {
    width: 100%;
    padding-top: 80%;
    position: relative;
}

.galleria {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
}

.galleria-theme-classic {
    background-color: #f1f1f1;
}

.galleria-stage {
    background-color: #FFF; 
}

.list-group > .list-group > .list-group-item {
    padding-left: 36px;
}
.list-group > .list-group-item {
    border-radius: 0;
    border-width: 1px 0 0 0;
}
/* End Product */

/*Wave Footer*/
.waves {
    position: relative;
    height: 100px;
}
.wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("/userfiles/Images/Layout/wave.png");
    background-size: 1000px 100px;
}

.wave#wave1 {
    z-index: 4;
    opacity: 1;
    bottom: 0;
    animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
    z-index: 3;
    opacity: 0.5;
    bottom: 10px;
    animation: animate 4s linear infinite !important;
}

.wave#wave3 {
    z-index: 4;
    opacity: 0.2;
    bottom: 15px;
    animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
    z-index: 3;
    opacity: 0.7;
    bottom: 20px;
    animation: animate 3s linear infinite;
}

@keyframes animateWaves {
    0% {
        background-position-x: 1000px;
    }

    100% {
        background-position-x: 0px;
    }
}

@keyframes animate {
    0% {
        background-position-x: -1000px;
    }

    100% {
        background-position-x: 0px;
    }
}
/*End Footer*/
    /* Animation */
@keyframes h-draw-svg {
        100% {
        stroke-dashoffset: 0
    }
}

.h-draw svg {
    /* position: absolute; */
    stroke: #fec868;
    fill: none;
    pointer-events: none;
}

.h-ani-1[data-emergence=visible] path {
    /*animation-name: h-draw-svg;*/
    animation: h-draw-svg 5s;
    animation-fill-mode: forwards;
    /*animation-timing-function: cubic-bezier(.45,.05,.55,.95);*/
    animation-timing-function: linear;
}
.h-fadeInLeft {
    opacity: 0;
}

    .h-fadeInLeft[data-emergence=visible] {
        animation: fadeInLeft;
        animation-duration: 1s;
        opacity: 1;
    }

.h-fadeInRight {
    opacity: 0;
}
    .h-fadeInRight[data-emergence=visible] {
        animation: fadeInRight;
        animation-duration: 1s;
        opacity: 1;
    }

.h-fadeInUp {
    opacity: 0;
}

    .h-fadeInUp[data-emergence=visible] {
        animation: fadeInUp;
        animation-duration: 1.2s;
        opacity: 1;
    }


.h-lightSpeedInLeft {
    opacity: 0;
}

    .h-lightSpeedInLeft[data-emergence=visible] {
        animation: lightSpeedInLeft;
        animation-duration: 1s;
        opacity: 1;
    }

.h-lightSpeedInRight{
    opacity: 0;
}

    .h-lightSpeedInRight[data-emergence=visible] {
        animation: lightSpeedInRight;
        animation-duration: 1s;
        opacity: 1;
    }
.h-backInUp {
    opacity: 0;
}

    .h-backInUp[data-emergence=visible] {
        animation: backInUp;
        animation-duration: 1s;
        opacity: 1;
    }


#go-top {
    display: none;
    font-size: 20px;
    position: fixed;
    bottom: 150px;
    right: 20px;
    border: 1px solid var(--h-main-color1);
    color: var(--h-main-color1);
    border-radius: 5px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
}

.h-messenger-button {
    position: fixed;
    /* width:206px;*/
    width: 38px;
    height: 38px;
    right: 3px;
    bottom: 3px;
    background-image: url('/userfiles/Images/Layout/f-chat-m.png');
    cursor: pointer;
    display: inline-table;
    z-index: 10000;
}

.h-zalo-button {
    position: fixed;
    /* width:206px;*/
    width: 40px;
    height: 40px;
    right: 5px;
    bottom: 100px;
    background-image: url('/userfiles/Images/Layout/icon-zalo.png');
    background-size: cover;
    cursor: pointer;
    display: inline-table;
    z-index: 10000;
}
