/** VARIALBES **/
:root {
  --finder-height: 200px;
  --selector-container-height: 90px;
  --xl-compacted-finder-height: 110px;
  --compacted-selector-container-height: 75px;
  --row-height: 105px;
  --row-height-mobile: 75px;
}

@media(max-width: 340px) {
  #hiperFinder .hidden-input-value,
  #hiperFinder .mobile-date-container .input-date-display {
    font-size: 14px !important;
    line-height: normal;
  }
}

@media(max-width: 300px) {
  #hiperFinder .hidden-input-value,
  #hiperFinder .mobile-date-container .input-date-display {
    font-size: 11px !important;
  }
}

#hiperFinder input,
#hiperFinder select {
  outline: none;
}

#hiperFinder {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 10px;
  width: 100%;
}

#hiperFinder .dropdown.row-height,
#hiperFinder .row-height {
  height: var(--row-height-mobile);
}

/** BUTTON **/
#hiperFinder button {
  border: 0;
  color: white;
  background-color: var(--purple-color);
  text-transform: uppercase;
  font-weight: bold;
  padding: 1em 0.75em;
  border-color: var(--purple-border-color);
  border-radius: 0;
}

#hiperFinder button:hover {
  background-color: var(--purple-light-color);
  border-color: var(--purple-border-color);
}

#hiperFinder .finder-button {
  flex: 1;
}

/** INPUT **/
#hiperFinder input,
#hiperFinder select,
#hiperFinder .form-control,
.custom-border-bottom {
  border: 0;
  border-bottom: 2px solid var(--black-color);
  border-radius: 0;
}

#hiperFinder .flatpickr-input,
#hiperFinder input.flatpickr.form-control.input {
  padding-bottom: 20px !important;
  padding-left: 5px !important;
}

#hiperFinder .hiper-desktop-date.active {
  box-shadow: var(--box-shadow-selected), var(--selected-border-top);
  z-index: 11;
}

#hiperFinder .flatpickr-calendar {
  top: 205px !important;
  -webkit-box-shadow: 0px 0px 5px 1px rgb(0 0 0 / 20%);
  -moz-box-shadow: 0px 0px 5px 1px rgb(0 0 0 / 20%);
  box-shadow: 0px 0px 5px 1px rgb(0 0 0 / 20%);
  border: 0;
  border-radius: 0px;
  width: 100% !important;
  left: 0 !important;
}

#hiperFinder select {
  padding-bottom: 3px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#hiperFinder select::-ms-expand {
  display: none;
}

#hiperFinder input {
  padding-bottom: 0;
}

#hiperFinder input {
  padding-left: 0;
}

/** FLOATING LABEL **/

#hiperFinder .input-group>.input-group-text,
#hiperFinder .form-floating>label {
  z-index: 4;
}

#hiperFinder .form-floating>.custom-floating {
  height: auto;
  top: auto;
  bottom: 0;
  left: 5px;
}

#hiperFinder .form-floating>.custom-floating,
#hiperFinder .form-floating>.form-control:not(:placeholder-shown)~label.custom-floating {
  opacity: 1;
  z-index: 7;
  font-size: 18px;
  padding: 0;
  font-weight: bold;
  width: 100%;
}

#hiperFinder .form-floating>.form-control:focus~label,
#hiperFinder .form-floating>.form-control:not(:placeholder-shown)~label,
#hiperFinder .form-floating>.form-select~label {
  transform: scale(0.7) translateY(-2.5rem) translateX(0.15rem);
}

#hiperFinder .form-floating>.form-control:not(:placeholder-shown)~label.custom-floating {

  transform: translateY(-3rem) translateX(-0.75rem) !important;
  font-size: 14px;
}


#hiperFinder .form-control:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-color: var(--black-color);
}

#hiperFinder.active .dropdown-container:not(.active) .hidden-input-value,
#hiperFinder.active .checkbox-text,
#hiperFinder.active [type='checkbox']:checked+label:before {
  opacity: var(--active-opacity);
}

#hiperFinder .double-dots {
  display: flex;
  font-weight: bold;
  align-items: flex-end;
  padding-bottom: 10px;
}

/** CHECKBOX CONTAINER **/

#returnCheckboxContainer {
  bottom: -44px;
  padding-bottom: 10px !important;
}

#returnCheckboxContainer.active {
  min-width: 175px;
}

#returnCheckboxContainer:not(.active) * {
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  font-weight: normal !important;
  font-size: 0 !important;
  bottom: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

#hiperFinder .promo-container {
  min-height: calc(1em + 8px);
  min-width: 170px;
}

#hiperFinder .age-checkbox-container {
  min-width: 170px;
  min-height: 27px;
}

#hiperFinder .promo-container,
#hiperFinder .age-checkbox-container {
  padding-left: 12px;
}

html.ua-mobile.ua-safari #hiperFinder .promo-container,
html.ua-mobile.ua-safari #hiperFinder .age-checkbox-container {
  min-width: auto;
  width: 50%;
}

