html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Jost';
    font-weight: 300 !important;
    /*   background: #e9ecefed; */
    margin: 0px;
    padding: 0px;
}



header {
    margin: 0px;
    padding: 0px;
    background: linear-gradient(135deg, #0d7159 0%, #074d3d 100%);
    overflow: visible;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#main-search-form {
    margin-top: -25px;
}

#locale-picker-top .nice-select.form-control {
    height: 38px;
    line-height: 38px;
    padding-top: 0;
    padding-left: 8px;
    padding-right: 20px;
}

#locale-picker-top {
    display: flex;
    flex-wrap: nowrap;
}

#locale-picker-top::after {
    content: url(../images/globe.svg);
    width: 24px;
    height: 24px;
    align-self: center;
}

#top {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

#logo {
    width: 130px !important;
    min-width: 0 !important;
    height: 60px;
    color: #77b4b2;
    font-size: 24px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

#logo div, #logo_inner {
    background-size: contain;
    background-repeat: no-repeat;
    height: 45px;
    width: 100%;
}

@media (min-width: 576px) {
    #logo {
        min-width: 200px;
    }
}

#faw #logo,
#wishlist #logo {
    background: none;
}

#nomadstop #logo,
#feed #logo {
    background: none;
}

#nomadstop .flightStatsMenu,
#nomadstop .wishlistMenu,
#nomadstop #locale-picker-top,
#feed .flightStatsMenu,
#feed .wishlistMenu,
#feed #locale-picker-top {
    display: none;
}

#logo:hover {
    text-decoration: none;
}

#top .links {
    width: 50%;
    float: right;
    text-align: right;
}

#searchBar {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(135deg, #074d3d 0%, #053b2f 100%);
    margin-top: 25px;
    margin-bottom: 25px;
    position: relative;
    overflow: visible;
}

#searchBar::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(19, 150, 118, 0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

#searchBar .content {
    width: 90%;
    max-width: 1096px;
    margin: auto;
    padding: 5% 0px;
    position: relative;
    z-index: 1;
}

#searchBar .title {
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#searchBar .title span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    display: block;
    margin-top: 8px;
}

#searchBar .form {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    padding: 3.5%;
    border-radius: 20px;
    margin-top: 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: visible;
    position: relative;
}

/* Position the Next weekend button at the top-right of the search content */
#searchBar .content {
    position: relative;
    /* ensure absolute children are positioned to content */
}

#previousWeekend,
#nextWeekend {
    position: absolute;
    top: -29px;
    right: -15px;
    z-index: 50;
    float: none !important;
    margin: 0 !important;
    padding: 4px 8px;
    color: #fff;
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

#previousWeekend i,
#nextWeekend i {
    font-size: 11px;
}

#previousWeekend:hover,
#nextWeekend:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

/* On small screens keep it in flow to avoid overlap */
@media (max-width: 767.98px) {
    #nextWeekend {
        position: static !important;
        display: inline-block;
        width: auto;
        margin: 8px 0 12px auto;
        box-shadow: none;
    }

    #searchBar .form {
        padding-top: 18px;
        /* ensure space if button appears above */
    }
}

#main-search-form label:not(.custom-control-label) {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
}

#main-search-form label:not(.custom-control-label) i {
    font-size: 18px;
    opacity: 0.7;
    width: 20px;
    text-align: center;
}

#main-search-form .form-control,
#main-search-form .nice-select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 8px !important;
    height: 48px !important;
    line-height: 46px !important;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

#main-search-form .form-control:focus,
#main-search-form .nice-select:focus,
#main-search-form .nice-select.open {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05), 0 0 15px rgba(255, 255, 255, 0.1) !important;
}

#main-search-form .nice-select .current {
    color: #fff;
}

#main-search-form .nice-select .list {
    background-color: #074d3d !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

#main-search-form .nice-select .option {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 40px !important;
    min-height: 40px !important;
}

#main-search-form .nice-select .option:hover,
#main-search-form .nice-select .option.focus,
#main-search-form .nice-select .option.selected.focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

#main-search-form .nice-select:after {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

#main-search-form .custom-control-input:checked~.custom-control-label::before {
    background-color: #139676;
    border-color: #139676;
}

#mainSearch {
    padding: 14px 32px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: linear-gradient(135deg, #139676 0%, #0e7a60 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(19, 150, 118, 0.3);
    height: auto !important;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

#mainSearch::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#mainSearch:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(19, 150, 118, 0.45);
    background: linear-gradient(135deg, #17b08b 0%, #139676 100%);
}

#mainSearch:hover::after {
    opacity: 1;
}

#anywhere {
    padding-left: 35px !important;
}

.anywhereIcon {
    position: absolute;
    left: 28px;
    top: 15px;
    z-index: 5;
    opacity: 0.8;
    color: #fff !important;
    pointer-events: none;
}

#searchBar .where {

    padding-top: 10px;
}

#searchBar .bigger {
    font-size: 1.4em;
}

#searchOptions {
    width: 60%;
    margin: auto;
}

#searchResults h3 {
    display: none;
}

#searchResults {
    margin-bottom: 20px;
}

#searchResults,
#homeText,
#footer,
#top,
#page,
#cheapestCtoBFlights {
    width: 90%;
    max-width: 1096px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* nomadstop, cheapest C to B flights */

.ctobAirport {
    color: #978d8d;
    font-weight: 300;
}

a.ctobAirport {
    text-decoration: underline dashed;
}

ol.c-to-b-flights,
ul.c-to-b-flights {
    list-style-type: none;
    gap: 0.5rem;
}

.ctobPrice {
    display: inline-block;
    font-weight: 300;
}

.c-to-b-flights li.show-more-item:not(:last-child)::after {
    content: ",";
}

.c-to-b-flights li.show-more-item:not(nth-last-of-type(3))::after {
    content: '';
}

.show-more-container-closed .show-more-extra {
    display: none;
}

.show-more-container:not(.show-more-container-closed) .show-more-closed-only {
    display: none;
}

#footer,
#top,
#page {
    padding: 0;
    margin-top: 25px;
}

#page #footer {
    width: 100%;
}

#searchResults .item {
    position: relative;
    margin-bottom: 15px;
    box-shadow: 0px 0px 2px 0px rgba(37, 32, 31, .3);
    background: rgb(248 245 245 / 73%);
    border-radius: 8px;
}

#searchResults .item .briefInfo {
    position: absolute;
    color: #fff;
    bottom: 0px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    margin-left: 0px;
}

#searchResults .item .img {
    /* max-width: 516px; */
    padding: 0;
    max-height: 330px;
}

#searchResults .item .briefInfo .title {
    font-size: 1.3em;
    /* font-weight: 300; */
    /* margin-top: 11px;  */
}

.item .flag {
    width: 33px;
    height: 21px;
}

span.flag {
    width: 38px;
    height: 26px;
}

.weatherDay a {
    color: #ffffff;
    text-decoration: none;
}

#searchResults .item .data {

    /* margin-left: 10px; */
    /* padding: 15px; */
    vertical-align: middle;
}

#searchResults .item .data .times,
#searchResults .item .data .length {
    font-size: 0.9em;
    color: #647582;
}

#searchResults .item .data .time {
    font-weight: 300;
    color: #000;
    font-size: 0.9em !important;
    color: #1a7e9ce0;
    /* background: #8edff51f; */
    /* padding: 3px;
    padding-left: 10px;
    padding-right: 10px; */
    border-radius: 6px;
    /* margin-left: -7px; */
    /* padding: 6px; */
    padding-right: 4px;
}


#searchResults .item .data .there {
    margin-bottom: 10px;
    margin-top: 16px;

}

#searchResults .item .data .airlineLogo,
#faw .data .airlineLogo,
#wishlist .data .airlineLogo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logoSmaller {
    width: 30px;
    margin-right: 2px;
}

.stats-image {
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 5px 0 rgba(0, 0, 0, 0.19);
    margin-right: 10px;
}

#searchResults .item .data .logo,
#faw .data .logo,
#wishlist .data .logo {
    padding: 0;
    padding-left: 5px;
}

#searchResults .item .data .totals {
    margin-top: 25px;
    font-size: 1.7em;
    font-weight: 300;
}

#searchResults .item .data .totals span {
    font-size: 0.6em;
}

.flight .fa-circle {
    color: #8dceef;
}

#searchResults .item .data .time {}


.hotel .fa-circle {
    color: #6db6dd;
}

#searchResults .item .destinationImage {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.datepicker td,
.datepicker th {
    font-size: 0.8em;
}

.datepicker td.active:active,
.datepicker td.active:hover:active,
.datepicker td.active.active,
.datepicker td.active:hover.active {
    border-radius: 15px;
    background-image: linear-gradient(to bottom, #cc0000, #ff5061);
}

.flightPrice {
    font-size: 0.8em;
    width: 100%;
    background: none;
    color: #5f5e5e;
    border-color: #139622;
    margin-top: 10px;
    border: 0.5px solid #c0c0c0;
    border-radius: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: 200;
}

.select {
    background-color: #139676;
    box-shadow: 0px 4px 0px 0px #0f725a;
    border: none;
}

#anywhere {
    background-color: #c0c0c0;
    padding-left: 26px;
}

#resultCount {
    margin-left: 6px;
    font-weight: 300;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.modal-content {
    padding: 10px;
}

#previousWeekend {
    display: none;
}

.airportInfo .icon,
.airportStop .icon {
    /* border-left: 1px solid #c0c0c0; */
    float: left;
    /* margin-right: 5px; */
    position: relative;
    clear: both;
}

.airportStop .icon {
    margin-right: 0;
}

.airportInfo .icon::before,
.airportStop .icon::before {
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    margin-left: -3px;
    font-size: 7px;
    color: #3f3f3f;
    font-weight: 300;
    margin-top: -5px;
    z-index: 5;
    position: relative;
}

.airportStop .icon::before {
    content: '\f072';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: block;
    font-size: 13px;
    margin-left: -13px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    color: #0d7159;
    background: #fff;
    padding: 3px 0;
    z-index: 10;
    position: relative;
    top: -2px;
}

.data .times .airportInfo .icon::after,
.data .times .airportStop .icon::after {
    height: 42px;
    width: 100%;
    display: inline-block;
    content: '';
    position: absolute;
    border-left: 1px solid #c0c0c0;
    left: 0;
}

.data .times .airportStop .icon::after {
    height: 22px;
}

.data .times .airportInfo:first-child .icon::after {
    top: 50%;
}

.data .times .airportInfo:last-child .icon::after {
    top: 0;
    height: 15px;
}

.airportStop span {
    background: #e8ebebe0;
    border-radius: 5px;
    padding: 0 6px;
    margin-right: 5px;
}

#searchResults .item .airportStop span.times {
    background: #e0e0e0;
    color: #1f1e1e;
}

span.direct {
    background-color: #cde6d2;
}

.airportInfo .info {
    margin-left: 15px;
}

.airline {
    font-weight: 300;
}

.autocomplete {
    position: absolute;
    background: white;
    z-index: 10;
    border-radius: .375rem;
    box-shadow: 0 4px 14px 0 rgba(37, 32, 31, .25);
    font-size: 0.9em;
    width: calc(100% - 30px);
    margin-top: 2px;
}

.autocomplete .clearAll {
    position: absolute;
    right: 13px;
    font-size: 1.2em;
    top: -1px;
    color: rgb(255, 0, 0);
}

.autocomplete ul {
    padding: 0;
    margin: 0;
}

.autocomplete li {
    list-style: none;
    border-bottom: 1px solid #c0c0c0;
    position: relative;
}

.autocomplete li ul li a {
    padding-left: 30px;
}

.autocomplete li:last-child {
    border: none;
}

.autocomplete li a {
    color: #000;
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: .375rem;
}

.autocomplete .results li a:hover {
    background-color: #f7f4f4;
}

.autocomplete .selected li a:hover {
    background-color: #f7f4f4;
}

.autocomplete li .check {
    position: absolute;
    right: 5px;
    top: 10px;

}

/* .autocomplete li .check label {
    visibility: hidden;
} */


