/* widget SUMMARY_DEALS II  Y CAROUSEL */
@import "../../../../ilusion/common/sass/components/_product_brand.scss";
.summary_deals2 {
  color: #323232;
  padding: 0;
  margin: 0;
  .item {
    background: #fff;
    border-radius: $border-radius-large;
    overflow: hidden;
    border: 1px solid $colorBordes;
    a {
      background: #fff;
      transition: all $transition-time;
      box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
      &:hover, &:focus {
        box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.12);
      }
    }
  }
  .cont_img_deal {
    max-height: 200px; /*height:auto; */
    overflow: hidden;
    .generic-pic {
      width: 100%;
      height: 213px;
      background-image: url(/headers/img/hotel_rooms/generic-250x200.jpg) !important;
      background-repeat: no-repeat;
      background-size: cover;
      svg {
        margin-top: 92px;
        position: static;
        transform: translate(0,0);
      }
      @media (max-width: 1199px) and (min-width: 992px) {
        height: 162px;
        svg {
          margin-top: 66px;
        }
      }
      @media (max-width: 991px) and (min-width: 768px) {
        height: 122px;
        svg {
          margin-top: 46px;
        }
      }
    }
  }
  .btn_generico_flecha {
    float: right;
  }
  .position_bottom {
    width: 100%;
    padding: 0 10px 0 0;
  }
  .btn_generico_flecha,
  .btn_generico_2015 {
    @include button-sunrise($btn-cta-color, $btn-cta-bg, $btn-cta-border, $btn-cta-hover-txt, $btn-cta-hover);
    margin-left: 10px;
    transition: background 0.3s;
    &:after {
      @include arrow-cta;
    }
  }
  .cont_precio {
    font-size: $font-size-small;
    text-align: right;
    line-height: 17px;
    color: $brand-grey-dark;
    .current-price {
      display: inline-block;
    }
    .price {
      margin-top: 4px;
    }
    .price, .current-price .price {
      display: block;
      font-size: 24px;
      @include medium-weight;
      &.eur, &.usd, &.gbp {
        font-size:24px;
        @include medium-weight;
      }
      abbr, .symbol{
        font-size:0.8em; @include medium-weight;
      }
    }
    &--noCTA {
      line-height: 1.07;
      .from-label {
        padding-right: 0;
      }
      .price, .current-price .price {
        font-size: 24px;
        &.eur, &.usd, &.gbp {
          font-size: 28px;
          abbr, .symbol {
            font-size: 24px;
          }
        }
        abbr, .symbol{
          font-size: 20px;
        }
      }
    }
  }
  .title {
    margin: 0;
    padding: 10px 10px 0 10px;
    color: $brand-grey-dark;
    font-weight: 300;
    font-size: 18px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .cont_info {
      .info {
      padding: 0 10px 0 10px;
      color: $brand-grey-dark;
      font-size: 12px;
      line-height: 1.4;
      clear: both;
      height: 68px;
      overflow: hidden;
      div {
        color: $brand-grey-dark;
      }
      div.bri {
        color: $brand-green;
      }
      strong {
        font-size: 14px;
        color: $travel-copy-light-color;
        font-weight: $roboto-regular;
      }
    }
  }
  li {
    margin-bottom: 30px;
  }
}


/* CAROUSEL */
.carousel a {
  text-decoration: none;
}

.destacados_carusel {
  display: flex;
}
.destacados_img_container {
  width: 200px;
  overflow: hidden;
  position: relative;
  flex: 0 1 auto;
}
.destacados_img {
  height: 213px;
  position: absolute;
  width: auto;
  left: 50%;
  transform: translate(-50%, 0);
}
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
  .summary_deals2 {
    .destacados_img_container {
      .destacados_img {
        width: auto;
        height: 213px;
      }
    }
  }
}

.bg_destacados_carusel {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px;
  .aviso {
    float: right;
    color: $brand-blue-dark;
    font-size: 14px;
    font-weight: 700;
  }
  .logo_aerolinea {
    max-height: 30px;
    width: 90px;
  }
  .title {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
  }
  .info_carousel {
    line-height: 17px;
    min-height: 44px;
    color: $brand-grey-dark;
  }
}

@media (min-width: $screen-md) and (max-width: $screen-md-max) {
  .summary_deals2 {
    .cont_img_deal {
      height: 162px;
    }
    .cont_info {
      height: 165px!important;
      .cont_precio {
        text-align: left;
        padding-left: 10px;
      }
    }
    .destacados_img {
      width: 150px;
      height: 271px;
    }
  }
}