/** CHECKBOX **/
#returnCheckbox:not(:checked)+label {
  padding-left: 0;
  height: var(--checkbox-height);
  width: var(--checkbox-width);
  text-indent: -9999px;
  margin-right: 0.25em;
}

#hiperFinder #ageCheckbox:not(:checked)+label,
#hiperFinder #promoCodeCheckbox:checked+label {
  width: 0;
  height: 24px;
  overflow: hidden;
  color: transparent;
}

/** Para que esté en el medio **/
#hiperFinder #ageCheckbox,
#hiperFinder #promoCodeCheckbox,
#hiperFinder #ageCheckbox+label,
#hiperFinder #promoCodeCheckbox+label {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 14px;
}

#hiperFinder #ageCheckbox+label,
#hiperFinder #promoCodeCheckbox+label {
  position: relative;
  padding-left: 5px !important;
}

#hiperFinder .promo-container .checkbox-text,
#hiperFinder .age-checkbox-container .checkbox-text {
  font-size: 12px;
}

html.ua-safari #hiperFinder .promo-container .checkbox-text,
html.ua-safari #hiperFinder .age-checkbox-container .checkbox-text,
html.ua-safari #hiperFinder #promoCodeInput,
html.ua-safari #hiperFinder #ageInput {
  font-size: 11px;
}

#hiperFinder .promo-container .checkbox-text:before,
#hiperFinder .promo-container .checkbox-text:after,
#hiperFinder .age-checkbox-container .checkbox-text:before,
#hiperFinder .age-checkbox-container .checkbox-text:after {
  font-size: 14px;
}

#hiperFinder #promoCodeInput {
  min-width: 116px;
  width: auto;
  font-weight: bold;
}

html.ua-safari #hiperFinder #promoCodeInput {
  width: 132px;
}

#hiperFinder #promoCodeInput,
#hiperFinder #ageInput {
  font-size: 12px;
}

#hiperFinder #ageInput {
  width: 85px !important;
  font-weight: bold;
}

html.ua-safari #hiperFinder #ageInput {
  width: 92px !important;
}

#hiperFinder #ageInput::-webkit-outer-spin-button,
#hiperFinder #ageInput::-webkit-inner-spin-button {
  margin-left: 5px;
}

/** Lo ocultamos en mozilla ya que `::-webkit-outer-spin-button` y `::-webkit-inner-spin-button` no estan soportados */
#hiperFinder #ageInput {
  -moz-appearance: textfield;
}

/** DROPDOWN **/
#hiperFinder .dropdown-container {
  width: 0.25em;
  padding-top: 28px;
}

#hiperFinder .hidden-input-value {
  opacity: 1;
  font-size: 20px;
  padding: 0;
  padding-bottom: 8px !important;
  font-weight: bold;
  width: 100%;
  border-bottom: 2px var(--black-color) solid;
  background-color: white;
  z-index: 1;
  text-align: center;
  min-height: auto;
}

#hiperFinder .dropdown .dropdown-menu li {
  font-size: 20px;
}

#hiperFinder .dropdown.active {
  border-top-color: var(--yellow-color);
}

#hiperFinder .cancel-button-container {
  height: calc(7 * 3px);
  width: calc(7 * 3px);
  right: 8px;
  bottom: 15px;
  cursor: pointer;
  z-index: 3;
}

#hiperFinder .cancel-button-container.active .cancel-return-button {
  background: var(--black-color);
  height: calc(7 * 3px);
  width: 3px;
  right: 9px;
  bottom: 0;
  transform: rotate(45deg);
}

#hiperFinder .cancel-button-container.active .cancel-return-button:after {
  content: '';
  left: calc(3 * -3px);
  position: absolute;
  top: calc(3 * 3px);
  background: var(--black-color);
  height: 3px;
  width: calc(7 * 3px);
}

#hiperFinder .dialog-popup .popup-buttons-container button {
  padding: 5px;
}

#hiperFinder .dialog-popup .popup-buttons-container button:not(:last-child) {
  margin-right: 5px;
}

#hiperFinder .message-popup .popup-body {
  display: flex;
  align-items: center;
}

html.ua-mobile #hiperFinder .flatpickr-input-container,
html.ua-mobile #hiperFinder .flatpickr-input-container *,
html:not(.ua-mobile) #hiperFinder .mobile-date-container,
html:not(.ua-mobile) #hiperFinder .mobile-date-container * {
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  font-weight: normal !important;
  font-size: 0 !important;
  flex-grow: 0 !important;
}

#hiperFinder .error-label {
  color: var(--red-color) !important;
}

/** FLATPICKR **/

#hiperFinder .flatpickr-input-container label.custom-floating {
  margin-left: 10px;
}

#hiperFinder .flatpickr-input-container.active label.custom-floating,
#hiperFinder .flatpickr-input-container label.custom-floating.active {
  font-size: 12px;
  transform: translateY(-3rem) translateX(-0.75rem) !important;
}

#hiperFinder.compacted .flatpickr-input-container.active label.custom-floating,
#hiperFinder.compacted .flatpickr-input-container label.custom-floating.active {
  transform: translateY(-3rem) translateX(-0.75rem) !important;
}

