.banner .booking-search,
.booking-container .booking-search {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

.booking-container {
    width: 100%;
    padding: 20px 0;
}

.booking-search > form {
    width: 100%;
    background: rgba(249, 249, 249, 1);
    display: flex;
    flex-direction: row;
    
}

.booking-search .fields {
    display: flex;
    flex-direction: row;
    letter-spacing: 2px;
    padding: 40px;
    width: 75%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.booking-search .search {
    width: 25%;
    background-color: #231f20;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.triangle-bottomright {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 60px solid white;
    border-left: 80px solid transparent;
}

.booking-search .fields > .field {
    width: 20%;
    height: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.booking-search .fields > .field.hotel-selector {
    width: 35%;
}

.booking-search.lone-hotel .fields > .field {
    width: 20%;
}

.booking-search.lonehotel .fields > .field.hotel-selector {
    width: 0;
}

.booking-search .fields > .field:last-child {
    border-right: none;
}

.fields > div {
    text-align: center;
}

.fields > div > .label {
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    color: #878787;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.fields > div > .controls {
    display: inline-flex;
    flex-direction: row;
}

.fields > div > .controls > .left {
    color: #231f20;
    font-size: 50px;
    font-family: 'Almarai', sans-serif;
    font-weight: 700;
    line-height: 50px;
    text-align: right;
}

.fields > div > .controls > .right {
    color: #231f20;
    font-size: 12px;
    font-family: 'Almarai', sans-serif;
    line-height: 12px;
    margin-top: 10px;
    margin-left: 10px;
}

.controls .month {
    margin-bottom: 5px;
}

.controls .arrow.up {
    transform: rotate(180deg);
}

.field .promocode,
.field .hotel-selector {
    text-align: center;
    margin: 0 2px;
    padding: 10px 4px;
    background-color: #f9f9f9;
    border: 1px solid #f1f1f1;
    color: #878787;
    width: 80%;
    cursor: pointer;
}

.field.calendar,
.field .label,
.field .arrow,
.field .guests {
    cursor: pointer;
}

/** hides a datepicker field not using display: none, which prevents datepicker from opening */
.hide4datepicker {
    display: block;
    width: 0;
    height: 0;
    border: 0;
}

.display_none {
    display: none;
}

.modulo-reservas {
    width: 70%;
    margin: 0 auto;
    border: 1px solid #231f20;
}

.booking-search .search > input[type=submit] {
    color: #fff;
    background-color: transparent;
    border: 0;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 2px;
    white-space: normal;
    text-transform: uppercase;
}

.booking-search .search > input[type=submit]:focus {
    outline: none;
}

.booking-search .search > input[type=submit]:active {
    font-weight: bold;
    text-decoration: underline;
}

.booking-search .fields > .field.relative {
    position: relative;
}
/* panel de seleccion de edades de niños */
#nd_booking_childrens_age_selector {
    position: absolute;
    width: 95%;
    top: 90%;
    left: 0;
    right: 0;
    margin: auto;
    
}

#nd_booking_childrens_age_selector .open-button {
    width: 100%;
    border: 2px solid #2ED8C3;
    color: #2ED8C3;
    font-weight: bolder;
    padding: 3px;
}

#nd_booking_childrens_age_selector .open-button:hover {
    background-color: #ececec;
    cursor: pointer;
}

#nd_booking_childrens_age_selector .age_selectors_container {
    padding: 15px 5px 0;
    width: 100%;
    min-height: 20px;
    border: 1px solid #231f20;
    border-top: none;
    background-color: #fff;
}

#nd_booking_childrens_age_selector .age_selectors_container .age_selector {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

#nd_booking_childrens_age_selector .age_selectors_container .age_selector label {
    color: #878787;
    font-weight: bold;
    margin-right: 6px;
    font-size: 12px;
}

#nd_booking_childrens_age_selector .age_selector_counter {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    height: 22px;
}

#nd_booking_childrens_age_selector .age_selector_counter input[type=number] {
    width: 30px;
    height: 22px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #a8a8a8;
    pointer-events: none;
}

#nd_booking_childrens_age_selector .age_selector_counter input[type=number]::-webkit-inner-spin-button, 
#nd_booking_childrens_age_selector .age_selector_counter input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#nd_booking_childrens_age_selector .age_selector_counter .age_selector_counter_button{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    width: 22px;
    background-color: #cecece;
    border: 1px solid #a8a8a8;
    font-weight: bolder;
    user-select: none;
    cursor: pointer;
}

#nd_booking_childrens_age_selector .age_selector_counter .age_selector_counter_button:hover {
    background-color: #a8a8a8;
}

#nd_booking_childrens_age_selector .age_selector_counter .age_selector_counter_button:first-child{
    border-radius: 6px 0 0 6px;
    border-right: none;
}

#nd_booking_childrens_age_selector .age_selector_counter .age_selector_counter_button:last-child{
    border-radius: 0 6px 6px 0;
    border-left: none;
}


/* tablet landscape */
@media only screen and (min-width: 960px) and (max-width: 1199px) {
    .banner .booking-search {
        width: 960px;
    }
}

/* tablet portrait */
@media only screen and (max-width: 959px) {
    .banner .booking-search {
        width: 90%;
    }

    .booking-search > form {
        flex-direction: column;
    }

    .booking-search .fields {
        width: 100%;
        margin: 0 auto;
        padding: 8px;
        flex-wrap: wrap;
    }

    .booking-search .fields > .field.hotel-selector {
        width: 100%;
    }

    .fields > div > .label {
        margin: 4px 0 10px;
    }

    .fields > div > .label:first-child {
        margin-top: 0;
    }

    .booking-search .search {
        width: 100%;
        padding: 50px;
    }

    .booking-search .fields > .field {
        border: 0;
        margin: 10px auto 0;
        height: 100px;
        width: 50%;
    }

    .promocode-field{
        margin-top: 40px !important;
        width: 100% !important;
    }

    #nd_booking_childrens_age_selector {
        width: 100%;
        max-width: 200px;
    }
    #nd_booking_childrens_age_selector .age_selectors_container {
       position: absolute;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
}

/* mobile landscape */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    body { -webkit-text-size-adjust: none; }
}

/* mobile portrait */
@media only screen and (min-width: 320px) and (max-width: 479px) {
    body { -webkit-text-size-adjust: none; }
}

/* all responsive */
@media only screen and (min-width: 320px) and (max-width: 1199px) {
}

/* all iphone */
@media only screen and (min-width: 320px) and (max-width: 767px) {
}

/* datepicker */
.ui-datepicker td,
.ui-datepicker th {
    color: #a3a3a3;
    line-height: 27px;
}

.ui-datepicker-today a { background-color: #2ED8C3; }

.ui-datepicker .ui-datepicker-header { background-color: #151515; }

.ui-datepicker,
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span { background-color: #1c1c1c; }
