﻿
.search_box_area {
    position: relative;
    padding: 30px 0;
}




.main_search_containt, #flightblock {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid #E4E6E8;
    background: #FFF;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.05);
}


.panel_row {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    padding: 0px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    align-items: center;
}

.prefarnce_ul {
    margin: 0;
    border: none;
    flex: 1;
}

.advance_button {
    display: flex;
    align-items: center;
    gap: 50px;
}

.night_div {
    max-width: 100px;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: 1;
}

.n_d_div {
    flex: 1;
    position: relative;
    width: 100%;
}

    .n_d_div:before {
        position: absolute;
        content: "";
        right: 5px;
        height: 40px;
        width: 1px;
        background: var(--border-color);
        top: 8px;
        z-index: 1;
    }


.hotel_date_p {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.date_div {
    position: relative;
    flex: 1;
    max-width: 130px;
    min-width: 130px;
}

.lbl_up {
    font-size: 12px;
    position: absolute;
    color: #777E90;
    z-index: 1;
    white-space: nowrap;
    top: 7px;
    font-weight: 400;
    pointer-events: none;
    background: transparent;
    width: auto;
    max-width: fit-content;
    left: 12px;
    right: 0;
    text-align: left;
}

.left-0 {
    left: 0;
}

.search_input {
    height: 56px;
    width: 100%;
    color: var(--all-text-main);
    padding: 18px 15px 0px 30px;
    font-size: 15px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-color: #fff;
    box-sizing: border-box;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 38px;
    border-radius: 8px;
    border: none;
}

.n_d_nati .lbl_up {
    top: 0px;
}

.n_d_nati {
    position: relative;
}

.search_input_natin {
    height: 40px;
    width: 100%;
    color: var(--all-text-main);
    padding: 10px 15px 0px 0px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-color: #fff;
    box-sizing: border-box;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 38px;
}



.search_button {
    height: 46px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    color: var(--color);
    justify-content: center;
    font-size: 16px;
    column-gap: 10px;
    position: relative;
    font-weight: 700;
    padding: 0 20px;
    background: var(--btn-bg);
    margin-right: 5px;
    position: relative;
}

.search_icon {
    width: 20px;
    height: 20px;
    background-position: -565px -4px;
}

.drop_icon {
    width: 22px;
    height: 22px;
    pointer-events: none;
    position: absolute;
    top: 27px;
    left: 10px;
    z-index: 1;
}

.down_location {
    background-position: -348px -4px;
}


.down_checkin {
    background-position: -397px -5px;
}

.down_room {
    background-position: -480px -5px;
}

.down_arrow {
    background-position: -36px -36px;
    right: 10px;
    left: auto;
    top: 20px;
}

.markup_search_icon {
    background-position: -604px -153px;
}



.nati_search_icon {
    display: none;
}


.night_div select {
    padding-top: 15px;
}

.down_moon {
    background-position: -441px -7px;
}



.recent_search {
    display: flex;
    margin-top: 10px;
    align-items: center;
    gap: 10px;
}

    .recent_search span {
        font-size: 14px;
        color: var(--btn-bg);
        font-weight: 600;
        min-width: 115px;
    }

    .recent_search ul {
        margin: 0;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

        .recent_search ul li a {
            margin: 0;
            font-size: 12px;
            padding: 0 10px;
            background: var(--other-bg-light);
            border-radius: 3px;
            height: 30px;
            display: block;
            line-height: 30px;
            font-weight: 600;
            color: var(--all-text-main);
            border: 1px solid var(--border-color);
        }

/***set your preference css start***/
button.ad_button {
    background: transparent;
    border: none;
    color: var(--all-text-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding: 0;
    display: flex;
    align-items: center;
    column-gap: 5px;
    cursor: pointer;
}

.collapsed .advance_icon {
    width: 12px;
    height: 8px;
    background-position: -41px -40px;
}


.advance_icon {
    width: 12px;
    height: 8px;
    background-position: -40px -64px;
}

.prefarnce_ul .n_d_div .back_pref_div {
    background-color: #fff;
    display: block;
    margin: 10px 0 0;
    position: absolute;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .1);
    z-index: 1;
    padding: 10px;
    line-height: 22px;
}

.back_pref_div .scroll_div {
    overflow: auto;
    max-height: 350px;
}

ul.prefarnce_ul .search_input {
    padding: 20px 5px 0px 15px;
    line-height: normal;
}

ul.prefarnce_ul .drop_icon {
    top: 18px;
}

.add_des_txtbox {
    width: 100%;
    margin-bottom: 10px;
    padding: 7px 7px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.add_desbutton {
    background: var(--btn-bg);
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    color: var(--color-two);
    font-weight: 600;
}

.list_des .checkbox-custom {
    position: absolute;
    opacity: 0;
}

.drop_down_field_com label {
    position: relative;
    margin: 0;
}

.des_wrapper label::before {
    font-family: FontAwesome;
    content: "";
    background: none;
    font-size: 14px;
    border: 1px solid #bcb9b9;
    padding: 0;
    left: 0;
    position: relative;
    text-align: center;
    font-weight: normal;
    color: #fff;
    border-radius: 2px;
    width: 18px;
    height: 18px;
    display: inline-block;
    top: 3px;
    margin-right: 5px;
}

.des_wrapper input:checked ~ label:after {
    font-family: FontAwesome;
    content: "\f00c";
    color: var(--btn-two-bg);
    left: 2px;
    position: absolute;
    top: -2px;
}

.add_destination {
    margin-top: 10px;
}

.save_btn {
    min-width: 100px;
    border: 1px solid var(--btn-bg);
    background: transparent;
    color: var(--btn-bg);
    margin: 0;
    position: relative !important;
}

.nati_txt .fa-search {
    position: absolute;
    right: 25px;
    top: 25px;
}

.fa-search:before {
    content: "\f002";
}

.back_pref_div li {
    padding: 5px 0px 5px 0px;
}

.select_item {
    color: var(--btn-bg);
    font-weight: var(--weight-700);
}

.back_pref_div li.select_item a {
    color: var(--active-menu);
}
/***set your preference css end***/


/***start rating css***/
.rating ul {
    display: flex;
    line-height: 20px;
    margin-bottom: 0;
    column-gap: 5px;
    width: 100%;
    padding-top: 14px;
}

.rating li:not(:checked) > input {
    top: -9999px;
    position: fixed !important;
}

.rating li:not(:checked) > label {
    position: relative;
    cursor: pointer;
    text-transform: none;
    font-size: 16px;
    background: #ececec;
    margin-bottom: 0;
    border-radius: 5px;
    border: 1px solid #CFE3DC;
    text-align: center;
    width: 35px;
    height: 25px;
    display: block;
    display: flex;
    align-items: center;
    column-gap: 5px;
    justify-content: center;
}

.rating li label span {
    position: relative;
    z-index: 1;
    color: var(--all-text-main);
    font-size: 16px;
    font-weight: 400;
}

.rating li > input:checked ~ label {
    background: #8A9BA8;
}

    .rating li > input:checked ~ label span, .rating li > input:checked ~ label .fa.fa-star {
        color: #ffffff;
    }

.star_icon {
    width: 15px;
    height: 15px;
    background-position: -184px -55px;
}
/*star rating css end***/
.select_star_rat {
    position: absolute;
    top: 23px;
    z-index: 1;
    font-weight: 400;
    font-size: 16px;
    left: 15px;
    line-height: 30px;
    pointer-events: none;
}


button.remove_more_city {
    line-height: 52px;
}

.Pref_btn {
    display: flex;
    gap: 15px;
}

.Child_unit_age .room_child_arrow {
    top: 3px;
    background-position: -36px -36px;
    height: 15px;
    width: 15px;
    left: 40px;
}

@media (max-width:991px) {
    .Pref_btn {
        width: 100%;
    }

    .nati_search_icon {
        background-position: -630px -152px;
        display: block;
    }

    .search_tab {
        column-gap: 5px;
    }

    .advance_button {
        gap: 15px;
        flex-wrap: wrap;
    }

    .panel_row {
        flex-direction: column;
        row-gap: 10px;
        align-items: flex-start;
        border: none;
        width: 100%;
    }

    .search_input {
        border: 1px solid var(--border-color);
        border-radius: 8px;
    }

    .search_input_natin {
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 18px 15px 0px 30px;
        height: 56px;
    }

    .n_d_nati .lbl_up {
        top: 7px;
        left: 15px;
    }

    .n_d_nati {
        width: 100%;
    }

    .night_div .search_input {
        border: 1px solid var(--border-color);
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .n_d_div:before {
        display: none;
    }



    .main_search_containt {
        padding-bottom: 70px;
    }

    .search_button {
        width: 100%;
        max-width: 100%;
        background-image: none;
        position: absolute;
        bottom: 0;
        margin: 0;
        left: 0;
        right: 0;
        background: var(--btn-bg);
        color: #fff;
        border-radius: 0px 0px 5px 5px;
    }

        .search_button span {
            display: block;
        }
}

@media (max-width:991px) and (min-width:768px) {

    .panel_row > div {
        flex: 1 1 calc(50% - 10px);
    }

    .panel_row {
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
        width: 100%;
    }
}