#hiperFinder #returnPickr.active label.custom-floating,
#hiperFinder #returnPickr label.custom-floating.active {
  font-size: 11px;
}

#hiperFinder .flatpickr-input-container input {
  font-weight: bold;
  font-size: 18px;
}

#hiperFinder .flatpickr.form-control:disabled,
#hiperFinder .flatpickr.form-control[readonly] {
  background-color: #fff;
}

#hiperFinder .flatpickr-current-month span.cur-month:hover {
  background: none;
}

#hiperFinder span.flatpickr-weekday {
  font-size: 15px;
  color: var(--black-color);
}

#hiperFinder .flatpickr-input-container.active input.flatpickr {
  z-index: 6;
  border-bottom: none;
}

#hiperFinder .flatpickr-input-container.active {
  box-shadow: var(--box-shadow-selected), var(--selected-border-top);
  z-index: 11;
}

#hiperFinder .flatpickr-calendar {
  top: 205px !important;
  -webkit-box-shadow: 30px 0px 5px 1px rgb(0 0 0 / 20%);
  -moz-box-shadow: 0px 0px 5px 1px rgb(0 0 0 / 20%);
  box-shadow: 0px 0px 5px 1px rgb(0 0 0 / 20%);
  border: 0;
  border-radius: 0px;
  width: 100% !important;
  left: 0 !important;
}

#hiperFinder.return-active .flatpickr-calendar {
  top: 290px !important;
}

#hiperFinder .flatpickr-rContainer {
  width: 100%;
}

#hiperFinder .flatpickr-days {
  width: 100% !important;
  margin-bottom: 20px;
}

#hiperFinder .dayContainer {
  width: 33.333333%;
  min-width: 33.333333%;
  max-width: 33.333333%;
}

#hiperFinder .dayContainer,
#hiperFinder .flatpickr-weekdays .flatpickr-weekdaycontainer {
  padding: 0;
}

#hiperFinder .flatpickr-calendar:before,
#hiperFinder .flatpickr-calendar:after {
  content: none;
}

#hiperFinder .flatpickr-input-container {
  background-color: #fff;
  padding: 0px 1px;
}

#hiperFinder .rangeMode .flatpickr-day {
  font-weight: bold;
  font-size: 18px;
  width: calc(100% / 7);
  max-width: calc(100% / 7);
}

#hiperFinder .flatpickr-current-month {
  padding: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  font-size: 26px;
  left: 0;
}

#hiperFinder .cur-year {
  font-size: 18px;
  text-align: right;
  padding-right: 20px;
}

#hiperFinder .flatpickr-current-month span.cur-month {
  margin-left: 0;
}

#hiperFinder .flatpickr-day.today {
  border: none;
  color: var(--purple-color);
}

#hiperFinder .flatpickr-months,
#hiperFinder .flatpickr-prev-month,
#hiperFinder .flatpickr-next-month {
  margin: 15px 0;
}

#hiperFinder .flatpickr-months {
  margin: 15px 25px;
}

#hiperFooter .hiper-desktop-date label {
  transform: translateY(-0.75rem) translateX(-0.75rem);
  bottom: 0;
}

#hiperFinder .hiper-desktop-date label.custom-floating {
  margin-left: 10px;
}

#hiperFinder .hiper-desktop-date.active label.custom-floating,
#hiperFinder .hiper-desktop-date label.custom-floating.active {
  font-size: 12px;
  transform: translateY(-3rem) translateX(-0.75rem);
}

#hiperFinder .flatpickr-day.selected,
#hiperFinder .flatpickr-day.startRange,
#hiperFinder .flatpickr-day.endRange,
#hiperFinder .flatpickr-day.selected:focus,
#hiperFinder .flatpickr-day.startRange:focus,
#hiperFinder .flatpickr-day.endRange:focus,
#hiperFinder .flatpickr-day.selected:hover,
#hiperFinder .flatpickr-day.startRange:hover,
#hiperFinder .flatpickr-day.endRange:hover,
#hiperFinder .flatpickr-day.selected.prevMonthDay,
#hiperFinder .flatpickr-day.startRange.prevMonthDay,
#hiperFinder .flatpickr-day.endRange.prevMonthDay,
#hiperFinder .flatpickr-day.selected.nextMonthDay,
#hiperFinder .flatpickr-day.startRange.nextMonthDay,
#hiperFinder .flatpickr-day.endRange.nextMonthDay,
#hiperFinder .flatpickr-day:hover,
#hiperFinder .flatpickr-day.prevMonthDay:hover,
#hiperFinder .flatpickr-day.nextMonthDay:hover,
#hiperFinder .flatpickr-day:focus,
#hiperFinder .flatpickr-day.prevMonthDay:focus,
#hiperFinder .flatpickr-day.nextMonthDay:focus,
#hiperFinder .flatpickr-day.selected.startRange,
#hiperFinder .flatpickr-day.startRange.startRange,
#hiperFinder .flatpickr-day.endRange.startRange,
#hiperFinder .flatpickr-day.selected.endRange,
#hiperFinder .flatpickr-day.startRange.endRange,
#hiperFinder .flatpickr-day.endRange.endRange,
#hiperFinder .flatpickr-day.today:hover,
#hiperFinder .flatpickr-day.today:focus {
  color: var(--black-color);
  background-color: var(--yellow-color);
  border-color: var(--yellow-color);
  border-radius: 0;
}

