/* CORE Variables */
:root{
	--corporative-color: #5D4D33;
}

/* Contola el Width de los campos con estas reglas */

/* Chain selector */
.mi-be .mi-be-chain-select .mi-be-chain-field label {
  width: 175px;
}
/* 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 {
  width: 100px;
}
/* Chain selector - Dropdown */
.mi-be .mi-be-chain-select .mi-be-chain-dropdown {
    width: 350px;
}

.mi-be .mi-be-chain-select .mi-be-chain-dropdown ul li.is-location {
    background-color: #beaa7c;
    color:white;
    letter-spacing: .7px;
    text-transform: uppercase;
    font-size: 14px;
}

body .mi-be, body .mi-rs, body .mi-modal {
}

/* engine container */
body .mi-be {
  background: rgba(255,255,255,.8);
  font-size: 14px;
  color: #3D3D3D;
  padding: 13px 0 18px;
}

/* 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;
  margin-top: 5px;
  border: 1px solid #987e52;
  /*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: 40px; /* optional */
	height: 40px; /* 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 {
  display: none;
}

/* date picker arrow */
.mi-be-datepicker-select .DateRangePickerInput .DateRangePickerInput_arrow svg {
    fill: #c8b58a;
}

/* dropdowns arrows */
.mi-be .mi-dropdown .mi-dropdown-button .mi-ico-arrow-down-dark {
    color: #c8b58a; /* same color than date picker arrow */
}


/* DATEPICKER (engine & no dispo) */

/* selected & hover dates */
.CalendarDay__selected_start,
.CalendarDay__selected_start:hover,
.CalendarDay__selected_start:active,
.CalendarDay__selected_span,
.CalendarDay__selected_span:hover,
.CalendarDay__selected_span:active,
.CalendarDay__hovered_span,
.CalendarDay__hovered_span:active,
.CalendarDay__default:hover,
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused,
.mi-be-datepicker-select .DateRangePickerInput .DateInput .DateInput_input__focused::-webkit-input-placeholder,
.mi-na-option-date .CalendarDay__selected_start,
.mi-na-option-date .CalendarDay__selected_start:hover,
.mi-na-option-date .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 {
     -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: #c8b58a;
    color: #fff;
}

/* first & last selected days */
.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: #987e52;
    color: #fff;
}


/* ALL ACTION BUTTONS (Book included) - only appearance, none position/display or padding/margin or font appearance */
[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.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: #000;
    background-color: #c8b58a;
    border-radius: 0;
    border: 0;
}

[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.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: #987e52;
}

/* ENGINE BOOKING BUTTON */
.mi-be .mi-be-book-btn {
  margin-top: 5px;
}


/* BOOKING PROCESS */


/* 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: #987e52;
}


/* LOADING booking proccess (principal color) */
.mi-rs.loading .mi-loading .mi-loading-scope .mi-loading-icon div {
    border-color: #987e52 transparent #987e52 transparent;
}


/* LINKS */

/* general links (same color than web links) */
.mi-s-color-link,
.mi-s-color-link-wrapper a,
.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: #987e52;
}

.mi-s-color-link:hover,
.mi-s-color-link-wrapper a: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: #c8b58a;
}

/* selected & hovered occupation (room selection), selected tab, +/- multiroom buttons */
.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: #987e52 !important; /* color links */
}

/* +/- multiroom buttons */
.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: #987e52 !important; /* color links */
}

.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown .mi-be-multiroom-footer .mi-be-multiroom-footer-confirm{
    background: #c9b588;
    font-weight: bold;
    text-transform: uppercase;
}

.mi-be .mi-be-multiroom-select .mi-be-multiroom-dropdown .mi-be-multiroom-footer .mi-be-multiroom-footer-confirm:hover {
    background: #c9b5887d;
}

/* ENGINE IN MODAL */

#engine-modal, #engine-modal .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;
}
.mi-be-square .mi-be .mi-be-chain-select .mi-be-chain-dropdown {
  width: 100%;
}

