/* fuentes */
@font-face {
  font-family: "MuseoSans";
  src: url("../fonts/MuseoSans_900.woff") format("woff");
  font-weight: 900;
}

@font-face {
  font-family: "MuseoSans";
  src: url("../fonts/MuseoSans_700.woff") format("woff");
  font-weight: 700;
}

@font-face {
  font-family: "MuseoSans";
  src: url("../fonts/MuseoSans_500.woff") format("woff");
  font-weight: bold;
}

@font-face {
  font-family: "MuseoSans";
  src: url("../fonts/MuseoSans_300.woff") format("woff");
  font-weight: normal;
}

@font-face {
  font-family: "MuseoSans";
  src: url("../fonts/MuseoSans_100.woff") format("woff");
  font-weight: light;
}

.display-none {
  display: none!important;
}

body {
  font-family: "MuseoSans";
}

/* navbar */
.nav-item > .nav-link {
    font-size: 14px;
    color: #ffffff;
}

.header-gradient {
    background-image: linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,0.82) 100%) !important;
}

.header-transparent {
    background-color: transparent !important;
    background-image: none !important;
}

.offcanvas {
  background-color: rgba(255, 255, 255, 1)!important;
}

@media (max-width: 960px) {
  .nav-item > .nav-link {
    font-size: 14px;
    color: #000;
}
}

@media (max-width: 768px) {
  .navbar-brand img {
      width: 150px;
      height: auto;
  }
  .navbar {
    padding: 1rem 0.5rem;
  }
  .navbar-toggler {
    font-size: 0.8rem;
  }
  .nav-item > .nav-link {
    font-size: 14px;
    color: #666;
  }
  .maz-nav-max-width {
    max-width: 100vw;
  }

  .altura-limitada {
    height: 79vh!important;
  }
}


/* portada */
#portada {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#main-title {
    max-width: 800px;
    font-size: 4rem;
    color: #ffffff;
    text-shadow: 0em 0em 0.3em rgba(0,0,0,0.4);
    font-family: "MuseoSans", Helvetica, Arial, Lucida, sans-serif;
    line-height: 1em;
    font-weight: bold;
}

#img2024 {
  position: relative;
  top: 10px;
}


.video-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* solo oscurece el vídeo */
}

.content {
  position: relative;
  z-index: 2; /* texto por encima del vídeo y su sombra */
}

.flex-grow-custom {
  flex-grow: 1;
  flex-basis: 0;
  margin-right: 40px;
}
.flex-grow-custom:last-child {
  margin-right: 0px;
  margin-left: 40px;
}

@media (max-width: 768px) {
  #main-title {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0em 0em 0.3em rgba(0,0,0,0.4);
    font-family: "MuseoSans", Helvetica, Arial, Lucida, sans-serif;
    line-height: 1em;
    font-weight: bold;
  }
  #main-title-2023 {
    font-size: 2rem;
      color: #ffffff;
      background-color: #8dcded;
      padding: 5px 15px;
      border-radius: 19px;
      font-family: "MuseoSans", Helvetica, Arial, Lucida, sans-serif;
      line-height: 1em;
      font-weight: bold;
  }

  .flex-grow-custom {
    flex-grow: 1;
    flex-basis: 0;
    margin-right: 0px;
  }

  .flex-grow-custom:last-child {
    margin-right: 0px;
    margin-left: 0px;
  }

  iframe {
    border-radius: 20px;
    width: 100%!important;
  }

  .display-none2 {
    display: none;
  }
}

#texto-presentacion {
    background-color: #66A7CA;
}

#texto-presentacion p{
    color: #ffffff;
}

p, li {
    color: #000;
    font-weight: normal;
    margin: 0px;
    font-size: 14px;
}

a {
  text-decoration: none;
}

span {
  color: #666;
}

.span-cifras {
  font-size: 14px;
}

#texto-presentacion div {
    max-width: 960px;
}

.subtitulo {
    position: relative; /* Needed for positioning the pseudo-element */
    display: inline-block;
    font-weight: 900;
    font-size: 2.5rem;
    color: rgba(141, 205, 237, 1);
    margin-bottom: 30px;
    padding-left: 20px;

}

.subtitulo::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: rgba(0, 80, 146, 1);
  border-radius: 200px;
}

.texto-relevante {
    font-size: /*0.875rem*/ 1.25rem;
    color: #006ca6;
    font-weight: bold;
}

