﻿.top-banner {
    position: relative;
}
    .top-banner:before {
        background: url(../assets/img/up-top.png);
        content: '';
        display: inline-block;
        text-align: center;
        width: auto;
        height: auto;
        position: absolute;
        bottom: -1px;
        left: 36%;
        width: calc(28%*546/619);
        height: 619px;
        z-index: 9;
        background-size: 90%;
        background-repeat: no-repeat;
        background-position: center bottom;
        pointer-events: none;
    }
.carousel-cell:after, #multi-item-example-banner .carousel-item:after {
    background: url(../assets/60K++.png) no-repeat center center;
    content: '';
    display: inline-block;
    top: 160px;
    width: 197px;
    height: 197px;
    z-index: 9999;
    right: 87px;
    background-size: 100%;
    position: absolute;
    opacity: 0;
    transition-property: opacity;
    transition-duration: 3s;
}

#multi-item-example-banner .carousel-item:after {
    background-repeat: no-repeat;
    background-size: 100%;
    width: 125px;
    height: 125px;
    top: 245px;
    right: 54px;
    z-index: 9;
}

.carousel-cell.is-selected:after, #multi-item-example-banner .carousel-item.active:after {
    opacity: 1;
}
.top-banner .carousel-cell{
    height: 94vh !important;
}
.top-banner .carousel-cell img {
    height: 100.5%;
    width: 100.5%;
    top: 0;
    position: absolute;
    object-fit: cover;
}
.carousel {
    height: 100%;
    width: 100%;
}
.flickity-viewport {
    height: 89vh;
}

.carousel-cell {
    width: 70% !important;
    margin-right: 0;
}
    .carousel.is-expanded {
        width: 100%;
    }

.carousel-cell:before, .carousel-cell__number {
    display: none;
   
}

.carousel-cell:before {
    display: none;
}

.carousel {
    background: #EEE;
}

.carousel-cell {
    height: 99vh !important;
    margin-right: 0px !important;
    background: #8C8;
    border-radius: 5px;
    counter-increment: carousel-cell;
}

    /* cell number */
    .carousel-cell:before {
        display: block;
        text-align: center;
        content: counter(carousel-cell);
        line-height: 200px;
        font-size: 80px;
        color: white;
    }
.text-slide1{
    position: absolute;

}
.btn-luachon {
    padding: 9px 31px;
    position: absolute;
    bottom: 5%;
    left: 43%;
    background: radial-gradient(101.62% 101.62% at 8.11% 79.46%, #3E9E46 0%, #4BC555 100%);
    border-radius: 30px;
    padding: 10px 75px;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 30px;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    z-index: 9;
}
    .btn-luachon:hover, .btn-luachon:active, .btn-luachon:focus {
        color: #fff;
        background: #07518C;
    }
    .a-down {
        position: absolute;
        bottom: 6%;
        left: 50%;
        z-index: 9;
    }

.top-banner .carousel-cell .fonheader {
    font-family: 'crosstenvn';
    position: absolute;
    z-index: 9;
    color: #fff;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition-property: opacity;
    transition-duration: 3s;
}

.top-banner .carousel-cell.is-selected .fonheader {
    opacity: 1;
}

.top-banner .carousel-cell h3.fonheader{
    font-size: 190px;
    line-height: 315px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 70px;
}

.top-banner h4.fonheader {
    font-size: 48px;
    line-height: 80px;
    font-weight: normal;
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 99;
    top: 200px;
    color: #fff;
}

#ban-can-biet .h3-box {
    font-size: 20px;
}

#ban-can-biet .text-box {
    padding: 27px;
    letter-spacing: 0px;
}

.top-banner .flickity-page-dots {
    display: none;
}

.carousel.flickity-enabled.is-draggable{
    margin-bottom: 0px;
}

@media screen and (max-width: 1700px) {
    .top-banner .carousel-cell h3.fonheader {
        font-size: 135px;
        line-height: 265px;
    }
}

@media screen and (max-width: 1366px) {
    .top-banner .carousel-cell h3.fonheader {
        font-size: 110px;
        line-height: 215px;
    }

    .carousel-cell:after, #multi-item-example-banner .carousel-item:after {
        background-size: 65%;
        right: 45px;
    }

    .nav-item {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 1200px) {
    .top-banner h4.fonheader{
        font-size: 40px;
    }

    .top-banner .carousel-cell h3.fonheader {
        font-size: 90px;
        line-height: 180px;
    }

    .carousel-cell:after, #multi-item-example-banner .carousel-item:after {
        background-size: 55%;
        right: 30px;
    }

    .nav-item {
        padding-left: 10px;
        padding-right: 10px;
    }

    #mainNav .nav-link{
        font-size: 18px;
    }
}

@media screen and (max-width: 1024px) {
    .top-banner.web{
        display: block
    }

    .top-banner.wap {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    #multi-item-example-banner .carousel-item:after {
        background-size: 100%;
        right: 50px;
        top: 260px;
    }

    .top-banner.web {
        display: none
    }

    .top-banner.wap {
        display: block;
    }

    .top-banner:before {
        background-size: 100%;
        z-index: 99;
    }

    #multi-item-example-banner::after {
        content: '';
        display: inline-block;
        width: 100%;
        background: url(../assets/bg-button-header.png) no-repeat center center;
        height: 60px;
        background-size: 100% 100%;
        position: absolute;
        z-index: 99;
        margin-top: -30px;
    }

    #multi-item-example-banner .carousel-inner img {
        width: 100%;
        height: auto;
    }

    .top-banner.wap .btn-luachon {
        width: 305px;
        left: calc(50% - 152.5px);
        bottom: 12%;
        z-index: 99;
    }

    .top-banner:before {
        width: 305px;
        left: calc(50% - 152.5px);
        height: 65vh;
        background-size: 100%;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }

    #ban-can-biet .text-box {
        padding: 25px;
        letter-spacing: 0px;
    }

    #ban-can-biet p{
        height: auto;
    }

    .navbar-collapse.collapse.show ul {
        display: block;
        width: 100%;
        background: #00579D !important;
    }

    #mainNav.navbar-shrink .navbar-brand img {
        height: 62px;
    }
}