﻿:root {
    --backup-bg-color: teal;
    --widthA: calc(100% - 1px);
    --width-16-9: calc(var(--widthA) / 1.7777);
    
}


@font-face {
    font-family: VN_Lato;
    src: local('Regular'), url('font/Lato Regular.ttf') format('truetype'); /* others */
}
@font-face {
    font-family: VN_Lato_Black;
    src: local('Black'), url('font/Lato Black.ttf') format('truetype'); /* others */
}

@font-face {
    font-family: VN_Lato_Bold;
    src: local('Bold'), url('font/Lato Bold.ttf') format('truetype'); /* others */
}
@font-face {
    font-family: VN_Lato_Medium;
    src: local('Medium'), url('font/Lato Medium.ttf') format('truetype'); /* others */
}

@font-face {
    font-family: VN_Lato_Light;
    src: local('Light'), url('font/Lato Light.ttf') format('truetype'); /* others */
}
@font-face {
    font-family: VN_Lato_Hairline;
    src: local('Hairline'), url('font/Lato Hairline.ttf') format('truetype'); /* others */
}
@font-face {
    font-family: VN_Lato_Heavy;
    src: local('Heavy'), url('font/Lato Heavy.ttf') format('truetype'); /* others */
}
@font-face {
    font-family: VN_Lato_Italic;
    src: local('Italic'), url('font/Lato Italic.ttf') format('truetype'); /* others */
}


body {
    /*font-family: Lato,sans-serif*/
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: VN_Lato;
}
h1, h2, h3, h4, h5, h6 {
    font-family: VN_Lato;
}

a {
    text-decoration: none;
}
a:hover{
    text-decoration:underline;
}

.bg-sis {
    background-color: #2A4874;
}
.color-sis {
    color: #2A4874;
}
.container {
    max-width: 1260px;
}