@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
  .summary_deals2{
    .cont_img_deal {
      height: 122px;
     }
    .cont_info {
      height: 160px!important;
      .btn_generico_flecha,
      .btn_generico_2015 {
        padding: 10px;
        margin-left: 5px;
      }
      .cont_precio {
        text-align: left;
        padding-left: 10px;
        padding-top:4px;
      }
    }
  }
}

@media (max-width: $screen-md-max) {
  .summary_deals2 {
    .cont_info--noCTA {
      display: flex;
      flex-direction: column;
      .position_bottom {
        margin-top: auto;
      }
    }
    .cont_precio--noCTA {
      padding-top: 0;
      text-align: right !important;
      .from-label {
        padding-right: 0;
      }
    }
  }
}

@media (max-width: $grid-float-breakpoint-max) {
  .summary_deals2 .cont_info {
    height: auto;
    padding-bottom: 10px;
  }
  .summary_deals2 .cont_precio {
    text-align: left;
    padding-left: 10px;
    padding-top: 4px;
  }
  .summary_deals2 li {
    margin-bottom: 10px
  }
  .summary_deals2 .cont_img_deal {
    height: auto;
  }
  .summary_deals2 .cont_img_deal img {
    margin-top: -16px
  }
  .summary_deals2 .bg_destacados_carusel .logo_aerolinea {
    margin-top: 5px
  }
  .summary_deals2 .bg_destacados_carusel .title {
    line-height: 14px;
    font-size: 14px;
  }
}

.summary_deals2 .item .cont_info {
  padding-bottom: 15px;}


.carousel .carousel-indicators li {
  border: 1px solid $carousel-indicator-border-color;
  background: $carousel-indicator-bg;
  &.active {
    border: 1px solid $carousel-indicator-active-bg;
    background: $carousel-indicator-active-bg;
  }
}

/* FIN widget SUMMARY_DEALS II Y CAROUSEL*/

/* Ofertas temporales */
.package-container {
  .package-offers {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 3;
    vertical-align: middle;
    @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
      top: 10px;
    }
    @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
      top: 10px;
    }
    @media (max-width: $grid-float-breakpoint-max)  {
      top: 10px;
    }
  }
  .package-discount {
    position: relative;
    vertical-align: middle;
    display: inline-block;
    background: $brand-red;
    color: #fff;
    z-index: 4;
    border-radius: 0 20px 20px 0;
    padding: 0 15px;
    height: 26px;
    margin-left: 0;
    &.bg-green {
      background: $brand-green;
    }
    .icon {
      width: 16px;
      height: 16px;
      vertical-align: middle;
      &, & * {
        fill: #fff;
      }
    }
    span {
      font-weight: $roboto-light;
      text-align: center;
      display: inline-block;
      vertical-align: middle;
      &.discount-main {
        font-size: $font-size-base;
        @include medium-weight;
        line-height: 26px;
        margin-left: 4px;
      }
    }
  }
  .before-price {
    font-size: 15px !important;
    color: #beb8b3;
    margin-left: 3px;
    margin-right: 3px;
    font-weight: 300 !important;
    display: inline-block;
  }
  .from-label {
    display: block;
    font-size: 12px !important;
    text-align: right;
    padding-right: 15px;
    font-weight: 300 !important;
  }
  .cont_precio {
    .desde{
      display: block;
      padding-bottom: 5px !important;
      padding-right: 12px !important;
    }
    .before-price .price {
      font-size: 24px;
      font-weight: $roboto-light !important;
      color: $brand-copy-light;
      text-decoration: line-through;
      &.eur, &.usd, &.gbp {
        font-size:$font-size-base;
        font-weight: $roboto-light !important;
      }
      abbr, .symbol{
        display: none;
      }
    }
    &--noCTA {
      .before-price .price {
        font-size: 16px;
        &.eur, &.usd, &.gbp {
          font-size: 16px;
        }
      }
    }
  }
}
/* entradas incluidas */

.summary_deals2 li {
  .ticketincluded-label {
    position: absolute;
    top: 20px;
    left: 15px;
    vertical-align: middle;
    display: inline-block;
    background: $brand-primary-light;
    z-index: 4;
    border-radius: 0 20px 20px 0;
    padding: 4px 10px;
    margin-left: 0;
    .icon {
      width: 16px;
      height: 16px;
      vertical-align: middle;
      margin-right:2px;
      &, & * {
        fill: $brand-primary;
      }
    }
    .label-text {
      font-weight: $roboto-light;
      text-align: center;
      display: inline-block;
      vertical-align: middle;
      color: $brand-grey-dark;
    }
  }

}


