/* ==========================================================
   HOTEL PAGE + HOTEL SEARCH FORM
   used by  : hotels.php , hotel-form.php
   ========================================================== */


/* ----------------------------------------------------------
   1. HOTEL SEARCH FORM
---------------------------------------------------------- */

.hotel_search_form {
    padding: 15px 10px;
    border-radius: 10px;
    background: #fff;
    -webkit-box-shadow: 0px 5px 8px rgb(94 94 94 / 28%);
    box-shadow: 0px 5px 8px rgb(94 94 94 / 28%);
}

.hf_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hf_heading h2 {
    font-size: 18px;
    font-weight: 600;
    color: #013d48;
    margin: 0 0 12px 0;
}

.hf_row {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 4px;
    border: solid 1px #cbcbcb;
}

.hf_col_city  { width: 44%; padding: 0; }
.hf_col_date  { width: 14%; padding: 0; }
.hf_col_guest { width: 18%; padding: 0; }
.hf_col_btn   { width: 10%; padding: 0; }

.hf_group {
    position: relative;
}

.hf_group .hf_icon {
    position: absolute;
    left: 8px;
    top: 27px;
    width: 20px;
}

label.hf_label {
    position: absolute;
    left: 30px;
    font-size: 13px;
    top: 7px;
    margin: 0;
    line-height: 13px;
    color: #333;
}

.hf_input,
.hf_input_date {
    border: none;
    height: 72px;
    padding: 24px 5px 23px 30px;
    border-radius: 0;
    font-weight: 700;
    color: #000;
    border-right: solid 1px #cbcbcb;
    background: transparent;
    width: 100%;
}

.hf_input { font-size: 20px; }
.hf_input_date { font-size: 17px; }

.hf_input:focus,
.hf_input_date:focus {
    outline: none;
    box-shadow: none;
    background: #fff;
}

.form-control.hf_input[readonly],
.form-control.hf_input_date[readonly] {
    background-color: #ffffff;
    opacity: 1;
    cursor: pointer;
}

input.hf_input::-webkit-input-placeholder,
input.hf_input_date::-webkit-input-placeholder {
    color: #000000;
    font-weight: 700;
    font-size: 18px;
}

.hf_group p.hf_sub {
    position: absolute;
    bottom: 2px;
    font-size: 13px;
    left: 30px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 88%;
    font-weight: 500;
    color: #555;
}

/* rooms & guests dropdown */
.hf_guest_panel {
    position: absolute;
    background: #fff;
    padding: 12px 0 10px;
    width: 300px;
    left: 0;
    top: 74px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 5px;
    z-index: 5;
    border: 1px solid #d4d4d4;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .23);
}

/* one block per room */
.hf_room {
    padding: 0 0 4px 0;
    margin: 0 0 8px 0;
}

.hf_room + .hf_room {
    border-top: solid 1px #e6e6e6;
    padding-top: 12px;
}

.hf_room_title {
    font-size: 15px;
    font-weight: 700;
    color: #013d48;
    padding: 0 12px;
    margin: 0 0 8px 0;
    border-left: solid 3px #b27e30;
}

.hf_guest_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px 0;
    padding: 0 10px 10px;
    border-bottom: 1px dotted #cbcbcb;
}

.hf_guest_cell { width: 50%; }

/* age of children */
.hf_ages {
    padding: 0 10px 10px;
    border-bottom: 1px dotted #cbcbcb;
    margin: 0 0 10px 0;
}

.hf_ages_title {
    display: block;
    font-size: 12px;
    color: #8a8a8a;
    margin: 0 0 6px 0;
}

.hf_ages_list {
    display: flex;
    flex-wrap: wrap;
}

select.hf_age {
    width: 72px;
    height: 34px;
    padding: 4px 6px;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    border: solid 1px #c3c3c3;
    border-radius: 5px;
    margin: 0 6px 6px 0;
    background: #fff;
}

/* add / remove room */
.hf_room_btns {
    padding: 0 10px 10px;
    display: flex;
}

.hf_add_room,
.hf_remove_room {
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 8px 0 0;
}

.hf_add_room {
    color: #2e7d32;
    border: solid 1px #2e7d32;
}