.autocomplete li .check input {
    width: 1.1rem;
    z-index: 3;
}

.autocomplete li>li:hover {
    visibility: hidden;
}

.autocomplete .selected {
    color: #000;
    border-bottom: 2px solid #c0c0c0;
    display: none;
}

.autocomplete .selected li {
    background: #daebff;
}

.autocomplete .selected>span {
    margin-left: 10px;
    font-weight: 300;
    text-transform: uppercase;
}

.autoSelected {
    position: absolute;
    width: 90%;
    overflow: hidden;
    height: 80px;
    margin-left: 4px;
}

.autoSelected.active {
    z-index: -1;
}

.autoSelected .cont {
    position: absolute;
    margin-top: 7.5px;
    white-space: nowrap;
}

.autoSelected .tag {
    border-radius: 7px;
    background-color: #0d7159;
    padding: .25em .4em;
    margin-right: 5px;
    white-space: nowrap;
}

.autoSelected .tag a {
    color: #fff;
    z-index: 10;
}

/* .autocomplete li a:hover + .check label, .autocomplete li .check:hover label, .autocomplete li .check input:checked + label {
    visibility: visible;
} */



#airports a.off {
    background: #f37171;
    color: #fbb7b7;
    border-color: #f79696;
    text-decoration: line-through;
    box-shadow: 0px 4px 0px 0px #c05e5e;

}

#airports {
    margin-left: -12px;
}

#airports .btn-info {
    margin-bottom: 10px;
    box-shadow: 0px 4px 0px 0px #1792a6;
}


#airports .btn-info:active {
    box-shadow: 0px 2px 0px 0px #1792a6;
}

#airports a.off:active {
    box-shadow: 0px 2px 0px 0px #c05e5e;

}

/* .fa, .fas {
    font-size: 0.85em;
} */
/* .fas {
    font-size: 0.8rem;
} */

.fa-search {
    font-size: 1rem;
}

i.fas.fa-plane-departure,
i.fas.fa-plane,
i.fas.fa-plane-arrival {
    padding-right: 4px;
    font-size: 18px;
}

i.fal.fa-globe,
i.fas.fa-compass {
    font-size: 18px;
}

i.fal.fa-male,
i.fal.fa-female {
    font-size: 16px;
}

i.fal.fa-thermometer-half {
    font-size: 16px;
}

i.fal.fa-search {
    font-size: 16px;
}

i.fal.fa-caret-left,
i.fal.fa-caret-right {
    font-size: 16px;
}

span.airportCode {
    background: rgba(179, 221, 211, 0.25);
    color: #0d7159;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 5px;
    margin-left: 3px;
}


@media only screen and (max-width: 500px) {
    #searchResults .item .data .time {
        font-size: 0.9em !important;
    }
}

#homeText .hpicon {
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto 20px !important;
    display: block !important;
}

#homeText .item img {
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto !important;
}

#homeText .item {
    text-align: center;
}

#footer a {
    color: #000;
    margin-right: 10px;
    white-space: nowrap;
    padding: 10px;
}

#footer {
    background: #e8e8e8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgb(189, 191, 191);
}

div#page {
    margin-top: 52px;
}

#mainSearch,
#mainNomadSearch,
button#include-flights-one-stop,
#moreItineraries,
a#bottomFB,
#fixedDate,
#seeDealsButton,
#dateRange,
.button {
    background: #139676;
    border-color: #139676;
    color: white;
    box-shadow: 0px 4px 0px 0px #0f725a;
    transition: background 0.3s ease;
}



#mainSearch:hover,
#moreItineraries:hover,
a#bottomFB:hover,
.select:hover {
    background: #0d7159;
    border-color: #0d7159;
    box-shadow: 0px 4px 0px 0px #0a4f3f;
}

#mainSearch:active,
#moreItineraries:active,
a#bottomFB:active,
.select:active {
    box-shadow: 0px 2px 0px 0px #0f725a;
}

a.btn.btn-success.btn-lg.w-100.select:hover {
    background: #0d7159;
    border-color: #0d7159;
}

.weatherDay {
    text-align: right;
    margin-top: 7px;
}

.weatherDate {
    display: block;
}

.weatherDay {
    background: no-repeat;
    background-size: 41%;
    background-position-x: 17px;
}

.weatherDay:not(.averageWeather) {
    padding-top: 21px;
    line-height: 1;
}

span#weatherTempMax {
    margin-left: 10px;
}

div#spaceHeader {
    height: 4px;
    background: #139676;
    margin-right: 0px;
}

#homeText {
    margin-top: 84px !important;
    padding: 20px 0;
}

#founders .row {
    margin-top: 30px;
}

#founders h4 {
    text-align: center;
}

.personImage {
    -webkit-box-shadow: 15px 17px 22px -21px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 15px 17px 22px -21px rgba(0, 0, 0, 0.75);
    box-shadow: 15px 17px 22px -21px rgba(0, 0, 0, 0.75);
}



.align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}

.d-flex {
    flex-direction: column;
}

.fa-facebook:before {
    content: "\f09a";
}

.media-body {
    -ms-flex: 1;
    flex: 1;
}

.d-block {
    display: block !important;
}

#topFB {
    height: 65px;
    margin-top: 8px;
    border-radius: 8px;
    padding-left: 20px;
    padding-right: 30px;
    position: absolute;
    right: 17px;
    /* background: #139676;
    border-color: #0d7159;	 */
    background: none;
    border: none;
    font-size: 0.9em;
}

a#topFB:hover {
    background: #0d7159;
    border-color: #139676;
}

.giveUsALike {
    margin-left: 16px;
}

a#bottomFB {
    height: 65px;
    margin-top: 8px;
    border-radius: 8px;
    padding-left: 20px;
    padding-right: 30px;
    background: #139676;

}

.fab {
    font-size: 2em;
}

#temperatureField {
    width: 63px;
    margin-left: 4px;
}

.temperatureContainer {
    position: relative;
    display: inline-block;
    /* float: left; */
}

.temperatureContainer:after {
    position: absolute;
    right: 13px;
    top: 7px;
    content: '°C';
    color: #495057;
}

.after {
    position: relative;
    display: inline-block;
    width: 100%;
}

.after:after {
    position: absolute;
    /* right: 18%; */
    left: 60px;
    top: 15px;
    content: '°C';
    color: #495057;
}

.after.time:after {
    left: auto;
    right: 14px;
    top: 8px;
    height: 48px;
    display: flex;
    align-items: center;
    content: '23:59';
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}

.after.time:before {
    position: absolute;
    right: 70px;
    top: 22px;
    width: 1px;
    height: 20px;
    content: '';
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
    z-index: 1;
}

.after.time .form-control {
    padding-right: 78px;
    font-variant-numeric: tabular-nums;
}

input#temperatureField::-webkit-outer-spin-button,
input#temperatureField::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input#temperatureField {
    -moz-appearance: textfield;
}

label.custom-control-label.temperature {
    margin-left: 20px;
    margin-bottom: 4px;
}

.atLeast i.fas.fa-thermometer-half {
    font-size: 1.1em;
    padding-right: 5px;
}

div#tempDiv {
    margin-left: 4px !important;
}

.flagIcon {
    margin-top: .35rem !important;
    padding-right: 4px;
}

#itinerary {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#itinerary .header {
    width: 100%;
}

#itinerary .header img.main {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#itinerary .header img.contHelper {
    width: 54%;
}

#itinerary .header .titleCont {
    color: #f3f4f5;
    /* padding-left: 30px; */
    padding-right: 30px;
    padding-bottom: 20px;
    bottom: 0;
}

#itinerary .header .title {
    font-size: 2.25rem;
    line-height: 1.2;
    letter-spacing: -.03em;
    color: #fff;
}

#itinerary .header .cover {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0, rgba(0, 0, 0, .3) 20%, transparent 50%, rgba(0, 0, 0, .3) 75%, #000);
}

#itinerary .header .FixedAspectContainer {
    position: relative;
    display: inline-block;
    width: 100%;
}

#itinerary .header .cont {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0
}

#itinerary .section {
    /* padding-left: 30px; */
    padding-top: 20px;
    /* padding-right:20px; */
}

#itinerary .section h2 {
    margin-left: 7px;
}

#itinerary #left {
    width: 100%;
    max-width: 750px;
}

.customScroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.customScroll::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.customScroll::-webkit-scrollbar-thumb {
    background-color: #000000;
}

#itineary #chart {
    width: 90%;
}


#itinerary #right {
    width: calc(100% - 750px);
    min-width: 370px;
    height: calc(100% - 96px);
    position: fixed;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    backface-visibility: hidden;
    bottom: 0;
    right: 0;
    transition: all .2s ease-in-out;
}

#itinerary .thumb {
    width: 200px;
    margin-left: 12px;
    box-shadow: 1px 2px 2px 1px #a2a2a2;
    border-radius: 2px;
}

#itinerary .itineraryItem {
    display: inline-block;
    margin: 10px 0;
    border-bottom: 1px solid #e2e2e2;
    cursor: pointer;
}

#itinerary .itineraryItem:hover {
    background: #f7f7f7;
}

#itinerary .markerIcon {
    display: inline-block;
    margin-top: 5px;
}

#itinerary .markerIcon .number {
    position: absolute;
    color: #fff;
    margin-left: 8px;
    font-weight: 300;
    font-size: 12px;
    margin-top: 4px;
}

#itinerary .markerIcon span i {
    font-size: 30px;
}

#itinerary .itineraryItem .title {
    font-size: 1.3em;
}

#itinerary .tags {
    display: block;
}

#itinerary .tags span {
    background-color: #e2e2e2;
    padding: 3px;
    font-size: 0.65em;
    border-radius: 3px;
    white-space: nowrap;

}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(25px, 15px) rotate(5deg);
    }

    66% {
        transform: translate(-10px, 30px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

#searchBar::after {
    content: "";
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(23, 176, 139, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s infinite ease-in-out;
}

#itinerary #right #itemDetails {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #f3f4f5;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, .125);
    bottom: 0px;
    /* padding: 5px 10px; */
    bottom: -1000px;
    transition: bottom .3s ease-in-out;
}

#itinerary #right #itemDetails.visible {
    bottom: 0;
}

#itinerary #right .itemDetailsCont {
    bottom: 0;
    width: 100%;
}

#itinerary #right #itemDetails .data {
    background: #fff;
    padding: 15px;
    font-size: 0.8em;
}

#itinerary #right #itemDetails .data>div {
    margin-bottom: 5px;
}

#itinerary #right #shadow {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 62;
    box-shadow: inset 1.25rem 0 1rem -1rem rgba(0, 0, 0, .2);
    pointer-events: none;
}

#itinerary #right #itemDetails .heading .title {
    display: inline-block;
}

#itinerary #right #itemDetails .heading .markerIcon {
    margin-top: 0;
}

#itinerary #right #itemDetails .heading .markerIcon i {
    font-size: 20px;
}

#itinerary #right #itemDetails .heading .markerIcon .number {
    font-size: 12px;
    margin-left: 4px;
    margin-top: -1px;
}


#itinerary #right #itemDetails .heading {
    padding: 5px 13px;
    cursor: pointer;
}

#itinerary #right #itemDetails .data i {
    width: 20px;
}

#itinerary #right #itemDetails .data .opening_hours>span {
    display: inline-grid;
}

#itinerary .itinerarySection.day_1 .markerIcon span {
    color: #7EED94;
}

#itinerary .itinerarySection.day_2 .markerIcon span {
    color: #A163A2;
}

#itinerary .itinerarySection.day_3 .markerIcon span {
    color: #3B9FA6;
}

#itinerary .placesSection .markerIcon span {
    color: #E6A26E;
}

#itinerary #map {
    width: 100%;
    height: 100%;
}

body#itinerary header {
    position: fixed;
    width: 100%;
    top: 0;
}

body#itinerary .content {
    margin-top: 96px;
}

body#itinerary #right {
    top: 96px;
    transition: left .2s ease-in-out;
}

body#itinerary #footer {
    margin-left: 0px;
    width: 100%;
    max-width: 750px;
}

