/* slider*/
.seriousslider-caption-title {
  display: none;
}

.seriousslider-light .seriousslider-caption-text {
  font-size: 1rem !important;
}

.seriousslider-caption-inside {
  background-color: #00000080 !important;
}

.seriousslider-inner {
  height: auto !important;

  >.item img.item-image {
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
  }
}

/*fin slider*/

.titleContainer {
  font-family: 'Montserrat-Bold';
  background-color: var(--amarillo);
  color: var(--blanco);
  text-align: center;

  .title {
    background-color: var(--azul);
  }

  h1 {
    margin-bottom: 0px;
    font-size: 1.2rem;
  }
}

/*micrositios*/

.banner {
  position: relative;

  #mask {
    overflow: hidden;
  }

  .barra {
    background-color: var(--blanco);
    width: 5px;
    height: 80%;
    margin: auto;
    top: 50%;
    bottom: 50%;
    z-index: 9;
    position: absolute;
    left: 0;
    right: 0;
    opacity: unset;
  }

  .imgBanner {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease-in-out;
  }

  h2 {
    width: -webkit-fill-available;
    z-index: 100;
    position: absolute;
    bottom: 0;
    font-size: 40px;
    font-family: 'Montserrat-Bold';
    color: var(--blanco);
    margin-left: 50px;
    margin-right: 50px;

    img {
      position: absolute;
      width: 150px;
      right: 0;
      bottom: 0;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
    }
  }

  .link-micrositios:hover .imgBanner {
    transform: scale(1.1);
  }

  span {
    color: var(--amarillo);
  }

  #mask::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(37, 54, 139, 0.03823536250437676) 15%, rgba(37, 54, 139, 0.2455182756696429) 49%, rgba(37, 54, 139, 0.48361351376488093) 70%);
    z-index: 1;
  }

  a {
    text-decoration: none;
  }

}

.banner>* {
  padding: 0%;
}

/* Noticias */

.noticias {
  .link-noticias {
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
    transition: all 0.3s ease-in-out;

    img {
      transition: all 0.3s ease-in-out;
    }
  }

  .link-noticias:hover {
    border-bottom: var(--amarillo) 3px solid;

    img {
      transform: scale(1.1);
    }
  }

  .imagen {
    width: 250px;
    overflow: hidden;
  }

  .texto {
    width: calc(100% - 250px);
    background-color: var(--azul);
  }

  img {
    object-fit: cover;
    object-position: left;
    margin: 0;
    height: 100%;
    width: 100%;
  }

  h2 {
    height: 46px;
    font-weight: bold;
    color: var(--amarillo);
    font-size: 1.2rem;
    overflow: hidden;
  }

  p,
  span {
    height: 96px;
    overflow: hidden;
    margin: 0;
    font-family: 'Montserrat-Medium';
    color: var(--gris);
    font-size: 0.8rem;
  }
}

.noticias>* {
  padding: 0%;
}

/*Temas de interés*/

.temas_Interes {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.video-container {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.center-video {
  transform: scale(1);
  z-index: 10;
}

.center-video .video-overlay {
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
}

.link-kids {
  overflow: hidden;

  .tituloKids {
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    z-index: 1;

    p {
      height: min-content;
      font-size: 2rem;
      font-family: 'Montserrat-Bold';
      color: var(--blanco);

      span {
        color: var(--amarillo);
      }
    }
  }

  img {
    transition: transform 0.3s ease-in-out;
  }
}

.link-kids a:hover img {
  transform: scale(1.1);
}


/* Redes sociales */

.redes {
  justify-content: center;

  margin: 2px;

  .tabsContainer {
    justify-content: center;
    max-width: 60.2rem;
    border: 1px solid var(--azul-ct);
  }

  .nav-tabs .nav-link .btn-tab {
    text-align: center;
    display: contents;
    border: 1px solid var(--azul-ct);
  }

  .nav-tabs .nav-link {
    margin-bottom: calc(-1* var(--bs-nav-tabs-border-width));
    border-left: 1px solid var(--azul-ct);
    border-radius: 0%;
    width: 15rem;
    text-decoration: none;
    color: var(--azul);
    font-weight: bold;
    font-size: 1rem;
  }

  .nav-tabs .nav-link.active,
  .nav-tabs .nav-item.show .nav-link {
    color: var(--azul);
    border-right: 0px solid var(--azul-ct);
    border-bottom: 3px solid var(--amarillo);
    background-color: var(--blanco);
    border-radius: 0%;
  }

  .nav-tabs .nav-link:hover {
    border: 0px;
  }

  .tab-pane {
    width: 60rem;
  }

  iframe,
  blockquote,
  .twitter-timeline {
    border: 0px;
    overflow: hidden;
    width: 58rem;
    margin: 2rem 1rem;
    height: 500px;
  }
}

.redes>* {
  padding: 0%;
}

/*enlaces*/

.enlaces_container {
  background-color: var(--gris);
  justify-content: center;
  display: flex;
  text-align: left;

  ul {
    list-style: none;
  }

  a {
    text-decoration: none;
    color: var(--gris-o);
    font-family: WorkSans;
  }

  .imgLogoEnlaces {
    max-width: 8rem;
    margin-top: 1rem;
    object-fit: contain;
  }

  .imgCol {
    display: flex;
    justify-content: center;
  }

  a:hover {
    text-decoration: underline;
    color: var(--azul-r);
  }
}

/*fin micrositios*/


@media (max-width: 991px) {
  .contenedor {
    padding: 0;
  }

  /*slider*/
  .seriousslider-inner>.item img.item-image {
    height: 450px !important;
  }

  .seriousslider-caption {
    bottom: auto;
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    padding: 0;

    .seriousslider-caption-inside {
      height: 450px;
      padding: 10px;
      align-items: baseline;
      display: flex;

      p {
        font-size: 1.5rem;
      }
    }
  }

  /*fin slider*/

  .noticias>.row {
    margin: 0;

    .imagen {
      width: 145px;
    }

    .texto {
      width: calc(100% - 145px);
    }
  }

  .enlaces_container {
    ul {
      padding: 0;
    }
  }

  .redes {
    .nav-tabs {
      justify-content: space-between;

      .nav-link {
        width: min-content;
      }
    }

    .tab-pane {
      width: auto;
    }

    iframe,
    blockquote,
    .twitter-timeline {
      width: auto;
      max-width: max-content;
    }
  }
}