/*Parte superior tabla tarifas habitacion */
.availability_summary {
  background: $brand-brown-light;
  border: 1px solid $colorBordes;
  border-radius: $border-radius-large;
  color: $brand-grey-dark;
  font-size: $font-size-base;
  margin-bottom: 15px;
  padding: 15px;
  .availability-info-container {
    display: inline-flex;
    .availability-info_date {
      border-right: 1px solid;
      line-height: 15px;
      height: 14px;
      border-color: $brand-grey-dark;
      padding-right: 10px;
    }
    .availability-info_dateout {
      padding: 0 10px;
    }
    @media (max-width: $grid-float-breakpoint-max) {
      display: block;
      .availability-info_dateout {
        padding-left: 0;
        display: block;
        height: 0;
        line-height: 1.5;
      }
      .availability-info_date {
        border-right: 0;
      }
    }
  }
  .summary-num-hab {
    margin-left: 10px;
    line-height: 15px;
    @media (max-width: $grid-float-breakpoint-max) {
      margin-left: 0;
    }
  }
  svg{
    width:13px;
    height:13px;
    &, & * {
      fill: #8c8885;
    }
  }
  @media (min-width: 320px) and (max-width: $screen-xs-max) {
    padding: 10px;
    .pull-left {
      display: inline;
      .availability-info {
        margin-left: 0;
      }
      .summary-num-hab {
        margin-left: 0;
      }
    }
  }
}

