/* Medium devices (desktops, 992px and up) */
@media (max-width: $screen-xs-max) {
  .headerContentBg {
    display: none;
  }
}
@media (min-width: $screen-sm-min) {
  .headerContentBg {
    &, &:before {
      display: block;
      width: 100%;
      height: 320px;
      position: absolute;
      left: 0;
      right: 0;
    }
    &:before {
      content: '';
      top: 0;
      z-index: 0;
      background: rgba(0,0,0,0.1);
    }
    &--big {
      height: 435px;
    }
    &--big:before {
      height: 435px;
    }
    &.headerContent--small {
      padding-top: 0;
    }
    &.headerContent--fullsize {
      padding-top: 0;
      background-size: cover !important;
    }
  }
  .headerContent {
    min-height: 320px;
    padding-top: 65px;
    position: relative;
    margin-bottom: 20px;
    @media (min-width: $grid-float-breakpoint) and (max-width: $screen-sm-max) {
      height: initial;
      .home_search_box {
        min-height: 50px;
      }
    }
    @media (max-width: $grid-float-breakpoint-max) {
        .home_search_box {
          min-height: initial;
        }
    }
    .home_search_box {
      min-height: 30px;
      .travels_searcher fieldset.destiny:not(.flyplushoteloption) {
        @media (min-width: $screen-md-min) {
          width: 100%;
        }
      }
    }
    &--small {
      padding-top: 45px;
    }
    &--fullsize {
      padding-top: 45px;
      padding-bottom: 0;
      display: flex;
      align-items: center;
      margin-bottom: 30px;
      &, &:before {
        height: calc(100vh - 100px);
        max-height: 924px;
        min-height: 320px;
      }
      @media (min-width: $grid-float-breakpoint) and (max-width: $screen-md-min) {
        height: calc(100vh - 100px);
      }
      > .container-limited {
        width: 100%;
      }
      .headerTitle {
        margin-top: 0;
      }
      .wide_searcher {
        min-height: 218px;
      }
    }
  }
}
/* Buscador con foto: EOC */

.bg_photo {
  height: 0;
  overflow: hidden;
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: $screen-sm-min) {
  .bg_photo {
    width: 100%;
    left: 0;
    margin-left: 0;
    z-index: -1;
    height: 440px;
    position: absolute;
    text-align: center;
    &.photo_veil {
      &:before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 2;
        background: rgba(0,0,0,0.1);
      }
    }
  }
  .page_photo_title {
    line-height: 36px;
  }
  .rowSearcherWithPhoto {
    min-height: 440px;
    margin: 0 auto 20px auto !important;
    padding-top: 150px;
    .page_photo_title + & {
      padding-top: 0;
      min-height: 292px;
    }
    .multicriteriasearch {
      margin-bottom: 0;
    }
  }
  .rowSearcherWithPhoto.wide_searcher {
    width: 100%;
  }
}
@media (max-width: $grid-float-breakpoint-max) {
  .rowSearcherWithPhoto.home_search_box {
    min-height: 0;
  }
}
/* New box for title + searcher */
.box-title-searcher {
  border: 0;
  margin: 0;
  padding: 0;
  position: relative;
  @media (min-width: $screen-sm-min) {
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(to left, $brand-primary-medium, $brand-primary);
    box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, .2);
  }
  &-content {
    padding: 15px 0;
    @media (min-width: $screen-sm-min) {
      background: #fff;
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      padding: 25px 20px;
    }
    .hotel_searcher.skeleton {
      padding: 0;
      padding-top: 20px;
      margin: 0;
      min-height: 0;
    }
    .wide_searcher, .home_search_box {
      .multicriteriasearch {
        background: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        margin: 0;
        margin-top: 20px;
        @media (max-width: $screen-xs-max) {
          border: 0;
          margin: 0;
        }

        .tab-content {
          padding-top: 0;
          padding-bottom: 0;

          .tab-pane {
            padding: 0;
          }
        }

        .nav-tabs-container {
          @media (max-width: $grid-float-breakpoint-max) {
            margin-left: -15px;
            margin-right: -15px;
          }
          @media (min-width: $grid-float-breakpoint) {
            border-top: 1px solid #dfdfdf;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            padding-bottom: 0;
            margin-bottom: 20px;
          }
        }
      }
    }
    .wide_searcher .multisearcher-aura__content dst-accommodation-searcher {
      padding-top: 0;
    }
    dst-multisearcher-aura {
      display: block;
      @media (min-width: $grid-float-breakpoint) {
        margin-top: 20px;
        .multisearcher-aura__tabs {
            border-top: 1px solid #dfdfdf;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            padding-top: 10px;
            padding-bottom: 0;
            margin-bottom: 0;
        }
      }
    }
    //coches de alquiler
    .mli-home-page .mli-search-bar {
      background: none;
      box-shadow: none;
      margin-top: 0;
      padding: 0;
      margin: 0;
      border: 0;
    }
    .home_search_box {
      margin: 0;
      @media (min-width: $screen-sm-min) {
        margin: 0;
        width: 100%;
      }
    }
  }
  .headerTitle, .headerTitle--white, .headerSubtitle  {
    text-align: left;
    color: $brand-grey-dark;
    text-shadow: none;
    line-height: 1.2;
    text-transform: none;
    margin-top: 0;
    margin-bottom: 0;
  }
  .headerTitle, .headerTitle--white  {
    font-size: 20px;
    @media (min-width: $screen-sm-min) {
      font-size: 28px;
    }
  }
  .headerSubtitle {
    font-size: 16px;
    margin-top: 0;
    &, html.fonts-loaded & {
      font-weight: 400;
    }
    &:not(:empty) {
      margin-top: 5px;
    }
    @media (min-width: $screen-sm-min) {
      font-size: 18px;
      .hero_text h2, .hero_text p {
        text-align: left;
        color: $brand-grey-dark;
        margin: 0;
      }
      .hero_text h2 {
        margin-bottom: 10px;
      }
    }
  }
  .wide_searcher {
    margin-bottom: 0;
    @media (min-width: $screen-sm-min) {
      min-height: 0;
    }
  }
  .headerContent & {
    margin-top: 20px;
  }
}