/* 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;
}

/* 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;
}

/* 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.1em;
    display: inline-block;
}

/* 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;
}


.DayPicker__hidden {
    visibility: visible!important;
}




/* MEDIA QUERIES */
/*CAMPOS MOTOR DESPLIEGAN HACIA ABAJO*/
@media (max-height: 850px) {
.mi-be .mi-dropdown.is-open.open-up .mi-dropdown-layout,
.mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openUp {
   bottom: auto;
   margin-bottom: 0;
   top: 100%;
   margin-top: 14px;
   background: #fff;
   height: fit-content;
}

.mi-be .mi-dropdown.open-down .mi-dropdown-layout:after,
.mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openDown:after {

}
.mi-be .mi-dropdown.open-up .mi-dropdown-layout:before,
.mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openUp:before {
   top: -11px;
   bottom: auto;
   border: 10px solid transparent;
   border-top: 0;
   border-bottom-color: rgba(0, 0, 0, 0.1);
}
.mi-be .mi-dropdown.open-up .mi-dropdown-layout:after,
.mi-be-datepicker-select .DateRangePicker_picker.DateRangePicker_picker__openUp:after {
   bottom: auto;
   top: -10px;
   border-bottom: 10px solid #fff;
   border-top: 0;
}
}

/* Small screens like iPad Portrait */
@media (min-width: 768px) and (max-width: 979px) {
  .mi-be form {
    max-width: 650px;
  }
  .mi-be .mi-be-book-btn {
    width: 150px;
    padding: 10px 0;
    margin-right: 5px;
  }
  .mi-be .mi-be-promo-field label input {
    width: 130px;
  }

}



/* MOBILE */

@media (max-width: 768px) {

  .engine-wrapper [data-mirai-engine] {
    display: none;
  }
  [data-mirai-engine='mirai_be'] .mi-be.mi-be-mobile {
    font-size: calc(1px + 3.8vw);
  }
  #booking-modal .mi-be-square {
    padding: 20px 10px;
  }
  #booking-modal .mi-be-square .mi-be {
    width: auto;
  }

}



/* ==================================================================================== */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VARIABLES */
/* ==================================================================================== */



:root {

  /* --corporative-color: #c8b58a;
  color corporativo */
  --text-color__over-corporative-color: #fff;
  /* color texto sobre color corporativo 
  --corporative-text-color: #987e52; */
  /* 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;
}



/* ==================================================================================== */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COOKIES */
/* ==================================================================================== */



@media (max-width: 768px) {

  #cookies-alert-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space) calc(var(--space) + 2px);
    background-color: #171717;
    color: #cecece;
    box-sizing: border-box;
    font-size: 14px;
    width: 100%;
    z-index: 20;
    opacity: 0;
    transform: translateY(20px);
    animation: hello-cookie 1.1s forwards;
  }

  #cookies-alert-wrapper .container {
    padding: 0;
  }

  #cookies-alert-wrapper p {
    margin: 0;
    line-height: 1.5;
    font-size: .9rem;
    color: #cecece;
  }

  #cookies-alert-wrapper .container p span {
    display: contents;
  }

  #cookies-alert-wrapper a:first-child {
    color: #88c5fb;
    text-decoration: underline;
    margin: 0;
  }

  #cookies-alert-wrapper a:nth-child(2) {
    display: block;
    border: 1px solid;
    font-size: 1.2em;
    padding: calc(var(--space) * 1.5);
    margin: var(--space) 0 0;
    text-align: center;
    color: #fff;
    border-radius: var(--border-radius);
    text-decoration: none;
    line-height: 1.2;
  }

  @keyframes hello-cookie {
    60% {
      opacity: 0;
      transform: translateY(20px)
    }

    100% {
      opacity: 1;
      transform: translateY(0)
    }
  }
}

/* ================================================================================== */

/*--- CORE ---*/
[data-role="login"] > ui-view > ui-icon,
[data-role="login"] > ui-view > ui-text,
div#header-info a {
	color: var(--corporative-color) !important;
}

[data-mirai-component="session"] > [data-role="account"] > ui-menu > ui-pressable > ui-view {
	padding-top: 0;
}

header .affix [data-mirai-component="session"] > [data-role="account"] > ui-menu > ui-pressable > ui-view > ui-view:last-of-type {
	display: none;
}

[data-mirai-component="signup"] #signup-country {
	height: auto !important;
}

.club__container {
	flex-flow: row wrap;
    justify-content: center;
}

.club__container .adv-club__wrapper + .container {
	width: 50%;
}

@media (max-width: 980px) {
	.club__container .adv-club__wrapper + .container {
		width: 100%;
	}
}