/* 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: #7f7f7f;
    font-size: 14px;
    color: #3D3D3D;
    padding: 10px 0;
}

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

/* 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: 30px; /* optional */
    height: 30px; /* 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;}
*/

#modalAjustesCookies,
#modalCookies {
    overflow-y: auto;
}
#abrirConfiguracionCookies {
    margin-bottom: 20px;
}
/* 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: #00316f;
}

/* 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: #b5c0ce;
    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: #00316f;
    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: #00316f;
    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: #012451;
}

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

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

/* 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: #00316f !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: #00316f !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: #00316f;
}

/* LOADING booking proccess (principal color) */
.mi-rs.loading .mi-loading .mi-loading-scope .mi-loading-icon div {
    border-color: #00316f transparent #00316f 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;
}

/*    bookingstep     */


/*Styles for header*/

#logo {
    margin: 0 auto;
    width:500px;
    padding: 25px 0;
}

#logo a {
    display: block;
    margin: 0 auto;
    background: url(logoPalafoxHoteles.png) no-repeat 0 0 transparent;
    background-position: center center !important;
    height: 100px;
    width: 100%;
    background-color: #00316f;
}

.alfonso #logo a {
  background: url("alfonso.png") no-repeat 0 0 transparent;
}
.goya #logo a {
  background: url("goya.png") no-repeat 0 0 transparent;
}
.hiberus #logo a {
  background: url("hiberus.png") no-repeat 0 0 transparent;
}
.palafox #logo a {
  background: url("palafox.png") no-repeat 0 0 transparent;
}
.reina #logo a {
  background: url("reina.png") no-repeat 0 0 transparent;
}
.victoria #logo a {
  background: url("victoria.png") no-repeat 0 0 transparent;
}

/*Styles for chain results*/
.hotel-price button {
    background: #00316f;
    border: 1px solid #00316f;

}
.hotel-price button:hover {
    background: #012451;
    border: 1px solid #012451;
}
.hotel-name a:hover {
    color: #012451;
}

.mi-chain_results #header {
    background: #00316f;
}

/* advantages */

#advantages-list {
    padding-top: 10px;
    text-align: center;
    background: #e6e6e6;
}

#advantages-list h3 {
    font-size: 22px;
    font-family: Verdana;
    color: #013370;
}

#advantages-list ul {
    padding: 20px 0;
    max-width: 1200px;
    margin: auto;
}

#advantages-list li {
    padding: 10px;
    vertical-align: top;
    display: table-cell;
    min-width: 100px;
}

#advantages-list img {
    width: auto;
    height: 40px;
    opacity: .7;
}

#advantages-list p {
    margin-top: 10px;
    font-size: 13px;
    color: #253568;
    font-weight: bold;
    text-transform: uppercase;
}

#advantages-list p span {
    text-transform: none;
    font-size: 11px;
}

/*------------ Advantage diferentes por hotel---------- */

.celebris-adv, .leon-adv {
    display: none;
}

.victoria .aragonia-adv {
    display: none;
}

.victoria .leon-adv {
    display: block;
}

.hiberus .aragonia-adv {
    display: none;
} 

.hiberus .celebris-adv {
    display: block;
} 


[class^="mi-"] .mi-s-button, [class^="mi-"] .mi-s-color-button, .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-mobile .mi-be-modal .mi-be-multiroom-footer .mi-be-multiroom-footer-confirm, .mi-be-mobile .mi-be-modal .mi-be-modal-footer .mi-be-date-picker-confirm {
    background-color: #00316f;
    color: #fff;
	border-radius: 0!important;
}

[class^="mi-"] .mi-s-button:hover, [class^="mi-"] .mi-s-color-button:hover, .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-mobile .mi-be-modal .mi-be-multiroom-footer .mi-be-multiroom-footer-confirm:hover, .mi-be-mobile .mi-be-modal .mi-be-modal-footer .mi-be-date-picker-confirm:hover {
    background-color: #012451;
}

/* MEDIA QUERIES */

@media (max-device-width: 767px) {
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VARIABLES */

:root {

    --corporative-color: #00316f;
    /* color corporativo */
    --text-color__over-corporative-color: #fff;
    /* color texto sobre color corporativo */
    --corporative-text-color: #00316f;
    /* color enlaces */
    --border-radius: 0px;
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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;
}

}


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

    body .mi-be form {
        max-width: 600px;
    }
         .mi-be .mi-be-chain-select .mi-be-chain-field label {
        width:242px
    }

    .mi-be-datepicker-select .DateRangePickerInput .DateInput {
        width: 100.5px
    }

    .mi-be .mi-be-multiroom-select .mi-be-multiroom-field label {
        width: 119px
    }

    .mi-be .mi-be-promo-field label input {
        width: 143px
    }

    .mi-be .mi-be-book-btn,.bookingstep1 .mi-be .mi-be-book-btn {
        width: 149px
    }

    .mi-be .mi-be-chain-field,.mi-be .DateRangePickerInput {
        margin-bottom: 5px
    }

    .mi-be .DateRangePickerInput {
        margin-right: 0
    }


}

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


 