.texto-relevante2 {
  font-size: 12px;
  color: #006ca6;
  font-weight: bold;
}

.enlace {
  color: #006ca6;
  text-decoration: none;
}

/* video */
.video-estilos {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: 20px;
  margin: 0px auto 30px auto;
}

iframe {
  border-radius: 30px;
  width: 100%;
  box-shadow: 0px 25px 0px -15px #DDF0FA;
}



  /* sección cartas */
  #carta-presidente-director {
    background-color: rgba(239, 248, 251, 1);
  }

  .cargo {
    color: #4b5457;
    font-size: 13px;
    font-weight: bold;
    margin: 20px 0px;
  }

  #carta-presidente-director h2 {
    color: #006ca6;
    margin-bottom: 20px;
  }

  #carta-presidente-director h4 {
    font-size: 1.75rem;
    color: #006ca6;
    margin-bottom: 20px;
  }

  /* sección siguiente */

  .siguiente-section .siguiente-container .siguiente-column1 div > p:first-child {
    font-size: 13px;
    color: rgba(5, 69, 121, 1);
  }

  .siguiente-section .siguiente-container .siguiente-column1 .siguiente-texto div .h2 {
    font-size: 38px;
    color: rgba(5, 69, 121, 1);
  } 

  .siguiente-texto {
    position: relative;
    display: inline-block;
  }

  .siguiente-texto::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: rgba(0, 80, 146, 1);
    border-radius: 200px;
  }

  .siguiente-container {
    display: flex;
    height: 300px;
}

.siguiente-column1 {
  display: flex;
  align-items: center;
  width: 50%;
  background-color: rgba(141, 205, 237, 1);
}

.siguiente-column1 div {
  width: 400px;
  flex-direction: column;
  margin-left: 80px;
}

.siguiente-column2 {
  position: relative;
  width: 50%;
  background-color: rgba(141, 205, 237, 1);
  text-align: right;
}

.siguiente-column2 img, .siguiente-column2 #siguiente-video-background {
  width: 760px;
  max-width: 180%;
  max-height: 300px;
  object-fit: cover;
  z-index: 1;
  border: 0px;
  border-top-left-radius: 180px;
  border-bottom-left-radius: 180px;
}

.siguiente-section .siguiente-container .siguiente-column1 div > div {
  display: flex;
  flex-direction: row;
  margin-left: 0px;
}

.hr-white {
 width: 60%;
 height: 1px;
 border: 1px solid #ffffff;
 opacity: 1;
 margin-right: 20px;
}

@media (max-width: 856px) {
  .siguiente-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .siguiente-column1, .siguiente-column2 {
    width: 100%;
  }

  .siguiente-column2 {
    margin-bottom: -10px;
  }

  .siguiente-column1 div {
    padding-top: 30px;
    padding-bottom: 20px;
    margin: auto;
    padding-right: 5%;
    padding-left: 5%;
  }

  .siguiente-column2 img, .siguiente-column2 #siguiente-video-background {
    position: relative;
    width: 100%;
  }

  .cifras-num {
    font-size: 1.5rem;
  }

  .span-cifras {
    font-size: 10px;
  }

  .icono {
    width: 50px;
  }
}

  /* footer */
  footer {
    background-color: #006ca6;
    height: 110px;
  }

  footer a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
  }

  footer img {
    margin-bottom: 10px;
  }

  @media (max-width: 768px) {
    footer {
      height: 200px;
    }
  }


  /* Mutua MAZ */
  .cultura-organizacional, .distinciones-certificados, #comunicacion-interna, #formacion, #prestaciones-asistenciales, #servicios-complementarios, #seguridad-informacion, #contratacion-responsable {
    background-color: rgba(239, 248, 251, 1);
  }

  .red-centros img {
    border-radius: 30px;
  }

  #resumen hr {
    border: 2px solid #006ca6;
    width: 30px;
    margin-right: 10px;
    margin-bottom: 5px;

  }

  .miniatura, .icono {
    max-width: 70px;
  }

  .icono-lg {
    max-width: 160px;
  }

  .container-miniatura {
    background-color: #f4f4f4;
    border-radius: 10px;
  }

  .container-icono {
    background-color: #f2f9fc;
    border-radius: 10px;
  }

  .container-icono2 {
    background-color: #006CA6;
    border-radius: 10px;
  }

  .container-icono3 {
    background-color: #8DCDED;
    border-radius: 10px;
  }

  .container-gradiente {
    background-image: linear-gradient(271deg,rgba(141,205,237,0.28) 0%,rgba(220,230,237,0.17) 100%);
    border-radius: 10px;
  }

  .cifras-num {
    font-size: 3rem;
    color: #8DCDED;
  }

  .cifras-num2 {
    font-size: 2.5rem;
    color: #8DCDED;
  }

  .lista {
    position: relative;
    padding-left: 40px;
  }

  .lista-detalle {
    position: relative;
    padding-left: 40px;
  }

  .lista::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: rgba(0, 80, 146, 1);
  border-radius: 200px;
}

