﻿:root {
    --pri-cl: #001b58 !important;
}

body {
    background-color: #fff;
}

.navbar {
    z-index: 15;
    color: #fff;
    background: #001442;
    box-shadow: 0 1px 16px -2px rgba(56, 65, 74, .15);
}

    .navbar .navbar-nav .nav-item {
        position: relative;
    }

        .navbar .navbar-nav .nav-item .nav-link {
            font-size: 16px;
            font-weight: 500;
            transition: all .4s;
            color: #fff;
            padding: 14px;
        }

            .navbar .navbar-nav .nav-item .nav-link:hover {
                color: orange;
            }

    .navbar .navbar-brand img {
        max-height: 40px;
    }

.section {
    padding: 60px 0;
}

.truncate-1-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.truncate-2-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.home-slide-btn {
    background-color: rgb(255 255 255 / 90%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.partner {
    background-image: url(/img/temp1/partner.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.home-slide-btn::after {
    color: #0F294D;
}

.target-item {
    text-align: center;
}

.slide-link {
    text-align: end;
}

.hotline {
    text-align: right;
}

.img-banner {
    max-height: 441px;
    object-fit: cover;
    object-position: top;
}

.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);
}

.swiper-button-next, .swiper-button-prev {
    top: calc(50% - 30px);
    margin: 0;
}

.slide-pagination {
    bottom: 0 !important;
}

.slide-card-overlay {
    background: linear-gradient(0deg, rgb(0 0 0 / 75%) 0%, rgb(0 0 0 / 1%) 100%);
}

.card-shadow {
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.08);
}

.card-news {
    border-radius: 9px;
    height: 100%;
}

    .card-news .img-card {
        border-radius: 9px 9px 0 0;
    }

.home-banner {
    z-index: 10;
    position: relative;
    min-height: 468px;
    background: #0F294D;
}

    .home-banner .banner-info {
        z-index: 2;
        padding-top: 5rem;
        position: absolute;
        top: 0;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        color: #fff;
    }

    .home-banner .banner-swiper {
        height: 468px;
    }

        .home-banner .banner-swiper .banner-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .home-banner #dtc-search-form {
        border: none;
        background-color: #ffffffa3 !important;
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
    }

        .home-banner #dtc-search-form .dtc-form-floating .dtc-form-control {
            border: none;
        }
        .home-banner #dtc-search-form .dtc-form-floating #dtc-depart-month {
            border-right: 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);
        }

#dtc-search-form .dtc-btn-search {
    background: #ff8b00;
    border-color: transparent;
    color: #fff;
}

.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;
    }

.trust-imgs {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .trust-imgs > div {
        width: 33.33%;
        text-align: center;
    }

        .trust-imgs > div > img {
            max-height: 40px;
            max-width: 100%;
        }

.footer-social {
    display: flex;
    justify-content: end;
}

.social-content {
    position: fixed;
    bottom: 120px;
    right: 25px;
    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: 1200px) {
    .target {
        display: grid !important;
        justify-content: center;
    }

    .target-item {
        text-align: unset;
    }

    .target > div {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 2rem 0;
    }

    .navbar {
        padding-top: .75rem;
        padding-bottom: .75rem
    }

    .hotline {
        text-align: left;
    }

    .navbar-right {
        padding-left: 14px;
        padding-bottom: 1.25rem;
    }

    /*.truncate-2-lines {
        overflow: unset;
        display: block;
    }*/

    .target {
        display: none !important;
    }

    .main-news {
        border-bottom: none;
        margin-bottom: 1rem;
        padding-bottom: 0;
    }

    .partner-content {
        row-gap: 1rem;
        flex-direction: column-reverse;
    }

    .partner-title, .partner-desc {
        text-align: center;
    }

    /*.img-thumb {
        height: 68px;
    }*/

    .home-banner #dtcDisplaySearch {
        margin-bottom: 0;
    }


    #dtc-search-form .dtc-btn-reserve {
        display: flex !important;
    }

    #dtc-search-form #dtc-itin-mobile {
        justify-content: space-around !important;
        padding: unset !important;
    }

    .navbar {
        z-index: 9;
    }

    #back-to-top.landing-back-top {
        bottom: 70px !important;
    }

    .home-slogan {
        display: none;
    }

    .home-banner .banner-info {
        padding-top: .5rem;
        position: unset;
        -webkit-transform: unset;
        transform: unset;
    }

    .home-banner #dtc-search-form .dtc-form-floating .dtc-form-control {
        border: 1px solid var(--neu3-cl);
    }
    .home-banner #dtc-search-form .dtc-form-floating #dtc-depart-month {
        border-bottom:0;
    }

    .home-banner {
        min-height: 535px;
    }

        .home-banner .banner-swiper {
            min-height: 535px;
            display: none;
        }

    .footer-copyright {
        display: flex;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
        margin-top: 12px;
    }

    .home-banner #dtc-search-form {
        backdrop-filter: unset;
    }

    .flight-search-content {
        min-height: 100vh;
    }
}

@media (max-width: 576px) {
    .home-banner .banner-info {
        padding: 0px;
        position: unset;
        -webkit-transform: unset;
        transform: unset;
    }

    .home-banner {
        background: #fff;
    }

        .home-banner .banner-swiper {
            display: none;
        }

        .home-banner #dtc-search-form {
            background: #fff !important;
            border-radius: 0 !important;
        }

        .home-banner #dtc-search-form {
            backdrop-filter: unset;
            -webkit-backdrop-filter: unset;
        }

    .slide-link > a {
        width: 100%;
    }
}