body#itinerary #showMap {
    position: fixed;
    display: none;
    width: 100px;
    height: 51px;
    background: #000000;
    border-radius: 3px;
    top: 18px;
    right: -3px;
    z-index: 10;
    color: #8e9ea0;
    text-align: center;
    font-weight: 300;
    display: none;
    text-transform: uppercase;
}

body#itinerary #showMap:hover {
    text-decoration: none;
    background: #3b3b3b;
    color: #fff;
}

#left section h2 i {
    font-size: 32px;
}

.section.averageTemperatures text,
.section.averageTemperatures rect {
    font-family: 'Jost';
}

#itinerary .markerColumn {
    width: 35px;
    display: table-cell;
}

#itinerary .itemColumn {
    display: table-cell;
    vertical-align: top;
}

#itinerary .itemRow {
    padding-left: 50px;
    width: 100%;
    display: table;
}

.content.maxWidth {
    max-width: 1096px;
    margin: auto;
}

.itineraryList .list {
    padding: 0;
    margin: 0;
}

.itineraryList .list .item {
    padding: 0;
}

.itineraryList .list .item .flag {
    position: absolute;
    left: 10px;
    top: 13px;
}

.itineraryList .list .item .main {
    width: 98%;
    height: 270px;
    margin-top: 11px;
    object-fit: cover;
    box-shadow: 0px 1px 1px 0px #a2a2a2;
    transition: opacity 0.2s ease;
}

.itineraryList .list .item .title {
    position: absolute;
    font-size: 1.5em;
    padding-top: 6px;
    padding-bottom: 6px;
    color: #fff;
    bottom: 0%;
    width: 98%;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
}


table.calendarMonth caption {
    caption-side: top;
    font-size: 1.3em;
    text-align: center;
    background: #eeeeee;
}

table.calendarMonth .day {
    color: #c0c0c0;
    text-align: center;
    border-bottom: 1px solid #fff;
}

table.calendarMonth .header {
    text-align: center;
}

table.calendarMonth .day.active {
    background: #00b8ff;
    border: 1px solid white;
    color: #fff;
    border-radius: 9px;
}

table.calendarMonth td.day.active.group_1 {
    background: #0cc798
}

table.calendarMonth td.day.active.group_2 {
    background: #00b8ff;
}

table.calendarMonth td.day.active.group_3 {
    background: #f2b678;
}

table.calendarMonth td.extra.group_1 {
    color: #0cc798;
}

table.calendarMonth td.extra.group_2 {
    color: #00b8ff;
}

table.calendarMonth td.extra.group_3 {
    color: #f2b678;
}

table.calendarMonth .extra {
    padding: 0 5px;
    color: #00e5a7;
    width: 60px;
    font-weight: 300;
}

#faw #flightDetails,
#wishlist #flightDetails {
    display: none;
}

#faw .active,
#faw .extra,
#wishlist .active,
#wishlist .extra {
    cursor: pointer;
}

#calendar .day.fawHover {
    background: #000;
}

#calendar .extra.fawHover {
    color: #000;
}

#calendar {
    display: none;
}


#calendar tr {
    text-align: center;
}

td.day.active {
    border-radius: 9px;
}

.modal .data .dates {
    font-weight: 300;
    margin-bottom: 14px;
}


#faw header,
#wishlist header {
    background-color: #0e8bab;
}


#faw #spaceHeader {
    background: #0e7994;
}

#faw button#mainSearch,
#faw #moreItineraries {
    background: #0e8bab;
    border-color: #1b8fad;
    box-shadow: 0px 4px 0px #0e758f;
    transition: background 0.3s ease;
}

#faw button#mainSearch:active,
#faw #moreItineraries:active {
    box-shadow: 0px 2px 0px #0e758f;
}

.ftw-modal .flightPrice {
    font-size: 22px;
}

#fawExampleImg {
    width: 460px;
}

#fawPromo {
    padding-left: 23px;
    padding-right: 23px;
}

.itineraryList .list .item .main:hover {
    opacity: 0.7;
}

#faw button#mainSearch:hover,
#faw #moreItineraries:hover {
    background: #0d7691;
    border-color: #166e85;
    box-shadow: 0 4px 0 #0b586c;
}

#faw #topFB:hover {
    background: #0c6a82;
}

.addToWishlist {
    position: absolute;
    right: 11px;
    top: 8px;
    color: rgb(230, 214, 0);
    font-size: 1.4em;
    z-index: 10;
}

#showWishlist {
    padding: 7px;
    padding-left: 10px;
    padding-right: 9px;
    text-align: center;
    border-radius: 4px;
    height: 36px;
    /* width: 36px; */
    background-color: #17a2b8;
    right: -100px;
    color: #fff;
    position: fixed;
    bottom: 10px;
    font-weight: 300;
    display: none;
    text-decoration: none;
}


#wishlist #calendar {
    display: block;
}

#wishlist #calendar .row {
    margin-right: 0;
    margin-left: 0;
}

#wishlist .nav-tabs .nav-link.active {
    border-color: #dee2e6 #dee2e6 #eee;
    background: #eee;
}

#wishlist .nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

#wishlist .nav-tabs {
    font-weight: 300;
    margin-top: 16px;
}

#wishlist .wishlistImage {
    border-radius: 5px;
    object-fit: cover;
    width: 100%;
    max-height: 270px;
}

#preloader {
    position: fixed;
    background: url(../images/preloader.png) no-repeat;
    width: 220px;
    height: 28px;
    top: calc(50vh - 28px);
    left: calc(50vw - 110px);
}

#menu {
    padding: 0;
    background-color: transparent !important;
}

#navbar_list {
    display: flex;
    padding-right: 120px;
}

#auth_nav_list {
    display: block;
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    transform: none !important;
    margin: 0;
    padding: 0;
    z-index: 20;
}

#menu li {
    margin-right: 5px;
}

#menu a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    font-weight: 300;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

#menu li.active a {
    border-color: rgba(255, 255, 255, 0.3);
}

#menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

#menu a.nav-link-gold {
    color: #ffcc00 !important;
}

#menu a.nav-link-gold:hover {
    color: #ffe066 !important;
}

#login_nav_item,
#auth_nav_item {
    position: static !important;
    display: block;
    margin-right: 0 !important;
}

#login_nav_item .nav-link,
#auth_nav_item .nav-link {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    #top {
        position: relative;
    }

    .navbar-collapse {
        background: rgba(7, 77, 61, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: absolute;
        top: 100%;
        left: -15px;
        right: -15px;
        z-index: 1000;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #navbar_list {
        flex-direction: column;
        padding-right: 0;
    }

    #menu li {
        margin-right: 0;
        margin-bottom: 5px;
    }

    #menu a {
        padding: 12px 20px;
        display: block;
    }

    #login_nav_item,
    #auth_nav_item {
        position: static !important;
    }
}


#scf-form-id-contactForm .form-control {
    border: none;
    border-bottom: 1px solid #c0c0c0;
    border-radius: 0;
}

/*active menu items */
body#home .homeMenu a,
body#faw .fawMenu a,
body#itineraryList .itinerariesMenu a,
body#stats-flight_information .flightStatsMenu a,
body#stats-destinations_main .flightStatsMenu a,
body#stats-destination .flightStatsMenu a,
body#stats-airports_main .flightStatsMenu a,
body#stats-airport .flightStatsMenu a,
body#stats-airlines_main .flightStatsMenu a,
body#stats-airline .flightStatsMenu a {
    border: rgba(255, 255, 255, 0.24) 1px solid;
}


#wishlist h1 {
    font-size: 1.5rem;
}

#wishlist #page {
    margin-top: 30px;
}

#wishlist .nav .flag {
    width: 22px;
    height: 15px;
    margin-top: 4.5px;
    float: left;
    margin-right: 5px;
}

.calendarMonth .badge-info {
    background: none;
    font-weight: 300;
    color: inherit;
}

#cheapFlightsFromAirports {
    color: #28a745;
}

#cheapFlightstoAirports {
    color: #00b8ff;
}


#wishlistExplanation {
    margin-top: 22px;
    text-align: center;
    margin-bottom: 34px;
}

#st-1 {
    margin-top: 10px;
}


.infoPanel {
    background: #73b0a1;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 2px 5px rgb(189,191,191); */
    text-align: center;
    color: white;
    margin-top: 31px;
}

.infoPanel a {
    color: white;
    text-decoration: underline;
}


#faq h2 {
    margin-bottom: 20px;
    margin-top: 30px;
    background: #0d7159;
    padding: 10px;
    color: white;
    text-align: center;
    border-radius: 7px;
}

#faq #flyAnyWeekendFAW {
    background: #0e8bab;
}

#blog-post td {
    text-align: center;
}

#blog-post th {
    text-align: center;
}

body#blog-post img {
    max-width: 100%;
}

.aboutSection .fas,
.averageTemperatures .fas {
    font-size: 1em;
}

ul.pagination {
    margin-top: 10px;
}

ul.pagination li {
    display: inline;
    font-size: 12px;
    font-weight: 300;
    margin-top: 13px;
}

ul.pagination li a {

    color: black;
    padding: 8px 8px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 4px;
}

ul.pagination li a.active {
    background-color: #4CAF50;
    padding: 8px 8px;
    margin: 4px;
    color: white;
    border: 1px solid #4CAF50;
}

ul.pagination li.active {
    /*background-color: #4CAF50;*/
    background-color: #687282;
    padding: 8px 8px;
    margin: 4px;
    color: white;
    border: 1px solid #4CAF50;
}

/*ul.pagination li a:hover:not(.active) {background-color: #ddd;}*/
ul.pagination li a:hover {
    background-color: #999999;
}

ul.pagination li.disabled {
    /*background-color: #cccccc;*/
    color: #ddd;
    padding: 8px 8px;
    border: 1px solid #ddd;
    margin: 4px;
}

.dataTables_paginate ul.pagination li.disabled,
.dataTables_paginate ul.pagination li.active {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

.dataTables_paginate ul.pagination li {
    margin-top: 0;
}



.dataTables_length label,
.dataTables_filter label {
    display: flex;
}

/* .dataTables_length label select {
    margin: -3px 5px;
} */

.dataTables_filter,
.dataTables_length {
    width: 50%;
}

.eveningFlight {
    /* color: rgb(255,0,0); */
    padding: 3px;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    display: none;
    background: rgba(255, 0, 0, 0.3);
    margin-top: 10px;
    border-radius: 3px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.searchResultItineraryButton {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.34);
    border-color: rgba(115, 115, 115, 0.38);
}

.anywhereIcon {
    position: absolute;
    color: #000;
    bottom: 6px;
    left: 22px;
}

.nice-select {
    color: #000;
}


#faw .nice-select {
    line-height: 30px;
    width: 100%;
}



.timeType {
    margin-top: 8px;
    width: 100%;
    line-height: 40px !important;
}

body#home .timeContainer,
body#faw .timeContainer {
    display: none;
}

body#home select {
    display: none;
}

/* 
.form .fas, .item.row .fas {
    font-size: 0.8em;
}
 */

#eveningOnlyNotification,
#tempFilterNotification,
#directFlightsOnly {
    margin: auto;
    margin-left: -15px;
    margin-top: 3px;
}

#page th,
#page td {
    text-align: center;
}

.infoStatsBox {
    background-color: #fdf6f6;
}

.viewSection {
    text-align: center;
}

.showMore {
    color: #9a9696;
    background-color: #ecefef;
    border-color: #e8e8e8;
}

#stats-airports_main ul.pagination li.active {
    background: none;
    border: none;
    margin: 0px;
    padding: 0px;
}

ul.pagination li {
    font-weight: 300;
}

ul.pagination li a:hover {
    background-color: #e9ecef;
}

.dataTables_info {
    margin-bottom: 15px;
    font-size: small;
    float: right;
}

.dataTables_length {
    float: right;
    width: 100px;
}

input.form-control.form-control-sm,
select.custom-select.custom-select-sm.form-control.form-control-sm {
    border: 1px solid rgba(206, 212, 218, 0.52);
}

