body#cms.cms-id-7 {
  #wrapper > .container {
    width: 100% !important;
    font-family: "Neue Haas Grotesk Display",serif !important;
  }

  #content {
    padding: 0;
  }

  .page-footer, .page-content {
    margin-bottom: 0px !important;
  }

  .title {
    text-align: center;
    margin-bottom: 20px;
    font-family: "Manier", serif;
    font-size: 36px;
    font-weight: lighter;
  }
  .tecnologia_soñar p{
    font-size: 15px;
  }
  h2.title {
    color: #222222;
    padding: 0 15px;
  }
  div.title {
    color: #666439;
  }

  .top-text {
    /*max-width: 100%;*/
    max-width: 1024px;
    margin: auto;
    padding: 0 15px;
    .bold {
      font-family: "Neue Haas Grotesk Display", serif !important;
      font-weight: bold;
    }
    .subtitle {
      font-size: 17px; 
      /*margin-bottom: 30px;*/
    }

    p {
      text-align: center;
      font-size: 15px;
      line-height: 134%;
    }
  }
  .img_empresa img {
    width: 100%;
    height: 410px;
  }

  .content-hover-block{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    gap: 20px;
  }
  .content-hover-block div{
    position: relative;
  }
  .content-hover-block img.background{
    position: absolute;
  }
  .content-hover-block .second-block span{
    color: #FFFFFF;
    font-size: 22px;
    transform: none;
    position: relative;
    z-index: 3;
    text-transform: none !important;
    z-index: 3;
  }
  .content-hover-block .second-block span.title{
    margin-bottom: 30px;
    text-transform: none !important;
  }
  .content-hover-block .second-block span.text{
    font-size: 15px;
    padding: 0 60px;
    position: relative;
    color: #FFFFFF;
  }
  .content-hover-block .second-block .text:last-of-type {
    margin-bottom: 30px;
  }
  .content-hover-block .second-block span.info{
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  
  .content-hover-block .basic-title{
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
    left: 50%;
    bottom: 40px;
    color: #FFFFFF;
    font-size: 22px;
  }

  .sistemas-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: auto;
  }

  .sistemas-grid .content-hover-block {
    position: relative;
    width: auto;
    height: 441px;
    overflow: hidden;
    cursor: pointer;
  }

  .sistemas-grid .content-hover-block .second-block p{
    font-size: 15px;
    padding: 0 60px;
    position: relative;
    color: #FFFFFF;
    max-width: 495px;
  }
  .sistemas-grid .content-hover-block .first-block {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
  }

  .sistemas-grid .content-hover-block .first-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sistemas-grid .content-hover-block .second-block {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
  }

  .sistemas-grid .content-hover-block:hover .second-block {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .sistemas-grid .content-hover-block:hover .first-block {
    filter: brightness(0.7);
  }


  .years_container {
    position: relative;
    max-width: 1100px;
    margin: auto;
    overflow-x: hidden;
    .owl-slider {
      max-width: 1024px;
      margin: 60px auto;

      .years_slider {
        width: 323px;
        height: 225px;
        border: 2px solid #F5F3EF;
        padding: 28px 18px;
        margin: auto;

        .title {
          color: #666439;
          font-family: "Manier", serif;
          font-size: 33px;
          font-weight: bold;
          text-align: left;
        }

        .subtitle {
          color: #222;
          font-family: "Manier", serif;
          font-size: 16px;
          margin: 10px 0;
        }

        .year_text {
          font-weight: lighter;
          font-size: 14px;
          text-align: left;
        }
      }
    }
    .owl-prev:before, .owl-next:before {
      content: "";
      top: 50%;
      position: absolute;
      margin-top: -30px;
      background: #E9E5DE no-repeat center center;
      width: 60px;
      height: 60px;
      display: block;
      border-radius: 100%;
      background-size: 30px;
    }
    .owl-prev:before {
      left: -40px;
      background-image: url(/img/cms/slider-prev-chevron.svg) !important;
      background-position: 25px center;
    }
    .owl-next:before {
      right: -40px;
      background-image: url(/img/cms/slider-next-chevron.svg) !important;
      background-position: 5px center;
    }
  }

  .tecnologia_soñar {
    max-width: 1100px;
    margin: 120px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    .texto {
      flex: 1 1 51%;
      padding: 0 75px 0 0;
      .title {
        line-height: 140%;
        text-align: left;
      }
      .bold {
        font-family: "Neue Haas Grotesk Display Bold",serif !important;
      }
      text-align: left;
    }
    .imagen {
      flex: 1 1 49%;
      display: flex;
      flex-direction: column;
      gap: 40px;
      img {
        width: 100%;
      }
    }
  }

  @media(min-width: 768px) {
    .tecnologia_soñar .texto, .tecnologia_soñar .imagen{
      width: 50%;
    }
  }
  .multisac {
    background-color: #E9E5DE;
    padding: 80px;
    .title {
      margin-bottom: 50px;
    }
    .gamas {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      .item {
        width: 257px;
        height: 220px;
        padding: 20px;
        border: 2px solid #FFF;
        text-align: center;
        img {
          border-bottom: 2px solid #FFF;
          padding-bottom: 15px;
        }
        p {
          font-size: 18px;
          padding-top: 15px;
        }
        a {
          font-size: 14px;
          border: 1px solid #666439;
          color: #666439;
        }
      }
    }
  }
  .basefix, .sostenible {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 120px auto;
    gap: 20px;

    .basefix_text {
      padding: 30px 0 30px 50px;
      text-align: left;
      .title {
        line-height: 140%;
        text-align: left;
      }
    }
    .sostenible_text {
      padding: 60px 60px 0 0;
      text-align: left;
      .title {
        line-height: 120%;
        text-align: left;
      }
      .bold {
        font-weight: bold;
      }
    }
  }
  .hotel {
    background-color: #E9E5DE;
    padding: 60px 0;
    .hotel-content{
      max-width: 1100px;
      margin: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 15px;
    }
    .hotel_text {
      flex: 1;
      .layer_centered {
        max-width: 640px;
        margin: auto;
        padding: 0 15px;

        .title {
          font-family: "Manier", serif;
          font-size: 36px;
          color: #666439;
          text-align: left;
          font-size: 30px;
          margin-bottom: 15px;
        }

        .subtitle {
          font-size: 19px;
          color: #262425;
          margin: 15px 0 30px;
        }

        .txt {
          color: #262425;
          text-align: left;
          font-size: 15px; 
          line-height: 1.34;
        }
      }
    }
    .image {
      position: relative;
      display: flex;
      width: 50%;
      
      img {
        height: auto;
        width: auto;
        text-align: center;
        position: relative;
      }
    }
  }

  .certificaciones{
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 80px 0;
    gap: 20px;
    max-width: 800px;
    margin: auto;
    .text{
      display: flex;
      top: 0;
      position: relative;
      font-size: 18px;
      color: #262425;
      margin-bottom: 40px;
    }
    .title{
      color: #666439;
      font-size: 30px;
    }
    img{
      height: 81px;
      width: auto;
    }
  }
  .slider_brandlist_block {
    .slider_brandlist_container {
      max-width: 1200px;
      margin: auto;
      padding: 0 35px;
      .slider_brandlist{
        padding: 0 40px;
      }
    }
  }
  

  @media(max-width: 1220px) {
    .basefix_sostenible {
      .basefix {
        padding: 0 15px;
        .basefix_text {
          padding: 30px 0 30px 10px;
        }
      }
      .sostenible {
        padding: 0 15px;
        .sostenible_text {
          padding: 60px 10px 0 0;
        }
      }
    }
    .hotel {
      .hotel-content {
        flex-direction: column;
        .hotel_text {
          padding: 30px 0px;
          .layer_centered {
            .title {
              margin-bottom: 25px;
            }
          }
        }
        img {
          width: 100%;
        }
      }
    }
  }
  @media(max-width: 962px) {
    .tecnologia_soñar {
      margin: 60px auto;
      flex-direction: column-reverse;
      .imagen {
        width: 100%;
        img:nth-child(2) {
          display: none;
        }
        img {
          min-height: 264px;
          object-fit: cover;
        }
      }
      .texto {
        padding: 0;
        text-align: left;
      }
    }
    .multisac {
      padding: 80px 15px;
      .title {
        line-height: 140%;
      }
      .gamas {
        flex-direction: column;

        .item {
          width: 280px;
        }
      }
    }
    .basefix_sostenible {
      .basefix {
        flex-direction: column-reverse;
        margin: 60px auto;
        .basefix_text {
          padding: 0;
        }
      }
      .sostenible {
        flex-direction: column;
        margin: 60px auto;
        width: 100%;
        .sostenible_text {
          padding: 0;
        }
      }
      img {
        width: 100%;
      }
    }
    .sistemas-grid {
      display: flex;
      flex-wrap: wrap;
      .background {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 15px;
      }
    }
  }

  @media(max-width: 768px) {
    /*h2.title, .top-text * {
      text-align: left !important;
    }*/
    .top-text * {
      text-align: left !important;
    }
    h2.title, .top-text .subtitle {
      text-align: left !important;
    }
    .img_empresa img {
      height: unset;
    }
    .content-hover-block {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      align-content: center;
      flex-wrap: nowrap;
      gap: 20px;
      padding: 15px;
    }
    .content-hover-block img{
      width: 100%;
    }
    .content-hover-block .second-block span.title {
      bottom: 65%;
    }
    .content-hover-block .second-block span.text {
      bottom: -50px;
    }
    .content-hover-block .second-block span.info {
      bottom: 0;
    }
    .hotel-content {
      padding: 20px 0;
    }
    .hotel .image {
      width: 100%;
      padding: 15px;
      img{
        width: 100%;
      }
    }
    .slider_brandlist_block .slider_brandlist_container {
        padding: 0;
    }
    .certificaciones .title {
      line-height: 1;
    }
  }
  
  @media(max-width: 480px) {
    .years_container {
      padding: 0 35px;
      .owl-slider {
        margin: 60px auto 0 auto;
        .years_slider {
          width: auto;
          height: 266px;
        }
      }
    }
    .tecnologia_soñar {
      .texto {
        margin-top: 40px;
        .title {
          line-height: 111%;
        }
      }
    }
    .content-hover-block .basic-title {
        position: absolute;
        left: 50%;
        width: 100%;
        transform: translateX(-50%);
        margin: auto;
        bottom: 40px;
        color: #FFFFFF;
        font-size: 22px;
        text-align: center;
    }
    .content-hover-block .second-block span.title{
      bottom: unset;
      font-size: 22px;
      line-height: 111%;
      margin-bottom: 20px;
    }
    .sistemas-grid .content-hover-block .second-block p{
      padding: 0px;
      max-width: 245px;
      line-height: 111%;
    }
    .content-hover-block .second-block .text:last-of-type{
      margin-bottom: 20px;
    }
    .content-hover-block .second-block span{
      font-size: 18px;
    }
    .certificaciones{
      padding: 80px 20px;
      max-width: 295px;
      text-align: left;
      margin: unset;
    
      .title, .text {
        text-align: left;
      }
      .group-img{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        align-items: center;
        gap: 20px;
        text-align: center;
        margin: auto;
        img{
          width: auto;
          height: auto;
          object-fit: contain;
        }
      }
    }
  }

  @media(max-width: 375px) {
    h2.title {
      padding: 0px 25px;
    }
    .top-text{
      padding: 0 15px;
      .subtitle {
        text-align: center !important;
        font-size: 20px;
        max-width: 225px;
        margin: 1rem auto;
      }
      p{
        font-size: 18px;
        line-height: 134%;
      }
    }
    .img_empresa{
      margin: 20px 0;
      display: flow-root;
      img{
        height: auto;
        width: 499px;
        display: block;
        object-fit: cover;
      }
    }
    .years_container {
      padding: 0 45px;
    }
    .tecnologia_soñar{
      padding: 0 20px;
      max-width: 309px;
    }
    .content-hover-block{
      padding: 20px;
    }
    .hotel {
      .hotel-content{
        padding: 0;
      }
      .image {
        padding: 20px;
      }
      .hotel_text {
        .layer_centered {
          padding: 0 25px;
        }
      }
    }
  }
}