#hiperFinder .flatpickr-day.selected.inRange,
#hiperFinder .flatpickr-day.startRange.inRange,
#hiperFinder .flatpickr-day.endRange.inRange,
#hiperFinder .flatpickr-day.inRange,
#hiperFinder .flatpickr-day.prevMonthDay.inRange,
#hiperFinder .flatpickr-day.nextMonthDay.inRange,
#hiperFinder .flatpickr-day.today.inRange,
#hiperFinder .flatpickr-day.prevMonthDay.today.inRange,
#hiperFinder .flatpickr-day.nextMonthDay.today.inRange,
#hiperFinder .flatpickr-day.inRange {
  color: var(--black-color);
  background-color: var(--lighter-gray-color);
  border-color: var(--lighter-gray-color);
  border-radius: 0;
}

#hiperFinder .flatpickr-day:not(.endRange):hover:before,
#hiperFinder .flatpickr-day.prevMonthDay:not(.endRange):hover:before,
#hiperFinder .flatpickr-day.nextMonthDay:not(.endRange):hover:before,
#hiperFinder .flatpickr-day:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.prevMonthDay:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.nextMonthDay:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.selected.startRange:before,
#hiperFinder .flatpickr-day.startRange.startRange:before,
#hiperFinder .flatpickr-day.endRange.startRange:before,
#hiperFinder .flatpickr-day.selected.endRange:after,
#hiperFinder .flatpickr-day.startRange.endRange:after,
#hiperFinder .flatpickr-day.endRange.endRange:after {
  border-bottom: var(--border-triangle-selected-dates) solid #191919;
  border-left: var(--border-triangle-selected-dates) solid transparent;
  border-right: var(--border-triangle-selected-dates) solid transparent;
  content: '';
  pointer-events: none;
  position: absolute;
  top: calc(50% - (var(--border-triangle-selected-dates)) / 2);
  z-index: 1;
}

#hiperFinder .flatpickr-day:not(.endRange):hover:before,
#hiperFinder .flatpickr-day.prevMonthDay:not(.endRange):hover:before,
#hiperFinder .flatpickr-day.nextMonthDay:not(.endRange):hover:before,
#hiperFinder .flatpickr-day:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.prevMonthDay:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.nextMonthDay:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.selected.startRange:before,
#hiperFinder .flatpickr-day.startRange.startRange:before,
#hiperFinder .flatpickr-day.endRange.startRange:before {
  left: calc(0% - (var(--border-triangle-selected-dates)) / 2);
  transform: rotate(90deg);
}

#hiperFinder .flatpickr-day.selected.endRange:after,
#hiperFinder .flatpickr-day.startRange.endRange:after,
#hiperFinder .flatpickr-day.endRange.endRange:after {
  right: calc(0% - (var(--border-triangle-selected-dates)) / 2);
  transform: rotate(270deg);
}

#hiperFinder .flatpickr-day.inRange {
  -webkit-box-shadow: var(--box-shadow);
  box-shadow: var(--box-shadow);
}

#hiperFinder .flatpickr-day.startRange {
  -webkit-box-shadow: var(--box-shadow-right);
  box-shadow: var(--box-shadow-right);
}

#hiperFinder .flatpickr-day.endRange {
  -webkit-box-shadow: var(--box-shadow-left) !important;
  box-shadow: var(--box-shadow-left) !important;
}

#hiperFinder .flatpickr-day.startRange.endRange {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

#hiperFinder .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n + 1) .flatpickr-day.inRange:nth-child(7n + 7) {
  -webkit-box-shadow: var(--box-shadow-right) !important;
  box-shadow: var(--box-shadow-right) !important;
}

#hiperFinder .flatpickr-day.flatpickr-disabled:before,
#hiperFinder .flatpickr-day.flatpickr-disabled:after {
  content: none !important;
}

#hiperFinder .flatpickr-day.hidden {
  visibility: visible;
  height: 39px;
  opacity: 1;
}

#hiperFinder .flatpickr-calendar.open {
  z-index: 10;
}

#hiperFinder.active .flatpickr-input-container:not(.active) input.flatpickr,
#hiperFinder.active .flatpickr-input-container:not(.active) label {
  opacity: var(--active-opacity);
}

/** SELECTOR **/

:root {
  --selector-height: 390px;
  --padding-selector-type: 5px;
  --padding-selector-place: 50px;
}

#hiperFinder .h-selector {
  height: var(--selector-container-height);
}

#hiperFinder .h-selector-x2 {
  height: calc(var(--selector-container-height) * 2);
}

#hiperFinder .selector-activator {
  position: relative;
  cursor: pointer;
  border-bottom: 2px solid var(--black-color);
}

