/* Itinerario: paquetes */
.itinerary-container {
  background: #fff;
  padding: 12px 0 0;
  border-bottom: none;
  box-shadow: none;
  margin-bottom: 24px;

  .pricebutton {
    border-top: 2px solid #cacaca;
    text-align: right;
    @media (min-width: $screen-lg-min) {
      border-top: 0;
    }
    .bigprice {
      line-height: 1.2;
      .price {
        font-size: 24px;
        @include medium-weight;
        color: $brand-grey-dark;
        .symbol {
          font-size: 18px;
          font-weight: $roboto-light;
        }
      }
      .infoBtn {
        vertical-align: middle;
        & svg {
          vertical-align: baseline;
        }
      }
    }
    .tipoprecio {
      font-size: 12px;
      color: $brand-copy-light;
      font-weight: $roboto-light;
      line-height: 1.2;
    }
    div.tipoprecio {
      margin-bottom: 4px;
    }
    .btn-cta {
      @media (max-width: $screen-xs-max) {
        display: block;
        width: 100%;
      }
    }
    .selectiontooltip.tooltip {
      padding: 0;
      text-align: center;
      border: 1px solid $brand-secondary-medium;
      background: $brand-secondary-medium;
      min-width: 260px;
      top: 0;
      right: 50%;
      margin-right: -130px;
      @media (min-width: $screen-sm-min) and (max-width: $screen-md-max) {
        right: 0;
        margin-right: 0;
      }
      margin-top: -55px;
      .tooltip-arrow {
        &, &:after {
          border-top-color: $brand-secondary-medium;
        }
      }
      .tooltip-inner {
        background-color: $brand-secondary-medium;
        padding: 20px 0;
        p {
          color: rgba(255, 255, 255, 0.7);
          font-size: 16px;
          @include medium-weight;
          margin-bottom: 0;
        }
      }
    }
  }

  /* Caja servicios incluidos */
  .included-services-container-text {
    height: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .included-services-container-text-short {
    text-overflow: ellipsis;
    color: $brand-grey-dark;
    font-weight: 400;
    font-size: $font-size-base;
    display: inline;
  }

  .included-services-content {
    overflow: hidden;
    color: $brand-grey-dark;
    font-weight: $roboto-light;
    font-size: $font-size-base;
    padding: 15px 0 0;
    &.col-sm-11 {
      padding: 15px;
    }
    ul {
      list-style: inherit;
      padding: 0;
    }
  }

  .itinerary_container {
    margin-left: 13px;
  }

  .icon-check {
    &:before {
      display: inline-block;
      content: "\63";
      color: $interactive-color;
      width: 20px;
      height: 20px;
      font-size: 20px;
    }
  }

  .btn_seeMore {
    white-space: nowrap;
    text-decoration: none;
    color: $interactive-color;
    cursor: pointer;
  }

  /* Fin Caja servicios incluidos*/
}

.itinerary_frame {
  background: #fff;
  margin-bottom: 0;
}

/* Fin Itinerario: paquetes */

/* WIDGET SERVICIOS INCLUIDOS - Desplegable */
.itinerary-container .included-services-content ul {
  list-style: none;
  .includes-item-list {
    .icon {
      width: 16px;
      height: 16px;
      vertical-align: middle;
      float: left;
      &, & *{
        fill: $brand-copy-light;
      }
    }
    .includes-item {
      margin-left: 30px;
      display: block;
      vertical-align: middle;
    }
  }
}
.package-includes-items {
  column-count: 1;
  @media (min-width: $grid-float-breakpoint) {
    column-count: 2;
  }
  .includes-item-list {
    margin-bottom: 15px;
  }
}
/**/
//TABLA RESUMEN COMPRA VIAJES

.selectedservices-title {
  .title-text {
    font-size: 20px;
    font-weight: $roboto-bold;
    color: $interactive-color;
    text-transform: uppercase;
    display: inline-block;
  }
}
/* Elimitar el padding en mobile en el resumen de compra */
@media (max-width: $grid-float-breakpoint-max) {
  .selectedservices-main {
    .container-limited {
      padding-right: 0;
      padding-left: 0;
    }
  }
}
/**/
.services-main {
  padding: 0;
  margin-bottom: 0;
  position: relative;
  .main-container {
    border-radius: $border-radius-large;
    box-shadow: none;
    background-color: $brand-white;
    border: none;
    padding: 15px 0 0 0;
    display: flex;
    flex-flow: row wrap;
    position: relative;

  }
  .services_block {
    width: 100%;
    padding: 0;
    border-bottom: 0;
    display: flex;
    flex-flow: column wrap;
    flex-grow: 1;
    position: relative;
    .in-thirds {
      width: 100%;
      padding: 0;
    }
    @media (min-width: $grid-float-breakpoint) {
      flex-flow: row wrap;
      border-bottom: solid 1px #d0cbc9;
      min-height: 0;
      gap: 2%;
      .in-thirds {
        width: 32%;
      }
    }
    .widget-container {
      display: flex;
      flex-flow: row wrap;
      flex-grow: 1;
    }
    .hotel_container{
      margin-top: 0;
      min-height: 0;
      padding: 0;
      min-height: 0;
      @media (min-width: $grid-float-breakpoint) {
        min-height: 120px;
      }
    }
    .info_container {
      min-height: 70px;
    }
    .services_container {
      &.info_container {
        flex: 1 1 auto;
        padding: 0;
      }
      &.services-extra_container {
        padding: 0;
      }
      .service_icon * {
        fill: #74716e !important;
      }
      .service_icon {
        width: 18px;
        height: 18px;
        vertical-align: middle;
      }
      .service_label {
        vertical-align: middle;
        text-transform: uppercase;
        font-weight: $roboto-light;
        color: $brand-grey-dark;
        margin-left: 10px;
      }
    }
  }
  .services-pricebutton {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: stretch;
    text-align: right;
    .payLater {
      display: block;
      margin-top: 5px;
      margin-bottom: 10px;
    }
    @media (min-width: $screen-lg) {
      width: 30%;
      text-align: center;
    }
  }
  .price-block {
    height: 55px;
    @media (max-width: $grid-float-breakpoint-max) {
      .loading-service {
        .loading-service-inner {
          .loader-inner {
            margin-right: 40px;
            text-align: right;
          }
        }
      }
    }
  }
  .buttonPrice-container {
    padding-top: 10px;
  }
  .service-icon {
    width: 18px;
    height: 18px;
    fill: $brand-copy-light;
    vertical-align: middle;
  }
  .included-icon {
    width: 18px;
    height: 18px;
    fill: $brand-green;
    vertical-align: middle;
    @media (max-width: $grid-float-breakpoint-max) {
      width: 25px;
      height: 20px;
    }
  }
  .services_container {
    display: flex;
    flex-flow: row wrap;
    position: relative;
    .services-label-container {
      flex: 1 1 100%;
      vertical-align: middle;
      font-size: $font-size-base;
      font-weight: $roboto-light;
      color: $brand-copy-light;
      @media (max-width: $grid-float-breakpoint-max) {
        margin-bottom: 15px;
      }
      @media (min-width: $grid-float-breakpoint) {
        margin-bottom: 12px;
      }
      .services-extra-label {
        margin-left: 10px;
        vertical-align: middle;
        text-transform: uppercase;
      }
      .oval {
        width: 34px;
        height: 34px;
        padding: 3px;
        background-color: $brand-primary;
        color: #fff;
        border-radius: 50%;
        @include medium-weight;
        text-align: center;
        border: 5px solid $brand-primary-light;
        display: inline-block;
        margin-right: 10px;
        vertical-align: middle;
        &.disabled {
          background-color: $brand-brown-medium;
          width: 24px;
          height: 24px;
          border: 0;
        }
        &.oval.no-border {
          width: 24px;
          height: 24px;
          border: 0;
          padding: 5px;
          background-color: $brand-green;
        }
        .icon {
          width: 14px;
          height: 14px;
          vertical-align: top;
          &, & * {
            fill: #fff;
          }
        }
      }
      .select-service {
        display: inline;
        color: $brand-green;
        &.disabled {
          color: $brand-copy-light;
        }
        &.please-select {
          @include medium-weight;
          color: $brand-primary;
        }
      }
    }
    .services-extra-label-button {
      margin-left: 10px;
      vertical-align: middle;
      font-size: $font-size-base;
      font-weight: $roboto-light;
      text-decoration: none;
    }
    .services-add {
      float: none;
      color: $interactive-color;
      text-transform: capitalize;
      .btn_changeSrv {
        margin: 10px 0;
      }
      .services-extra-label-button {
        margin: 10px 0;
      }
    }
    .services-extra {
      display: inline-flex;
      .services-extra-text {
        color: $brand-copy-light;
        font-size: $font-size-base;
        @media (max-width: $grid-float-breakpoint-max) {
          display: none;
        }
      }
    }
  }
  .services-extra_container {
    margin-bottom: 15px;
    //min-height: 85px;
    @media (max-width: $grid-float-breakpoint-max) {
      margin-bottom: 0;
    }
    .additional-services-container .additional-service {
      font-size: 16px;
      margin-bottom: 10px;
      .additional-service-title {
        @include medium-weight;
        color: $brand-grey-dark;
      }
    }
  }
  .icons {
    @media (max-width: $grid-float-breakpoint-max) {
      width: 55%;
    }

    width: 15%;
    .icono {
      vertical-align: initial;
      float: right;
      img {
        width: 24px;
        height: auto;
      }
    }
  }
  .included_container {
    padding-top: 15px;
    border-top: 1px solid #dfdfdf;
    display: flex;
    flex: 1 0 100%;
    @media (max-width: $grid-float-breakpoint-max) {
      flex-flow: column wrap;
    }
    .itinerary_box {
      flex: 1 1 40%;
      display: inline-flex;
      .service-title {
        color: $brand-green;
        text-transform: uppercase;
        margin-left: 15px;
        @media (max-width: $screen-lg-min) {
          display: flex;
          flex-direction: column;
          flex: 1 100%;
        }
        .service-label-included {
          @include medium-weight;
        }
      }
      .included-services-text {
        color: $brand-green;
        font-size: 14px;
        text-transform: none;
      }
    }
  }
  @media (max-width: $screen-lg-min) {
    .seeMore_box {
      margin-right: 15px;
    }
  }

  .seeMore_box, .seeMore_box_final {
    display: inline-flex;
    @media (max-width: 1024px) {
      flex-flow: row-reverse;
      margin-top: 15px;
    }
    .seeMore-button {
      &:first-letter {
        text-transform: capitalize;
      }
      .seeMore-icon {
        fill: $interactive-color;
        width: 12px;
        height: 12px;
        vertical-align: middle;
        font-weight: $roboto-light;
      }
      .seeMore, .seeLess {
        color: $interactive-color;
        font-size: $font-size-base;
        font-weight: $roboto-light;
      }
    }
  }
}
//Imagen alojamiento
.content-service-summary {
  position: relative;
  width: 100%;
  padding-bottom: 15px;
  min-height: 0;
  .box-service-summary {
    .service-hotel-thumbnail {
      float: left;
      width: 90px;
      height: auto;
      overflow: hidden;
      transition: all 0.3s;
      img {
        cursor: pointer;
        width: 100%;
        height: auto;
      }
    }
  }
}

//Detalles alojamiento
.hoteldetails {
  margin: 0;
  font-size: $font-size-base;
  .hotelname {
    .selectedservices-fixed & {
      margin-bottom: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .name {
      font-size: $font-size-large;
      @include medium-weight;
      line-height: 18px;
      color: $brand-grey-dark;
    }
  }
  .roomtype {
    @include medium-weight;
  }

  .boarding {
    @include medium-weight;
  }
}

//Detalles vuelo
.flight-container {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 10px;
  font-size: 14px;
  .flight-label {
    @include medium-weight;
  }
  .flight-block {
    margin: 0 0 8px 0;
    padding: 0;
    width: 100%;
    .flight-direction {
      display: flex;
      > div {
        flex: 0 1 auto;
      }
      .flight-direction-text {
        text-transform: uppercase;
        @include medium-weight;
      }
      .icono {
        margin-left: auto;
        img {
          width: 18px;
          height: auto;
        }
      }
      .flight-direction-type-direct {
        font-size: 14px;
        text-align: right;
        color: $brand-green;
        margin-left: 10px;
      }
      .flight-direction-type-stops {
        font-size: 14px;
        text-align: right;
        color: $brand-copy-light;
        margin-left: 10px;
      }
    }
    .flight-details {
      max-width: 264px;
    }
  }
}
.transportline {
  margin-top: 0;
  display: inline-flex;
  width: 100%;
  .journey {
    text-transform: none;
    font-size: 14px;
    font-weight: 300;
    color: $brand-grey-dark;
  }
}
.placetime {
  display: flex;
  > span {
    display: block;
    .selectedservices-fixed & {
      display: inline-block;
    }
    &.place {
      text-align: left;
      color: $brand-copy-light;
      font-size: $font-size-small;
      line-height: 16px;
      text-transform: uppercase;
      font-weight: $roboto-light;
      .selectedservices-fixed & {
        width: 37px;
      }
    }
    &.time {
      text-align: left;
      color:$brand-grey-dark;
      font-size: $font-size-large;
      line-height: 15px;
      font-weight: $roboto-regular;
      margin-left: 5px;
    }
    &.plushour-label {
      font-size: 11px;
      line-height: 2;
      margin-left: 2px;
      color: #e14209;
      @include medium-weight;
    }
  }
}
.durationstops {
  text-align: center;
  width: 20%;
  margin-left: 10px;

  .stopsdiagram {
    position: relative;
    height: 20px;
    width: 80%;
    line-height: 10px;
    margin-bottom: 2px;
    &:before, &:after {
      content: '';
      background: #8c8885;
      border-radius: 50%;
      width: 6px;
      height: 6px;
      position: absolute;
      top: 50%;
      margin-top: -3px;
      z-index: 3;
    }
    &:before {
      left: 0;
    }
    &:after {
      right: 0;
    }
    > div {
      width: 100%;
      height: 1px;
      position: absolute;
      border: 1px solid #dad7d5;
      left: 0;
      top: 50%;
      margin-top: -1px;
      z-index: 1;
    }
    > span {
      background: $brand-white;
      display: inline-block;
      border: 1px solid #4a4a4a;
      border-radius: 50%;
      width: 6px;
      height: 6px;
      position: relative;
      z-index: 3;
      & + span {
        margin-left: 12px;
      }
    }
  }
}
/////
.bigprice {
  line-height: 1.2;
  .price {
    font-size: 20px;
    @include medium-weight;
    color:$brand-grey-dark;
    letter-spacing:-1px;
    .symbol {
      font-size: 0.85em;
      @include medium-weight;
    }
    &.eur, &.usd, &.gbp {
      font-size: 24px;
    }
  }
  .infoBtn {
    vertical-align: middle;
    & svg {
      vertical-align: baseline;
    }
  }
}
.tipoprecio {
  font-size: $font-size-small;
  color: $brand-copy-light;
  font-weight: $roboto-light;
  line-height: 1.2;
  @media (min-width: $grid-float-breakpoint) and (max-width: 1024px) {
    text-align: right;
  }
}
div.tipoprecio {
  margin-bottom: 4px;
}

.loading-service-container {
  text-align: center;
  width: 100%;
}

//////////////////FIN TABLA RESUMEN /////////////////////////

/* Titulos dispo */

.selectedservices-section {

  .row-no-padding > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
  }

  padding: 0 0 15px;
  h1 {
    text-transform: uppercase;
    font-size: 18px;
    @include medium-weight;
    color: $brand-grey-dark;
    margin: 0;
    @media (min-width: $grid-float-breakpoint) {
      font-size: 20px;
    }
  }
}

/* Fin titulos dispo */

/* loading */
/* asegurar que haya altura minima */
.content-service-summary, .containerpriceloader {
  margin-bottom: 0;
  top: 0;
  @media (min-width: $screen-lg-min) {
    //top: 35%;
  }
}

.containerpriceloader {
  padding: 0;
  @media (min-width: $screen-sm-min) and (max-width: $screen-md-max) {
    min-height: 58px;
    margin-bottom:10px;
    margin-top: 10px;
    .price-block {
      display: inline-block;
      vertical-align: middle;
      margin-right: 5px;
    }
  }
  @media (max-width: $screen-xs-max) {
    min-height: 105px;
    margin-bottom: 10px;
    //.loading-service {
    //  height: 105px;
    //}
  }

}