.form-control:focus {
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.12);
}

#locale-picker-top .nice-select.form-control {
    background: none;
    border: none;
    color: white;
}

#stats-flight_information .form-control {
    height: calc(1.5em + 1.5rem + 3px);
}

#stats-destination h3,
#stats-destination h2 {
    margin-top: 50px;
    margin-bottom: 28px;
    border-top: rgba(0, 0, 0, 0.21) 1px solid;
    padding-top: 39px;
}

#stats-destination h1 {
    border-bottom: rgba(0, 0, 0, 0.21) 1px solid;
    padding-bottom: 10px;
    margin-left: 10px;
    margin-bottom: 28px;
    margin-top: 28px;
}

.statsPage h1 {
    border-bottom: rgba(0, 0, 0, 0.21) 1px solid;
    padding-bottom: 10px;
    margin-left: 10px;
    margin-bottom: 28px;
    margin-top: 28px;
}

.statsPage h2,
.statsPage h3 {
    margin-top: 33px;
    margin-bottom: 28px;
    border-top: rgba(0, 0, 0, 0.21) 1px solid;
    padding-top: 39px;
}

#stats-destination h1 {
    border-bottom: rgba(0, 0, 0, 0.21) 1px solid;
    padding-bottom: 10px;
    margin-left: 10px;
    margin-bottom: 28px;
    margin-top: 28px;
}

.destImage {
    margin: 0 auto;
    width: 605px;
    margin: auto;
}

.destImageFlight {
    margin: 0 auto;
    width: 820px;
    margin: auto;
}

.greenResult {
    background: #ebfeeb;
    color: green;
    border: 1px solid #c6e7c6;
}

.blueResult {
    background: #d6f4ff;
    color: #005180;
    border: 1px solid #baddf1;
}

.yellowResult {
    background: #fafbe5;
    color: #ad9b46;
    border: 1px solid #e8e493;
}

.redResult {
    background: #fbe5e5;
    color: #dc8383;
    border: 1px solid #f1cfcf;
}

#stats-flight_information #searchBar {
    background: rgba(13, 113, 89, 0.85);
    text-align: center;
}

#stats-flight_information #searchBar .title {
    font-size: 2.5em;
}

#stats-flight_information h3 {
    font-size: 1.5rem;
    color: #ffffff;
}

#flightBack {
    margin-bottom: 20px;
}

#flightBack a {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.table-bordered td,
.table-bordered th {
    border: none;
    border-top: 1px solid #dee2e6;
}

.col-pixel-width-120 {
    flex: 0 0 120px;
}

.statsSearchBar {
    background: rgb(20, 105, 84);
    padding: 20px;
    border-radius: 4px;
}

#autoCompleteResults {
    width: 97%;
    position: absolute;
    background: #fff;
    border: 1px solid #c0c0c0;
    z-index: 10;
    display: none;
    border-radius: 5px;
}

#autoCompleteResults ul {
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

#autoCompleteResults a:hover {
    background: #dadada;
}

#autoCompleteResults a {
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 10px;
    color: #0D7159;
    font-weight: 300;
    ;
}

img.airlineLogo {
    width: 29px;
}

.form-airport-message {
    color: red;
    margin-top: 11px;
    float: left;
}



@media (max-width: 1268px) {

    #itinerary #left,
    #itinerary #right {
        width: 50%;
    }

    body#itinerary #footer {
        width: 50%;
    }


}

@media (max-width: 768px) {
    .dataTable .country {
        display: none;
    }

    .dataTable .flag {
        float: none !important;
    }

    .dataTables_filter,
    .dataTables_length {
        width: 100%;
    }

    /*	
	#searchBar {
    background-image: linear-gradient(rgba(0, 0, 0, 0.52),rgba(88,88,88,0.69)),url(https://lh3.googleusercontent.com/proxy/44HML2_5bgID8O9irKH9HMxYE3idxNfXaigV9tWvqcC6nOx9fvNBCWRw3CCVGM_fZ6lrumd4ydGxezxPMJ4nx37d8GVAWUp6Q7mmrT8amnnVG_xedCUyNQ_0fqM2q1kfDRxTPryxqkBUhvWbmMBB4kiFf5tw0hNv2ag2D7--oXOepFrJpsJbzy_7TbejZVfUukU);
    background-size: 100%;	
	}
*/

    #searchBar .title {
        font-size: 1.8em;
    }

    #searchBar .form {
        padding: 3%;
        padding-top: 13px;
        padding-bottom: 16px;
    }

    #itinerary #left {
        width: 100%;
    }

    #itinerary #right {
        left: 100%;
        width: 100%;
    }

    #itinerary #right.opened {
        left: 0%;
    }

    #itinerary #right #shadow {
        display: none;
    }

    body#itinerary #showMap {
        display: block;
    }

    #topFB {
        display: none !important;
    }

    #itinerary .thumb {
        width: 170px;
    }

    body#itinerary #footer {
        width: 100%;
    }

    #itinerary .header img.contHelper {
        width: 60%;
    }

    #itinerary .itemRow {
        padding-left: 0px;
        margin-left: 0;
    }

    #itinerary .tags span {
        white-space: normal;
    }

    img#fawExampleImg {
        width: 359px;
    }

    #homeText .item img {
        width: 100px !important;
        height: 100px !important;
    }

    #mainSearch {
        width: 100%;
        margin-top: 10px;
    }



    .logoSmaller {
        width: 21px;
    }

    .stats-image,
    .destImage {
        width: 100%;
        margin-bottom: 10px;
    }

    .stats_h2,
    .stats_h3 {
        margin-top: 23px;
    }

    .destImageFlight {
        width: 100%;
    }

    .statsPage td {
        padding-bottom: 4px;
    }

    .mobileWidth2x {
        width: 184%;
    }

    .mobile-text-center {
        text-align: center;
    }

    .flagMobile {
        margin-left: 0.7rem;
        margin-bottom: 0.2rem;
    }

    button#mainNomadSearch {
        width: 100%;
        margin-top: 14px;
        /* margin: auto; */
    }

    input#whenNomadStop {
        margin-bottom: 15px;
    }
}

#locale-picker-top .list {
    /* color: black; */
    background: rgb(0 0 0 / 40%);
}

#locale-picker-top .nice-select .option.selected.focus,
#locale-picker-top .nice-select .option.selected:hover {
    background: none;
}

#locale-picker-top .nice-select .option:hover {
    background: rgb(255 255 255 / 8%);
}

input#mindays,
input#maxdays {
    width: 91px;
    text-align: center;
    padding: 25px;
    font-size: 1.3rem;
}

/* input#flyto {
    padding: 25px;
    font-size: 1.3rem; 
} */

input#whenNomadStop {
    width: 174px;
    text-align: center;
    padding: 25px;
    font-size: 1.3rem;
}

input#whenEndNomadStop {
    width: 174px;
    text-align: center;
    padding: 25px;
    font-size: 1.3rem;
}

td.summaryStayover,
td.summaryStayoverSc,
td.summaryStayoverFl {
    padding: 11px;
}

body#nomadstop tr.summary {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body#nomadstop tr.summary:hover {
    transform: translateY(-1px);
}

body#nomadstop tr.summary td.summaryStayover,
body#nomadstop tr.summary td.summaryStayoverSc,
body#nomadstop tr.summary td.summaryStayoverFl {
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
    background-blend-mode: screen;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

body#nomadstop tr.summary td.summaryStayover:hover,
body#nomadstop tr.summary td.summaryStayoverSc:hover,
body#nomadstop tr.summary td.summaryStayoverFl:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 28px rgba(0, 0, 0, 0.12);
}

body#nomadstop tr.summary td.summaryStayover p.comparePrice,
body#nomadstop tr.summary td.summaryStayoverSc p.comparePrice,
body#nomadstop tr.summary td.summaryStayoverFl p.comparePrice {
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

td.summaryLayOver {
    font-size: 10px;
}

.table td,
.table th {
    vertical-align: middle;
}

tr.route-fight-tr.route-fight-tr-summary {
    background: #e8f3ed;
}

tr.route-fight-tr.route-fight-tr-depart,
tr.route-fight-tr.route-fight-tr-from {
    background: #f7fbf9;
}

tr.route-fight-tr.route-fight-tr-depart {
    border-bottom: 22px #f1f1f1 solid;
}

b,
strong {
    color: #978d8d;
}

#cheapestCtoBFlights .flag {
    width: 19px;
    height: 11px;
}

.blankButton {
    background: none;
    color: #2bb9a6;
    border-color: #98c1bb;
}

.stopover-badge {
    min-width: 70px;
    color: #ffffff;
    background: #17a2b8;
    border-color: #17a2b8;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.stopover-badge:hover {
    background: #138496;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

#dateRange.blankButton,
#fixedDate.blankButton {
    background: none;
    color: #c7cdcb;
}

#fixedDate,
#dateRange {
    font-size: 11px;
    padding: 6px;
    padding-left: 17px;
    padding-right: 17px;
    margin-bottom: 15px;
    margin-top: 7px;
    box-shadow: none;
    border: none;
}

.smallerButton {
    font-size: 12px;
}

/*temp fix*/

strong.font-size-14.giveUsALike {
    color: white;
}

#nomadstop #topFB {
    display: none !important;
}


#home .onlyOnFnl {
    display: none;
}

#nomadstop .hideOnFnl {
    display: none;
}

div#cheapestCtoBFlights {
    margin-bottom: -39px;
}

/* ============================================================
   Nomadstop date inputs  —  override #searchBar .form color:#fff
   ============================================================ */
input#whenNomadStop,
input#whenEndNomadStop {
    color: #333 !important;
    background-color: #ffffff !important;
}

/* ============================================================
   Flatpickr calendar  —  full visual override
   ============================================================ */
.flatpickr-calendar {
    background: #ffffff !important;
    color: #333 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14) !important;
    font-family: inherit !important;
}

/* Teal header strip — must target .flatpickr-months not just .flatpickr-month
   so the nav arrows are also on the teal background */
.flatpickr-months {
    background: #17a2b8 !important;
    border-radius: 11px 11px 0 0 !important;
    padding: 2px 0 !important;
}

.flatpickr-month {
    background: transparent !important;
    color: #ffffff !important;
    height: 42px !important;
}

.flatpickr-current-month {
    color: #ffffff !important;
    font-weight: 300 !important;
    font-size: 15px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 300 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #0f8ba1 !important;
    color: #ffffff !important;
}

.flatpickr-current-month .numInputWrapper input.cur-year {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 300 !important;
    font-size: 15px !important;
}

/* Nav arrows — white on teal */
.flatpickr-prev-month,
.flatpickr-next-month {
    color: #ffffff !important;
    fill: #ffffff !important;
    padding: 8px 12px !important;
    cursor: pointer !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: #ffffff !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #ffffff !important;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: #ffffff !important;
}

/* Weekday row */
.flatpickr-weekdays {
    background: #e9f7fa !important;
    padding: 4px 0 !important;
}

span.flatpickr-weekday {
    background: transparent !important;
    color: #17a2b8 !important;
    font-weight: 300 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
}

/* Day grid */
.flatpickr-days,
.dayContainer {
    background: #ffffff !important;
}

.flatpickr-day {
    color: #333333 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    font-weight: 300 !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 14px !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.flatpickr-disabled {
    color: #c0c0c0 !important;
    background: transparent !important;
}