#hiperFinder .selector-activator.active {
  box-shadow: var(--box-shadow-selected);
  border-top: 3px solid var(--yellow-color);
  z-index: 99;
  background: #fff;
  border-bottom: none;
}

#hiperFinder .selector-activator.hidden,
#hiperFinder .selector-place-container {
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
}

#hiperFinder .selector-icon,
#hiperFinder .search-icon {
  transform: scaleX(-1);
  position: absolute;
}

#hiperFinder .selector-icon {
  bottom: 14px;
}

#hiperFinder .selector-search-container .search-icon {
  top: 0.6em;
}

#hiperFinder .selector-container {
  top: var(--selector-container-height);
}

#hiperFinder .selector-container.return {
  top: calc(var(--selector-container-height) * 2);
}

#hiperFinder.active .selector-activator.pickUp:not(.active) .selector-icon,
#hiperFinder.active .selector-activator.pickUp:not(.active) .selector-placeholder,
#hiperFinder.active .selector-activator.pickUp:not(.active) label,
#hiperFinder.active .selector-activator.return:not(.active) .selector-icon,
#hiperFinder.active .selector-activator.return:not(.active) .selector-placeholder,
#hiperFinder.active .selector-activator.return:not(.active) label,
#hiperFinder.active .selector-activator.pickUp:not(.active)+.selector-activator.return:not(.active)+.cancel-button-container {
  opacity: var(--active-opacity);
}

#hiperFinder .selector-label-container {
  top: 8px;
  left: 15px;
  position: absolute;
  display: flex;
  align-items: center;
}

#hiperFinder .selector-label {
  font-size: 14px;
  font-weight: bold;
}

#hiperFinder .selector-placeholder {
  margin-left: 30px;
  font-weight: bold;
  font-size: 18px;
  padding-bottom: 10px;
  max-height: 55px;
}

#hiperFinder .selector-container>div {
  z-index: 10;
  border: none;
  top: 0;
  background: white;
  max-height: var(--selector-height);
  box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 50%);
}

#hiperFinder .selector-container.pickUp>div {
  z-index: 101;
}

#hiperFinder .selector-type-container {
  z-index: 1;
  background-color: var(--yellow-color);
}

#hiperFinder .selector-type {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  padding: var(--padding-selector-type);
  cursor: pointer;
}

#hiperFinder .selector-type.active {
  background-color: var(--purple-color);
  color: white;
}

#hiperFinder .selector-place-container {
  max-height: calc(var(--selector-height) - (40px + (2 * var(--padding-selector-type))));
  z-index: 1;
  overflow-y: scroll;
  font-weight: bold;
  font-size: 18px;
}

#hiperFinder .selector-place-container.col-12.active {
  width: 100%;
}

#hiperFinder .selector-place-container.active {
  padding-left: 10px;
  height: auto;
  opacity: 1;
  visibility: visible;
}

#hiperFinder .selector-place-container.active.office {
  padding-top: 5px;
}

#hiperFinder .selector-search-container {
  top: 0;
  background: #fff;
  z-index: 1;
  padding-top: 10px;
}

#hiperFinder .selector-search {
  width: calc(100% - 15px);
  padding-left: 1.5em;
}

#hiperFinder .selector-place {
  /* scroll-snap-align: start;
  scroll-snap-stop: normal; */
  opacity: var(--active-opacity);
  line-height: 25px;
}

#hiperFinder .selector-place:hover,
#hiperFinder .selector-place:active,
#hiperFinder .selector-place.active {
  opacity: 1;
  cursor: pointer;
}

#hiperFinder .flatpickr-day:not(.endRange):hover:before,
#hiperFinder .flatpickr-day.prevMonthDay:not(.endRange):hover:before,
#hiperFinder .flatpickr-day.nextMonthDay:not(.endRange):hover:before,
#hiperFinder .flatpickr-day:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.prevMonthDay:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.nextMonthDay:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.selected.startRange:before,
#hiperFinder .flatpickr-day.startRange.startRange:before,
#hiperFinder .flatpickr-day.endRange.startRange:before,
#hiperFinder .flatpickr-day.selected.endRange:after,
#hiperFinder .flatpickr-day.startRange.endRange:after,
#hiperFinder .flatpickr-day.endRange.endRange:after {
  border-bottom: var(--border-triangle-selected-dates) solid #191919;
  border-left: var(--border-triangle-selected-dates) solid transparent;
  border-right: var(--border-triangle-selected-dates) solid transparent;
  content: '';
  pointer-events: none;
  position: absolute;
  top: calc(50% - (var(--border-triangle-selected-dates)) / 2);
  z-index: 1;
}

#hiperFinder .flatpickr-day:not(.endRange):hover:before,
#hiperFinder .flatpickr-day.prevMonthDay:not(.endRange):hover:before,
#hiperFinder .flatpickr-day.nextMonthDay:not(.endRange):hover:before,
#hiperFinder .flatpickr-day:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.prevMonthDay:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.nextMonthDay:not(.endRange):focus:before,
#hiperFinder .flatpickr-day.selected.startRange:before,
#hiperFinder .flatpickr-day.startRange.startRange:before,
#hiperFinder .flatpickr-day.endRange.startRange:before {
  left: calc(0% - (var(--border-triangle-selected-dates)) / 2);
  transform: rotate(90deg);
}

