@import "../../../basic_imports";
.listSeo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
h2 {
  margin-bottom: 15px;
  &, html.fonts-loaded & {
    font-weight: $roboto-light;
  }
}
.contSeo {
  box-shadow: 0 2px 7px 0 rgba(0, 0, 0, .12);
  position:relative;
  overflow: hidden;
  border-radius:6px;
  height: 168px;
  flex: 0 0 48%;
  margin-bottom: 15px;
  @media (min-width: $grid-float-breakpoint) {
    background-size: cover !important;
    flex: 0 0 32%;
  }
  @media (min-width: $screen-md-min) {
    flex: 0 0 19%;
  }

  a {
    text-decoration: none;
  }

  div.img {
    height: 55%;
    background-size: cover;
  }
  div.desc {
    padding: 10px;
    display: block;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: $brand-grey-dark;

    .title {
      font-size: 14px;
      font-weight: 500;
      margin-top: 0;
      margin-bottom: 2px;
      @media (min-width: $grid-float-breakpoint) {
        font-size: 16px;
      }
    }
    .subtitle {
      font-size: 14px;
      font-weight: 300;
    }
  }
}
.catalunya_selector {
  height: auto;
  column-gap: 10px;
  flex-wrap: wrap;
  @media (min-width: $grid-float-breakpoint) {
    flex-wrap: nowrap;
  }
  .contSeo {
    height: auto;
    flex: 0 1 calc(50% - 10px);
    @media (min-width: $grid-float-breakpoint) {
      flex: 1 1 calc(20% - 10px);
    }
    div.img {
      height: 90px;
    }
  }
}
.contSeo .SeoLink {
  height: 100%;
  text-decoration: none;
  display: block;
}

.contSeo .SeoLink:before {
  content: "";
  width: 100%;
  height: 50%;
  position: absolute;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .8));
  bottom: 0;
}

.container-activities {
  h3 {
    margin-bottom: 28px;
  }

  //TODO: falta icono
  .btn-interactive.btn-transparent {
    border: none;
  }
}

.activitiesOffer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 10px;
  align-items: stretch;
  .responsive-elem {
    position: relative;
    display: flex;
    flex-direction: column;
    .sustainable_regenerative {
      text-align: center;
      position: absolute;
      z-index: 2;
      top: 0;
      left: 50%;
      transform: translate(-50%, -12px);
      display: inline-block;
      background-color: #027a02;
      color: #fff;
      padding: 4px 10px;
      border-radius: 15px;
      white-space: nowrap;

      //TODO: falta icono
      .icon {
        width: 14px;
        height: 14px;
        vertical-align: middle;
        margin-right: 3px;
        &, & * {
          fill: #fff;
        }
      }
      span {
        font-size: 14px;
        font-weight: 300;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        color: #fff;
        white-space: nowrap;
      }
    }

    @media (max-width: $grid-float-breakpoint-max) {
      flex: 0 0 100%;
      margin-bottom: 15px;
    }
    @media (min-width: $grid-float-breakpoint) {
      margin-bottom: 30px;
    }
    @media (min-width: $grid-float-breakpoint) and (max-width: $screen-md-max) {
      flex: 0 1 calc(33.33% - 10px);
    }
    @media (min-width: $screen-lg-min) {
      flex: 1 1 calc(25% - 10px);
    }
  }
  .cardSeo {
    flex: 1 0 100%;
    display: flex;
    flex-direction: column;
  }
  .cardSeo__img {
    background-color: #ededed;
    height: 120px;
    @media (min-width: $screen-lg-min) {
      width: 100%;
      height: 149px;
    }
  }
  .cardSeoHeader {
    flex: 1 0 auto;
    min-height: 0;
  }
  .cardSeoContent {
    min-height: 0;
    height: auto;
    flex: 1 0 100%;
  }
  .cardSeo__button {
    margin: 15px 0 5px;

    a.cardSeo__fromButton {
      padding: 8px 14px 9px;
      border-radius: 10px;
      background-color: #ffd212;
      font-weight: normal;
      text-decoration: none;
      color: $brand-grey-dark;
    }
  }
  .cardSeo__titletext {
    flex: 0 1 auto;
    overflow: hidden;
    @media (min-width: $grid-float-breakpoint) {
      height: 200px;
    }
    position: relative;
    &:after {
      content:"";
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
      height: 30px;
    }
    a {
      text-decoration: none;
    }
  }
  .cardSeo__title {
    font-size: 14px;
    @media (min-width: $grid-float-breakpoint) {
      font-size: 16px;
    }
  }
  .cardSeo__description {
    overflow: hidden;
    overflow-wrap: anywhere;
  }
}

#grand-tour-catalunya-banner {
  display: flex;
  justify-content: center;
}

#grand-tour-catalunya-banner img {
  max-width: 100%;
}