﻿:root {
    --h-main-color1: #425faa;
    --h-main-color2: #dc1921;
    --h-header1-bg: #425faa;
    --h-header2-bg: #425faa;
    /* H menu*/
    --h-menu-bg: #425faa;
    --h-menu-sub-bg: #425faa;
    --h-menu-hover: #dc1921;
    --h-menu-text: #ffffff;
    --h-menu-text-hover: #ffffff;
    --h-menu-hor-space: 30px;
    --h-menu-ver-space: 10px;
    --h-menu-min-width: 260px;
    --h-menu-divider-color: rgb(255,255,255,0);
    /* M menu*/
    --h-mmenu-icon-color: #425faa;
    /* Layout */
}
/* 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;
}
.container-fluid {
    max-width:1200px;
}
.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));
    line-height: 40px;
    color: #fff;
    font-size: 0.9rem;
    display:none;*/
}
.h-header2 {
    background-color: var(--h-header2-bg);
    
    padding: 12px;
    display: none;
}
.h-hide-on-mobi {
    display: none;
}
/* H menu */
.h-menu {
    /*background-image: url('/UserFiles/Images/Layout/header-bg1.jpg');*/
    background-position: center center;
    background-size: cover;
    opacity: 1;
    font-weight:700;
    padding: 0;
    /*margin-bottom: 24px;*/
    display: none;
    position: relative;
    top: 0;
    z-index: 1000;
}
.h-nav-wrap {
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.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: 5px 0px;*/
    /*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 {
        height: 50px;
        transition: all 1s;
    }

    
.h-content-margin {
    margin-top: 0px;
}

/* M menu */
.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: #fff;
    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;*/
}
#h-mmenu-header mm-burger {
    float: left;
    color: var(--h-mmenu-icon-color);
    top: 8px;
    position: relative;
}




/* /h-menu */
.h-content {
    /*padding-top: 100px;*/
}
.h-heading-text {
    font-weight: bold;
    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;
}

.h-post-heading {
    background: url('/UserFiles/Images/Layout/heading-bg.jpg');
    background-size:cover;
    background-position:center center;
    background-repeat: no-repeat;
    min-height: 120px;
    display: flex;
    align-items: center;
}
.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 {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    transition: all 0.2s linear;
    margin-bottom: 48px;
}
.h-card-box:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.45) !important;
}
    .h-card-box .h-card-title {
        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%;
}
.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 {
        content: '🡦';
        position: absolute;
        left: -24px;
    }
.h-header1 {
    display: none;
}
@media only screen and (min-width: 992px) {
    .h-hide-on-mobi {
        display: inline-block;
    }
    .h-header1
    {
        display:block;
    }
    nav.mm-menu {
        display: none;
    }

    .h-header2 {
        display: block;
    }

    .h-menu {
        display: block;
        /*box-shadow: none*/
    }

    #h-mmenu-header {
        display: none;
    }

    .h-post-heading {
        min-height: 200px;
    }
    .h-content-margin {
        margin-top: 44px;
    }
}

    /* Animation */
@keyframes h-draw-svg {
        100% {
        stroke-dashoffset: 0
    }
}

.h-draw svg {
    /* position: absolute; */
    stroke: #405861;
    fill: none;
    pointer-events: none;
}

.h-ani-1[data-emergence=visible] path {
    animation-name: h-draw-svg;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.45,.05,.55,.95);
}
.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: 5px;
    border: 1px solid #333;
    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;
}