#hiperFinder .flatpickr-day.selected.endRange:after,
#hiperFinder .flatpickr-day.startRange.endRange:after,
#hiperFinder .flatpickr-day.endRange.endRange:after {
  right: calc(0% - (var(--border-triangle-selected-dates)) / 2);
  transform: rotate(270deg);
}

/** HIPERFINDER COMPACTED **/
#hiperFinder.compacted {
  height: auto;
}

html.ua-mobile #hiperFinder.compacted {
  padding: 15px;
}

html:not(.ua-mobile) #hiperFinder.compacted {
  padding: 15px 25px;
}

#hiperFinder.compacted .h-selector {
  height: var(--selector-container-height);
}

#hiperFinder.compacted .h-selector-x2 {
  height: calc(var(--compacted-selector-container-height) * 2);
}

#hiperFinder.compacted:not(.return-active) .selector-placeholder {
  max-width: calc(100% - 175px - 30px - 2em);
}

#hiperFinder.compacted,
#hiperFinder.compacted .flatpickr-input-container,
#hiperFinder.compacted .hidden-input-value,
#hiperFinder.compacted .flatpickr.form-control:disabled,
#hiperFinder.compacted .flatpickr.form-control[readonly],
#hiperFinder.compacted *,
#hiperFinder.compacted *:before,
#hiperFinder.compacted *:after {
  background-color: var(--lighter-gray-color);
}

#hiperFinder.compacted .finder-button,
#hiperFinder.compacted .finder-button *,
#hiperFinder.compacted .finder-row-2,
#hiperFinder.compacted .finder-row-2 *,
#hiperFinder.compacted .search-button-container,
#hiperFinder.compacted .search-button-container *,
#hiperFinder.compacted .cancel-button-container,
#hiperFinder.compacted .cancel-button-container *,
#hiperFinder.compacted #returnCheckboxContainer:not(.active),
#hiperFinder.compacted #returnCheckboxContainer:not(.active) *,
#hiperFinder:not(.compacted) .info-icon,
#hiperFinder:not(.compacted) .info-icon *,
#hiperFinder:not(.compacted) .edit-button,
#hiperFinder:not(.compacted) .edit-button *,
#hiperFinder:not(.compacted) .finder-row-info,
#hiperFinder:not(.compacted) .finder-row-info *,
#hiperFinder:not(.compacted) .compacted-only,
#hiperFinder:not(.compacted) .compacted-only * {
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  font-weight: normal !important;
  font-size: 0 !important;
}

#hiperFinder #finderMobileEditButton.edit-button{
  display: flex !important;
  justify-content: end !important;
}

@media (max-width: 1199px) {

  html.ua-mobile #hiperFinder.compacted #formHiperFinder,
  html.ua-mobile #hiperFinder.compacted #formHiperFinder * {
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    font-weight: normal !important;
    font-size: 0 !important;
  }

  #hiperFinder .mobile-date-container label{
    top: 0 !important;
  }

  html.ua-mobile #hiperFinder .calendars-container {
    margin-top: 50px;
  }


}

#hiperFinder.compacted .search-button-container,
#hiperFinder.compacted .search-button-container *,
#hiperFinder:not(.compacted) .edit-button {
  flex: 0 !important;
}

#hiperFinder.return-active .calendars-container {
  margin-top: 10px;
}

#hiperFinder.compacted .calendars-container>div {
  margin-top: 0 !important;
}

html.ua-desktop #hiperFinder .calendars-container {
  margin-top: 40px;
}

#hiperFinder.compacted.edit-button .svg-edit {
  position: relative;
  width: 32px;
  height: 32px;
}

#hiperFinder.compacted .edit-button .svg-pen,
#hiperFinder.compacted .edit-button .svg-square {
  position: absolute;
  width: 32px;
}

#hiperFinder.compacted .edit-button .svg-pen {
  bottom: 12px;
  left: 12px;
}

#hiperFinder.compacted .edit-button .svg-square {
  bottom: 0;
}

#hiperFinder.compacted #formHiperFinder .edit-button {
  position: absolute;
  height: 45px !important;
  width: 45px;
  padding: 0;
  top: 0;
  right: 0;
  opacity: 1;
  visibility: visible;
  font-size: 32px;
  cursor: pointer;
}

#hiperFinder.compacted .edit-button .svg-pen,
#hiperFinder.compacted .edit-button .svg-square {
  position: absolute;
  width: 32px;
}

#hiperFinder.compacted .edit-button .svg-pen {
  bottom: 12px;
  left: 12px;
}

#hiperFinder.compacted .edit-button svg>path {
  fill: var(--purple-color);
}

#hiperFinder.compacted .edit-button:hover svg>path {
  fill: var(--purple-light-color);
}

