/* =========================================================
   RENAISSANCE HOLIDAYS - TRAVEL SEARCH TABS
========================================================= */

.rh-travel-search {
    position: relative;
    z-index: 50;
    margin-top: -35px;
    padding-bottom: 30px;
}

.rh-search-box {
    background: #fff;
    border-radius: 18px;
    /* overflow: hidden; */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14);
}

/* =========================
   TABS
========================= */

.rh-search-tabs {
    display: flex;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e9e9e9;
}

.rh-search-tab {
    flex: 1;
    min-height: 72px;
    border: 0;
    outline: none;
    background: #fff;
    color: #555;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 600;

    position: relative;
    transition: all .25s ease;
}

.rh-search-tab i {
    font-size: 19px;
}

.rh-search-tab:hover {
    color: #eb662b;
    background: #fff8f4;
}

.rh-search-tab.is-active {
    color: #eb662b;
    background: #fff8f4;
}

.rh-search-tab.is-active::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 0;
    height: 3px;
    background: #eb662b;
    border-radius: 5px 5px 0 0;
}

/* =========================
   PANELS
========================= */

/*
   VERY IMPORTANT:
   All panels are hidden by default.
*/

.rh-search-panel {
    display: none !important;
    width: 100%;
    padding: 25px;
}

/*
   Only active panel is displayed.
*/

.rh-search-panel.is-active {
    display: block !important;
}

/* Remove styles coming from individual filters */

.rh-search-panel > section {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.rh-search-panel > section > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.rh-search-panel .card {
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.rh-search-panel .card-body {
    padding: 0 !important;
}

/* =========================
   FORM
========================= */

.rh-search-panel .form-control,
.rh-search-panel .form-select,
.rh-search-panel select {
    min-height: 50px;
    border-radius: 8px;
}

.rh-search-panel button[type="submit"] {
    min-height: 50px;
    border-radius: 8px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .rh-travel-search {
        margin-top: -20px;
    }

    .rh-search-box {
        border-radius: 14px;
    }

    .rh-search-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .rh-search-tabs::-webkit-scrollbar {
        display: none;
    }

    .rh-search-tab {
        flex: 0 0 120px;
        min-height: 65px;
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
    }

    .rh-search-tab i {
        font-size: 17px;
    }

    .rh-search-panel {
        padding: 18px 15px;
    }
}