.hf_add_room:hover { background: #2e7d32; color: #fff; }

.hf_remove_room {
    color: #c62828;
    border: solid 1px #c62828;
}

.hf_remove_room:hover { background: #c62828; color: #fff; }

.hf_add_room:disabled,
.hf_remove_room:disabled {
    opacity: .45;
    cursor: not-allowed;
    background: #fff;
}

.hf_add_room:disabled { color: #2e7d32; }
.hf_remove_room:disabled { color: #c62828; }

.hf_guest_cell label {
    font-size: 13px;
    margin: 0;
    color: #333;
    font-weight: 600;
    line-height: 16px;
}

.hf_guest_cell label small {
    font-size: 12px;
    display: block;
    font-weight: 400;
}

.hf_guest_cell .input-group.hf_spinner {
    border: solid 1px #c3c3c3;
    height: 34px;
    border-radius: 5px;
    flex-wrap: nowrap;
}

.hf_num {
    border: none;
    height: 32px;
    background: #fff;
    text-align: center;
    font-weight: 600;
}

.form-control.hf_num[readonly] {
    background-color: #ffffff;
    opacity: 1;
}

.hf_minus,
.hf_plus {
    height: 32px;
    line-height: 32px;
    border-radius: 0;
    width: 32px;
    padding: 0;
    cursor: pointer;
    color: #013d48;
}

.hf_minus { border-right: solid 1px #c3c3c3; }
.hf_plus  { border-left: solid 1px #c3c3c3; }

.hf_apply_wrap {
    padding: 0 10px;
    text-align: right;
}

button.hf_apply {
    background: #b27e30;
    font-size: 14px;
    padding: 0 30px;
    border: none;
    height: 36px;
    font-weight: 600;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
}

button.hf_apply:hover { background: #013d48; }

.hf_submit {
    background: #013d48;
    border: none;
    width: 101%;
    padding: 0;
    font-size: 18px;
    color: #ffffff;
    height: 72px;
    border-radius: 0px 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
}

.hf_submit:hover { background: #b27e30; }

.hf_extra {
    margin: 20px 0 5px 0;
    padding: 0 5px 0 0;
}

/* custom checkbox */
.hf_check {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 13px;
    user-select: none;
    margin-right: 20px;
    color: #000000;
    font-weight: 400;
}

.hf_check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.hf_checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #d9d9d9;
    border-radius: 4px;
}

.hf_check:hover input ~ .hf_checkmark { background-color: #fff; }
.hf_check input:checked ~ .hf_checkmark { background-color: #b27e30; }

.hf_checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.hf_check input:checked ~ .hf_checkmark:after { display: block; }

.hf_check .hf_checkmark:after {
    left: 7px;
    top: 2px;
    width: 5px;
    height: 12px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* autocomplete list */
.ui-autocomplete {
    z-index: 9999;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 14px;
}

/* the hotel list draws its own icons, so drop the flight plane background */
.hf_ac .ui-menu-item-wrapper {
    background-image: none !important;
    padding: 8px 12px;
    font-size: 14px;
}

.hf_ac .ui-menu-item-wrapper .fa { color: #b27e30; margin-right: 8px; }

/* the typed letters, in bold, inside either line of a row */
.hf_ac .ui-menu-item-wrapper b { font-weight: 700; color: inherit; }

.hf_ac .ui-menu-item-wrapper small {
    display: block;
    margin-left: 21px;
    color: #888;
    font-size: 12px;
}

/* DESTINATIONS / HOTELS - a heading, not a row : it cannot be picked */
.hf_ac .hf_ac_group {
    padding: 7px 12px 5px;
    background: #f5f5f5;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    list-style: none;
    cursor: default;
}

.hf_ac .hf_ac_group:first-child { border-top: 0; }

/* the airport the typed code belongs to, above every group */
.hf_ac .hf_ac_airport .ui-menu-item-wrapper { font-weight: 600; }

/* hotel-name rows sit under the cities, a hairline splits the two lists */
.hf_ac .hf_ac_city + .hf_ac_hotel { border-top: 1px solid #e6e6e6; }

.hf_ac .ui-menu-item .ui-state-active {
    background: #b27e30 !important;
    border-color: #b27e30 !important;
    color: #fff;
}

.hf_ac .ui-menu-item .ui-state-active .fa,
.hf_ac .ui-menu-item .ui-state-active small { color: #fff !important; }

/* form messages */
.hf_alert {
    border-radius: 8px;
    padding: 14px 18px;
    margin: 0 0 15px 0;
    font-size: 15px;
}

.hf_alert.ok  { background: #eaf7ee; border: solid 1px #b6e0c2; color: #1c6b34; }
.hf_alert.err { background: #fdecec; border: solid 1px #f4c2c2; color: #a12525; }
.hf_alert a   { color: inherit; font-weight: 700; text-decoration: underline; }


/* ----------------------------------------------------------
   2. HOTEL PAGE
---------------------------------------------------------- */

.hotel_banner_head {
    margin: 90px 0 20px 0;
}

.hotel_banner_head h1 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
}

.hotel_banner_head p {
    font-size: 16px;
    color: #f1f1f1;
    margin: 0;
}

.hotel_banner_head p strong { color: #e8b45c; }

.hotel_card {
    background: #fff;
    border: 1px solid rgba(156, 170, 179, 0.28);
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 0 30px 0;
    transition: all .4s ease;
}

.hotel_card:hover {
    box-shadow: 0 6px 18px 0 rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
}

.hotel_thumb {
    height: 190px;
    background-size: cover;
    background-position: center;
}

.hotel_body { padding: 15px 15px 18px; }

.hotel_body h4 {
    font-size: 18px;
    font-weight: 600;
    color: #141414;
    margin: 0 0 4px 0;
}

.hotel_addr {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px 0;
    min-height: 36px;
}

.hotel_stars {
    color: #e0a52a;
    font-size: 13px;
    margin: 0 0 10px 0;
}

.hotel_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotel_rate {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.hotel_rate strong {
    display: block;
    font-size: 22px;
    color: #013d48;
    font-weight: 700;
}

.hotel_rate strong small {
    font-size: 12px;
    font-weight: 400;
}

.hotel_book {
    background: #b27e30;
    color: #fff;
    padding: 9px 18px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.hotel_book:hover {
    background: #013d48;
    color: #fff;
    text-decoration: none;
}

.hotel_call_band { background: #013d48; padding: 35px 0; }

.hotel_call_band h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.hotel_call_band p {
    color: #d7e7ea;
    font-size: 15px;
    margin: 0;
}

.hotel_call_band a {
    background: #b27e30;
    color: #fff;
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.hotel_call_band a:hover {
    background: #fff;
    color: #013d48;
    text-decoration: none;
}

.hotel_note p {
    font-size: 12px;
    color: #666;
    line-height: 20px;
    margin: 10px 0 0 0;
}

.hotel_note a { color: #013d48; text-decoration: underline; }

.hotel_faq .card {
    border: none;
    border-bottom: solid 1px #e4e4e4;
    border-radius: 0;
}

.hotel_faq .card-header {
    background: transparent;
    border: none;
    padding: 0;
}

.hotel_faq .card-header button {
    width: 100%;
    text-align: left;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #141414;
    background: transparent;
    border: none;
    text-decoration: none;
}

.hotel_faq .card-header button:hover,
.hotel_faq .card-header button:focus {
    text-decoration: none;
    color: #b27e30;
    box-shadow: none;
}

.hotel_faq .card-body {
    padding: 0 0 15px 0;
    font-size: 14px;
    color: #444;
    line-height: 24px;
}

.hotel_faq .card-body a { color: #013d48; text-decoration: underline; }


/* ----------------------------------------------------------
   3. RESPONSIVE
---------------------------------------------------------- */

@media only screen and (max-width: 991px) {
    .hf_col_city  { width: 100%; }
    .hf_col_date  { width: 50%; }
    .hf_col_guest { width: 100%; }
    .hf_col_btn   { width: 100%; }
    .hf_row { border: none; background: transparent; }
    .hf_input,
    .hf_input_date { border: solid 1px #e2e2e2; border-radius: 5px; background: #fff; }
    .hf_col_city,
    .hf_col_date,
    .hf_col_guest { padding: 0 5px; margin: 0 0 10px 0; }
    .hf_col_btn { padding: 0 5px; }
    .hf_submit { width: 100%; height: 60px; font-size: 20px; background: #b27e30; border-radius: 6px; }
    .hf_guest_panel { width: 100%; }
}

@media only screen and (max-width: 767px) {
    .hotel_search_form { padding: 0; background: transparent; box-shadow: none; }
    .hf_heading h2 { display: none; }
    .hotel_banner_head { margin: 80px 0 15px 0; }
    .hotel_banner_head h1 { font-size: 22px; }
    .hotel_banner_head p { font-size: 13px; }
    .hf_extra { padding: 0 5px; }
    .hotel_call_band { text-align: center; }
    .hotel_call_band a { margin: 15px 0 0 0; }
    .hotel_card .hotel_meta { flex-wrap: wrap; }
}