#hiperFinder.compacted #formHiperFinder .info-icon {
  width: 16px !important;
  height: 16px !important;
  margin-left: 10px !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 12px !important;
  font-weight: bold !important;
  cursor: pointer;
  color: white;
  background-color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hiperFinder.compacted *:not(.edit-button):not(.edit-button *):not(.info-icon) {
  cursor: default !important;
}

#hiperFinder.compacted .dropdown-container {
  background: transparent;
}

#hiperFinder.compacted .selector-label-container {
  top: 0;
}

#hiperFinder.compacted .selector-activator.return .selector-label-container {
  top: 10px;
}

#hiperFinder.compacted .finder-info-container {
  font-size: 14px;
}

#hiperFinder.compacted .info-text-container {
  margin-bottom: 10px;
}

#hiperFinder.compacted .finder-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

#hiperFinder.compacted .finder-title-icon.info-icon {
  width: 20px;
  height: 20px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: var(--black-color);
  border-radius: 50%;
  margin-right: 12px;
  margin-left: 2px;
}

#hiperFinder.compacted .finder-places {
  margin: 10px 0;
}

#hiperFinder.compacted .finder-title-text {
  font-size: 12px;
}

#hiperFinder.compacted .finder-place-text,
#hiperFinder.compacted .finder-date-text {
  font-size: 15px;
}

#hiperFinder.compacted .finder-date-text:first-child {
  margin-right: 15px;
}

#hiperFinder.compacted .svg-edit {
  position: relative;
  width: 45px;
  height: 45px;
}

/** MOBILE **/
html.ua-mobile #hiperFinder .dropdown-container {
  flex-grow: 0 !important;
}

html.ua-mobile #hiperFinder .dropdown-container,
html.ua-mobile #hiperFinder .hidden-input-value {
  width: 30px;
}

#hiperFinder.active .mobile-date-container:not(.active) {
  opacity: var(--active-opacity);
  z-index: 0;
}

/** MOBILE DATES **/
#hiperFinder .mobile-date-container {
  width: calc(100% - 68px);
  z-index: 1;
}

#hiperFinder .mobile-date-container label {
  width: 100%;
  white-space: nowrap;
  overflow: visible;
  font-size: 14px;
  top: 10px;
}

#hiperFinder .mobile-date-container .input-date-display {
  width: calc(100% - 30px);
  bottom: 7px;
  font-size: 18px;
  padding-bottom: 5px;
}

#hiperFinder .mobile-date-container .date-input {
  z-index: 1;
  height: 100%;
  font-size: 0.0001em;
  padding: 0;
  cursor: pointer;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJXaW5kb3dUZXh0IiBkPSJNMjAgM2gtMVYxaC0ydjJIN1YxSDV2Mkg0Yy0xLjEgMC0yIC45LTIgMnYxNmMwIDEuMS45IDIgMiAyaDE2YzEuMSAwIDItLjkgMi0yVjVjMC0xLjEtLjktMi0yLTJ6bTAgMThINFY4aDE2djEzeiIvPjxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0wIDBoMjR2MjRIMHoiLz48L3N2Zz4=);
  background-color: transparent;
  background-origin: content-box;
  background-size: 25px;
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: calc(100% - 10px);
  color: transparent;
}

#hiperFinder .mobile-date-container .date-input::-webkit-calendar-picker-indicator {
  width: calc(100% - 5px);
  height: 25px;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0 5px 9px 0;
  cursor: pointer;
  background: transparent;
}

#hiperFinder .mobile-date-container .date-input::-webkit-datetime-edit,
#hiperFinder .mobile-date-container .date-input::-webkit-inner-spin-button,
#hiperFinder .mobile-date-container .date-input::-webkit-clear-button {
  display: none;
  color: transparent;
}

#hiperFinder #returnActivator.hidden {
  width: 100% !important;
}

@media (min-width: 450px) {
  #hiperFinder #promoCodeInput {
    min-width: 175px;
    padding-left: 5px !important;
  }

  #hiperFinder #ageInput {
    width: 110px !important;
  }

  #hiperFinder #promoCodeInput,
  #hiperFinder #ageInput {
    margin-bottom: -5px !important;
  }

  #hiperFinder .age-checkbox-container {
    margin-left: 0 !important;
  }

  #hiperFinder .promo-container .checkbox-text,
  #hiperFinder .age-checkbox-container .checkbox-text,
  #hiperFinder #promoCodeInput,
  #hiperFinder #ageInput {
    font-size: 14px;
  }

  #hiperFinder .double-dots {
    padding-bottom: 12px;
  }

  /** Estilos para FIREFOX **/
  html.ua-gecko #hiperFinder #promoCodeInput {
    min-width: 185px;
  }

  html.ua-gecko #hiperFinder #ageInput {
    width: 100px !important;
    padding-right: 5px !important;
  }

  /** Estilos para SAFARI **/
  html.ua-safari #hiperFinder #promoCodeInput {
    min-width: 205px;
  }

  html.ua-safari #hiperFinder #ageInput {
    width: 125px !important;
  }
}