.flatpickr-day:hover:not(.prevMonthDay):not(.nextMonthDay):not(.flatpickr-disabled) {
    background: #e0f5fa !important;
    color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

.flatpickr-day.today {
    border: 2px solid #17a2b8 !important;
    color: #17a2b8 !important;
    background: transparent !important;
    font-weight: 300 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #17a2b8 !important;
    color: #ffffff !important;
    border-color: #17a2b8 !important;
    font-weight: 300 !important;
}

.flatpickr-day.today.selected {
    background: #17a2b8 !important;
    color: #ffffff !important;
    border-color: #17a2b8 !important;
}

/* ==========================================================================
   FOOTER STYLING (MATCHING PRODUCTION)
   ========================================================================== */
.footer-area {
    background-color: #053b2f;
    color: #ffffff;
    padding: 80px 0 30px;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-area .container {
    width: 90%;
    max-width: 1096px;
    margin: auto;
}

.footer-col {
    margin-bottom: 40px;
}

.footer-logo {
    background: url('../images/logo_small.png') no-repeat;
    background-size: contain;
    width: 180px;
    height: 48px;
    margin-bottom: 20px;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 14px;
    font-weight: 300;
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #139676;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 300;
}

.footer-links a:hover {
    color: #17b08b !important;
    padding-left: 5px;
}

.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-social .social-icon:hover {
    background: #139676;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

/* ==========================================================================
   PRODUCT PROMO CARDS STYLING
   ========================================================================== */
.product-card {
    background: #ffffff !important;
    border: 1px solid rgba(13, 113, 89, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
}

.product-card:hover {
    transform: translateY(-5px);
    background: #ffffff !important;
    border-color: #0d7159 !important;
    box-shadow: 0 12px 35px rgba(13, 113, 89, 0.12) !important;
}

.product-card .card-body {
    padding: 24px !important;
}

.product-card .card-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0d7159 !important;
}

.product-card .card-title i {
    font-size: 20px;
    color: #0d7159 !important;
}

/* Keep first class icon/title a dark, premium gold for high contrast on white background */
.product-card .card-title[style*="color: #ffcc00"],
.product-card .card-title[style*="color: #ffcc00"] i {
    color: #d4af37 !important;
}

.product-card .card-text {
    color: #4a5568 !important;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
}

/* ==========================================================================
   PRODUCT CARD BUTTON STYLING (THEME MATCHING)
   ========================================================================== */
.product-card-link {
    color: #0d7159 !important;
    border-color: #0d7159 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    padding: 6px 16px !important;
}

.product-card-link:hover {
    color: #ffffff !important;
    background-color: #0d7159 !important;
    border-color: #0d7159 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(13, 113, 89, 0.2) !important;
}

/* First class button styling: premium gold color & high contrast white text on hover */
#product_link_firstclass {
    color: #d4af37 !important;
    border-color: #d4af37 !important;
    background: transparent !important;
}

#product_link_firstclass:hover {
    color: #ffffff !important; /* Clear white text to avoid yellow-on-yellow */
    background-color: #d4af37 !important;
    border-color: #d4af37 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2) !important;
}

/* ============================================================
   GF Loading State Animation (from generalflights)
============================================================ */
#preloadCover {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(8, 17, 31, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#preloadCover > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 320px;
    max-width: 420px;
    width: 90%;
}

.gf-loading-state {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(43, 185, 166, 0.18), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(6, 10, 28, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
    position: relative;
}

.gf-loading-state::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.08) 48%, transparent 76%);
    transform: translateX(-120%);
    animation: gfLoadingSheen 2.8s ease-in-out infinite;
    pointer-events: none;
}

.gf-loading-orbit {
    width: 56px;
    height: 56px;
    position: relative;
    flex: 0 0 56px;
}

.gf-loading-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(165, 180, 252, 0.35);
}

.gf-loading-ring-a {
    animation: gfLoadingPulse 1.8s ease-out infinite;
}

.gf-loading-ring-b {
    inset: 8px;
    border-color: rgba(43, 185, 166, 0.45);
    animation: gfLoadingPulse 1.8s ease-out 0.35s infinite;
}

.gf-loading-core {
    position: absolute;
    inset: 13px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(165, 180, 252, 0.95), rgba(43, 185, 166, 0.95));
    color: #08111f;
    box-shadow: 0 8px 18px rgba(43, 185, 166, 0.35);
    animation: gfLoadingFloat 1.6s ease-in-out infinite;
    font-size: 0.7rem;
}

.gf-loading-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.gf-loading-title {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}

.gf-loading-track {
    display: flex;
    gap: 7px;
}

.gf-loading-track span {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(165, 180, 252, 0.22), rgba(43, 185, 166, 0.85));
    animation: gfLoadingBars 1.4s ease-in-out infinite;
}

.gf-loading-track span:nth-child(1) { width: 42px; }
.gf-loading-track span:nth-child(2) { width: 76px; animation-delay: 0.15s; }
.gf-loading-track span:nth-child(3) { width: 28px; animation-delay: 0.3s; }

.gf-loading-detail {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.87rem;
    font-weight: 300;
    line-height: 1.45;
    margin-top: 8px;
}

@keyframes gfLoadingPulse {
    0%   { transform: scale(0.82); opacity: 0; }
    35%  { opacity: 0.75; }
    100% { transform: scale(1.15); opacity: 0; }
}

@keyframes gfLoadingFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-3px); }
}

@keyframes gfLoadingBars {
    0%, 100% { opacity: 0.4; transform: scaleX(0.92); }
    50%       { opacity: 1;   transform: scaleX(1.08); }
}

@keyframes gfLoadingSheen {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(140%); }
}

