.mi-be-datepicker-select .DateRangePicker_picker,  .mi-be .mi-dropdown .mi-dropdown-layout {z-index: 600;} 

/* VARIABLES MOBILE */
:root {
    --corporative-color: #a51b5b; /* primary button bg */
    --text-color__over-corporative-color: white; /* primary button color */
    --corporative-text-color: #a51b5b; /* links color */
    --border-radius: 0px;
}

/* Contola el Width de los campos con estas reglas */

    /* Chain selector */
    .mi-be .mi-be-chain-select .mi-be-chain-field label {
    }
    /* Date picker */
    .mi-be-datepicker-select .DateRangePickerInput .DateInput {
        width: 96px;
    }
    /* Multiroom */
    .mi-be .mi-be-multiroom-select .mi-be-multiroom-field label {
        width: 153px;
    }
    /* Promo Code */
    .mi-be .mi-be-promo-field label input {
        width: 177px;
    }

    /* Chain selector - Dropdown */
    .mi-be .mi-be-chain-select .mi-be-chain-dropdown {
        width: 250px;
    }

    .mi-be-datepicker-select .DateRangePickerInput > * {
        margin-right:  5px;
    }

/* -------------------------------------------------------------------- */

/* Engine Box */

   /* Date picker */
    .engine-box .mi-be-datepicker-select .DateRangePickerInput .DateInput {
        width: 90px;        margin-right: 0;
    }
    /* Multiroom */
   .engine-box .mi-be .mi-be-multiroom-select .mi-be-multiroom-field label {
        width: 175px;
        }
    /* Promo Code */
   .engine-box .mi-be .mi-be-promo-field label input {
        width: 199px;
    }

 .engine-box .mi-be .DateRangePickerInput, .engine-box .mi-be .mi-be-multiroom-field, .engine-box .mi-be .mi-be-promo-field {
        margin-right: 0;
       padding: 5px;
    }


.engine-box .mi-be .DateRangePickerInput, .engine-box .mi-be .mi-be-multiroom-field {
    margin-bottom: 15px;
}

.engine-box .mi-be .DateRangePickerInput, .engine-box .mi-be .mi-be-promo-field {
    margin-right: 15px;
}

.mi-be-square .mi-be .mi-be-promo-field {
    margin-top: 42px;
}

.mi-be-square .mi-be-promo-field .call-promo {
    top: -2px;
}


/* engine container */

