/* Shared layout rules previously inlined on every page. */

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.ic {
    display: inline-block;
    vertical-align: middle;
}

.input-icon-left .ic {
    display: block;
}

.search-tab-wrap .nav-tabs {
    padding-bottom: 8px;
}

.search-tab-wrap .nav-item {
    flex: 1;
}

.search-tab-wrap .nav-link.sformlink {
    font-size: 12px !important;
    font-weight: 600;
}

.swap-locations {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 27%;
    z-index: 1;
    background: #fff;
    padding: 0 10px;
}

.swap-locations .ic-swap {
    transform: rotate(270deg);
}

.round-trip-check {
    height: 18px;
    width: 18px;
    cursor: pointer;
    margin-top: 10px;
    border: 0.13rem solid #6e6e6e;
    border-radius: 2px !important;
}

.round-trip-label {
    cursor: pointer;
    font-size: 14px;
    margin-top: 0.4rem;
    color: #000 !important;
    font-weight: 400;
}

.return-trip {
    display: none;
}

.search-tab-wrap .search_btn.point-button {
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    font-size: 0.8rem;
    line-height: 2;
}

.search-tab-wrap .search_btn .ic {
    margin: 2px;
    vertical-align: -2px;
}

.quote-btn-min {
    min-width: 100px;
}

.social-network-link a .ic,
.footer-area a .ic {
    color: #b1b8c3;
    fill: currentColor;
}

.social-network-link ul li a:hover .ic,
.footer-area ul li a:hover .ic {
    color: #e52c43;
}

.input-icon-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #757575;
}

#hero-banner-container {
    overflow: hidden;
    background-color: #0b1c2c;
    position: relative;
}

.hero-lcp-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
    pointer-events: none;
}

#hero-banner-container.map-active .hero-lcp-img,
#hero-banner-container.map-active .hero-banner-overlay {
    opacity: 0;
    visibility: hidden;
}

#hero-banner-container.map-active #home-text-content {
    visibility: hidden !important;
    pointer-events: none !important;
}

#hero-banner-container.map-active #map {
    display: block !important;
    z-index: 1;
    background: #e8eef5;
}

@media (max-width: 767px) {
    #hero-banner-container {
        min-height: 300px !important;
        height: 300px !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .page-home #hero-banner-container {
        margin-left: 18px;
        margin-right: 18px;
    }

    #hero-banner-container .row {
        width: 100%;
        margin: 0;
        justify-content: center !important;
        align-items: center !important;
    }

    #home-text-content {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    #home-text-content h1 {
        text-align: center !important;
        white-space: nowrap !important;
    }
}

@media (min-width: 768px) {
    #hero-banner-container {
        min-height: 570px;
    }

    #home-text-content {
        margin-top: 130px;
    }

    .search-form-wrapper-desktop {
        position: absolute;
        width: 100%;
        z-index: 10;
    }
}

.rlx-select {
    position: relative;
    width: 100%;
}

.rlx-select .rlx-trigger {
    display: block;
    position: relative;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 44px 0 44px;
    margin-top: 10px;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.45;
    min-height: 42px;
    text-align: left;
}

.floating-bordered-input .rlx-select .rlx-trigger {
    margin-top: 10px;
}

.floating-bordered-input.rlx-theme .rlx-select .rlx-trigger {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 36px 0 0 !important;
    padding-bottom: 0 !important;
}

.rlx-select .rlx-value {
    pointer-events: none;
}

.rlx-select .rlx-arrow {
    color: #6b7280;
    position: absolute;
    right: 8px !important;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.floating-bordered-input.rlx-theme .rlx-select .rlx-arrow {
    right: 16px !important;
}

.rlx-select.open .rlx-arrow {
    transform: translateY(-50%) rotate(180deg);
    transition: transform .18s ease;
}

.rlx-select .rlx-list {
    position: absolute;
    top: calc(100% + 6px);
    left: -40px;
    right: -40px;
    background: #fff;
    border: 1px solid #e6eaef;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    max-height: 360px;
    overflow-y: auto;
    padding: 6px 0;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 1050;
    overscroll-behavior: contain;
}

.rlx-select.open .rlx-list {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rlx-option {
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.5;
    color: #1f2937;
    cursor: pointer;
}

.rlx-option:hover,
.rlx-option[aria-selected="true"] {
    background: #eef6fb;
}

.rlx-option.selected {
    background: #e9f2fa;
}

.floating-bordered-input .input-icon-left {
    font-size: 18px;
    color: #6b7280;
}

.rlx-theme {
    border-radius: 4px;
}

.rlx-theme:hover,
.rlx-theme:focus-within {
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
}

.rlx-list::-webkit-scrollbar {
    width: 6px;
}

.rlx-list::-webkit-scrollbar-track {
    background: transparent;
}

.rlx-list::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 20px;
}

.rlx-list::-webkit-scrollbar-thumb:hover {
    background: #b4c0cc;
}

.search-tab-wrap .floating-bordered-input input[type="date"].form-control,
.search-tab-wrap .floating-bordered-input input[type="time"].form-control {
    margin-top: 10px !important;
    padding: 6px 0 12px !important;
    height: auto;
    min-height: 40px;
    line-height: 1.35;
    text-align: left;
    direction: ltr;
    position: relative;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.search-tab-wrap .floating-bordered-input:has(input[type="date"]) .input-icon-left,
.search-tab-wrap .floating-bordered-input:has(input[type="time"]) .input-icon-left {
    top: calc(10px + 14px);
    transform: translateY(-50%);
}

.search-tab-wrap input[type="date"]::-webkit-datetime-edit,
.search-tab-wrap input[type="time"]::-webkit-datetime-edit {
    text-align: left;
    display: inline-block;
    min-width: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    line-height: 1.35;
}

.search-tab-wrap input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.search-tab-wrap input[type="time"]::-webkit-datetime-edit-fields-wrapper {
    text-align: left;
    padding: 0;
    margin: 0;
}

.search-tab-wrap input[type="date"]::-webkit-date-and-time-value,
.search-tab-wrap input[type="time"]::-webkit-date-and-time-value {
    text-align: left;
    margin: 0;
    padding: 0;
}

@supports (-webkit-touch-callout: none) {
    .search-tab-wrap .floating-bordered-input input[type="date"].form-control,
    .search-tab-wrap .floating-bordered-input input[type="time"].form-control {
        display: block;
        padding-top: 8px !important;
        padding-bottom: 12px !important;
    }

    .search-tab-wrap input[type="date"]::-webkit-datetime-edit,
    .search-tab-wrap input[type="time"]::-webkit-datetime-edit {
        position: static;
        transform: none;
    }

    .search-tab-wrap input[type="date"]::-webkit-datetime-edit-fields-wrapper,
    .search-tab-wrap input[type="time"]::-webkit-datetime-edit-fields-wrapper {
        display: inline-flex;
        align-items: center;
    }

    .search-tab-wrap input[type="date"]::-webkit-datetime-edit-day-field,
    .search-tab-wrap input[type="date"]::-webkit-datetime-edit-month-field,
    .search-tab-wrap input[type="date"]::-webkit-datetime-edit-year-field,
    .search-tab-wrap input[type="time"]::-webkit-datetime-edit-hour-field,
    .search-tab-wrap input[type="time"]::-webkit-datetime-edit-minute-field,
    .search-tab-wrap input[type="time"]::-webkit-datetime-edit-ampm-field {
        padding: 0;
        margin: 0;
        line-height: 1.35;
    }
}

.search-tab-wrap input[type="date"]::-webkit-calendar-picker-indicator,
.search-tab-wrap input[type="time"]::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none;
}