.roomSelection {
  .panel-body {
    width: 75%;
    height: 50%;
    padding: 0;
    clear: both;
    @media (max-width: $screen-md-max) {
      width: 60%;
    }
    @media (max-width: $screen-xs-max) {
      width: 100%;
    }
  }
  .panel-body-rooms {
    width: 100%;
    border-top: solid 3px $colorBordes;
  }

  &.panel-group {
    margin-bottom: 0;
  }
  /* Cabecera */
  &.panel-group .panel-one-room {
    border-top-left-radius: $border-radius-large;
    border-top-right-radius: $border-radius-large;
    @media (max-width: $screen-md-max) {
      flex-wrap: wrap;
    }
  }
  .panel-space-bottom {
    margin-bottom: 30px;
  }
  .landing-panel-space-bottom {
    margin-bottom: 15px;
  }
  &.panel-group .panel-occupation {
    flex-wrap: wrap;
    margin-bottom: 15px;
  }
  .panel-heading {
    background-color: #FFF;
    padding: 0;
    border-right: solid 3px $colorBordes;
    border-top-left-radius: $border-radius-large;
    border-bottom-left-radius: $border-radius-large;
    width: 25%;
    @media (max-width: $screen-md-max) {
      width: 40%;
    }
    @media (max-width: $screen-xs-max) {
      width: 100%;
      border-bottom-left-radius: 0;
      border-top-right-radius: $border-radius-large;
      border-right: 0;
      border-bottom: solid 3px $colorBordes;
    }

    .panel-heading-occupation {
      width: 100%;
    }
  }
  .hotel_room {
    font-size: 18px;
    @media (max-width: $grid-float-breakpoint-max) {
      font-size: $font-size-large;
    }
    .hotel-room-label {
      @include medium-weight;
    }
  }
  .hotel_room-label {
    font-size: 18px;
  }
  .hotel_room-label-include {
    height: fit-content;
    width: fit-content;
    border-radius: 0 20px 20px 0;
    background-color: $brand-primary-light;
    margin-top: 5px;
    margin-left: -15px;
    padding-right: 15px;
    .icon {
      width: 16px;
      height: 16px;
      fill: $brand-primary;
      float: left;
      vertical-align: middle;
      &, & * {
        fill: $brand-primary
      }
    }
    .txt_extras-service {
      font-weight: $roboto-light;
      vertical-align: middle;
      display: block;
      margin-left: 21px;
      line-height: 1.3;
    }
  }

  .hotel_room-container-rooms {
    display: inline-flex;
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
    @media (max-width: $screen-md-max) {
      display: block;
    }
  }
  .hotel_room-options-container {
    display: inline-flex;
  }

  .cont-occupation {
    margin-left: 8px;
    @media (max-width: $screen-xs) {
      margin-left: 0;
    }
  }
  .hotel_room-label-include-rooms {
    margin-right: 15px;
  }

  .hotel_room-amenities-container-rooms {
    vertical-align: top;
    margin-top: 6px !important;
    @media (min-width: $screen-xs-min) and (max-width: $screen-md-max) {
      margin-left: 0;
    }
    @media (max-width: $screen-xs) {
      margin-left: 0;
    }
    .hotel_room-more-info-options {
      @media (min-width: $grid-float-breakpoint-max) and (max-width: 1366px) {
        margin-top: 0;
      }
      &:hover {
        text-decoration-line: underline;
      }
    }
    .amenities-list {
      margin: 3px 9px 0 0;
    }
  }
  .hotel_room-amenities-container {
    margin-top: 10px;
    .amenities_icons_hotels_room {
      margin-bottom: 0;
    }
    .hotel_room-more-info {
      padding: 0;
      margin-left: 4px;
      font-weight: $roboto-light;
      &:first-letter {
        text-transform: uppercase;
      }
      &:hover {
        text-decoration-line: underline;
        padding: 0 !important;
      }
      @media (min-width: 768px) and (max-width: 1366px) {
        &:first-letter {
          text-transform: uppercase !important;
        }
      }
      @media (max-width: $screen-md-max) {
        display: inline-flex;
        vertical-align: top;
      }
      @media (max-width: $screen-xs) {
        margin-left: 0;
        margin-top: 0;
      }
    }
    .amenities_icons_hotels_room {
      overflow: hidden;
      .amenities-list {
        margin: 3px 9px 6px 0;
        width: auto;
        color: #818181;
        line-height: 16px;
        .icon {
          width: 18px;
          height: 18px;
          vertical-align: middle;
          float: left;
          &, & * {
            fill: $brand-copy-light;
          }
        }
        span {
          font-weight: $roboto-light;
          margin-left: 0;
          vertical-align: middle;
        }
        .icon + span {
          margin-left: 23px;
          display: block;
        }
        &.no-icon {
          @media (min-width: $screen-lg-min) {
            padding-left:23px;
          }
        }
      }
      @media (max-width: $screen-md-max) {
        display: inline-flex;
        flex-wrap: wrap;
      }
    }
    .amenities_icons_hotels_room-options {
      display: inline-flex;
      flex-wrap: wrap;
      margin-bottom: 0;
      .amenities-list {
        margin: 3px 9px 0 0;
        &.no-icon {
          @media (min-width: $screen-lg-min) {
            padding-left:0;
          }
        }
      }
    }
  }

  //Popup room amenities
  .dst-room-amenities-modal-body {
    text-align: left;
  }
  .popup-amenities-title {
    font-size: 20px;
    font-weight: $roboto-light;
    text-align: center;
    margin-bottom: 45px;
    @media (max-width: 1366px) {
      margin-bottom: 30px;
    }
  }
  .popup-amenities-title-services {
    margin-top: 16px;
    margin-bottom: 15px;
    font-size: 16px;
    @include  medium-weight;
  }
  .popup-amenities-line {
    height: 2px;
    border: solid 1px $brand-grey-medium;
  }
  .popup-amenities-services {
    columns: 2;
    list-style-type: disc;
    list-style-position: inside;
    li {
      margin-bottom: 10px;
      font-size: $font-size-base;
      font-weight: $roboto-light;
    }
    @media (max-width: $screen-xs) {
      columns: 1;
    }
  }
  .popup-amenities_icons_hotels_room {
    columns: 2;
    li {
      margin-bottom: 15px;
      overflow: hidden;
      svg {
        width: 24px;
        height: 24px;
        fill: $brand-brown-medium;
        vertical-align: middle;
        margin-right: 5px;
        float: left;
      }
      span {
        font-size: $font-size-base;
        font-weight: $roboto-light;
        vertical-align: middle;
      }
      svg + span {
        display: block;
        margin-left: 30px;
      }
    }
    @media (max-width: $screen-xs) {
      columns: 1;
    }
  }
  .dst-popup-room-photos-container {
    .carousel-inner>.item {
      height: 300px;
      img {
        position: absolute;
        object-fit: cover;
        top: 0;
        left: 0;
        min-height: 300px;
      }
    }
  }
  .hotels-information-box {
    padding: 15px;
    display: flex;
    @media (max-width: $screen-xs) {
      display: block;
      padding: 10px;
      position: relative;
    }
  }

  .hotel-price-block {
    display: inline-flex;
    align-items: center;
    @media (max-width: $grid-float-breakpoint-max) {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      .hotel-price-amount {
        flex: 1 0 auto;
        max-width: 100%;
      }
    }
    .hotel-price-icon {
      padding: 0 5px;
      background: $blue-grey-dark;
      line-height: 26px;
      border-radius: 50%;
      display: inline-block;
      margin-right: 5px;
      @media (max-width: $screen-xs) {
        margin-right: 0;
        position: absolute;
        top: 10px;
        right: 10px;
      }
      .icon {
        width: 16px;
        height: 16px;
        vertical-align: text-bottom;
        &, & * {
          fill: $brand-yellow;
        }
      }
    }
    .hotel-price-amount {
      margin-top: 7px;
      text-align: right;
    }
    .hotel-num-nights {
      text-align: right;
      line-height: 1.5;
      margin-right: 16px;
      text-wrap: nowrap;
      font-size: $font-size-small;
      @media (max-width: $grid-float-breakpoint-max) {
        margin-right: 0;
      }
    }
  }

  .tipo_regimen {
    margin-bottom: 0;
  }
  .hotels-refundable-box {
    flex: 1 1 20%;
    @media (max-width: $grid-float-breakpoint-max) and (orientation: portrait) {
      .payment {
        .payment-tooltip {
          display: flex;
        }
        .icon-hotels-info {
          margin-top: 3px;
          margin-left: 3px;
        }
      }
    }
  }
  .hotel-price-block {
    .price {
      margin-right: 6px;
      font-size: 16px;
      white-space: nowrap;
      @include medium-weight;
      line-height: 1;
      .symbol {
        font-size: 0.85em;
      }
      &.eur, &.usd, &.gbp {
        font-size: 20px;
      }
      @media (max-width: $grid-float-breakpoint-max) {
        margin-right: 0;
      }
    }
    .message_hotel_coupon_price .price {
      font-size: 14px;
      font-weight: $roboto-light !important;
    }
    .pvp_taxes {
      display: block;
      font-size: $font-size-small;
      color: $brand-grey-dark;
      font-weight: $roboto-light;
      line-height: 14px;
      border-bottom: 1px dashed $brand-copy-light;
      cursor: pointer;
      float: right;
      width: auto;

      .price {
        &, html.fonts-loaded & {
          font-weight: $roboto-light;
        }
        font-size: 12px;
        &.eur, &.usd, &.gbp {
          font-size: 12px;
        }
        .symbol {
          font-size: 1em;
        }
      }
    }
    .reservation {
      margin-top: 6px;
      text-align: right;
      @media (max-width: $grid-float-breakpoint-max) {
        flex: 0 0 auto;
        margin-left: 10px;
        align-self: flex-end;
      }
    }
    .selected_hotel_container {
      display: inline-block;
      line-height: 65px;

      .icon {
        width: 16px;
        height: 16px;
        vertical-align: middle;
        &, & * {
          fill: $interactive-color;
        }
      }
      .selected_hotel_label {
        color: $interactive-color;
        font-size: $font-size-large;
        margin-left: 10px;
        vertical-align: middle;
      }
      @media (max-width: $grid-float-breakpoint-max) {
        margin-left: 10px;
        line-height: 60px;
        .icon {
          width: 14px;
          height: 14px;
        }
        .selected_hotel_label {
          font-size: $font-size-base;
        }
      }
    }
    .oldPrice {
      @media (max-width: $screen-xs) {
        vertical-align: 0;
      }
      @media (max-width: $grid-float-breakpoint-max) {
        margin-right: 5px;
      }
      .price {
        font-size: $font-size-base;
        color: $brand-copy-light;
        text-decoration: line-through;
        text-decoration-color: $brand-copy-light;
        font-weight: $roboto-light !important;
        .symbol {
          font-size: 0.85em;
          display: none;
        }
        &.eur, &.usd, &.gbp {
          font-size: 14px;
        }
      }
      &.priceWithoutDiscounts {
        .price .symbol {
          display: initial;
        }
      }
    }
    .oldPriceProvider {
      color: $brand-red;
      font-size: 14px;
      margin: 2px 10px 3px;
      @media (max-width: $grid-float-breakpoint-max) {
        margin-right: 0;
      }
      .oldPrice .price {
        color: $brand-red;
        text-decoration-color: $brand-red;
        font-weight: $roboto-medium !important;
        .symbol {
          display: initial;
          font-size: inherit;
        }
      }
    }
  }
  .tarifa_flexible, .dst-deferred_payment, .discountApplied {
    color: $brand-green;
  }
  .hotel-information-rate {
    @include medium-weight;
  }
  .panel {
    .panel-title {
      margin-top: 0;
      font-size: 14px;
      color: $brand-grey-dark;
      line-height: 1.5;
      @include medium-weight;
      padding: 15px;
      a {
        display: block;
        text-decoration: none;
        position: relative;
      }

      .more {
        color: $brand-grey-dark;
        font-weight: $roboto-regular;
        padding: 0 5px;
      }
      .icon {
        vertical-align: middle;
        &.icon-anyfill-graph-occupancyadult, &.icon-anyfill-graph-occupancychild, &.icon-anyfill-graph-occupancybaby {
          width: 18px;
          height: 18px;
          vertical-align: middle;
          fill: $brand-brown-medium;
        }
      }
    }
    .txt_extras{
      margin-bottom: 0;
      font-weight: $roboto-light;
      .icon {
        margin-left: 0;
      }
      @media (max-width: $grid-float-breakpoint-max) {
        float: none;
        margin: 0;
      }
    }
  }
  /* Fin cabecera */
  /* Contenido */
  h3 {
    padding: 10px;
    font-size: $font-size-small;
    font-weight: $roboto-bold;
    text-transform: uppercase;
    margin-top: 0;
    clear: both;
    &.alojamientoForfait {
      background-color: #EFF0F4;
      color: $brand-copy-light;
    }
    &.alojamiento {
      background-color: #EFF0F4;
      color: $brand-copy-light;
    }
  }

  ul {
    > li.special_case {
      background: #eff0f4;
      font-size: 12px;
      line-height: 40px;
      padding-left: 10px;
      text-transform: uppercase;
      clear:both;
      ul{
        &.tipo_regimen{
          margin-left:-10px!important;
          background:#FFF;
          font-size:14px;
        }
      }
    }
  }
  /* Título habitación */
  .hotel_name {
    display: inline-block;
    margin-right: 10px;
  }

  .price_definitive {
    align-self: center;
    svg, svg * {
      width: 16px;
      height: 16px;
      fill: $brand-brown-medium;
    }
  }

  @media (min-width: $grid-float-breakpoint) {
    .price_definitive {
      margin-top: 10px;
      margin-right: 10px;
      svg, svg * {
        width: 16px;
        height: 16px;
        fill: $brand-brown-medium;
      }
    }
  }
  @media (max-width: $grid-float-breakpoint-max) {
    .price_definitive {
      margin-left: 7px;
    }
  }
}

