/* Contola el Width de los campos con estas reglas */

    /* Chain selector */
    .mi-be .mi-be-chain-select .mi-be-chain-field label {
        width: 150px;
    }
    /* Date picker */
    .mi-be-datepicker-select .DateRangePickerInput .DateInput {
    }
    /* Multiroom */
    .mi-be .mi-be-multiroom-select .mi-be-multiroom-field label {
    }
    /* Promo Code */
    .mi-be .mi-be-promo-field label input {
    }

    /* Chain selector - Dropdown */
    .mi-be .mi-be-chain-select .mi-be-chain-dropdown {
        width: 250px;
    }

/* -------------------------------------------------------------------- */

/* engine container */
body .mi-be {
    background: #616161;
    color: #3D3D3D;
    font-size: 14px;
    padding: 7px 0;
}

body {
    margin: 0;
    font-family: Raleway, Arial;
}

.mi-be td {
    padding: inherit;
    vertical-align: middle;
}

/* 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: 5px;
    /*border: 0;*/
    /*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: 35px; /* optional */
    height: 35px; /* same than line-height - ie11 fix */
}

/* placeholders */
/*.mi-be .mi-dropdown .mi-dropdown-placeholder,
.mi-be input[type=text]::-webkit-input-placeholder {color: #96999C;}
.mi-rs input[type=text]::-webkit-input-placeholder {color: #96999C;}
.mi-be input[type=text]::-moz-placeholder {color: #96999C;}
.mi-rs input[type=text]::-moz-placeholder {color: #96999C;}
.mi-be input[type=text]:-moz-placeholder {color: #96999C;}
.mi-rs input[type=text]:-moz-placeholder {color: #96999C;}
.mi-be input[type=text]:-ms-input-placeholder {color: #96999C;}
.mi-rs input[type=text]:-ms-input-placeholder {color: #96999C;}
*/


/* 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: #797515;
}

/* 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-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 {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    background-color: #dedc9e;
    color: #56595b;
}

/* placeholder selected input in datepicker - (same color than "selected & hover dates") */
.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: #bbb622;
    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 {
    color: #fff;
    background-color: #a5a026;
    border-radius: 0;
    border: 0;
    -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 {
    background-color: #d0c917;
}

/* ENGINE BOOKING BUTTON */
.mi-be .mi-be-book-btn {
    
}


/* ------------- 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 {
    color: #a5a026;
}

/* 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 {
    color: #d0c917;
}

/* 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-checkbox-container input[type="checkbox"]:checked + .mi-checkbox-ico:before {
    border-color: #a5a026 !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: #a5a026 !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: #a5a026;
}

/* LOADING booking proccess (principal color) */
.mi-rs.loading .mi-loading .mi-loading-scope .mi-loading-icon div {
    border-color: #a5a026 transparent #a5a026 transparent;
}


/* ----------------- ENGINE IN MODAL (bootstrap or mirai modal) -------------- */

#engine-modal.modal, #engine-modal.modal .modal-body,
#engine-modal.mirai-modal .mi-modal-content, #engine-modal.mirai-modal .mi-modal-content > div {
    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;
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
}




/* MEDIA QUERIES */


/* Small screens like iPad Portrait */
@media (min-width: 768px) and (max-width: 979px) {

}

/* fix calendar position for short screens */
@media (max-height : 850px) and (min-width: 768px) {
    #engine-modal .mi-be .mi-dropdown.is-open.open-up .mi-dropdown-layout,
    #engine-modal .mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openUp {
        -webkit-transform: translate(-50%,50%);
        transform: translate(-50%,50%);
        left: 50%!important;
        margin-bottom: 0;
    }
    #engine-modal .mi-be .mi-dropdown.is-open.open-down .mi-dropdown-layout,
    #engine-modal .mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openDown {
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
        left: 50%!important;
        margin-top: 0;
    }
    #engine-modal .mi-be .mi-dropdown .mi-dropdown-layout:before,
    #engine-modal .mi-be-datepicker-select .DateRangePicker_picker:before,
    #engine-modal .mi-be .mi-dropdown .mi-dropdown-layout:after,
    #engine-modal .mi-be-datepicker-select .DateRangePicker_picker:after {
        display: none!important;
    }
}

@media (max-width: 767px) {

    .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 {
        border: 1px solid;
    }

    .mi-be.mi-be-mobile .mi-be-book-btn.mi-be-book-btn-form {
        border: none;
    }
    
    .mim-modal-open #motor {
        z-index: 9999;
    }
    
    .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 {
        background: #bbb622;
    }

    .mi-be.mi-be-mobile .mi-be-modal .mi-be-modal-header button.mi-be-modal-clear-date {
        color: #bbb622;
    }

    .mi-be.mi-be-mobile .mi-be-modal .mi-be-multiroom-footer .mi-be-multiroom-footer-add {
        border-color: #bbb622 !important;
    }

    
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VARIABLES */

    :root {

        --corporative-color: #a5a026;
        /* color corporativo */
        --text-color__over-corporative-color: #fff;
        /* color texto sobre color corporativo */
        --corporative-text-color: #a5a026;
        /* color enlaces */
        --border-radius: 1px;
    }



    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PARCHE: BOOKING ENTRANCE IN ROOM SELECTION */

    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-be-mobile .mi-be-chain-field, 
    div[data-mirai-engine="mirai_rs"] .mi-be.mi-be-mobile .DateRangePickerInput, 
    div[data-mirai-engine="mirai_rs"] .mi-be.mi-be-mobile .mi-be-multiroom-field, 
    div[data-mirai-engine="mirai_rs"] .mi-be.mi-be-mobile .mi-be-promo-field {
        box-shadow: none;
        background: #fff;
        color: #3d3d3d;
        border: 1px solid var(--border-color);
    }

    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;
    }

    div[data-mirai-engine="mirai_rs"] .mi-be .mi-be-book-btn {
        border-radius: var(--border-radius);
    }

    div[data-mirai-engine="mirai_rs"] .mi-be .mi-be-datepicker-select .DateRangePickerInput .DateRangePickerInput_calendarIcon, 
    div[data-mirai-engine="mirai_rs"] .mi-be .mi-be-multiroom-field span.mi-ico-dropdown, 
    div[data-mirai-engine="mirai_rs"] .mi-be .mi-be-promo-field span.mi-ico-code {
        display: inline-block;
        color: #3d3d3d;
    }

    div[data-mirai-engine="mirai_rs"] .mi-be-datepicker-select .DateRangePickerInput .DateRangePickerInput_arrow svg {
        fill: #3d3d3d;
    }

    /* modal */

    div[data-mirai-engine="mirai_rs"] .mi-be.mi-be-mobile .mi-be-modal .mi-be-content-modal {
        background: #fff;
    }
    
    .mi-be.mi-be-mobile {
        background: none;
        display: block;
    }

    .mi-be.mi-be-mobile .mi-be-book-btn.mi-be-book-btn-trigger {
        display: block;
    }
}

/*Styles for header*/
.bookingstep1 #header {
    background-color: #000000;
    /*margin-bottom: 10px;*/
}
.bookingstep1 #logo {
    margin: 0 auto;
    width:500px;
    padding: 25px 0;
}
 
.bookingstep1 #logo a {
    display: block;
    margin: 0 auto;
/*start logo_*/
    background: url("logoCortijoTrifillas.png") no-repeat 0 0 transparent;
    height: 80px;
    width: 300px;
/*end logo_*/
}