.lista-detalle::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #d9edf7;
  border-radius: 200px;
}

#mision-vision-valores h4, #ia h4 {
  color: #005092!important;
}

  @media (max-width: 1200px) {
    .cifras-num {
      font-size: 2rem;
      color: #8DCDED;
    }
  }

  .cifras-num2 {
    font-size: 2rem;
    color: #8DCDED;
  }

  .cifras-num3 {
    font-size: 2rem;
    color: #006ca6;
  }

  .container-cifras {
    background-color: #8DCDED;
    border-radius: 10px;
  }
  
  .container-cifras-2 {
    background-color: #57a4cb;
    border-radius: 10px;
  }

  .container-cifras-3 {
    background-color: #006CA6;
    border-radius: 10px;
  }

  .container-border:nth-child(2), .container-border:nth-child(3) {
    border-right:1px solid #8DCDED;
    border-left:1px solid #8DCDED;
  }

  .hr-fullwidth {
    width: 100%!important;
    border: 2px solid #006ca6;
  }

  .hr-fuerte {
    width: 80px;
    border: 4px solid #006ca6;
    border-radius: 5px;
    opacity: 1;
  }

  .hr-video-1 {
    width: 12px!important;
    border: 4px solid #8dcded!important;
    border-radius: 3.5px!important;
    opacity: 1!important;
    margin-bottom: 10px!important;
  }

  .hr-video-2 {
    width: 104px!important;
    border: 4px solid #006ca6!important;
    border-radius: 3.5px!important;
    opacity: 1!important;
    margin-bottom: 10px!important;
  }

  /* Personas */
.subtitulo-relevante {
  font-size: 20px;
}

 .texto-azul {
  color: #006ca6;
 }

 #clima-laboral .texto-azul {
  font-size: 19px;
 }

 #formacion p:nth-child(2), #formacion .texto-azul {
  font-size: 17px;
}


 /* Anexos */
 .card-anexos {
  display: flex;
  align-content: center;
  height: 160px;
  border: 0px;  
 }

 .card-anexos p {
  font-size: 14px;
 }

 .btn-descargar {
  background-color: rgba(141,205,237,0.41);
  font-size: 16px;
  color: #006CA6;
 }

 .siguenos-container {
  background-position: center bottom 11%;
    background-blend-mode: multiply;
    background-color: initial;
    background-image: url("../img/fondoanexos.webp"), linear-gradient(146deg, #006ca6 0%, #81b5db 100%);
    border-radius: 10px 10px 10px 10px;
    overflow: hidden;
    height: 120px;
    padding-top: 35px!important;
    padding-bottom: 10px!important;
 }

 /* Políticas */
 .background-politicas {
  background-color: #006ca6;
 }

 .pol-link li {
  color: #fff;
 }

 /* animaciones */
 @keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-10px);
  }
  60% {
      transform: translateY(-5px);
  }
}

.icon {
  width: 20px; /* Ajusta el tamaño del icono */
  height: 20px; /* Ajusta el tamaño del icono */
  display: inline-block;
  transition: transform 0.2s;
}

.icon:hover {
  animation: bounce 1s;
}



/* Nuevo reproductor */
.custom-audio-player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 2px solid #0077b6;
  border-radius: 999px;
  /*background-color: #f1fbfe;*/
  font-family: sans-serif;
  width: fit-content;
  max-width: 100%;
  position: relative;
}

#texto-presentacion .custom-audio-player {
  background-color: #fff;
}

