@import "../../../basic_imports";
/* estilos de componentes comunes en todas las dispos */
@import "../../../../../../common/sass/web/availability/common_availability_components";

@media (min-width: $grid-float-breakpoint-max) {
  .headerContent--2 {
    background-image: url(/headers/ilusion/img/cabeceras/cabecera-cat-musicales.jpg);
    background-repeat: no-repeat;
  }
  .headerContent--3 {
    background-image: url(/headers/ilusion/img/cabeceras/cabecera-cat-teatro.jpg);
    background-repeat: no-repeat;
  }
  .headerContent--4 {
    background-image: url(/headers/ilusion/img/cabeceras/cabecera-cat-conciertos.jpg);
    background-repeat: no-repeat;
  }
  .headerContent--5 {
    background-image: url(/headers/ilusion/img/cabeceras/cabecera-cat-deportes.jpg);
    background-repeat: no-repeat;
  }
  .headerContent--6 {
    background-image: url(/headers/ilusion/img/cabeceras/cabecera-cat-parques.jpg);
    background-repeat: no-repeat;
  }
  .headerContent--7 {
    background-image: url(/headers/ilusion/img/cabeceras/cabecera-cat-museos.jpg);
    background-repeat: no-repeat;
  }
}

.no_bg_header {
  padding: 10px 0 20px 0;
}

.searcher-box {
  margin-top: 20px;
  @media (min-width: $screen-md-min) {
    width: 800px;
    margin: 12px auto 0;
  }
}
@media (min-width: $screen-md-min) {
  .headerSubtitle {
    width: 845px;
    margin: 0 auto;
  }
}

.multicriteriasearch .tab-content .tab-pane {
  padding: 25px !important;
}
.home-categories {
  overflow: hidden;
  ul {
    overflow: hidden;
    display: block;
    margin: 50px auto;
    @media (max-width: $screen-sm-max) {
      margin: 30px auto;
    }
    @media (min-width: 840px) {
      width: 840px;
    }
    li {
      @media (max-width: $screen-sm-max) {
        margin-bottom: 20px;
        padding: 0;
      }
      a {
        display: block;
        text-align: center;
        text-decoration: none;
        svg {
          margin-bottom: 10px;
          &.icon-entradas-2 {
          width: 100%;
          height: 70px;
          }
          &.icon-entradas-3 {
            width: 100%;
            height: 70px;
          }
          &.icon-entradas-4 {
            width: 100%;
            height: 70px;
          }
          &.icon-entradas-5 {
            width: 100%;
            height: 70px;
          }
          &.icon-entradas-6 {
            width: 100%;
            height: 70px;
          }
          &.icon-entradas-7 {
            width: 100%;
            height: 70px;
          }
        }
        span {
          display: block;
          &.homecat--name {
            font-size: 12px;
            @include medium-weight;
            color:$brand-grey-dark;
            margin-bottom: 3px;
            @media (max-width: 320px) {
              height: 2em;
              line-height: 1.1;
            }
          }
          &.homecat-num {
            font-size: 12px;
            font-weight: $roboto-light;
            text-transform: uppercase;
            color: $brand-secondary;
          }
        }
      }
    }
  }
}
.home-all-cat {
  background: #ededed;
  padding: 50px 0;
  margin: 70px 0;
  @media (max-width: $grid-float-breakpoint-max) {
    &.list-all-cat {
      display: none;
    }
  }
  ul li {
    font-size: 14px;
    a {
      color: $brand-grey-dark;
      text-decoration: none;
    }
    h2 {
      font-size: 14px;
      text-transform: uppercase;
      @include medium-weight;
      margin-bottom: 24px;
      &, & a {
        color: $brand-grey-dark;
      }
      span {
        font-weight: $roboto-light;
      }
    }
    ul li {
      font-weight: $roboto-light;
      margin-bottom: 12px;
      span {
        color:$brand-copy-light;
      }
    }
  }
}
.more {
  padding: 30px 0;
}
/* Caja de eventos para listados, y resultados de busqueda */
.event-element {
  border: 1px solid $colorBordes;
  border-radius: $border-radius-large;
  background: #fff;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: block;
  margin-bottom: 20px;
  color: $brand-grey-dark;
  text-decoration: none;
  transition: all $transition-time;
  &:hover, &:focus {
    text-decoration: none;
    color: $brand-grey-dark;
    box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.12);
  }
  .event-element-img {
    float: left;
  }
  p {
    margin: 0;
  }
  .event-name {
    font-size: 20px;
    @include medium-weight;
    color: #4d4a48;
  }
  .event-date {
    color: $travel-copy-light-color;
    font-weight: $roboto-regular;
    font-size: 14px;
  }
  .event-place {
    font-weight: $roboto-light;
    font-size: 14px;
    line-height: 14px;
    color: $brand-grey-dark;
    strong {
      color: $brand-grey-dark;
    }
  }
  .event-description {
    font-weight: $roboto-light;
    font-size: 14px;
    line-height: 14px;
  }
  .event-element-price {
    font-size: 20px;
    font-weight: $roboto-regular;
    color: #4d4a48;
    .price-desde {
      font-size: 11px;
      font-weight: $roboto-light;
      color: #4d4a48;
    }
  }
}
.minilist {
  .event-element {
    height: 170px;
    position: relative;
    margin-bottom: 20px;
    @media (min-width: $grid-float-breakpoint) {
      margin-bottom: 30px;
    }
    &:hover, &:focus {
      background: $brand-yellow-medium;
    }
    .event-element-img {
      width: 46%;
      overflow: hidden;
      height: 100%;
      img {
        width: 100%;
        height: auto;
        @media (max-width: 480px) {
          width: auto;
          height: 100%;
        }
      }
    }
    .event-element-data {
      margin-left: 46%;
      padding: 3px 10px;
    }
    .event-name {
      min-height: 61px;
      max-height: 61px;
      position: relative;
      margin-bottom: 8px;
      overflow: hidden;
      line-height: 1.4;
      &:after {
        content:"";
        width: 84px;
        height: 1px;
        background: #dcdcdc;
        position: absolute;
        bottom: 0;
        left: 0;
      }
    }
    .event-date {
      margin-bottom: 4px;
      @media (max-width: $grid-float-breakpoint-max) {
        font-size: 11px;
      }
    }
    .event-description {
      display: none;
    }
    .event-element-price-button {
      position: absolute;
      bottom:2px;
      right: 10px;
      .event-element-price {
        text-align: right;
      }
      .btn-cta {
        display: none;
      }
    }
  }
}
.carousel-inner .minilist .event-element {
  @media (min-width: $grid-float-breakpoint) and (max-width: $screen-sm-max) {
    .event-element-img {
      display: none;
    }
    .event-element-data {
      margin-left: 0;
    }
  }
  .event-date {
    font-size: 12px;
    white-space: nowrap;
  }
}