@media (min-width: 500px) {
  #hiperFinder .selector-place-container.active.office {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (min-width: 600px) {
  #hiperFinder {
    padding: 10px;
  }

  #hiperFinder .dayContainer,
  #hiperFinder .flatpickr-weekdays .flatpickr-weekdaycontainer {
    padding: 0 5px;
  }

  #hiperFinder .flatpickr-input-container.active label.custom-floating,
  #hiperFinder .flatpickr-input-container label.custom-floating.active {
    font-size: 14px !important;
  }
}

@media (min-width: 767px) {

  #hiperFinder .dayContainer,
  #hiperFinder .flatpickr-weekdays .flatpickr-weekdaycontainer {
    padding: 0 1.875rem;
  }

  #hiperFinder .flatpickr-months {
    margin: 15px 0;
  }
}

@media (min-width: 1200px) {
  #hiperFinder {
    height: var(--finder-height);
  }

  #hiperFinder .flatpickr-calendar,
  #hiperFinder.return-active .flatpickr-calendar {
    top: var(--selector-container-height) !important;
    width: 100% !important;
  }

  #hiperFinder .calendars-container {
    margin-top: 0 !important;
  }

  #hiperFinder .dropdown.row-height,
  #hiperFinder .row-height {
    height: var(--row-height);
  }

  #hiperFinder .dropdown .dropdown-menu {
    top: calc((var(--finder-height) / 2) - 15px);
  }

  #hiperFinder .mobile-date-container {
    height: 100%;
  }

  #returnCheckboxContainer {
    bottom: 0;
  }

  #hiperFinder .age-checkbox-container {
    padding-left: 34px !important;
  }

  #hiperFinder #promoCodeCheckbox:checked+label,
  #hiperFinder #ageCheckbox:not(:checked)+label {
    width: auto;
    height: auto;
    overflow: visible;
    color: var(--black-color);
  }

  #hiperFinder .selector-container {
    top: var(--selector-container-height) !important;
  }

  #hiperFinder:not(.return-active) .selector-placeholder {
    max-width: calc(100% - 175px - 30px - 2em);
  }

  #hiperFinder .return-active .selector-placeholder {
    max-width: none;
  }

  #hiperFinder .return .selector-placeholder {
    max-width: calc(100% - 50px);
  }

  #hiperFinder .selector-container>div {
    left: 0;
  }

  #hiperFinder .selector-container>div,
  #hiperFinder .selector-place-container.office {
    max-height: none;
  }

  #hiperFinder .selector-place-container.col-xl-9.active {
    width: 75%;
  }

  #hiperFinder .selector-place-container.active {
    padding-left: var(--padding-selector-place);
  }

  #hiperFinder .selector-search {
    width: calc(100% - (var(--padding-selector-place)));
  }

  html:not(.ua-mobile) #hiperFinder.compacted {
    padding: 15px 25px 25px 25px;
  }

  #hiperFinder.compacted #formHiperFinder {
    height: calc(var(--xl-compacted-finder-height) - (15px + 25px)) !important;
  }

  #hiperFinder .flatpickr-input-container {
    padding: 0px 4px;
  }

  #hiperFinder .flatpickr-input-container label.custom-floating {
    transform: translateY(-0.75rem) translateX(-0.75rem);
    bottom: 0;
  }

  #hiperFinder .flatpickr-input-container.active label.custom-floating,
  #hiperFinder .flatpickr-input-container label.custom-floating.active {
    transform: translateY(-4rem) translateX(-0.75rem) !important;
  }

  #hiperFinder.compacted .h-selector,
  #hiperFinder.compacted .h-selector-x2 {
    height: 100%;
  }

  #hiperFinder.compacted .finder-row-1 {
    height: 100% !important;
  }

  #hiperFinder.compacted .flatpickr-input-container.active label.custom-floating,
  #hiperFinder.compacted .flatpickr-input-container label.custom-floating.active {
    transform: translateY(-3rem) translateX(-0.75rem) !important;
  }

  #hiperFinder.compacted .selector-activator-container {
    width: 50% !important;
  }

  #hiperFinder.compacted #formHiperFinder .edit-button {
    position: relative;
    width: 32px;
    height: 32px;
  }

  #hiperFinder.compacted .selector-activator.return .selector-label-container {
    top: 0;
  }

  #hiperFinder .mobile-date-container {
    width: calc(100% - 80px);
  }

  #hiperFinder .selector-type {
    padding: 14px 0;
  }

  #hiperFinder .selector-place-container.office {
    overflow-y: hidden;
  }

  #hiperFinder .edit-button {
    margin-left: 4%;
  }

  #hiperFinder #returnActivator.hidden {
    width: 0 !important;
  }

  #hiperFinder .finder-info-container.pickUp {
    flex: 1;
  }
}

@media (max-width: 327px) {
  #hiperFinder .age-checkbox-container {
    padding-left: 0;
  }
}

/** QUERIES PARA MODIFICAR TAMAÑOS SEGÚN IDIOMAS **/
@media (min-width: 1200px) and (max-width: 1500px) {
  body.es #hiperFinder .dropdown-container {
    margin: 0 5px !important;
  }
}