/* Botones básicos */
.custom-audio-player button {
  all: unset;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

/* Play/Pause con SVG en background */
.custom-audio-player .play {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230077b6" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8 5v14l11-7z"/></svg>');
}

.custom-audio-player .pause {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230077b6" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/></svg>');
}

/* Volumen (icono, no funcional por sí solo) */
.custom-audio-player .volume-btn {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230077b6" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3 10v4h4l5 5V5L7 10H3zm13.5 2c0-1.77-1.02-3.29-2.5-4.03v8.06c1.48-.74 2.5-2.26 2.5-4.03z"/></svg>');
}

.custom-audio-player .more-options::before {
  content: "⋮";
  font-size: 20px;
  color: #0077b6;
  display: inline-block;
}

/* Tiempo */
.custom-audio-player .current-time,
.custom-audio-player .duration {
  font-size: 14px;
  color: #0077b6;
}

/* Barra de progreso */
.custom-audio-player .progress-bar {
  width: 50px;
  flex: 1;
  height: 4px;
  background-color: #ccc;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.custom-audio-player .progress {
  height: 100%;
  width: 0%;
  background-color: #0077b6;
  border-radius: 2px;
}

/* Volumen slider */
.custom-audio-player .volume-slider {
  width: 80px;
  display: none;
}

.custom-audio-player .volume-slider.active {
  display: block;
}

/* Menú desplegable de los tres puntos */
.custom-audio-player .dropdown {
  position: relative;
}

.custom-audio-player .dropdown-content {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 100;
  min-width: 160px;
}

.custom-audio-player .dropdown-content a {
  color: #0077b6;
  padding: 10px;
  display: block;
  text-decoration: none;
  font-size: 14px;
}

.custom-audio-player .dropdown-content a:hover {
  background-color: #f0f0f0;
}


/* Principales cifras */
.cifras {
  width: 100%;
  margin: auto;
  padding: 1rem;
}

details {
  border: 1px solid rgba(157, 208, 235, 1);
  border-radius: 30px;
  margin-bottom: 1rem;
  padding: 20px;
  background: rgba(255, 255, 255, 1)
}

details:not([open]) {
  transform: scale(1.02);
  background-color: rgba(239, 248, 251, 1);
  border: 0px;
  border-radius: 100px;
}

details {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Solo cuando el detalle está cerrado y el usuario pasa el ratón por encima */
details:not([open]):hover {
  transform: scale(1.02);
  background-color: #eef8fc;
}



summary {
  position: relative;
  cursor: pointer;
  font-weight: 900;
  color: #0077b6;
  padding: 20px;
  font-size: 1.1rem;
  border-radius: 8px 8px 0 0;
  list-style: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-image: url("../img/open-details.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

details[open] summary::after {
  background-image: url("../img/close-details.svg");
}

.detalle-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
}

.detalle-contenido h5 {
  color: #fff;
  font-weight: bold;
  font-size: 22px;
}

.detalle-contenido-azul {
  background-color: #006CA6!important;
  border-radius: 15px;
  text-align: left!important;
}

.detalle-contenido-azul strong {
  color: #8DCDED!important;
  font-size: 2rem!important;
}

.detalle-contenido-azul strong:first-child {
  font-size: 3rem!important;
}

.detalle-contenido-azul span {
  color: #fff!important;
}

details p {
  color: #797979;
}

.card {
  flex: 1 1 100%;
  flex-direction: row;
  gap: 10%;
  background: #ffffff;
  border: 0px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-align: center;
}

.card2, .card3 {
  flex: 1 1 100%;
  flex-direction: column;
  gap: 10%;
  background: #ffffff;
  border: 0px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-align: center;
}

@media (min-width: 768px) {
  .card {
    flex: 1 1 450px;
  }

  .card2 {
    flex: 1 1 450px;
  }

  .card3 {
    flex: 1 1 300px;
  }
}

.card div:first-child, .card3 div:first-child {
  display: flex;
  align-items: center;
}


.card div:nth-child(2), .card3 div:nth-child(2) {
  flex-grow: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card strong {
  font-size: 26px;
  color: #999B9D;
  text-align: left;
  font-weight: 900;
}

.card2 strong, .card3 strong {
  font-size: 26px;
  color: #999B9D;
  text-align: left;
  font-weight: 900;
}


@media (min-width: 768px) {
  .card strong, .card2 strong, .card3 strong {
    font-size: 3rem;
  }
}

.card span:nth-child(2) {
  font-size: 1rem;
  color: #006CA6;
  text-align: left;
}

.card2 span, .card2 sup, .card3 span, .card3 sup {
  font-size: 1rem;
  color: #006CA6;
  text-align: left;
}

sub {
  font-size: 14px;
  color: #999B9D;
}