.image-banner-block {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.d-flex .flex-col-2 {
    width: calc((100% / 2) - 1em);
}
.d-flex .flex-col-3 {
    width: calc((100% / 3) - 1em);
}
.d-flex .flex-col-4 {
    width: calc((100% / 4) - 1em);
}
.d-flex .flex-col-5 {
    width: calc((100% / 5) - 1em);
}
.d-flex .flex-col-6 {
    width: calc((100% / 6) - 1em);
}
.text-h5 {
    font-weight: bold;
    font-size: 15pt;
}
.nav-item.active {
    background-color: #F4C51D;
}
.nav-item a {
    color: black;
}
.nav-item.active > a {
    color: black;
}
.nav-item .dropdown-item.active {
    background-color: #F4C51D;
}
.btn-sis {
    background-color: #F4C51D;
    color:white;
}

.carousel.multi .carousel-control-prev:hover {
    background-image: linear-gradient(to right, rgba(169,169,169,1), rgb(255,255,255,0));
}
.carousel.multi .carousel-control-next:hover {
    background-image: linear-gradient(to left, rgba(169,169,169,1), rgb(255,255,255,0));
}


.text-ellipsis {
    text-overflow: ellipsis;
    /* height: 4em; */
    overflow: hidden;
    white-space: nowrap;
}


/*multi carousel*/
@media (max-width: 767px) {
    .carousel.multi .carousel-inner .carousel-item > div {
        display: none;
    }

        .carousel.multi .carousel-inner .carousel-item > div:first-child {
            display: block;
        }

    .d-flex .flex-col-3 {
        width: unset;
    }
    .d-flex .flex-col-3 {
        width: unset;
    }

    .d-flex .flex-col-4 {
        width: unset;
    }

    .d-flex .flex-col-5 {
        width: unset;
    }

    .d-flex .flex-col-6 {
        width: unset;
    }
}

.carousel.multi .carousel-inner .carousel-item.active,
.carousel.multi .carousel-inner .carousel-item-next,
.carousel.multi .carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {

    .carousel.multi .carousel-inner .carousel-item-end.active,
    .carousel.multi .carousel-inner .carousel-item-next {
        transform: translateX(30%);
    }

    .carousel.multi .carousel-inner .carousel-item-start.active,
    .carousel.multi .carousel-inner .carousel-item-prev {
        transform: translateX(-30%);
        transition:1s;
    }
}

.carousel.multi .carousel-inner .carousel-item-end,
.carousel.multi .carousel-inner .carousel-item-start {
    transform: translateX(0);
    transition: 1s;
}

.navbar-text .navbar-text-item::after {
    content: "|";
    padding-left: 0.25em;
    padding-right: 0.25em;
}
.navbar-text .navbar-text-item:last-child::after {
    content: "";
    padding-left: 0;
    padding-right: 0;
}
.sub-menu-area-item.active {
    /*background-color: #F4C51D;*/
    color: red;
}
/*.sub-menu-area > .sub-menu-area-item {
    border-left: 1px solid;
}*/
/* .sub-menu-area > .sub-menu-area-item::before {
        content: "";
        display: inline-block;
        border-bottom: 1px solid red;
        padding-left: 1em;
    }*/
/*style.min.css*/
.btn.btn-primary, a {
    transition: all .2s ease-in-out
}



main {
    padding: 0rem 0;
    min-height: 70vh;
    padding-top: 97px;
}

img {
    max-width: 100%
}

a {
    color: #f94c3b
}

    a:hover {
        color: #f71f0a
    }

blockquote {
    color: #999;
    font-size: 1.5rem;
    font-weight: 300;
    margin: 3rem auto;
    width: 80%
}

.navbar-brand small {
    font-family: VN_Lato_Light;
    font-size: 75%;
    font-weight: 400;
    margin-left: .5rem
}

.lead {
    font-size: 1.2rem;
    font-family: VN_Lato_Light;
}

.btn.btn-primary {
    background-color: #f94c3b;
    border-color: #f94c3b
}

    .btn.btn-primary:hover {
        background-color: #e11a07;
        border-color: #e11a07
    }

.card .card-img, .card .card-img-top {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

.navbar.fixed-top {
    background: #fff;
    border-bottom: 1px solid #ddd;
    font-family: VN_Lato_Light;
    box-shadow: 0 0 2rem rgba(0,0,0,.15)
}

    .navbar.fixed-top .navbar-nav {
        font-size: .875rem;
        font-weight: 700;
        text-transform: uppercase
    }

        .navbar.fixed-top .navbar-nav .active a {
            color: #f94c3b
        }

    .navbar.fixed-top .navbar-toggler {
        padding: .25rem .5rem
    }

        .navbar.fixed-top .navbar-toggler .navbar-toggler-icon {
            width: 1em;
            height: 1em
        }

@media (max-width:767px) {
    .navbar.fixed-top .container {
        max-width: 100%
    }
}

header {
    background-position: 50% 50%;
    background-size: cover;
    position: relative
}

    header .container {
        padding-top: 7rem;
        padding-bottom: 7rem;
        position: relative
    }

    header h1 {
        font-size: 3.6rem;
        text-transform: uppercase
    }

    header .lead {
        font-size: 1.35rem
    }

    header.has-image {
        color: #eee;
        text-shadow: 1px 1px 1px rgba(0,0,0,.15)
    }

        header.has-image .dimmer {
            background: #000;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: .45
        }

.block {
    padding: 0 0 1.5rem
}

    .block img {
        border-radius: .25rem
    }

    .block.column-block .col-md:not(:last-child) {
        margin-bottom: 1.5rem
    }

    .block.column-block img {
        height: 100%;
        object-fit: cover
    }

    .block.image-gallery-block .carousel {
        border-radius: .25rem;
        overflow: hidden
    }

@media (min-width:768px) {
    .block.column-block .col-md:not(:last-child) {
        margin-bottom: 0
    }
}

.post-meta {
    font-size: .875rem
}

    .post-meta span:not(:last-child)::after {
        content: "\25C6";
        display: inline-block;
        padding: 0 .25rem
    }

.archive article {
    padding-bottom: 1rem
}

.comments .alert {
    background: #f4f4f4;
    padding: 2rem 2.5rem
}

.page-link {
    color: #f94c3b;
    min-width: 2.5rem;
    text-align: center
}

    .page-link:hover {
        color: #f71f0a
    }

.page-item.active .page-link {
    background: #f94c3b;
    border-color: #f94c3b
}


/*hot news*/
.list-group.hot-news {
    overflow: hidden;
}
    .list-group.hot-news .list-group-item a {
        text-wrap: nowrap;
        /* text-overflow: ellipsis; */
        width: 100%;
        display: inline-block;
    }


/* slide multi items */
.slide-multi-group .body {
    flex-wrap: nowrap;
}

    .slide-multi-group .body > div.slide-multi-group-item {
        transform: translateX(-500px);
        transition:1s;
    }