/*
================================================================================
|                                     GENERAL SEARCH                |
================================================================================
*/
.search-form-container {
    position: relative;
}

.compact-search-form {
    display: flex;
    justify-content: space-between;
}

.compact-search-form .compact-search-param {
    white-space: nowrap;
    overflow: hidden;
}

.top-static-search-form {
    background-color: #fff;
}

.large-search-form {
    background-color: #1a4e68;
    color: #fff;
    z-index: 998;
}

.large-search-form .search_box {
    background-color: #1a4e68;
}

.sticky {
    position: fixed !important;
    z-index: 1039;
    top: 0;
}
.search-form-container.mobile.sticky {z-index: 1041;}

.modify-search-button-blur {
    width: 60px;
    height: 40px;
    margin-left: -60px;
    background: linear-gradient(to right, rgba(9, 42, 94, 0) 0, #1a4e68 70%, #1a4e68 100%);
    flex-shrink: 0;
    vertical-align: bottom;
}

.large-search-form-overlay {
    opacity: .75;
    z-index: 997;
    background-color: #092a5e;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.large-form-destination-select + span {
    width: 100% !important;
}

.close-large-search-form,
.close-adding-more-rooms-search-form {
    margin-left: 1.3rem;
    color: #fff;
}

.search-form-action-buttons-container {
    display: flex;
    justify-content: flex-end;
}

.search-form-action-buttons-container .btn.submit {
    width: 15%;
}

.top-sf {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.top-sf-left {
    display: flex;
    flex-basis: 75%;
}
.top-sf-right {
    display: flex;
    flex-basis: 25%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.top-static-search-form:not(.hotel-page) .top-sf-right {
    flex-basis: 16%;
}
.top-static-search-form:not(.hotel-page) .top-sf-left {
    flex-basis: 84%;
}

.top-sf-right button {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    background-color: #1676e3;
    border-color: #1676e3;
}

.sp-container .kv-drp-container {
    background-color: #ffffff;
    color: var(--main-color-dark-gray);
}
.sp-container {
    flex-basis: 50%;
    margin-left: 0.5rem;
}
.sp-container.with-package,
.top-static-search-form:not(.hotel-page) .sp-container.with-package {
    flex-basis: 25%;
}
.top-static-search-form.hotel-page .sp-container.with-package {
    flex-basis: 37%;
    margin-left: 0.5rem;
}
.top-static-search-form:not(.hotel-page) .sp-container {
    flex-basis: 45%;
}
.top-static-search-form.hotel-page .sp-container {
    margin-left: 0;
}

.top-static-search-form.hotel-page .st-container {
    flex-basis: 46%;
}
.top-static-search-form.hotel-page .st-container.with-package {
    flex-basis: 30%;
}
.st-container {
    flex-basis: 20%;
    margin-left: 0.5rem;
}
.sd-container {flex-basis: 30%;}
.top-static-search-form.hotel-page .str-container {
    flex-basis: 28%;
}
.str-container {
    flex-basis: 22%;
    margin-left: 0.5rem;
}

.top-search-destination-container .select2-container .select2-selection--single {
    height: 54px !important;
    line-height: 50px;
    border: 1px solid var(--main-color-dark-gray);
}
.top-search-destination-container .select2-container .select2-selection--single:hover {background-color: #eaf3fc;}
.top-search-destination-container .select2-container .select2-selection--single:hover i.fa-map-marker-alt {color: #3988df;}

.top-search-destination-container .select2-container .select2-selection__rendered#select2-destination-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    padding: 0 0.3rem;
    color: var(--main-color-dark-gray);
}
.top-search-destination-container .select2-container .select2-selection__arrow,
.top-search-destination-container .select2-container .select2-selection__clear {
    display: none;}
.top-search-destination-container .select2-container .select2-selection__rendered .fa-map-marker-alt {
    margin-right: 1rem;
    font-size: 1.1rem;
}
.top-search-destination-container .select2-container .select2-selection__rendered .custom-selection {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-search-destination-container .select2-container .select2-selection__rendered .selection-text {
    font-size: 1rem;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-search-destination-container .select2-container .select2-selection__rendered .selection-label {
    font-size: .75rem;
}

#top-search-form-pjax .mobile-view,
.top-search-mobile-header {display: none;}
#top-search-form-pjax .top-search-form {display: block;}
.search-form-container.sticky .top-static-search-form .hotel-page-search-header,
.top-static-search-form .hotel-page-search-header {display: none;}
.top-static-search-form.hotel-page .hotel-page-search-header,
#hotel-page-search-mobile-container .hotel-page-search-header {
    display: block;
    font-size: 22px;
}

/*bootstrap 4 col-sm ≥576px*/
@media screen and (max-width: 575px) {
    .add-more-rooms {width: 100%;}
}

@media screen and (min-width: 768px) {
    .modify-search-button-blur {
        width: 80px;
    }

    .top-static-search-form:not(.hotel-page) button[type="submit"] {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: .9rem;
        padding: 4px;
    }
    .top-static-search-form:not(.hotel-page) button[type="submit"] > span {
        display: flex;
        flex-direction: column;
        margin-left: 1rem;
    }
    #home-page-search-form .search_box .form-row:nth-last-of-type(2) {margin-top: 1rem;}
}

@media screen and (max-width: 767px) {
    .close-large-search-form {
        margin-top: 1rem;
        margin-bottom: 5rem;
        margin-left: 0;
        text-align: center;
        text-align: -webkit-center;
    }

    .close-adding-more-rooms-search-form {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
        text-align: -webkit-center;
    }

    .large-search-form {
        height: calc(100vh - 30px);
        overflow-y: auto;}

    .search-form-action-buttons-container .btn.submit {
        width: 100%;
    }

    .search-form-action-buttons-container {
        display: flex;
        flex-direction: column;
    }

    .top-sf {
        flex-direction: column;
    }
    .top-sf-left {
        flex-direction: column;
    }

    #top-search-form-pjax .top-search-form {display: none; height: calc(100vh - 30px);}

    #top-search-form-pjax .mobile-view {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        color: #4c4c4c;
        border-radius: 4px;
    }
    #top-search-form-pjax .mobile-view > span:first-child {
        font-size: 1rem;
        font-weight: 600;
        padding: 0.5rem 0.3rem;
    }
    #top-search-form-pjax .mobile-view span.edit {
        font-size: 0.8rem;
        font-weight: 500;
        float: right;
        text-decoration: underline;
    }
    #top-search-form-pjax .mobile-view > span:nth-child(2) {
        padding: 0.5rem 0.3rem;
        background-color: #f1f1f1;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .top-search-mobile-header {
        display: flex;
        justify-content: space-between !important;
        align-items: center;
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
        padding: .5rem 0 .5rem 0;
        border-bottom: 1px solid #ffffff;
    }

    .top-sf-left > div:not(:last-of-type) {margin-bottom: 1rem;}

    .sd-container {margin-top: .5rem;}

    .sp-container,
    .st-container,
    .sd-container,
    .str-container {
        flex-basis: 100%;
        margin-left: 0;
    }

    .top-sf-right {flex-basis: 100%;}
    .top-sf-right button {padding: 1rem;}

    .top-search-destination-container .select2.select2-container {
        width: 100% !important;
    }

    .search-form-container:not(.sticky) {padding: .5rem 0;}

    .top-static-search-form:not(.accommodation-page) {
        background-color: #1a4e68;
        padding: .5rem !important;
    }

    .top-static-search-form:not(.hotel-page) button[type="submit"] {margin-top: 1rem;}
    .form-row .sp-container.with-package {flex-basis: 100%;}

    #home-page-search-form .search_box .sd-container,
    #home-page-search-form .search_box .str-container,
    #home-page-search-form .search_box .sp-container {margin-bottom: 1rem;}
}

@media screen and (max-width: 991px) {}
@media screen and (max-width: 1199px) {}

/*
================================================================================
|                                     ADDING MORE ROOMS SEARCH                |
================================================================================
*/

.add-more-rooms-search-form {background-color: #1a4e68;}

.add-more-rooms[aria-expanded="true"] {display: none;}

.result_item .additional_info__footer .add-room-to-booking {color: #ffffff;}

/*
================================================================================
|                                     ACCOMMODATION PAGE SEARCH                |
================================================================================
*/
.accommodation-page-search-form .accomm-category-header h1 {
    font-size: 24px;
    line-height: 1.2;
    color: var(--main-color-dark-gray);
    font-family: "Lato Bold", sans-serif;
}
.accommodation-page-search-form:not(.mobile) .accomm-category-header h1 {
    font-size: 27px;
    line-height: 1.2;
    color: var(--main-color-dark-gray);
    font-family: "Lato Black", sans-serif;
}

.accommodation-page-search-form .hotels-counts-link {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1rem 1rem .3rem;
    color: #fff;
    background-color: rgba(2, 59, 88, 0.9);
    border-radius: 4px;
    text-decoration: none;
}
.accommodation-page-search-form .hotels-counts-link > span:nth-child(2) {
    font-size: 15px;
}

.accommodation-page-search-form {
    padding: 15px;
    border-radius: 1px;
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .25);
}

#home-page-search-form .search_box .form-row:first-of-type {align-items: center;}
#home-page-search-form .search_box .form-row:first-of-type > div:last-of-type {margin-left: auto;}
#home-page-search-form .search_box .form-row:nth-last-of-type(2) .sp-container {margin-left: 0;}