﻿/*template 03*/
/*Custom form search*/
.home-banner #dtc-search-form {
    border: none;
    background-color: #252525a3 !important;
}

    .home-banner #dtc-search-form .dtc-form-floating .dtc-form-control {
        border: none;
        border-bottom: 1px solid var(--neu3-cl);
    }

    .home-banner #dtc-search-form .dtc-search-input .dtc-search-input-route .dtc-start-point {
        border-right: 1px solid var(--neu3-cl);
    }

    .home-banner #dtc-search-form .dtc-search-input .dtc-search-input-date .dtc-depart-date {
        border-right: 1px solid var(--neu3-cl);
    }

.home-banner .dtc-dropdown .dtc-dropdown-btn, .home-banner #dtc-option-select {
    color: #fff !important;
}
.home-banner .search-month-desktop-option .dtc-form-check .dtc-form-check-label {
    color: #fff !important;
}
.home-banner .dtc-option-left .dtc-dropdown .dtc-dropdown-btn:after {
    content: url(/img/down.svg) !important;
}

.home-banner .dtc-option-select-ico {
    fill: #fff;
}

/*Header*/
.navbar {
    color: #fff;
    background-color: #0A58CA;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.nav-link:first-child {
    padding-left: 0px !important;
}

.nav-link {
    padding: 0px 32px !important;
    color: white !important;
    font-size: 16px;
}

    .nav-link:hover {
        color: white;
    }

.nav-item {
    position: relative;
}


.temp-logo {
    max-height: 40px;
    max-width: 220px;
}

.home-banner {
    position: relative;
    background: #00429b;
}

    .home-banner .banner-info {
        z-index: 2;
        position: absolute;
        top: 0;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    .home-banner .banner-swiper {
        height: 500px;
    }

        .home-banner .banner-swiper .banner-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.bg-overlay {
    background-color: #000;
    opacity: 0.1;
}

.slogan-top {
    margin-top: 150px;
}

.main-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#section-1 {
    margin-top: -30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 12px;
    position: relative;
    z-index: 1;
}

.swiper-3d .swiper-slide-shadow-left {
    background-image: none !important;
}

.swiper-3d .swiper-slide-shadow-right {
    background-image: none !important;
}

.swiper-button-next, .swiper-button-prev {
    top: calc(50% - 16px) !important;
    margin-top: 0;
}

.swiper-button-prev {
    background-color: white;
    height: 30px !important;
    width: 30px !important;
    border-radius: 50%;
    margin-left: 10px;
    border: 1px solid #ced4da;
}

    .swiper-button-prev:after {
        content: '\ea6e' !important;
        font-size: 16px !important;
        font-weight: 700;
        transform: rotate(180deg);
    }

.swiper-button-next {
    background-color: white;
    height: 30px !important;
    width: 30px !important;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px solid #ced4da;
}

    .swiper-button-next:after {
        content: '\ea6e' !important;
        font-size: 16px !important;
        font-weight: 700;
    }

.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Giới hạn hiển thị 2 dòng */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5; /* Độ cao dòng */
    max-height: calc(1.5em * 2); /* 2 dòng với chiều cao dòng là 1.5em */
}

#group-strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 12px;
}

#group-brand {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px;
}

.img-top-banner {
    max-height: 480px;
    object-fit: cover;
    object-position: top;
}

.card-left-top-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

.card-right-top-img {
    height: 100px;
    object-fit: cover;
    width: 100%;
}

.card-relate-img {
    height: 100px;
    object-fit: cover;
    width: 100%;
}

.truncate-2-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.main-news {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

    .main-news:last-child {
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.img-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--vz-border-radius);
}

.dtc-group-header-title {
    background-image: url('/img/searchbgtop.png') !important;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

    .dtc-group-header-title::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        opacity: .85;
        background-color: var(--pri-cl);
        background-position: center;
        border-top-left-radius: var(--box-radius);
        border-top-right-radius: var(--box-radius);
        z-index: 0;
    }

    .dtc-group-header-title .dtc-group-header-flight,
    .dtc-group-header-title .dtc-header-loader {
        z-index: 1;
    }

.social-content {
    position: fixed;
    bottom: 80px;
    right: 23px;
    z-index: 999;
}

.btn-contact-list {
    display: none;
}

    .btn-contact-list.show {
        animation: .3s fadeInUp forwards;
        display: block;
    }

    .btn-contact-list.hide {
        animation: .3s fadeInDown forwards;
    }

@media (max-width: 991px) {
    #navbarMenu {
        padding-left: 16px;
    }

        #navbarMenu ul li {
            padding-bottom: 10px;
        }

    .navbar-right {
        text-align: start !important;
    }
}

@media (max-width: 767px) {
    .home-banner {
        position: relative;
        min-height: 750px;
    }

        .home-banner .banner-info {
            position: unset;
            -webkit-transform: none;
            transform: none;
        }

        .home-banner .banner-swiper {
            height: 750px;
            display: none;
        }

        .home-banner #dtc-itin-mobile .dtc-form-radio-label {
            color: #fff;
        }

        .home-banner .dtc-btn-option > span {
            color: #fff;
        }

        .home-banner .dtc-route-name {
            color: #fff;
        }

    #section-1 {
        margin-top: -20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .dtc-list-flight {
        padding-left: 0px !important;
    }

    #group-strength {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 12px;
    }

    .dtc-m-overflow-hidden {
        overflow: auto !important;
    }

    #footer-right {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-link {
        color: white !important;
    }

    .home-banner #dtc-search-form .dtc-search-input .dtc-search-input-route .dtc-start-point {
        border-right: none;
    }

    .home-banner #dtc-search-form .dtc-search-input .dtc-search-input-date .dtc-depart-date {
        border-right: none;
    }

    .home-banner #dtc-search-form .dtc-search-input .dtc-search-input-route .dtc-end-point {
        border-left: none;
    }

    .home-banner #dtc-search-form .dtc-search-input .dtc-search-input-date .dtc-arrive-date {
        border-left: none;
    }

    .slogan-top {
        margin-top: 0px;
        padding-top: 40px;
    }

    #footer-right .row {
        width: 100vw;
    }

    .gif {
        height: 290px !important;
    }

    .partner-reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .partner-intro {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .home-banner {
        position: relative;
        min-height: 750px;
    }

        .home-banner .banner-swiper {
            height: 750px;
        }

    #section-1 {
        margin-top: -20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    #group-strength {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 12px;
    }

    #group-brand {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 12px;
    }

    .gif {
        height: 300px !important;
    }

    #ten-brand {
        display: block !important;
    }

    #footer-right {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        #footer-right .row {
            width: 100vw;
        }


    .swiper-button-next, .swiper-button-prev {
        background-color: transparent !important;
        border: 0;
    }

    .search-month-mobile-option {
        color: white;
    }
}
