/* =================================
    Desktop Multi-City
================================= */

.disable-scroll {
    position: fixed !important;
    overflow: hidden;
}

#countdown {
    background: #cd363a;
    display: none;
    padding: 5px;
    border-radius: 3px;
    font-size: 14px;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

/* v2 */

.searchForm[data-version="2"] .addReturnDate {
    display: none;
    position: absolute;
    top: 18px;
    left: calc(50% - 52px);    
}

.searchForm[data-tab="one-way"][data-version="2"] .addReturnDate {
    display: block;
}

.searchForm[data-tab="multi-city"][data-version="2"] .return {
    display: none;
}

.searchForm[data-tab="multi-city"][data-version="2"] .inputGroup.departure {
    width: 100%;
}

.searchForm[data-tab="multi-city"][data-version="2"] .inputGroup.traveler,
.searchForm[data-tab="multi-city"][data-version="2"] .inputGroup.class {
    display: inline-block;
    width: calc(50% - 5px);
}

.searchForm[data-tab="multi-city"][data-version="2"] .inputGroup.traveler,
.searchForm[data-tab="multi-city"][data-version="2"] .inputGroup.class {
    display: none;
}

.searchForm[data-tab="multi-city"][data-version="2"] .wrapperItem:last-child .inputGroup.traveler,
.searchForm[data-tab="multi-city"][data-version="2"] .wrapperItem:last-child .inputGroup.class {
    display: inline-block !important;
}

/* v1 */

.searchForm[data-tab="multi-city"] .datesTravelers {
    display: block;
}

.searchForm[data-tab="multi-city"] .inputGroup.dates {
    display: block;
    width: 100%;
}

.searchForm[data-tab="multi-city"] .inputGroup.travelers {
    display: none;
}

.searchForm[data-tab="multi-city"] .wrapperItem:last-child .inputGroup.travelers {
    display: block !important;
    width: 100%;
}

.searchForm[data-tab="multi-city"] .datesTravelers .inputGroup:first-child {
    margin-bottom: 15px;
}


/* =================================
    yayfly
================================= */

.form-group-cabin-travelers .yayfly-dropdown-list {
    top: 25px;
}

.searchForm .easepick-wrapper {
    top: 53px;
    left: 9px;
}

@media (max-width: 767px) {
    .searchForm:not(.collapsed) .initialSearch,
    .searchForm.collapsed .wrapperWhereTo,
    .searchForm.collapsed .buttons,
    .searchForm.collapsed .addFlightBtn,
    .searchForm.collapsed .datesTravelers {
        display: none !important;
    }

    .yayfly-dropdown-list {
        position: fixed !important;
        top: 0px !important;
        left: 0px !important;
        width: 100% !important;
        height: 100%;
        padding: 25px 15px;
        margin: 0px !important;
    }

    .yayfly-dropdown-list ul {
        max-height: calc(100% - 110px) !important;
        margin-top: 15px !important;
    }

    .yayfly-dropdown-list input,
    .yayfly-dropdown-list .done {
        display: block !important;
    }

    /* datepicker */

    .container {
        transition: auto;
    }

    .container.show {
        height: 100%;
        background: white;    
    }

    .container.show footer {
        position: absolute;
        width: 100%;
        bottom: 25px;
    }

    .container.show footer button {
        font-size: 16px;
        width: calc(50% - 5px);
        height: 50px;
    }

    .container>footer .footer-buttons {
        justify-content: center;
    }

    .container>footer,
    .container>header {
        background-color: transparent;
    }
}

.error-wrapper {
    position: relative;
}

.error {
    border: 2px solid red !important;
    background: #f9e5e5 !important;
}

.error * {
    background: #f9e5e5 !important;   
}

.error-message {
    position: absolute;
    border: 2px solid red;
    padding: 5px;
    right: 0px;
    width: 270px;
    text-align: center;
    top: 57px;
    color: red;
}

.error-message:before {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid red;
    content: ' ';
    right: 3px;
    top: -7px;
    position: absolute;
}

.yayfly-cabin-class {
    position: relative;
}

.yayfly-cabin-class span {
    position: absolute;
    top: 1px;
    left: 13px;
}

.yayfly-cabin-class select {
    padding-top: 17px !important;
}

.yayfly-text-right {
    text-align: right;
}

.yayfly-mt15 {
    margin-top: 15px;
}

.yayfly-p15 {
    padding: 15px;
}

.yayfly-p30 {
    padding: 30px;
}

.yayfly-w50 {
    width: 50%;
}

.yayfly-w100 {
    width: 100%;
}

.yayfly-row {
    display: table;
    width: 100%;
}