/* ===== CUSTOM PREMIUM STYLES (MIGRATED) ===== */

    * {
      font-weight: 300 !important;
    }

    /* Premium visual refinements */
    #logo {
      width: 130px !important;
      min-width: 0 !important;
    }

    #logo div {
      background-image: url('assets/images/logo.png') !important;
      background-size: contain;
      background-repeat: no-repeat;
      height: 45px;
      width: 100%;
    }

    .preloader {
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 999999;
      background: rgba(255, 255, 255, 0.95);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /* Search result cards */
    #searchResults {
      display: grid;
      gap: 24px;
    }

    #searchResults .item.ftw-result-card {
      margin-bottom: 0;
      border: 1px solid rgba(11, 46, 60, 0.1);
      border-radius: 28px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
      box-shadow: 0 24px 60px rgba(12, 50, 63, 0.12);
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
      font-size: 16px;
      line-height: 1.3;
    }

    #searchResults .item.ftw-result-card h3,
    #searchResults .item.ftw-result-card a,
    #searchResults .item.ftw-result-card span,
    #searchResults .item.ftw-result-card strong,
    #searchResults .item.ftw-result-card small {
      font-size: 16px !important;
      line-height: 1.3 !important;
      letter-spacing: 0 !important;
      text-transform: none !important;
    }

    #searchResults .item.ftw-result-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 30px 70px rgba(12, 50, 63, 0.16);
      border-color: rgba(19, 150, 118, 0.22);
    }

    .ftw-result-shell {
      display: grid;
      grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
      min-height: 100%;
      width: 100%;
    }

    .ftw-result-media {
      position: relative;
      min-height: 320px;
      overflow: hidden;
      background: #18363c;
    }

    .destinationImage {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.01);
      transition: transform 0.45s ease;
    }

    #searchResults .item.ftw-result-card:hover .destinationImage {
      transform: scale(1.05);
    }

    .ftw-result-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(8, 26, 33, 0.1) 0%, rgba(8, 26, 33, 0.72) 100%),
        linear-gradient(135deg, rgba(19, 150, 118, 0.28) 0%, rgba(255, 209, 102, 0.06) 100%);
    }

    .ftw-result-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 24px;
      color: #fff;
    }

    .ftw-result-topline {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }

    .ftw-weather-pill,
    .ftw-trip-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 999px;
      backdrop-filter: blur(10px);
      background: rgba(10, 34, 43, 0.52);
      border: 1px solid rgba(255, 255, 255, 0.24);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
    }

    .ftw-weather-pill {
      color: #fff;
    }

    .ftw-weather-pill a {
      color: inherit;
      text-decoration: none;
    }

    .ftw-trip-pill {
      color: #ffffff;
    }

    .ftw-trip-pill a {
      color: inherit;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
    }

    .ftw-trip-pill i {
      color: #9df3db;
    }

    .ftw-trip-pill strong {
      color: #ffffff;
      font-weight: 700;
    }

    .ftw-result-destination {
      display: grid;
      gap: 10px;
      /* align-self: end; */
    }

    .ftw-destination-title {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .ftw-destination-title h3 {
      margin: 0;
      font-weight: 300;
      color: #fff;
    }

    .ftw-country-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(10, 34, 43, 0.52);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #ffffff;
    }

    .ftw-country-chip .flag {
      width: 20px;
      height: 14px;
      border-radius: 999px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    }

    .ftw-result-subtitle {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      color: rgba(255, 255, 255, 0.92);
    }

    .ftw-result-subtitle span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .ftw-result-content {
      padding: 24px;
      display: grid;
      gap: 18px;
      align-content: start;
      background:
        radial-gradient(circle at top right, rgba(19, 150, 118, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8fcfb 100%);
    }

    .ftw-route-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-auto-rows: 1fr;
      gap: 16px;
      align-items: stretch;
    }

    .ftw-leg-card {
      display: grid;
      grid-template-rows: auto 1fr;
      align-self: stretch;
      border: 1px solid rgba(11, 46, 60, 0.08);
      border-radius: 22px;
      background: #fff;
      padding: 18px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
      min-height: 248px;
      height: 100%;
    }

    .ftw-leg-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
    }

    .ftw-leg-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      color: #157560;
    }

    .ftw-airline-logo {
      height: 30px;
      width: auto;
      border-radius: 24px;
      object-fit: contain;
      vertical-align: middle;
      border: 1px solid rgba(0, 0, 0, 0.05);
      background: #fff;
      padding: 1px;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .ftw-airline-logo:hover {
      transform: scale(1.1);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

    /* Airline info modal styling */
    .ftw-airline-modal-content {
      padding: 1.5rem 1rem;
    }

    .ftw-airline-modal-logo-wrapper {
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      border-radius: 50%;
      width: 100px;
      height: 100px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      transition: transform 0.3s ease;
    }

    .ftw-airline-modal-logo-wrapper:hover {
      transform: scale(1.05);
    }

    .ftw-airline-logo-large {
      max-height: 55px;
      max-width: 55px;
      object-fit: contain;
      border-radius: 12px;
    }

    .airline-name-text {
      color: #111;
      font-size: 20px;
      margin-top: 15px;
      font-weight: 700 !important;
      letter-spacing: -0.5px;
    }

    /* Animation */
    .animated {
      animation-duration: 0.35s;
      animation-fill-mode: both;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: scale(0.95);
      }

      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .fadeIn {
      animation-name: fadeIn;
    }

    .ftw-leg-label i {
      width: 28px;
      height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(19, 150, 118, 0.1);
    }

    .ftw-leg-direction-icon-there {
      transform: rotate(135deg);
    }

    .ftw-leg-direction-icon-back {
      transform: rotate(-45deg);
    }

    .ftw-leg-card .times {
      display: grid;
      gap: 16px;
      color: #47616b;
      align-content: start;
    }

    #searchResults .item.ftw-result-card .airportInfo,
    #searchResults .item.ftw-result-card .airportStop {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin: 0;
      position: relative;
    }

    #searchResults .item.ftw-result-card .airportInfo .icon,
    #searchResults .item.ftw-result-card .airportStop .icon {
      position: relative;
      width: 16px;
      min-width: 16px;
      height: 48px;
      float: none;
      margin: 0;
    }

    #searchResults .item.ftw-result-card .airportStop .icon {
      height: 30px;
    }

    #searchResults .item.ftw-result-card .airportInfo .icon::before,
    #searchResults .item.ftw-result-card .airportStop .icon::before {
      margin: 0;
      color: #17363e;
    }

    #searchResults .item.ftw-result-card .airportStop .icon::before {
      margin-left: -8px;
      color: #139676;
      background: #fff;
    }

    #searchResults .item.ftw-result-card .data .times .airportInfo .icon::after,
    #searchResults .item.ftw-result-card .data .times .airportStop .icon::after {
      left: 3px;
      border-left: 1px solid rgba(23, 54, 62, 0.16);
    }

    #searchResults .item.ftw-result-card .data .times .airportInfo:last-child .icon::after {
      height: 8px;
    }

    .ftw-airport-copy {
      display: grid;
      gap: 6px;
      min-width: 0;
      padding-top: 1px;
    }

    .ftw-airport-meta {
      display: flex;
      align-items: baseline;
      gap: 10px;
      flex-wrap: wrap;
      line-height: 1.1;
    }

    #searchResults .item.ftw-result-card .time {
      font-size: 16px !important;
      font-weight: 600;
      color: #123842;
      padding: 0;
    }

    .ftw-airport-date {
      color: #6c8690;
      white-space: nowrap;
    }

    .ftw-airport-copy .airport {
      color: #4c6671;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .ftw-airport-copy .airportCode {
      background: rgba(19, 150, 118, 0.09) !important;
      border: 1px solid rgba(19, 150, 118, 0.12) !important;
      border-radius: 999px !important;
      padding: 2px 9px !important;
      margin: 0 !important;
      color: #0d7159 !important;
      font-weight: 700 !important;
    }

    #searchResults .item.ftw-result-card .airportStop {
      margin-left: 1px;
      min-height: 30px;
    }

    #searchResults .item.ftw-result-card .airportStop span {
      margin: 0;
      padding: 6px 12px;
      border-radius: 999px !important;
      background: #eff5f5 !important;
      border: 1px solid rgba(17, 44, 55, 0.06);
      color: #4d6670 !important;
      font-weight: 600 !important;
    }

    #searchResults .item.ftw-result-card .airportStop span.times {
      background: rgba(19, 150, 118, 0.09) !important;
      color: #0d7159 !important;
    }

    .ftw-result-footer {
      display: flex;
      justify-content: space-between;
      align-items: stretch;
      gap: 16px;
      padding-top: 4px;
    }

    .flightPrice {
      margin: 0;
      width: auto;
      min-width: 0;
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 18px;
      border-radius: 18px;
      border: 1px solid rgba(11, 46, 60, 0.08);
      background: linear-gradient(135deg, #ffffff 0%, #eef8f5 100%);
      color: #17363e;
      font-weight: 500;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
      min-height: 64px;
      flex: 1 1 auto;
    }

    .flightPrice.price-band-profit {
      background: linear-gradient(135deg, #f3fffa 0%, #dcf7eb 100%);
      border-color: rgba(19, 150, 118, 0.22);
      color: #0d7159;
    }

    .flightPrice.price-band-good {
      background: linear-gradient(135deg, #f3f8ff 0%, #deebff 100%);
      border-color: rgba(46, 109, 214, 0.2);
      color: #1f5fb8;
    }

    .flightPrice.price-band-mid {
      background: linear-gradient(135deg, #fffdf2 0%, #fff0bf 100%);
      border-color: rgba(196, 151, 14, 0.24);
      color: #8f6500;
    }

    .flightPrice.price-band-high {
      background: linear-gradient(135deg, #fff4f4 0%, #ffdede 100%);
      border-color: rgba(201, 54, 54, 0.2);
      color: #b12828;
    }

    .ftw-price-copy {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
    }

    .ftw-price-copy i {
      width: 30px;
      height: 30px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(19, 150, 118, 0.1);
      color: #139676;
    }

    .flightPrice.price-band-good .ftw-price-copy i {
      background: rgba(46, 109, 214, 0.12);
      color: #2e6dd6;
    }

    .flightPrice.price-band-mid .ftw-price-copy i {
      background: rgba(196, 151, 14, 0.12);
      color: #c4970e;
    }

    .flightPrice.price-band-high .ftw-price-copy i {
      background: rgba(201, 54, 54, 0.12);
      color: #c93636;
    }

    .ftw-price-caption {
      color: inherit;
    }

    .ftw-price-value {
      line-height: 1;
      font-weight: 700;
      font-size: 28px !important;
      color: inherit;
      white-space: nowrap;
    }

    .ftw-price-value small {
      font-weight: 700;
      color: inherit;
      margin-left: 6px;
    }

    .select.ftw-select-btn {
      width: 260px;
      min-width: 260px;
      max-width: 260px;
      padding: 14px 22px;
      border-radius: 16px;
      background: #139676;
      box-shadow: 0 14px 24px rgba(19, 150, 118, 0.24);
      border: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-weight: 600;
      min-height: 64px;
      flex: 0 0 260px;
    }

    .select.ftw-select-btn.price-band-profit {
      background: #139676;
      box-shadow: 0 14px 24px rgba(19, 150, 118, 0.24);
    }

    .select.ftw-select-btn.price-band-good {
      background: #2e6dd6;
      box-shadow: 0 14px 24px rgba(46, 109, 214, 0.24);
    }

    .select.ftw-select-btn.price-band-mid {
      background: #c4970e;
      box-shadow: 0 14px 24px rgba(196, 151, 14, 0.24);
      color: #fff;
    }

    .select.ftw-select-btn.price-band-high {
      background: #c93636;
      box-shadow: 0 14px 24px rgba(201, 54, 54, 0.24);
    }

    .select.ftw-select-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 28px rgba(19, 150, 118, 0.28);
      color: #fff;
    }

    .calendar-btn-caption {
      display: none;
    }

    .select.ftw-select-btn.price-band-good:hover {
      box-shadow: 0 18px 28px rgba(46, 109, 214, 0.28);
    }

    .select.ftw-select-btn.price-band-mid:hover {
      box-shadow: 0 18px 28px rgba(196, 151, 14, 0.28);
    }

    .select.ftw-select-btn.price-band-high:hover {
      box-shadow: 0 18px 28px rgba(201, 54, 54, 0.28);
    }

    .averageWeather a {
      color: inherit;
      text-decoration: none;
    }

    .weatherDay {
      text-align: center;
      padding: 0;
    }

    @media (max-width: 991.98px) {
      .ftw-result-shell {
        grid-template-columns: 1fr;
      }

      .ftw-result-media {
        min-height: 260px;
      }

      .ftw-route-grid {
        grid-template-columns: 1fr;
      }

      .ftw-result-footer {
        flex-direction: column;
        align-items: stretch;
      }

      .flightPrice {
        width: 100%;
        min-width: 0;
      }

      .select.ftw-select-btn {
        width: 100%;
        min-width: 0;
        max-width: none;
        flex: none;
        min-height: 52px;
        height: auto;
        padding: 12px 20px;
      }

      .calendar-btn-container-card {
        flex: none !important;
        width: 100%;
      }

      .calendar-btn-container-card .calendar-btn {
        width: 100%;
        min-height: 52px !important;
        gap: 10px;
        font-size: 18px !important;
      }

      .calendar-btn-container-card .calendar-btn-caption {
        display: inline;
        color: inherit;
        font-size: 16px;
        font-weight: 300;
        line-height: 1.2;
        white-space: normal;
      }
    }

    @media (max-width: 575.98px) {
      #searchResults .item.ftw-result-card {
        border-radius: 22px;
      }

      .ftw-result-overlay,
      .ftw-result-content {
        padding: 18px;
      }

      .ftw-weather-pill,
      .ftw-trip-pill,
      .ftw-country-chip {
        padding: 8px 12px;
      }

      .flightPrice {
        min-width: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }

      .ftw-price-value small {
        margin-left: 4px;
      }
    }

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

    .currency-control select,
    .currency-control .nice-select,
    .results-currency-control select,
    .results-currency-control .nice-select {
      width: 100%;
    }

    .currency-control .nice-select,
    .results-currency-control .nice-select {
      float: none;
    }

    .results-currency-control {
      min-width: 100px;
    }

    .results-currency-control .nice-select {
      min-width: 100px;
      border-radius: 6px;
      border: 1px solid #ddd;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .results-temperature-control select,
    .results-temperature-control .nice-select {
      width: 100%;
    }

    .results-temperature-control .nice-select {
      float: none;
    }

    .results-temperature-control {
      min-width: 120px;
    }

    .results-temperature-control .nice-select {
      min-width: 120px;
      border-radius: 6px;
      border: 1px solid #ddd;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    /* ===== AIRPORT SEARCH STYLING ===== */
    .airport-search-group {
      position: relative;
      z-index: 10;
    }

    .airport-search-group:focus-within {
      z-index: 1100 !important;
    }

    .airport-selected-container {
      position: relative;
      margin-top: 8px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.15) !important;
      border-radius: 12px !important;
      padding: 4px 12px !important;
      padding-right: 58px !important;
      /* Leave space for absolute clear button */
      min-height: 48px;
      height: auto;
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075) !important;
    }

    .airport-tags-container {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .airport-tags-container:empty {
      display: none;
    }

    /* Active text input styling (outside) */
    #from {
      margin-top: 8px;
    }

    /* Helper + Add more button */
    .airport-add-more-btn {
      background: rgba(255, 255, 255, 0.06);
      border: 1px dashed rgba(255, 255, 255, 0.2);
      color: rgba(255, 255, 255, 0.7);
      padding: 0 16px;
      align-self: stretch;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-top: 0;
    }

    .airport-add-more-btn:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.35);
      color: #fff;
    }

    .airport-clear-all-btn {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #ff9f9f;
      padding: 6px;
      border-radius: 999px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      white-space: nowrap;
      width: 38px;
      height: 38px;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
      z-index: 10;
    }

    .airport-clear-all-btn:hover {
      background: rgba(255, 100, 100, 0.16);
      border-color: rgba(255, 100, 100, 0.35);
      color: #ff6b6b;
    }

    @media (min-width: 992px) {
      .date-time-pickers-col {
        margin-top: 10px !important;
      }
    }

    .airport-show-all-btn {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #fff;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }

    .airport-show-all-btn:hover {
      background: rgba(255, 255, 255, 0.14);
      border-color: rgba(255, 255, 255, 0.25);
    }

    .airport-tag.hidden-airport-tag {
      display: none;
    }

    .airport-tag {
      display: inline-flex;
      align-items: center;
      background: #0d7159 !important;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 8px !important;
      padding: 6px 12px !important;
      font-size: 14px !important;
      font-weight: 400 !important;
      gap: 8px;
      color: #fff !important;
      transition: all 0.2s ease;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
      white-space: nowrap;
    }

    .airport-tag:hover {
      background: #0a5f4a !important;
    }

    .airport-tag-text {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .airport-tag-text strong {
      color: #ffffff;
      font-weight: 500;
    }

    .airport-tag-city {
      color: rgba(255, 255, 255, 0.75);
      font-size: 12px;
      font-weight: 300;
    }

    .airport-tag-remove {
      background: none;
      border: none;
      color: #999;
      cursor: pointer;
      padding: 0;
      font-size: 14px;
      display: flex;
      align-items: center;
      transition: color 0.2s ease;
    }

    .airport-tag-remove:hover {
      color: #e74c3c;
    }

    .airport-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border: 1px solid #d0d0d0;
      border-top: 2px solid #139676;
      border-radius: 6px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
      max-height: calc(100vh - 250px);
      overflow-y: auto;
      z-index: 1000;
      margin-top: -2px;
    }

    .airport-results {
      padding: 0;
      margin: 0;
    }

    .airport-section {
      border-bottom: 1px solid #f0f0f0;
    }

    .airport-section:last-child {
      border-bottom: none;
    }

    .airport-city-header {
      padding: 12px 16px;
      background: #f9f9f9;
      font-weight: 600;
      font-size: 12px;
      color: #666;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border-bottom: 1px solid #f0f0f0;
      cursor: pointer;
      user-select: none;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .airport-city-header:hover {
      background: #f0f0f0;
      color: #139676;
    }

    .airport-add-icon {
      font-size: 14px;
      opacity: 0.5;
      transition: opacity 0.2s ease;
    }

    .airport-city-header:hover .airport-add-icon {
      opacity: 1;
    }

    .airport-radius-option {
      padding: 10px 16px;
      background: #f9f9f9;
      border-bottom: 1px solid #f0f0f0;
      border-left: 3px solid #ffa500;
      font-size: 12px;
      color: #666;
      cursor: pointer;
      user-select: none;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 500;
    }

    .airport-radius-option:hover {
      background: #fff8f0;
      color: #139676;
      border-left-color: #139676;
    }

    .airport-radius-option i {
      color: #ffa500;
    }

    .airport-radius-option:hover i {
      color: #139676;
    }

    .airport-item {
      padding: 12px 16px;
      border-bottom: 1px solid #fafafa;
      cursor: pointer;
      transition: background-color 0.15s ease;
    }

    .airport-item:last-child {
      border-bottom: none;
    }

    .airport-item:hover {
      background-color: #f5f5f5;
    }

    .airport-item.selected {
      background-color: #f0f9f7;
    }

    .airport-item-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .airport-info {
      flex: 1;
    }

    .airport-name {
      font-size: 14px;
      font-weight: 500;
      color: #222;
      margin-bottom: 3px;
    }

    .airport-code {
      font-size: 12px;
      color: #999;
      font-weight: 500;
    }

    .airport-check {
      color: #139676;
      font-size: 16px;
      flex-shrink: 0;
    }

    /* Scrollbar styling */
    .airport-dropdown::-webkit-scrollbar {
      width: 8px;
    }

    .airport-dropdown::-webkit-scrollbar-track {
      background: #f1f1f1;
    }

    .airport-dropdown::-webkit-scrollbar-thumb {
      background: #d0d0d0;
      border-radius: 4px;
    }

    .airport-dropdown::-webkit-scrollbar-thumb:hover {
      background: #999;
    }

    /* Search Results Header Styling */
    .track-search-panel {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 18px;
      padding: 16px;
      border: 1px solid rgba(19, 150, 118, 0.18);
      border-radius: 8px;
      background: #f3fbf9;
    }

    .track-search-copy {
      flex: 1 1 240px;
      min-width: 0;
    }

    .track-search-title {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #0d7159;
      font-size: 15px;
      font-weight: 700;
    }

    .track-search-summary {
      color: #61716d;
      font-size: 13px;
      margin-top: 2px;
      overflow-wrap: anywhere;
    }

    .btn-track-search {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid #0d7159;
      border-radius: 6px;
      background: #0d7159;
      color: #fff;
      cursor: pointer;
      font-size: 13px;
      font-weight: 700;
      padding: 9px 16px;
      transition: all 0.2s ease;
    }

    .btn-track-search:hover {
      background: #095845;
      border-color: #095845;
    }

    .track-search-form {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1 1 100%;
      flex-wrap: wrap;
    }

    .track-search-form .form-control {
      max-width: 220px;
      height: 42px;
      border-radius: 6px;
      font-size: 14px;
    }

    .track-search-form .btn {
      height: 42px;
      border-radius: 6px;
      font-weight: 700;
    }

    .track-search-message {
      font-size: 13px;
      min-height: 18px;
      color: #61716d;
    }

    .track-search-account {
      color: #0d7159;
      font-size: 13px;
      font-weight: 600;
    }

    .track-search-message.success {
      color: #0d7159;
      font-weight: 600;
    }

    .track-search-message.error {
      color: #b42318;
      font-weight: 600;
    }

    #resultsMeta {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      /* Space between count and actions */
      margin-bottom: 25px;
      padding: 0 4px;
      gap: 20px;
      flex-wrap: wrap;
    }

    #resultCount {
      font-size: 14px;
      color: #777;
      margin-bottom: 0 !important;
      display: flex;
      align-items: center;
      white-space: nowrap;
      gap: 15px;
    }

    #resultCount strong {
      color: #111;
      font-size: 20px;
    }

    .meta-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .flight-condition-badges {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    #directFlightsOnly,
    #eveningOnlyNotification {
      margin-bottom: 0 !important;
      padding: 6px 16px !important;
      border-radius: 6px !important;
      font-size: 12px !important;
      font-weight: 700 !important;
      background: #eef7f5 !important;
      color: #0d7159 !important;
      border: 1px solid rgba(19, 150, 118, 0.15) !important;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    #directFlightsOnly i,
    #eveningOnlyNotification i {
      font-size: 14px;
    }

    @media (max-width: 575.98px) {
      .flight-condition-badges {
        width: 100%;
        flex-wrap: nowrap;
      }

      #directFlightsOnly,
      #eveningOnlyNotification {
        flex: 1 1 0;
        justify-content: center;
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 11px !important;
        gap: 6px;
      }
    }

    #resultsFilterHeader {
      display: none !important;
    }

    .gap-3 {
      gap: 12px !important;
    }

    .hide-destination-btn .flag {
      width: 20px !important;
      height: 14px !important;
      border-radius: 2px !important;
      margin-left: 8px !important;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
      display: inline-block;
      vertical-align: middle;
    }

    .hide-destination-btn {
      border-radius: 4px !important;
      padding: 6px 14px !important;
      font-size: 12px !important;
      font-weight: 500 !important;
      text-transform: none !important;
      border: 1px solid rgba(0, 0, 0, 0.1) !important;
      transition: all 0.2s ease !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      color: #666 !important;
      background: #fff !important;
      cursor: pointer;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
      outline: none !important;
    }

    .hide-destination-btn.btn-hide {
      color: #666 !important;
      border-color: #eee !important;
      background: #fff !important;
    }

    .hide-destination-btn.btn-hide:hover {
      background: #fdf2f2 !important;
      border-color: #d93025 !important;
      color: #d93025 !important;
    }

    .hide-destination-btn.btn-show {
      color: #139676 !important;
      border-color: #e6f4f1 !important;
      background: #f0f9f7 !important;
    }

    .hide-destination-btn.btn-show:hover {
      background: #e6f4f1 !important;
      border-color: #139676 !important;
    }

    .btn-sort {
      background: white;
      border: 1px solid #ddd;
      border-radius: 6px;
      padding: 8px 16px;
      font-size: 13px;
      font-weight: 600;
      color: #444;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .btn-sort:hover {
      background: #f8f9fa;
      border-color: #ccc;
      transform: translateY(-1px);
    }

    .btn-sort i {
      color: #0d7159;
      font-size: 14px;
    }

    .hide-destination-btn .flag {
      width: 18px !important;
      height: 12px !important;
      border-radius: 1px !important;
      margin: 0 !important;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
      order: 2;
      /* Ensure it stays after the text if flex-ordered, but manual placement is safer */
    }

    .airportStop span {
      background: #f1f3f3 !important;
      border-radius: 6px !important;
      padding: 2px 10px !important;
      margin-right: 8px !important;
      font-size: 11px !important;
      font-weight: 600 !important;
      color: #555 !important;
      display: inline-flex !important;
      align-items: center !important;
      border: 1px solid rgba(0, 0, 0, 0.03) !important;
    }

    #searchResults .item .airportStop span.times {
      background: #f1f3f3 !important;
      color: #0d7159 !important;
    }

    .airportCode {
      background: rgba(19, 150, 118, 0.08) !important;
      color: #0d7159 !important;
      padding: 2px 6px !important;
      border-radius: 4px !important;
      /* font-weight: 600 !important; */
      font-size: 11px !important;
      margin-left: 4px !important;
      border: 1px solid rgba(19, 150, 118, 0.1) !important;
    }

    /* Hide flights to filtered destination countries */
    .hidden-destination-flight {
      display: none !important;
    }

    /* ===== WEEKEND SELECTOR WIDGET ===== */
    .weekend-selector {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid rgba(255, 255, 255, 0.15) !important;
      border-radius: 12px;
      padding: 6px 12px;
      height: 48px;
      width: 100%;
      max-width: 240px;
      margin-left: auto;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      box-sizing: border-box;
    }

    .weekend-arrow {
      position: static !important;
      float: none !important;
      margin: 0 !important;
      padding: 0 !important;
      width: 36px !important;
      height: 36px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      border-radius: 8px !important;
      border: none !important;
      background: transparent !important;
      color: #ffffff !important;
      font-size: 16px !important;
      box-shadow: none !important;
      transition: all 0.2s ease !important;
      text-decoration: none !important;
    }

    .weekend-arrow:hover {
      background: rgba(255, 255, 255, 0.12) !important;
      color: #17b08b !important;
    }

    .weekend-arrow.disabled {
      opacity: 0.25 !important;
      pointer-events: none !important;
      cursor: not-allowed !important;
    }

    .weekend-label {
      color: #ffffff !important;
      font-size: 13px !important;
      font-weight: 600 !important;
      letter-spacing: 1px !important;
      text-transform: uppercase !important;
      user-select: none !important;
      text-align: center;
      flex-grow: 1;
    }

    @media (max-width: 991.98px) {
      .weekend-selector {
        margin: 10px 0;
        max-width: 100%;
      }

      /* Remove menu button on mobile */
      #navbar_toggle_btn {
        display: none !important;
      }

      /* Make header less high on mobile */
      #main_header {
        height: auto !important;
        min-height: 0 !important;
      }

      #top {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
      }

      #logo {
        height: 46px !important;
        width: 90px !important;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
      }

      #logo div {
        height: 30px !important;
      }
    }

    /* ===== VIEW TOGGLER SYSTEM ===== */
    .view-toggle-container {
      display: inline-flex;
      background: #f1f3f3;
      padding: 3px;
      border-radius: 10px;
      border: 1px solid rgba(0, 0, 0, 0.04);
      margin-left: 8px;
    }

    .btn-view-toggle {
      background: transparent;
      border: none;
      padding: 6px 14px;
      font-size: 13px;
      font-weight: 600;
      color: #666;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
    }

    .btn-view-toggle.active {
      background: #ffffff;
      color: #0d7159;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    }

    .btn-view-toggle:hover:not(.active) {
      color: #111;
      background: rgba(255, 255, 255, 0.4);
    }

    /* ===== FLAT TABLE LAYOUT ===== */
    #searchResults.view-flat {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .ftw-flat-header {
      display: grid;
      grid-template-columns: 220px 1fr 1fr 110px 130px;
      gap: 16px;
      padding: 10px 24px;
      font-size: 12px;
      font-weight: 300 !important;
      color: #888;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      margin-bottom: 4px;
    }

    .ftw-flat-header .ftw-header-col {
      display: flex;
      align-items: center;
    }

    .ftw-flat-row {
      display: grid;
      grid-template-columns: 220px 1fr 1fr 110px 130px;
      gap: 16px;
      align-items: center;
      background: #ffffff;
      border: 1px solid rgba(11, 46, 60, 0.07);
      border-radius: 16px;
      padding: 14px 24px;
      transition: all 0.25s ease;
      box-shadow: 0 4px 12px rgba(12, 50, 63, 0.03);
    }

    .ftw-flat-row:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(12, 50, 63, 0.08);
      border-color: rgba(19, 150, 118, 0.2);
    }

    .ftw-flat-cell {
      display: flex;
      align-items: center;
      min-width: 0;
    }

    /* Cell: Destination */
    .cell-dest {
      gap: 14px;
    }

    .ftw-flat-flag-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: #f8fcfb;
      border: 1px solid rgba(19, 150, 118, 0.15);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      flex-shrink: 0;
    }

    .ftw-flat-flag-wrapper .flag {
      width: 24px !important;
      height: 16px !important;
      object-fit: cover;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
      border-radius: 2px;
    }

    .ftw-flat-dest-info {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    .ftw-flat-city {
      font-size: 16px !important;
      font-weight: 300 !important;
      color: #111;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .ftw-flat-weather-badge {
      font-size: 11px !important;
      font-weight: 300 !important;
      color: #0d7159;
      background: rgba(19, 150, 118, 0.08);
      padding: 1px 6px;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      gap: 3px;
    }

    .ftw-flat-weather-badge i {
      font-size: 10px;
    }

    .ftw-flat-route-codes {
      font-size: 12px !important;
      color: #777;
      font-weight: 300 !important;
      margin-top: 2px;
    }

    .ftw-flat-route-codes i {
      font-size: 10px;
      margin: 0 2px;
      color: #ccc;
    }

    /* Cell: Flight Legs */
    .cell-leg {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 16px;
      border-left: 1px solid rgba(0, 0, 0, 0.04);
      padding-left: 16px;
    }

    .ftw-flat-airline {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 42px;
      flex-shrink: 0;
    }

    .ftw-airline-logo,
    .ftw-flat-airline-logo {
      border-radius: 100px !important;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.25s ease !important;
      background-color: #ffffff;
      padding: 2px;
      border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .ftw-airline-logo:hover,
    .ftw-flat-airline-logo:hover {
      transform: scale(1.2) !important;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
      z-index: 10;
    }

    .ftw-flat-airline-logo {
      height: 22px;
      width: auto;
      max-width: 38px;
      object-fit: contain;
      filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
    }

    .airline-name-text {
      font-size: 9px !important;
      font-weight: 300 !important;
      color: #999;
      margin-top: 3px;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 42px;
      text-align: center;
    }

    .ftw-flat-leg-details {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    .ftw-flat-leg-time {
      font-size: 14px !important;
      font-weight: 300 !important;
      color: #222;
    }

    .leg-day-badge {
      font-size: 10px !important;
      font-weight: 300 !important;
      color: #0d7159;
      background: rgba(19, 150, 118, 0.08);
      padding: 1px 4px;
      border-radius: 3px;
      margin-right: 4px;
      text-transform: uppercase;
    }

    .ftw-flat-leg-meta {
      font-size: 12px !important;
      color: #666;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 3px;
    }

    .leg-duration {
      font-size: 11px !important;
      color: #888;
      background: #f5f6f7;
      padding: 1px 6px;
      border-radius: 4px;
      font-weight: 300 !important;
    }

    .leg-duration i {
      font-size: 9px;
      margin-right: 2px;
    }

    /* Cell: Price */
    .cell-price {
      justify-content: flex-start;
      border-left: 1px solid rgba(0, 0, 0, 0.04);
      padding-left: 16px;
    }

    .cell-price .price-container {
      display: flex;
      flex-direction: column;
    }

    .cell-price .price-val {
      font-size: 20px !important;
      font-weight: 300 !important;
      color: #111;
      display: flex;
      align-items: baseline;
    }

    .cell-price .price-val small {
      font-size: 12px !important;
      font-weight: 300 !important;
      color: #888;
      margin-left: 2px;
    }

    /* Price Bands */
    .price-band-profit .price-val {
      color: #0d7159 !important;
    }

    .price-band-good .price-val {
      color: #139676 !important;
    }

    .price-band-mid .price-val {
      color: #d97706 !important;
    }

    .price-band-high .price-val {
      color: #dc2626 !important;
    }

    /* Cell: Action */
    .cell-action {
      justify-content: flex-end;
    }

    .ftw-flat-btn {
      width: 100%;
      height: 38px;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 13px !important;
      font-weight: 300 !important;
      color: #ffffff !important;
      transition: all 0.2s ease;
      text-decoration: none !important;
      border: none !important;
      box-shadow: 0 4px 10px rgba(13, 113, 89, 0.15);
    }

    .ftw-flat-btn i {
      font-size: 10px;
      margin-left: 6px;
    }

    .ftw-flat-btn.price-band-profit {
      background: #0d7159 !important;
    }

    .ftw-flat-btn.price-band-profit:hover {
      background: #095241 !important;
      box-shadow: 0 6px 15px rgba(13, 113, 89, 0.25);
    }

    .ftw-flat-btn.price-band-good {
      background: #139676 !important;
    }

    .ftw-flat-btn.price-band-good:hover {
      background: #0e785e !important;
    }

    .ftw-flat-btn.price-band-mid {
      background: #d97706 !important;
      box-shadow: 0 4px 10px rgba(217, 119, 6, 0.15);
    }

    .ftw-flat-btn.price-band-mid:hover {
      background: #b45309 !important;
    }

    .ftw-flat-btn.price-band-high {
      background: #dc2626 !important;
      box-shadow: 0 4px 10px rgba(220, 38, 38, 0.15);
    }

    .ftw-flat-btn.price-band-high:hover {
      background: #b91c1c !important;
    }

    /* ===== RESPONSIVENESS ===== */
    @media (max-width: 991.98px) {
      .ftw-flat-header {
        grid-template-columns: 180px 1fr 1fr 100px;
      }

      .ftw-flat-header .col-action {
        display: none;
      }

      .ftw-flat-row {
        grid-template-columns: 180px 1fr 1fr 100px;
        padding: 12px 16px;
      }

      .ftw-flat-row .cell-action {
        grid-column: 1 / -1;
        margin-top: 10px;
      }

      .ftw-flat-btn {
        height: 34px;
      }
    }

    @media (max-width: 767.98px) {
      .ftw-flat-header {
        display: none !important;
      }

      .ftw-flat-row {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 16px;
      }

      .ftw-flat-row .cell-dest {
        grid-column: 1;
      }

      .ftw-flat-row .cell-price {
        grid-column: 2;
        border: none;
        padding-left: 0;
        justify-content: flex-end;
      }

      .ftw-flat-row .cell-outbound {
        grid-column: 1 / -1;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 10px;
      }

      .ftw-flat-row .cell-return {
        grid-column: 1 / -1;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 10px;
        margin-bottom: 4px;
      }

      .ftw-flat-row .cell-action {
        grid-column: 1 / -1;
        margin-top: 6px;
      }

      .cell-leg {
        gap: 12px;
      }

      .ftw-flat-airline {
        width: 36px;
      }
    }

    /* Upcoming Calendar Modal Styles */
    .calendar-grid-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 24px;
      justify-content: center;
    }

    .calendar-month-box {
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.05);
      border-radius: 18px;
      padding: 16px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    }

    .calendar-month-header {
      font-size: 16px;
      font-weight: 600 !important;
      color: #111;
      text-align: center;
      margin-bottom: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 4px;
    }

    .calendar-month-temp {
      font-size: 12px;
      color: #0d7159;
      font-weight: 500 !important;
      background: rgba(19, 150, 118, 0.08);
      padding: 2px 8px;
      border-radius: 6px;
    }

    .calendar-days-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr) 52px;
      gap: 4px;
      align-items: center;
    }

    .calendar-day-label {
      font-size: 11px;
      font-weight: 600 !important;
      color: #888;
      text-align: center;
      padding: 4px 0;
    }

    .calendar-day-cell {
      font-size: 12px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      color: #444;
      user-select: none;
    }

    .calendar-day-cell.blank {
      visibility: hidden;
    }

    /* Highlighted Weekends */
    .weekend-cell-cheap {
      background-color: #139676 !important;
      color: #ffffff !important;
      font-weight: 600 !important;
    }

    .weekend-cell-medium {
      background-color: #2e6dd6 !important;
      color: #ffffff !important;
      font-weight: 600 !important;
    }

    .weekend-cell-expensive {
      background-color: #ffa500 !important;
      color: #ffffff !important;
      font-weight: 600 !important;
    }

    .calendar-price-label {
      font-size: 12px;
      font-weight: 700 !important;
      padding-left: 6px;
      white-space: nowrap;
      text-align: right;
    }

    .calendar-price-label.cheap {
      color: #139676;
    }

    .calendar-price-label.medium {
      color: #2e6dd6;
    }
      box-shadow: 0 4px 10px rgba(217, 119, 6, 0.15);
    }

    .ftw-flat-btn.price-band-mid:hover {
      background: #b45309 !important;
    }

    .ftw-flat-btn.price-band-high {
      background: #dc2626 !important;
      box-shadow: 0 4px 10px rgba(220, 38, 38, 0.15);
    }

    .ftw-flat-btn.price-band-high:hover {
      background: #b91c1c !important;
    }

    /* ===== RESPONSIVENESS ===== */
    @media (max-width: 991.98px) {
      .ftw-flat-header {
        grid-template-columns: 180px 1fr 1fr 100px;
      }

      .ftw-flat-header .col-action {
        display: none;
      }

      .ftw-flat-row {
        grid-template-columns: 180px 1fr 1fr 100px;
        padding: 12px 16px;
      }

      .ftw-flat-row .cell-action {
        grid-column: 1 / -1;
        margin-top: 10px;
      }

      .ftw-flat-btn {
        height: 34px;
      }
    }

    @media (max-width: 767.98px) {
      .ftw-flat-header {
        display: none !important;
      }

      .ftw-flat-row {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 16px;
      }

      .ftw-flat-row .cell-dest {
        grid-column: 1;
      }

      .ftw-flat-row .cell-price {
        grid-column: 2;
        border: none;
        padding-left: 0;
        justify-content: flex-end;
      }

      .ftw-flat-row .cell-outbound {
        grid-column: 1 / -1;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 10px;
      }

      .ftw-flat-row .cell-return {
        grid-column: 1 / -1;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 10px;
        margin-bottom: 4px;
      }

      .ftw-flat-row .cell-action {
        grid-column: 1 / -1;
        margin-top: 6px;
      }

      .cell-leg {
        gap: 12px;
      }

      .ftw-flat-airline {
        width: 36px;
      }
    }

    /* Upcoming Calendar Modal Styles */
    .calendar-grid-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 24px;
      justify-content: center;
    }

    .calendar-month-box {
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.05);
      border-radius: 18px;
      padding: 16px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    }

    .calendar-month-header {
      font-size: 16px;
      font-weight: 600 !important;
      color: #111;
      text-align: center;
      margin-bottom: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 4px;
    }

    .calendar-month-temp {
      font-size: 12px;
      color: #0d7159;
      font-weight: 500 !important;
      background: rgba(19, 150, 118, 0.08);
      padding: 2px 8px;
      border-radius: 6px;
    }

    .calendar-days-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr) 52px;
      gap: 4px;
      align-items: center;
    }

    .calendar-day-label {
      font-size: 11px;
      font-weight: 600 !important;
      color: #888;
      text-align: center;
      padding: 4px 0;
    }

    .calendar-day-cell {
      font-size: 12px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      color: #444;
      user-select: none;
    }

    .calendar-day-cell.blank {
      visibility: hidden;
    }

    /* Highlighted Weekends */
    .weekend-cell-cheap {
      background-color: #139676 !important;
      color: #ffffff !important;
      font-weight: 600 !important;
    }

    .weekend-cell-medium {
      background-color: #2e6dd6 !important;
      color: #ffffff !important;
      font-weight: 600 !important;
    }

    .weekend-cell-expensive {
      background-color: #ffa500 !important;
      color: #ffffff !important;
      font-weight: 600 !important;
    }

    .calendar-price-label {
      font-size: 12px;
      font-weight: 700 !important;
      padding-left: 6px;
      white-space: nowrap;
      text-align: right;
    }

    .calendar-price-label.cheap {
      color: #139676;
    }

    .calendar-price-label.medium {
      color: #2e6dd6;
    }

    .calendar-price-label.expensive {
      color: #ffa500;
    }

    .calendar-btn-container {
      margin-top: 8px;
      display: flex;
      gap: 8px;
    }