.events-searchresults {
  .event-element {
    padding: 8px 24px 8px 8px;
    margin-bottom: 10px;
    height: 140px;
    @media (max-width: $grid-float-breakpoint-max) {
      padding: 8px;
    }
    .event-element-img {
      width: 124px;
      height: 124px;
      overflow: hidden;
      border-radius: 6px;
      img {
        width: 100%;
        height: auto;
      }
    }
    .event-element-data {
      margin-left: 124px;
      padding: 0;
      overflow: hidden;
      position: relative;
      height: 130px;
    }
    .event-element-content {
      padding: 0 20px;
      float: left;
      margin-right: 150px;
      @media (max-width: 480px) {
        float:none;
        margin-right: 0;
        padding: 0 0 0 10px;
      }
      @media (max-width: $screen-md-max) {
        padding: 0 0 0 20px;
      }
    }
    .event-name {
      @media (max-width: $grid-float-breakpoint-max) {
        line-height: 1.2;
        min-height: 2.2em;
        max-height: 3.6em;
        overflow: hidden;
      }
    }
    .event-date {
      margin-bottom: 4px;
      @media (max-width: $grid-float-breakpoint-max) {
        font-size: 11px;
      }
    }
    .event-place {
      display: none;
    }
    .event-description {
      height: 56px;
      overflow: hidden;
      @media (max-width: 480px) {
        display: none;
      }
    }
    .event-element-price-button {
      width: 150px;
      position: absolute;
      right: 0;
      top: 0;
      text-align: right;
      @media (max-width: 480px) {
        top: auto;
        bottom: 3px;
      }
      .event-element-price {
        margin: 20px 0;
        @media (max-width: 480px) {
          margin:0;
        }
      }
      .btn-cta {
        @media (max-width: 480px) {
          display: none;
        }
      }
    }
  }
}
.paginator-results {
  text-align: center;
  @media (min-width: $screen-md-min) {
    text-align: right;
  }
}
.pagination {
  margin: 10px 0 20px 0;
  svg {
    width: 10px;
    height: 10px;
    &, & * {
      fill: $brand-copy-light;
    }
  }
}

/*fichas copiadas de ocio */
.row.cont_all_fichas {
  a {
    text-decoration: none !important;
    display: block;
  }
  .ficha {
    overflow: hidden;
    height: 100%;
    border: 1px solid $colorBordes;
    border-radius: $border-radius-large;
    background-color: #ffffff;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all $transition-time;
    .info_ficha {
      padding: 10px;
      overflow: hidden;
      h4 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        word-wrap: break-word;
        max-height: 42px;
        height: 42px;
        line-height: 20px;
        color: $brand-grey-dark;
        font-size: 18px;
        @include medium-weight;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 0;
      }
      .localizacion {
        color: $travel-copy-light-color;
        font-size: 14px;
      }
      .cont-precio {
        color: #7a726b;
        font-size: 12px;
        float: right;
        .precio {
          font-size: 18px;
          color: $brand-grey-dark;
          @include medium-weight;
          padding-left: 5px;
        }
      }
    }

  }
  a:hover, a:focus {
    .ficha {
        box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.12);
    }
  }
}

/*fin fichas*/
/* resultados de búsqueda */
.results-title {
  font-size: 20px;
  color: #9b9b9b;
  font-weight: $roboto-light;
  margin-bottom: 30px;
  strong {
    font-weight: $roboto-bold;
  }
}

h2.heading-fonts .results_num {
  font-family: $safe-font-family-sans-serif;
  color: #9b9b9b;
  font-size: 16px;
  font-weight: $roboto-regular;
  line-height: 24px;
  vertical-align: bottom;
  .fonts-loaded & {
    font-family: $font-family-base;
  }
}
.searchlinkslist {
  margin-bottom: 50px;
  li {
    a {
      display: block;
      border-bottom: 1px solid #d8d8d8;
      padding: 15px 0 10px 0;
      &, &:hover, &:focus {
        text-decoration: none;
      }
      strong, span {
        display: block;
      }
      strong {
        font-size: 14px;
        color:$brand-grey-dark;
      }
      span {
        font-size: 12px;
        font-weight: $roboto-regular;
        color: $brand-secondary;
        text-transform: uppercase;
      }
    }
  }
}
#events-filter-results {
  .events_noresults {
    margin: 120px 0;
    p {
      text-align: center;
      font-size: 18px;
    }
  }
}