.yayfly-col {
    display: table-cell;
}

.yayfly-dropdown-list {
    margin-top: 10px;
    box-shadow: 0 0 25px rgb(0 0 0 / 30%);
    position: absolute;
    top: 60px;
    left: 0px;
    width: 100%;
    background: white;
    border: 1px solid #e9eae9;
    z-index: 999999;
    border-radius: 5px;
    overflow-x: hidden;
    min-width: 300px;
}

.yayfly-dropdown-list h5 {
    margin: 15px 0px 0px 0px;
}

.yayfly-dropdown-list .count {
    padding: 0px 3px 0px 3px
}

.yayfly-dropdown-list .done {
    display: none;  
    width: calc(100% - 30px);
    position: fixed;
    bottom: 25px;
    height: 50px;
}

.yayfly-dropdown-list input,
.yayfly-dropdown-list select {
    background: #FFFFFF;
    border: 1px solid #12172A;
    border-radius: 5px;
    color: #67707C;
    padding: 8px !important;
    font-size: 16px;
    width: 100%;
}

.yayfly-dropdown-list input {
    display: none;
}

.yayfly-dropdown-list ul {
    display: block !important;
    padding: 0px;
    list-style: none;
    margin: 0px !important;
    overflow-y: auto;
    max-height: 275px;
}

.yayfly-dropdown-list li {
    position: relative;
    padding: 7px 7px 7px 35px;
    font-size: 16px;
}

.yayfly-dropdown-list li.not-found {
    text-align: center;
    padding: 7px;
}

.yayfly-dropdown-list li:before {
    position: absolute;
    left: 7px;
    width: 20px;
}

.yayfly-dropdown-list li.seat-item:before {
    content:url('images/person-seat-reclined.svg');  
}

.yayfly-dropdown-list li.airport-item.origin:before,
.yayfly-dropdown-list li.airport-item.whereFrom:before {
    content:url('images/plane-departure.svg');
}

.yayfly-dropdown-list li.airport-item.destination:before,
.yayfly-dropdown-list li.airport-item.whereTo:before {
    content:url('images/plane-arrival.svg');
}

.yayfly-dropdown-list li.city-item:before {
    content:url('images/city-solid.svg');
}

.yayfly-dropdown-list li.seat-item:hover:before {
    content:url('images/person-seat-reclined-white.svg');  
}

.yayfly-dropdown-list li.airport-item.origin:hover:before {
    content:url('images/plane-departure-white.svg');
}

.yayfly-dropdown-list li.airport-item.whereFrom:hover:before {
    content:url('images/plane-departure-white.svg');
}

.yayfly-dropdown-list li.airport-item.destination:hover:before {
    content:url('images/plane-arrival-white.svg');
}

.yayfly-dropdown-list li.airport-item.whereTo:hover:before {
    content:url('images/plane-arrival-white.svg');
}

.yayfly-dropdown-list li.city-item:hover:before {
    content:url('images/city-white.svg');
}

.yayfly-dropdown-list li img {
    width: 22px;
}

.yayfly-dropdown-list li:not(.not-found):hover {
    color: white;
    cursor: pointer;
    background: #12172A;
}

.yayfly-dropdown-list button {
    width: 32px;
    height: 32px;
    padding: 3px;
    border-radius: 4px;
    font-size: 17px;
    background: #12172A;
    color: white;
    border: 1px;
}

/* datepicker */

:host {
    --primary-color: #12172a;
    
    --color-fg-primary: #12172a;

    --color-btn-primary-fg: #12172a;
    --color-btn-primary-border: #12172a;
    --color-btn-primary-hover-bg: #12172a;

    --color-btn-primary-hover-border: #12172a;

    --color-btn-primary-disabled-border: #434c6d;
    --color-btn-primary-disabled-bg: #434c6d;

    --day-width: 35px;
    --day-height: 30px;
}

.container.show {
    top: 20px !important;
    left: -9px !important;
}

.container>footer .footer-buttons>button.apply-button {
    background-color: var(--color-btn-primary-fg);
    border-color: var(--color-btn-primary-border);
    color: var(--color-btn-primary-bg);
}

.container>footer .footer-buttons>button.apply-button:hover {
    background-color: var(--color-btn-primary-hover-fg);
    border-color: var(--color-btn-primary-hover-border);
    color: var(--color-btn-primary-hover-bg);
}

/* chatgpt */

.chatgpt-search {
    position: relative;
    overflow: hidden;
}

.chatgpt-search .loading {
    position: absolute;
    background: #341e76bd;
    color: white;
    text-align: center;
    padding-top: 13px;
    font-weight: 600;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
}
