@media (max-width: 1200px) {


    .top-search-page-div ol li::after {
        width: 189px;
    }

    .top-search-page-div ol li {
        z-index: 0;
    }

    .top-search-page-div ol {
        gap: 6rem;
    }

    .ticket-boxes > li::before {
        right: 27%;
    }

    header nav {
        margin: 0 1.5rem 0 auto;
    }

}

@media (max-width: 992px) {
    .display-res {
        display: none;
    }

    header nav {
        position: absolute;
        top: 100%;
        width: 100%;
        left: 0;
        display: none;
        justify-content: center;
        background: var(--white-color);
        border-radius: 0 0 8px 8px;
        padding: 1rem 0;
        border-top: 1px solid var(--gray-border);
        z-index: 2;
    }

    header .bg {
        position: absolute;
        background: var(--color-gray-booking);
        top: 100%;
        width: 100%;
        left: 0;
        height: 100vh;
        display: none;
        z-index: 1;
        opacity: 0.5;
    }

    .logo-header {
        width: 117px;
        height: 27px;
    }

    header nav ul a {
        width: 100%;
        padding: 0.75rem 0;
        display: flex;
    }

    header nav ul {
        width: 100%;
        gap: 0;
        flex-direction: column;
    }

    .mobile-menu {
        display: flex;
    }

    .close-mobile-menu path {
        stroke: var(--main-color);
    }

    .my-booking-div {
        margin: 0 1rem 0 auto;
    }


    footer .container img:first-child {
        grid-area: 1 / 2;
    }

    footer .container div:nth-child(2) {
        grid-area: 2 / 1;
    }

    footer .container div:nth-child(3) {
        grid-area: 2 / 2;
    }

    footer .container div:nth-child(4) {
        grid-area: 2 / 3;
    }

    footer .container {
        display: grid;
        row-gap: 1rem;
    }

    .top-search-page-div ol {
        gap: 5rem;
    }

    .map-result-hotel {
        display: none;
    }

    .filters-map.visible {
        position: fixed;
        top: unset;
        bottom: 0;
        width: 100%;
        height: 70%;
        overflow: scroll;
        background: var(--white-color);
        z-index: 10000010;
    }

    .filters-map .filter-box-search-page h6 .arrow-accordion {
        display: none;
    }

    .responsive-filters-map-top {
        display: flex;
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        text-align: center;
        color: var(--btn-primary-bgc);
        padding: 0.5rem;
        justify-content: center;
        position: relative;
    }
}

@media (max-width: 768px) {
    .drop-down-logged-in {
        top: 100%;
        left: 0;
        width: 100%;
        border-radius: 0 0 0.5rem 0.5rem;
    }

    .my-booking-div {
        position: unset;
    }

    .bg-blue {
        background: var(--main-color);
    }

    .ticket-box-hotel {
        flex-direction: column;
    }

    footer .container {
        display: flex;
        flex-direction: column;
    }


    footer h6 {
        font-size: 14px;
        font-weight: 600;
        line-height: 21px;
        text-align: left;
    }


    .bg-blue .top-search-page-div-res {
        display: none;
    }

    .top-search-page-div-res {
        display: flex;
        justify-content: center;
        padding: 1rem;
        width: 100%;
        background: var(--white-color);
    }

    .top-search-page-div-res ul {
        display: flex;
        gap: 3.5rem;
        list-style: none;
    }

    .top-search-page-div-res ul li {
        position: relative;
    }

    .top-search-page-div-res ul li path {
        stroke: var(--main-color);
    }

    .top-search-page-div-res ul li::after {
        content: "";
        border: 1px solid var(--main-color);
        width: 18px;
        position: absolute;
        left: calc(100% + 15px);
        top: 35%;
    }

    .top-search-page-div-res ul li:last-child path,
    .top-search-page-div-res ul li:nth-child(4) path {
        stroke: var(--gray-border);
    }

    .top-search-page-div-res ul li:nth-child(4)::after {
        border-color: var(--gray-border);
    }

    .top-review-page ul li:nth-child(4) path {
        stroke: var(--main-color);
    }

    .top-search-page-div-res ul li:nth-child(4)::after {
        border-color: var(--gray-border);
    }

    .top-search-page-div-res ul li:last-child::after {
        display: none;
    }

    .top-search-page p {
        display: flex;
        gap: 0.75rem;
        font-size: 14px;
        font-weight: 500;
        line-height: 21px;
        text-align: center;
        color: var(--white-color);
        padding: 0.75rem;
        align-items: center;
        justify-content: center;
    }

    .top-search-page p span path {
        fill: var(--white-color);
    }

    .top-search-page p span {
        display: flex;
        align-items: center;
        justify-content: center;
        transform: rotate(270deg);
        border-radius: 50%;
        border: 1px solid var(--white-color-300);
        padding: 0.5rem;
    }

    .top-search-page {
        background: transparent;
    }

    .ticket-airlines {
        width: 100%;
    }

    .login-box-div {
        justify-content: end;
        align-items: end;
    }

    .login-box,
    .form-log-sign {
        width: 100%;

    }

    .privacy-page .container {
        padding: 0 20px;
    }

    .title-terms {
        text-align: center;
        font-size: 25px;
        font-weight: 500;
    }

    .select2-container--default .select2-search--dropdown .select2-search__field {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    footer .footer-bottom,
    .amin-logo {
        font-size: 0.65rem;
    }

    .site-logo {
        width: 117px;
    }

    .my-booking {
        font-size: 12px;
        font-weight: 500;
        line-height: 12px;
        text-align: center;
    }


}


@media (max-width: 420px) {
    .details-box-header .airline-details-box p span:nth-child(1) {
        width: 95%;
    }
}

@media (max-width: 400px) {
    .date-icon > input {
        font-size: 0.65rem;
    }

    .trip-type ul {
        justify-content: space-between;
        gap: 0;
    }

    .top-search-page-div-res ul {
        gap: 3rem;
    }

    .details-box-header .airline-details-box p span:nth-child(1) {
        width: 100%;
    }

    .details-box-header .airline-details-box {
        flex-direction: column;
        align-items: baseline;
        width: 25%;
    }
}