.engine-wrapper div[data-mirai-engine="mirai_be"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
body .mi-be {
    background: white;
    padding: 10px;
    font-size: 14px;
    float: left;
    color: #000;
    text-transform: uppercase;
}

/* input fields (common styles) */
.mi-be .mi-be-chain-field,
.mi-be .DateRangePickerInput,
.mi-be .mi-be-multiroom-field,
.mi-be .mi-be-promo-field {
    padding: 10px;
    background-color: #fff;
    margin-right: 12px;
    border: solid 2px #444444;
    /*border-radius: 0;*/
}

/* input elements and button height */
.mi-be .mi-dropdown .mi-dropdown-button label,
.mi-be .mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input,
.mi-be .mi-be-promo-field label input,
.mi-be .mi-be-book-btn {
    line-height: 50px; /* optional */
    height: 50px; /* same than line-height - ie11 fix */
    text-transform: uppercase;
}

/* placeholders */
.mi-be .mi-dropdown .mi-dropdown-placeholder,
.mi-be input[type=text]::-webkit-input-placeholder {color: #000;}
.mi-rs input[type=text]::-webkit-input-placeholder {color: #000;}
.mi-be input[type=text]::-moz-placeholder {color: #000;}
.mi-rs input[type=text]::-moz-placeholder {color: #000;}
.mi-be input[type=text]:-moz-placeholder {color: #000;}
.mi-rs input[type=text]:-moz-placeholder {color: #000;}
.mi-be input[type=text]:-ms-input-placeholder {color: #000;}
.mi-rs input[type=text]:-ms-input-placeholder {color: #000;}



/* ICONS */

/* info icons (date picker, multiroom & promo) */
.mi-be .mi-be-datepicker-select .DateRangePickerInput .DateRangePickerInput_calendarIcon,
.mi-be .mi-be-multiroom-field span.mi-ico-dropdown,
.mi-be .mi-be-promo-field span.mi-ico-code {
    font-size: 16px;
    color: #000;
}

/* date picker arrow */
.mi-be-datepicker-select .DateRangePickerInput .DateRangePickerInput_arrow svg {
    fill: #757575;
}

/* dropdowns arrows */
.mi-be .mi-dropdown .mi-dropdown-button .mi-ico-arrow-down-dark {
    color: #757575; /* same color than date picker arrow */
}


/* DATEPICKER (engine & no dispo) */

/* selected & hover dates */
.CalendarDay__selected_span,
.CalendarDay__selected_span:hover,
.CalendarDay__selected_span:active,
.CalendarDay__hovered_span,
.CalendarDay__hovered_span:active,
.CalendarDay__default:hover,
.CalendarDay__selected_start,
.CalendarDay__selected_start:hover,
.CalendarDay__selected_start:active,
.mi-na-option-date .CalendarDay__selected_span,
.mi-na-option-date .CalendarDay__selected_span:hover,
.mi-na-option-date .CalendarDay__selected_span:active,
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused,
.mi-na-option-date .CalendarDay__hovered_span,
.mi-na-option-date .CalendarDay__hovered_span:active,
.mi-na-option-date .CalendarDay__default:hover,
.mi-na-option-date .CalendarDay__selected_start,
.mi-na-option-date .CalendarDay__selected_start:hover,
.mi-na-option-date .CalendarDay__selected_start:active,
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused, 
.mi-be.mi-be-mobile .mi-be-modal .mi-be-modal-main .mi-be-modal-fields input.DateInput_input__focused {
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    background-color: #f4dbe8;
    color: #56595b;
}

/* placeholder selected input in datepicker - (same color than "selected & hover dates") */
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused::-webkit-input-placeholder {color: #56595b}
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused:-ms-input-placeholder {color: #56595b}
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused::placeholder {color: #56595b}
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused::-webkit-input-placeholder {color: #56595b}
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused:-moz-placeholder {color: #56595b}
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused:-ms-input-placeholder {color: #56595b}

/* last selected day */
.CalendarDay__selected_end,
.CalendarDay__selected_end:hover,
.CalendarDay__selected_end:active,
.mi-na-option-date .CalendarDay__selected_end,
.mi-na-option-date .CalendarDay__selected_end:hover,
.mi-na-option-date .CalendarDay__selected_end:active {
    background-color: #8F0349;
    color: #fff;
}


/* ALL ACTION BUTTONS (Book included) - only appearance, none position/display or padding/margin or font appearance */
.mi-be .mi-be-book-btn,
.mi-rs .mi-rs-cart-btn,
.mi-rs .mi-rs-add-btn,
.mi-rs .mi-na-option-date-btn,
.mi-rs .mi-na-option-hotel-btn,
.mi-rs .mi-cf-form-data-btn,
button.mi-modal-close-btn,
.mi-rs .mi-rs-rate-select-room-btn,
.mi-be.mi-be-mobile .mi-be-modal .mi-be-multiroom-footer .mi-be-multiroom-footer-confirm,
.mi-be.mi-be-mobile .mi-be-modal .mi-be-modal-footer .mi-be-date-picker-confirm {
    color: #fff;
    background-color: #a51b5b;
    border-radius: 0;
    border: solid 2px #a51b5b;
    -webkit-transition: .3s all;
    transition: .3s all;
	/* don't add more properties use "engine booking button styles" */
}

.mi-be .mi-be-book-btn:hover,
.mi-rs .mi-rs-cart-btn:hover,
.mi-rs .mi-rs-add-btn:hover,
.mi-rs .mi-na-option-date-btn:hover,
.mi-rs .mi-na-option-hotel-btn:hover,
.mi-rs .mi-cf-form-data-btn:hover,
button.mi-modal-close-btn:hover,
.mi-rs .mi-rs-rate-select-room-btn:hover,
.mi-be.mi-be-mobile .mi-be-modal .mi-be-multiroom-footer .mi-be-multiroom-footer-confirm:hover,
.mi-be.mi-be-mobile .mi-be-modal .mi-be-modal-footer .mi-be-date-picker-confirm:hover {
    background-color: #8F0349;
    border: solid 2px #8F0349;
}

/* ENGINE BOOKING BUTTON */
.mi-be .mi-be-book-btn {
        width: 183px;
        font-size: 1.2em;
        letter-spacing: 2px;
}

html[lang="ru"] .mi-be .mi-be-book-btn {
    font-size: 1.1em;
}

.engine-box .mi-be .mi-be-book-btn {
    width: 225px;
    padding: 5px;
    color: #fff !important;
}


/* ------------- BOOKING PROCESS ------------- */

/* LINKS */

/* general links (same color than web links) */
.mi-rs .mi-rs-room-occupation-btn,
.mi-rs .mi-rs-room-detail-btn,
.mi-rs-rate-see-more-btn,
.mi-rs-suggestion-btn,
.react-tabs [role=tab][aria-selected=true],
.react-tabs [role=tab]:hover,
.mi-rs-modal-occupation-btn:hover .mi-rs-occupation-text-legend span:first-child, 
.mi-rs-modal-occupation-btn.selected .mi-rs-occupation-text-legend span:first-child, 
.mi-rs-modal-occupation-btn.people:hover, 
.mi-rs-modal-occupation-btn.people.selected,
.mi-rs-back-to-room-selection,
.mi-na-view-all-results,
.mi-rs-cart-item-edit-btn,
.mi-be-datepicker-info-panel .mi-be-datepicker-clear-dates button,
.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown ul li .mi-be-multiroom-title .mi-be-multiroom-remove,
.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown .mi-be-multiroom-footer  .mi-be-multiroom-footer-add,
.mi-na-option-hotel > h4,
.mi-rs .mi-cancelation-payment-link,
.mi-rs .mi-privacy-policy-link,
.mi-rs .mi-cf-form-data-link-back,
.mi-rs .mi-cf-error-link-back,
.mi-cf-form-data form .mi-cf-form-data-additionals div[class*="mi-cf-form-data-additionals-"] a,
.mi-rs .mi-rc-btn,
.mi-rc-reservation-address .mi-rc-reservation-address-mail-link,
.mi-rc-reservation-address .mi-rc-reservation-address-web-link,
.mi-rs .mi-rc-reservation-code .mi-rc-reservation-code-expired-link,
.mi-be-modal .mi-be-modal-header button.mi-be-modal-clear-date {
    color: #8F0349;
}

/* links hover */
.mi-rs .mi-rs-room-occupation-btn:hover,
.mi-rs .mi-rs-room-detail-btn:hover,
.mi-rs-rate-see-more-btn:hover,
.mi-rs-suggestion-btn:hover,
.mi-rs-back-to-room-selection:hover,
.mi-na-view-all-results:hover,
.mi-rs-cart-item-edit-btn:hover,
.mi-be-datepicker-info-panel .mi-be-datepicker-clear-dates button:hover,
.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown ul li .mi-be-multiroom-title .mi-be-multiroom-remove:hover,
.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown .mi-be-multiroom-footer  .mi-be-multiroom-footer-add:hover, 
.mi-na-option-hotel > h4:hover,
.mi-rs .mi-cancelation-payment-link:hover,
.mi-rs .mi-privacy-policy-link:hover,
.mi-rs .mi-cf-form-data-link-back:hover,
.mi-rs .mi-cf-error-link-back:hover,
.mi-cf-form-data form .mi-cf-form-data-additionals div[class*="mi-cf-form-data-additionals-"] a:hover,
.mi-rs .mi-rc-btn:hover,
.mi-rc-reservation-address .mi-rc-reservation-address-mail-link:hover,
.mi-rc-reservation-address .mi-rc-reservation-address-web-link:hover
.mi-rs .mi-rc-reservation-code .mi-rc-reservation-code-expired-link:hover,
.mi-be-modal .mi-be-modal-header button.mi-be-modal-clear-date:hover {
    color: #610533;
}

/* selected & hovered occupation (room selection), selected tab, +/- multiroom buttons, radio & checkbox */
.mi-rs-modal-occupation-btn:hover,
.mi-rs-modal-occupation-btn.selected,
.react-tabs [role=tab][aria-selected=true],
.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown ul li .mi-be-multiroom-option-adult span.react-numeric-input b,
.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown ul li .mi-be-multiroom-option-children span.react-numeric-input b,
.mi-radio-container input[type="radio"]:checked + .mi-radio-ico:before,
.mi-be.mi-be-mobile .mi-be-modal .mi-be-multiroom-footer .mi-be-multiroom-footer-add,
.mi-be.mi-be-mobile .mi-be-modal .mi-be-multiroom-footer .mi-be-multiroom-footer-confirm,
.mi-checkbox-container input[type="checkbox"]:checked + .mi-checkbox-ico:before {
    border-color: #8F0349 !important; /* color links */
}

/* +/- multiroom buttons, checked checkbox */
.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown ul li .mi-be-multiroom-option-adult span.react-numeric-input b i,
.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown ul li .mi-be-multiroom-option-children span.react-numeric-input b i,
.mi-checkbox-container input[type="checkbox"]:checked + .mi-checkbox-ico:before {
    background-color: #8F0349 !important; /* color links */
}

/* CORPORATIVE DETAILS (principal color) */
/* line on client form, input focused at client form, selected credit card */
div[data-mirai-engine="mirai_cf"] .mi-rs,
div[data-mirai-engine="mirai_mr"] .mi-rs,
.mi-rs .mi-field-group.focused .mi-input-text,
.mi-rs .mi-field-group.focused .mi-textarea,
.mi-cf-form-data form .mi-cf-form-data-payment .mi-cf-form-data-payment-title img.selected,
.mi-rc-reservation-code,
.mi-rc-reservation-address,
.mi-rc-reservation-data,
.mi-rc-reservation-detail,
.mi-rc-reservation-price,
.mi-rc-reservation-payment,
.mi-rc-reservation-cancellation,
.mi-rc-reservation-privacy  {
    border-color: #8F0349;
}

/* LOADING booking proccess (principal color) */
.mi-rs.loading .mi-loading .mi-loading-scope .mi-loading-icon div {
    border-color: #8F0349 transparent #8F0349 transparent;
}


/* ----------------- ENGINE IN MODAL -------------- */

#modal-engine-wrapper, #modal-engine-wrapper modal-body, #menu-wrapper, #menu-wrapper .modal-body {
    overflow: visible;
}

/* ----------------- ENGINE IN SQUARE ----------------- */

.mi-be-square {
    text-align: center;
}

.mi-be-square .mi-be {
    display: inline-block;
    /* width chain selector needs width, same than data range picker */
    /*width: 313px;*/
}

/* fields wrappers */
.mi-be-square .mi-be .mi-be-chain-field,
.mi-be-square .mi-be .mi-be-datepicker-select,
.mi-be-square .mi-be .mi-dropdown,
.mi-be-square .mi-be .mi-be-promo-field,
.mi-be-square .mi-be .mi-be-book-btn {
    display: block;
}

/* input fields */
.mi-be-square .mi-be .mi-be-chain-field,
.mi-be-square .mi-be .DateRangePickerInput,
.mi-be-square .mi-be .mi-be-multiroom-field,
.mi-be-square .mi-be .mi-be-promo-field {
    margin-right: 0;
    margin-bottom: 5px;
    text-align: left;
    padding: 10px 20px;
}

/* input elements */
.mi-be-square .mi-be .mi-dropdown .mi-dropdown-button label,
.mi-be-square .mi-be .mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input,
.mi-be-square .mi-be .mi-be-promo-field label input,
.mi-be-square .mi-be .mi-be-book-btn {
    line-height: 3em;
    height: 3em;  /* same than line-height - ie11 fix */
}

/* button */
.mi-be-square .mi-be .mi-be-book-btn {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* info icons */
.mi-be-square .mi-be .mi-be-datepicker-select .DateRangePickerInput .DateRangePickerInput_calendarIcon,
.mi-be-square .mi-be .mi-be-multiroom-field span.mi-ico-dropdown,
.mi-be-square .mi-be .mi-be-promo-field span.mi-ico-code {
    font-size: 1.6em;
}

/* icon arrow position */
.mi-be-square .mi-be .mi-dropdown .mi-dropdown-button .mi-ico-arrow-down-dark {
    position: absolute;
    right: 20px; /* same than field wrappers horizontal padding */
    top: 50%;
    margin-top: -7px; /* negative half font-size */
}

/* input selectors (icon arrow has changed) */
.mi-be-square .mi-be .mi-dropdown .mi-dropdown-button > *:nth-last-child(2) {
    margin-right: 0;
    padding-right: 25px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    max-width: 100%;
    width: auto;
}

#menu-wrapper .mi-be .mi-be-chain-field, #menu-wrapper .mi-be .DateRangePickerInput, #menu-wrapper .mi-be .mi-be-multiroom-field, #menu-wrapper .mi-be .mi-be-promo-field {
    border: 0;
}

#menu-wrapper .mi-be {
    background: transparent;
    padding: 0;
}
/*
.engine-box .mi-be .DateRangePickerInput, .engine-box .mi-be .mi-be-multiroom-field {
    margin-bottom: 40px;
}
*/
.engine-box.white-text .mi-be .CalendarDay__blocked_calendar {
    color: #dedede !important;
}

/* MEDIA QUERIES */

@media (max-width: 1200px) {

       /* Multiroom */
   .engine-box .mi-be .mi-be-multiroom-select .mi-be-multiroom-field label {
        width: 137px;
    }
    
     /* Booking Btn */
    .engine-box .mi-be .mi-be-book-btn {
        width: 157px;
    }
    
       /* Promo Code */
   .engine-box .mi-be .mi-be-promo-field label input {
        width: 204px;
    }
    
    .mi-be .mi-be-datepicker-select .DateRangePickerInput .DateRangePickerInput_calendarIcon, .mi-be .mi-be-multiroom-field span.mi-ico-dropdown, .mi-be .mi-be-promo-field span.mi-ico-code {
    	display: none;
    }
    
}
/* Small screens like iPad Portrait */
@media (min-width: 768px) and (max-width: 979px) {
	.mi-be .mi-be-book-btn {
        width: auto;
    }

    .mi-be .mi-be-multiroom-select .mi-be-multiroom-field label {
        width: 110px;
    }

    .mi-be .mi-be-promo-field label input {
        width:  110px;
    }

    .mi-be .mi-be-chain-field, .mi-be .DateRangePickerInput, .mi-be .mi-be-multiroom-field, .mi-be .mi-be-promo-field {
        margin-right:  6px;
    }
    
    .engine-box .mi-be .mi-be-multiroom-select .mi-be-multiroom-field label {
        width: 224px;
    }

    .engine-box .mi-be .mi-be-promo-field label input {
        width: 248px;
    }

    .engine-box .mi-be .mi-be-book-btn {
        width: 248px;
        margin-top:  14px;
    }

    .engine-box .mi-be-datepicker-select .DateRangePickerInput .DateInput {
        width: 112px;
    }
}

/* iphone portrait & landscape - galaxy portrait & lanscape */
@media (max-device-width: 767px) {
    /* hidding new engine */

    
    .mi-be.mi-be-mobile .mi-be-modal .mi-be-modal-footer .mi-be-datepicker-info-text {
        text-transform: none;
    }
    
    .mi-be-square .mi-be .mi-be-promo-field {
    	margin-top: 0;
    }
    
        div[data-mirai-engine="mirai_rs"] .mi-be.mi-be-mobile {
        background: none;
        padding: 0;
        margin: 0;
        box-shadow: none;
    }
    
    div[data-mirai-engine="mirai_rs"] .mi-be .mi-dropdown .mi-dropdown-button label,div[data-mirai-engine="mirai_rs"] .mi-be .mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input,div[data-mirai-engine="mirai_rs"] .mi-be .mi-be-promo-field label input,div[data-mirai-engine="mirai_rs"] .mi-be .mi-be-book-btn {
        line-height: 3rem;
        height: 3rem;
        text-transform: none;
    }
    
    .mi-be .mi-be-datepicker-select .DateRangePickerInput .DateRangePickerInput_calendarIcon, .mi-be .mi-be-multiroom-field span.mi-ico-dropdown, .mi-be .mi-be-promo-field span.mi-ico-code {
        display: inline-block;
    }
}

/* fix calendar position for short screens */
@media (max-height : 850px) and (min-width: 1025px) {
    @media (max-height: 850px) and (min-width:768px) {
    #booking-modal .mi-be .mi-dropdown.is-open.open-up .mi-dropdown-layout,#booking-modal .mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openUp,.menu-open .mi-be .mi-dropdown.is-open.open-up .mi-dropdown-layout,.menu-open .mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openUp {
        -webkit-transform: translate(0%,-50%);
        transform: translate(0%,-50%);
        left: 0!important;
        margin-top: 0
    }

    #booking-modal .mi-be .mi-dropdown.is-open.open-down .mi-dropdown-layout,#booking-modal .mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openDown {
        -webkit-transform: translate(35%,-40%);
        transform: translate(0%,-50%);
        left: 0!important;
        margin-top: 0
    }

    .menu-open .mi-be .mi-dropdown.is-open.open-down .mi-dropdown-layout,.menu-open .mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openDown {
        -webkit-transform: translate(35%,-40%);
        transform: translate(0%,-50%);
        left: 0!important;
        margin-top: 0;
    }

    #booking-modal .mi-be .mi-dropdown .mi-dropdown-layout:before,#booking-modal .mi-be-datepicker-select .DateRangePicker_picker:before,#booking-modal .mi-be .mi-dropdown .mi-dropdown-layout:after,#booking-modal .mi-be-datepicker-select .DateRangePicker_picker:after {
        display: none!important
    }

    .menu-open .mi-be .mi-dropdown .mi-dropdown-layout:before,.menu-open .mi-be-datepicker-select .DateRangePicker_picker:before,.menu-open .mi-be .mi-dropdown .mi-dropdown-layout:after,.menu-open .mi-be-datepicker-select .DateRangePicker_picker:after {
        display: none!important
    }

}