.percent_message_container {
  background: $brand-red;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 14px;
  vertical-align: middle;
  display: inline-block;
  @media (max-width: $grid-float-breakpoint-max) {
    position: absolute;
    right: 10px;
    bottom: 55px;
  }
}

/* Promo Cashback */
.hotel-price-promos-container {
  text-align: right;
  width: 100%;
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  @media (min-width: $grid-float-breakpoint) {
    margin-right: 10px;
  }
}
.coupon_message_container {
  display: block;
  font-size: $font-size-base;
  border-radius: 15px;
  padding: 0 10px;
  z-index: 9;
  white-space: nowrap;
  margin-bottom: 5px;
  .icon_container {
    display: block;
    line-height: 1;
  }
  .icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0;
  }
  .message_hotel_coupon_price {
    font-weight: $roboto-light;
    line-height: 25px;
    vertical-align: middle;
    cursor: pointer;
  }
  &--cashback {
    background: $brand-green;
    .icon {
      &, & * {
        fill: $brand-white;
      }
    }
    .message_hotel_coupon_price {
      color: $brand-white;
      &--grey {
        border-bottom: 0;
        color: $brand-copy-light;
      }
    }
  }
  &--grey {
    background: $brand-grey-secondary;
    margin-bottom: 5px;
    @media (max-width: $grid-float-breakpoint-max) and (orientation: portrait) {
      margin-bottom: 25px;
    }
    .icon {
      &, & * {
        fill: $brand-grey-dark;
      }
    }
  }
  &--mobile {

    background: $brand-green-light;
    .icon {
      &, & * {
        fill: $brand-green;
      }
    }
    .message_hotel_coupon_price {
      border-bottom: 1px dashed $brand-green;
      color: $brand-green;
    }
  }
}

@media (max-width: $grid-float-breakpoint-max) {
  li.regimenAlojamientoContainer {
    .coupon_message_container {
      &--mobile {
        @media (max-width: $grid-float-breakpoint-max) {
          align-self: unset !important;
        }
      }
    }
  }

}


  // Excepciones idiomas mobile
  html[lang|="tr"] .roomSelection .tipo_regimen li.regimenAlojamientoContainer table.info_habitacionContainer tr td.price  {width:54%}