/* Custom Header User Dropdown Styles */
#auth_nav_list .dropdown-menu {
  border-radius: 14px !important;
  border: 1px solid rgba(11, 46, 60, 0.06) !important;
  box-shadow: 0 12px 36px rgba(12, 50, 63, 0.12) !important;
  padding: 8px 0 !important;
}

#auth_nav_list .dropdown-item-text {
  font-family: Jost, Arial, sans-serif;
  color: #80908c !important;
  font-size: 13px !important;
  padding: 8px 20px !important;
}

#auth_nav_list .dropdown-divider {
  border-top: 1px solid rgba(11, 46, 60, 0.05) !important;
  margin: 6px 0 !important;
}

#auth_nav_list .dropdown-item {
  font-family: Jost, Arial, sans-serif;
  font-size: 14px !important;
  padding: 8px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important; /* Fix default blue active background */
  transition: background-color 0.2s, color 0.2s !important;
}

#auth_nav_list .dropdown-item:hover,
#auth_nav_list .dropdown-item:focus {
  background-color: #f4faf8 !important;
}

#auth_nav_list .dropdown-item.active {
  background-color: #eef7f5 !important;
  color: #0d7159 !important;
}

#auth_nav_list .dropdown-item.active i {
  color: #0d7159 !important;
}

#auth_nav_list .dropdown-item#signOutBtn {
  color: #c93636 !important;
}

#auth_nav_list .dropdown-item#signOutBtn:hover {
  background-color: rgba(201, 54, 54, 0.05) !important;
}
