/*
Theme Name: Sitio Web Medicina
Author: Citiaps
Description: Tema personalizado para la Escuela de Medicina.
Version: 1.0
*/

/* Estilos General*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
}

body {
  margin: 0 auto;
  color: #394049;
  background-repeat: no-repeat;
  font-size: 1.2rem;
}

h1{
  border-left: 5px solid rgb(234, 118, 0);
  padding-left: 10px;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 3em;
  color: #394049;
  text-align: left;
}


h2{
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  font-size: 2.5em;
}

h3{
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  font-size: 2rem;
  color: white;
}

/* Estilos Header */

.main-navegation {
  display: flex;
  flex-direction: column;
}

.logo-institucional{
  margin-left: 191px;
}

.logo-image {
  padding: 1rem;
  width: 400px;
}

.menu-container {
  background-color: rgb(0, 164, 153);
  padding: 1rem 0;
}

.nav-menu {
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  max-width: 1500px;
  margin: 0 auto;
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.nav-menu li {
  margin: 0 10px;
}

.nav-menu a {
  text-decoration: none;
  color: #ffffff; 
  font-size: 24px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: #f0f0f0;
}

.nav-menu .current-menu-item > a {
  border-bottom: 2px solid #E77500;
}

.nav-menu a:hover {
  border-bottom: 2px solid white; /* Borde inferior blanco al pasar el mouse */
}

.hamburger-icon {
  display: none;
  cursor: pointer;
}

.hamburger-icon img {
  width: 30px;
}

.menu-container .nav-menu .sub-menu-2{
  display: none;
}

/* Estilos para el submenú en pantallas grandes */
.menu-item {
  position: relative; /* Para que el submenú se posicione correctamente */
}

.sub-menu {
  display: none; /* Oculto por defecto */
  position: absolute;
  background-color: rgb(0, 164, 153); /* Color de fondo */
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%; /* Justo debajo del elemento padre */
  left: 0;
  width: 220px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Efecto de sombra */
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.sub-menu li {
  padding: 0;
  margin: 0;
}

.sub-menu a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 12px;
  font-size: 18px;
  transition: background 0.3s;
}

.sub-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mostrar el submenú cuando el usuario pasa el mouse */
.menu-item:hover > .sub-menu {
  display: block;
}

/* --- ESTILOS PARA SUBMENÚ DE TERCER NIVEL --- */

/* 1. Hacemos que el elemento padre (ej: 'Productividad') sea el punto de referencia para posicionar el submenú de tercer nivel. */
.sub-menu .menu-item.has-submenu {
  position: relative;
}

/* 2. Posicionamos el submenú de tercer nivel al lado de su padre. */
.sub-menu .menu-item.has-submenu .sub-menu-3 {
  top: 0;      /* Lo alineamos arriba con su padre */
  left: 100%;  /* Lo movemos a la derecha, justo donde termina su padre */
}

/* 3. Nos aseguramos que se muestre al pasar el mouse sobre su padre directo. */
.sub-menu .menu-item.has-submenu:hover > .sub-menu-3 {
  display: block;
}


@media (max-width: 768px) {

  .menu-container .nav-menu .sub-menu-2{
    display: block;
    margin-left: 20px;
    
  }

  .menu-container .nav-menu .sub-menu{
    display: none;
  }
  
  .main-navigation {
      position: relative;
  }

 .logo-institucional{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .redes-sociales{
    padding: 1rem 0 !important;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 20px;
    background-color: #525252;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-menu.open {
  display: flex;
  margin-top: 60px;
  justify-content: center;
  align-items: center;
}

.menu-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #ffffff;
  font-family: "BebasNeuePro-SemiExpRegular", sans-serif;
}

.hamburger-icon {
  display: block;
  padding: 1rem;
}



}


.redes-sociales{
  display: flex;
  justify-content: flex-end;
  column-gap: 40px;
  padding: 1rem;
  padding-right: 85px;
  background-color: rgb(234, 118, 0);
}

.social-icon{
  max-width: 50px;
}

/* falta arreglar */
/* tomar en cuenta que por ejemplo cuando se esta en la pestaña de 
nuestra escuela debe dejar seleccionar para
equipo directivo, cuerpo academico, funcionarios */
@media (max-width: 768px) {
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .nav-menu a {
    font-size: 20px;
  }

  .redes-sociales{
    justify-content: center;
  }

  .social-icon{
    max-width: 40px;
  }

  .logo-institucional{
    margin-left: 0px;
  }

  .logo-image {
    padding: 1rem;
    width: 300px;
  }

}

/* Estilos básicos para el slider */
.slider {
  position: relative;
  max-width: 100vw;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100vw; 
}

.slide {
  min-width: 100vw;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.slide-image {
  position: relative;
  width: 100%;
  height: 30vw;
  overflow: hidden;
}

.slide-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
}

.slider-nav {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.slider-nav .prev,
.slider-nav .next {
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
  position: relative;

  width: 50px;
  height: 50px;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: rgba(0, 0, 0, 0.308);

  font-size: 3em;
}

/* Estilos básicos para las noticias bloque e inicio*/
.noticias-front{
  max-width: 1270px;
  margin: 0 auto;

}

.title-noticias{
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  font-size: 2.5em;
  padding-left: 10px;
  margin-bottom: 20px;
  border-left: 5px solid #E77500;
  border-bottom: 1px solid #000000;
  padding-bottom: 10px;
  margin-top: 2rem;
}
.noticia-section {
  background-color: #ffffff;
}

.noticia-container {
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  flex-direction: column;
  padding-bottom: 20px;
  padding-top: 20px;
  align-items: center;
}

.noticia-titulo {
  margin-bottom: 20px;
  border-bottom: #444444 2px solid;
  border-left: #E77500 5px solid;
  color: #444444;
  padding-left: 10px;
  width: 100%;
}

.noticia-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.noticia-item {
  flex: 1 1 calc(25% - 40px); 
  height: 350px;
  max-width: 270px;
  align-self: start;
  border-bottom: 1px solid #00A499;
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

@media (max-width: 768px) {

  /* para inicio*/
  .noticias-front{
    padding: 2rem 2rem;
  }

  .noticia-section{
    padding: 2rem 2rem;
  }

  .noticia-item {
    flex: 1 1 calc(50% - 40px);
  }

  .title-noticias{
    margin-left: 0px;
  }
}


.noticia-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.514);
  transform: scale(1.05);
}

.noticia-imagen img {
  width: 300px;
  height: 180px;
  max-width: 100%;
  object-fit: cover;
}

.noticia-content {
  display: flex;
  flex-direction: column;
  /* betwen deja el titulo arriba y abajo el ver mas*/
  justify-content: space-between;
  height: 100%;
}

/* este es el title de una noticia */
.noticia-title {
  font-size: 1.3em;
  color: #00A499;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}


.noticia-title a {
  color: inherit;
  text-decoration: none;
}

.noticia-ver-mas {
  color: #ffffff;
  background-color: #E77500;
  padding: 5px 25px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  text-align: center;
  font-size: 1em;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  text-decoration: none;
  /* Fondo a la derecha */
  align-self: flex-end; 
  margin-top: auto; 
}

/* boton en medio de la pantalla */
.noticia-ver-todas {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  border: 1px solid #394049;
  padding: 10px 20px;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;

  user-select: none;
  cursor: pointer;

}

.noticia-ver-todas a {
  color: inherit;
  text-decoration: none;
}

.noticia-ver-todas:hover {
  color: #E77500;
}








/* Página de una noticia */
.noticia-sola {
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  flex-direction: column;
  padding-bottom: 20px;
  padding-top: 20px;
  align-items: center;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  padding-bottom: 50px;
}

.noticia-sola .titulo {
  margin-bottom: 20px;
  border-left: #E77500 5px solid;
  color: #444444;
  padding-left: 10px;
  width: 100%;
  font-size: 2.3em;
  padding-bottom: 10px;
  border-bottom: 1px solid #000000;
}

.noticia-sola .epigrafe {
  font-size: 25px;
  color: #E77500;
  font-weight: 400;
  width: 100%;
  margin-bottom: 20px;
}

.noticia-sola .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

.noticia-sola .content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
  text-align: justify;
}

.noticia-sola .sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 20%;
}

.sidebar strong{
  font-size: 18px ;
}
.sidebar p{
  font-size: 18px;
}

.noticia-sola .imagen img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.noticia-sola .imagen img:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.514);
  transform: scale(1.05);
  transition: 0.5s;
}


.noticia-sola .meta {
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 15px;
  color: #00A499;
  font-weight: 400;
  text-align: right;
}

@media (max-width: 768px) {
  .noticia-sola {
    padding: 20px 20px;
  }

  .noticia-sola .titulo {
    margin-top: 20px;
  }

  .noticia-sola .container {
    flex-direction: column;
  }

  .noticia-sola .content {
    width: 100%;
  }

  .content{
    text-align: justify;
  }

  .epigrafe{
    text-align: justify;
  }

  .noticia-sola .sidebar {
    width: 100%;
  }

  .noticia-sola .imagen img {
    width: 100%;
    height: 200px;
  }

  .noticia-sola .meta {
    text-align: left;
  }

 
}

.dataTables_wrapper{
  padding-top:2rem ;
}


/* Estilos básicos para la galeria */
.galeria-section {
  background-color: #394049;
}

.galeria-section-page {
  background-color: #ffffff;
}

.galeria-container {
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  flex-direction: column;
  padding-bottom: 20px;
  padding-top: 20px;
  align-items: center;
}


.galeria-titulo {
  margin-bottom: 20px;
  /* border-left: #E77500 5px solid; */
  border-left: 5px;
  color: #ffffff;
  padding-left: 10px;
  width: 100%;
}

.galeria-section-page .galeria-titulo {
  margin-bottom: 20px;
  border-bottom: #444444 1px solid;
  border-left: #E77500 5px solid;
  color: #444444;
  padding-left: 10px;
  width: 100%;
  padding-bottom: 10px;
}

.galeria-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.galeria-item {
  background-color: #ffffff;
  flex: 0 0 270px;
  height: 400px;
  min-height: 400px;
  align-self: start;
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.galeria-section-page .galeria-item {
  height: 350px;

  border-bottom: 2px solid #E77500;
}

.galeria-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.514);
  transform: scale(1.05);
}

.galeria-imagen img {
  object-fit: cover;
  margin: 0 auto;
  border-top-right-radius: 15px;
  padding: 5px;
  width: 100%;
  height: 300px;
  max-width: 100%;
}

.galeria-video-item {
  background-color: #ffffff;
  flex: 0 0 270px;
  height: 400px;
  min-height: 400px;
  align-self: start;
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.galeria-video-imagen img {
  object-fit: cover;
  margin: 0 auto;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
  padding: 5px;
  width: 100%;
  height: 400px;
  max-width: 100%;
}


.galeria-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 10px;
}

.galeria-title {
  font-size: 1.5em;
  color: #3d3f3f;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  text-align: center;
}

.galeria-title a {
  color: inherit;
  text-decoration: none;
}

.galeria-ver-todas {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  border: 1px solid #394049;
  background-color: #ffffff;
  padding: 10px 20px;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
}

.galeria-ver-todas a {
  color: inherit;
  text-decoration: none;
}

.galeria-ver-todas:hover {
  color: #E77500;
}


@media (max-width: 768px) {

  .galeria-section{
    padding: 2rem 2rem;
  }

  .galeria-titulo {
    margin-left: 0px;
  }
}

/* Estilos básicos para las documentos y calendario */
.documentos-calendario {
  display: flex;
  justify-content: center;
  column-gap: 100px;
  height: auto; 
  padding-top: 20px;
  padding-bottom: 20px;
}

.seccion-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.seccion-icon {
  max-width: 75px;
  max-height: 75px;
}

.seccion-icon-calendario {
  max-width: 75px;
  max-height: 75px;
}

.documentos-relevantes,
.calendario-actividades {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 10px;
}

.seccion-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 10px;
}

.seccion-links h2 {
  color: #000000;
}

.seccion-links a {
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  color: #3d3f3f;
  font-size: 24px;
  text-decoration: none;
}

.seccion-links h4{
  font-weight: 500;
}

.seccion-links h4:hover , .documento-link:hover{
  font-weight: 700;
}

.banner-image {
  max-width: 100%;
}

.seccion-icon:hover,
  .seccion-icon-calendario:hover {
    transform: scale(1.1);
  }

@media (max-width: 768px) {
  .documentos-calendario {
    flex-direction: column;
    align-items: center;
    row-gap: 20px; /* Añade un espaciado vertical entre las secciones en móvil */
  }

  .seccion-icon,
  .seccion-icon-calendario {
    max-width: 50px;
    max-height: 50px;
  }

  .documentos-relevantes,
  .calendario-actividades {
    width: 100%; /* Asegura que ocupen todo el ancho en móviles */
    align-items: center;
  }

  .seccion-links h2 {
    font-size: 1.5em;
    text-align: center;
  }

  .seccion-links a {
    font-size: 20px;
    text-align: center;
  }
}



/* Estilos básicos para las video*/

.video-section {
  background-color: #E77500;
}

.video-container {
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0px auto;
  flex-direction: column;
  padding-bottom: 30px;
  padding-top: 20px;
}

.video-container .video-titulo {
  margin-bottom: 20px;
  /* border-bottom: #ffffff 1px solid; */
  /* border-left: #ffffff 5px solid; */
  border-left: 5px; 
  color: #ffffff;
  padding-left: 10px;
  padding-bottom: 10px;
}

.video-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.video-item {
  flex: 1;
  width: 50%;
  align-self: start;
  box-sizing: border-box;
  padding: 10px;
}

.video-item h3 {
  width: 100%;
  margin: 0 auto;
  text-align: start;
}

.video-item iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
  .video-box {
    flex-direction: column;
  }

  .video-item {
    width: 100%;
  }

  .video-item h3 {
    text-align: center;
    font-size: 1.5em;
  }

  .video-item iframe {
    width: 100%;
    height: auto;
  }

  .video-section{
    padding: 2rem 2rem;
  }
}

.video-ver-mas {
  align-self: center;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 10px 20px;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  width: 200px;
  user-select: none;
  cursor: pointer;

}

.video-ver-mas a {
  color: inherit;
  text-decoration: none;
}

.video-ver-mas:hover {
  color: #E77500;
  background-color: #ffffff;
}



/* Estilos básicos para el banner */
.banner-facultad{
  /* margin-top: 20px; */
  /* margin-bottom: 20px; */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2d2981;
}

.banner-facultad img{
  width: 100%;
  height: 300px ;
  object-fit: cover;
} 

@media (max-width: 768px) {
  .banner-facultad img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
  }
}

/* Estilos básicos para el footer */

.footer {
  background-color: #394049;
  color: #fff;
  padding-bottom: 30px;
  padding-top: 10px;
}

.footer hr{
  border: 0;
  height: 8px;
  background: #00A499;
}

.footer-container {
  padding-top: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  margin: 0 auto;
  max-width: 1700px;
}

.footer-item {
  text-align: start;
  padding: 10px;
  font: 0.9em 'HelveticaNeueLTStd-Cn', sans-serif;
  margin: 10px;
  width: 300px; 

  display: flex;
  align-items: flex-end;
}



.footer-item img {
  max-width: 100%;
  max-height: 100%;
}

.footer-item a {
  max-width: 100%;
  max-height: 100%;
}

.footer-item h3{
  max-width: 100%;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-item {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}

/* ----------------------------------- */
/* Estilos básicos para nuestra escuela */
/* ----------------------------------- */
.content-area-nuestra-escuela{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  
}

.site-main-nuestra-escuela{
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  justify-content: center;
  padding-bottom: 5rem;
  column-gap: 40px;
}

.site-main-sample{
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  justify-content: center;
  padding-bottom: 5rem;
  padding-top: 1.5rem;
  column-gap: 40px;
}

.equipo-directivo h2{
  border-left: 5px solid rgb(234, 118, 0);
  padding-left: 10px;
}

.equipo-directivo-miembros,
.cuerpo-academico-miembros,
.funcionarios-miembros {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.miembros-directivo {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-bottom: 2rem;
  max-width: 1270px;
}

.miembros {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1270px;
}

.miembro {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  row-gap: 20px;
  border-radius: 10px;
  width: 250px;
}

.miembro h3 {
  font-family: "HelveticaNeueLTStd-Cn", sans-serif;
  font-size: 25px;
  color: rgb(0, 164, 153);
  font-weight: 400;
  text-align: center;
}

.miembro-detalle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1px;
}

.miembro-detalle h3 a {
  color: rgb(0, 164, 153);
  text-decoration: none;
}

.miembro-detalle h3 a:hover {
  color: #E77500;
}

.miembro-correo{
  font-size: 16px;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-weight: 500;
  color: rgb(57, 64, 73);
}

.miembro-rol{
  font-size: 20px;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-weight: 700;
  color: rgb(234, 118, 0);
  text-align: center;
}

.miembro-imagen img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

ul{
  list-style-type: none;
}

.buscador-categoria {
  list-style:none;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  height: 100%;
  margin-top: 6rem;
}

.categoria-item {
  width: 300px;
  padding: 16px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.171);
}

.categoria-item:last-child {
  border-bottom: none;
}

.categoria-item a {
  color: #000000;
  text-decoration: none;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 20px;
}

.categoria-item.active {
  border-left: 5px solid #E77500;
}

.categoria-item:hover {
  border-left: 5px solid  #E77500;
  background-color: #f4f4f4;
}
.categoria-item:hover:first-child,
.categoria-item.active:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.categoria-item:hover:last-child,
.categoria-item.active:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.pagination {
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  text-align: center;
  padding: 20px 0;
}

.pagination .page-numbers {
  padding: 5px 10px;
  margin: 0 5px;
  background: #f4f4f4;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
}

.pagination .page-numbers.current {
  background: #E77500;
  color: white;
}

@media (max-width: 768px) {
  .buscador-categoria {
    display: none;
  }

  .content-area-nuestra-escuela{
    padding: 0 2rem;
  }

  .site-main-nuestra-escuela{
    display: flex;
    justify-content: center;
    align-items: center;
  }

}
/* <div class="icon-nuestra-escuela">
<a href="<?php echo esc_url(home_url('/cuerpo-academico/')); ?>">
    <img src="<?php echo get_template_directory_uri(); ?>/images/academicos-logo.png" alt="Cuero Académico">
</a>

<a href="<?php echo esc_url(home_url('/funcionarios/')); ?>">
    <img src="<?php echo get_template_directory_uri(); ?>/images/funcionarios-logo.png" alt="Cuerpo de Funcionarios">
</a>
</div> */
.icon-nuestra-escuela{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 150px;
  width: 100%;
  padding: 1rem 0;
}

.icon-nuestra-escuela img{
  max-width: 500px;
}

@media (max-width: 768px) {
  .icon-nuestra-escuela{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 1rem 0;
  }

  .icon-nuestra-escuela img{
    max-width: 300px;
  }
}

/* ----------------------------------- */
/* Estilos básicos para la página de medinews */
/* ----------------------------------- */
.medicina-dia {
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding-bottom: 20px;
  padding-top: 20px;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  flex-direction: column;
}

.medicina-dia .titulo {
  margin-bottom: 20px;
  border-bottom: #444444 1px solid;
  border-left: #E77500 5px solid;
  color: #444444;
  padding-left: 10px;
  width: 100%;
  padding-bottom: 10px;
}

.medicina-dia .contenido {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

.medicina-dia .noticia {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
}


.medicina-dia .enlaces {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 20%;
}

.descripcion{
  padding-right: 20px;
  text-align: justify;

}


.medicina-dia .imagen {
  display: flex;
  justify-content: start;
  align-items: end;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  /* background: linear-gradient(to bottom, white 15%, #E77500 15%) */
}

.medicina-dia .imagen img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  padding-left: 40px;
}

.medicina-dia .noticia-contenido {
  margin-top: 20px;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 20px;
  width: 100%;
}

.medicina-dia .noticia-contenido .epigrafe{
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 25px;
  color: #E77500 ;
  font-weight: 400;
  text-align: left;
}

.medicina-dia .noticia-contenido h3{
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 50px;
  color: #000000 ;
  font-weight: 600;
  text-align: left;
}

.medicina-dia .noticia-contenido .descripcion{
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* width: 80%; */
}

.medicina-dia .enlaces .search{
  /* background: linear-gradient(to bottom, white 15%, #E77500 15%); */
  width: 100%;
  height: 300px;

  display: flex;
  justify-content: center;
  align-items: end;

  padding-bottom: 20px;
}

.medicina-dia .enlaces .iconos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  flex-wrap: wrap;
}

.medicina-dia .enlaces .iconos a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 70px;
  background-color: #ffffff;
  color: #E77500;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.medicina-dia .enlaces .iconos a:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.514);
  transform: scale(1.05);
}

.medicina-dia .enlaces .iconos a img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .medicina-dia {
    padding: 0 20px;
  }

  .medicina-dia .titulo {
    margin-top: 20px;
  }
  
  .medicina-dia .imagen {
    flex-direction: column;
  }

  .medicina-dia .imagen img {
    width: 100%;
    height: 200px;
  }

  .medicina-dia .contenido {
    flex-direction: column;
  }

  .medicina-dia .noticia {
    width: 100%;
  }
  
  .medicina-dia .enlaces {
    width: 100%;
    flex-direction: column-reverse;
    gap: 20px;
    margin-top: 20px;
  }
  
  .medicina-dia .enlaces .search{
    height: 100%;
    width: 100%;

  }
  
  .medicina-dia .enlaces .iconos {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .medicina-dia .enlaces .iconos a {
    padding: 10px 20px;
  }

  .medicina-dia .imagen img {
    width: 100%;
    height: 200px;
  }

  .medicina-dia .noticia-contenido{
    margin-left: 0px;
  }

  .medicina-dia .noticia-contenido h3{
    font-size: 35px;
  }

  .medicina-dia .noticia-contenido .epigrafe{
    font-size: 20px;
  }

  .medicina-dia .noticia-contenido .descripcion{
    width: 100%;
  }

  .medicina-dia .noticia-contenido .descripcion p{
    font-size: 20px;
  }

  .medicina-dia .noticia-contenido .descripcion a{
    font-size: 25px;
  }


  .medicina-dia .enlaces .iconos a img {
    width: 50px;
    height: 50px;
  }

  .medicina-dia .enlaces .iconos a {
    padding: 10px;
  }

}

/* Estilos para la pagina de medinews - aviso */
.aviso {
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 20px;

  margin-top: 40px;
  margin-bottom: 40px !important;


  flex-direction: column;
  
  box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.7);

  margin-bottom: 20px;
}


.aviso .contenido {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.aviso .imagen {
  display: flex;
  justify-content: start;
  align-items: end;
  flex-direction: row;
  width: 100%;
}

.aviso .imagen img {
  width: 80%;
  height: 400px;
  object-fit: cover;
  margin-left: 40px;
  /* border-radius: 10px; */
}

.aviso .box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
}

.aviso .titulo h3{
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 35px;
  color: #000000 ;
  font-weight: 600;
  text-align: left;
}

.aviso .descripcion{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.aviso .descripcion p{
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 20px;
  color: #000000 ;
  font-weight: 400;
  text-align: left;
}

.aviso .descripcion a{
  font-size: 25px;
  color: #f31414 ;
  font-weight: 400;
  text-align: left;
}

.aviso .minibanner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px;
  margin-top: 20px;
}

.aviso .minibanner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .aviso {
    padding: 0 20px;
    box-shadow: none;
  }

  .aviso .imagen {
    flex-direction: column;
  }

  .aviso .imagen img {
    width: 100%;
    height: 200px;
  }

  .aviso .contenido {
    flex-direction: column;
  }

  .aviso .box {
    width: 100%;
  }

  .aviso .titulo h3{
    font-size: 25px;
  }

  .aviso .descripcion p{
    font-size: 20px;
  }

  .aviso .descripcion a{
    font-size: 25px;
  }

  .aviso .imagen img {
    width: 100%;
    height: 200px;
  }

  .aviso .minibanner {
    height: 100px;
  }

  .aviso .minibanner img {
    width: 100%;
    height: 100%;
  }
}



/* Formulario de búsqueda */
.searchform .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.searchform .form-control,
.searchform .form-control-2 {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.searchform .form-control.else{
  border-top-left-radius: 0rem;
  border-bottom-left-radius: 0rem;
}

.searchform .form-control-2{
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.searchform .form-control:focus,
.searchform .form-control-2:focus {
  border-color: rgb(0, 164, 153);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 164, 153, 0.255);
}

.searchform .input-group-append {
  display: flex;
  margin-left: -1px;
}

.searchform .btn {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: rgb(0, 164, 153);
  border: 1px solid rgb(0, 149, 139);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.searchform .btn:hover {
  color: #fff;
  background-color: rgb(0, 149, 139);
  border-color: rgb(0, 149, 139);
}

.searchform .btn:active {
  color: #fff;
  background-color: rgb(0, 149, 139);
  border-color: rgb(0, 149, 139);
}


.nohaydatos{
  display: flex;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 25px;
  color: #000000;
}
/* CONTACTO */
.content-area-contacto {
  padding: 0 5rem;
  width: 100%;
}

.content-area-contacto h1 {
  border-left: 5px solid rgb(234, 118, 0);
  padding-left: 10px;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 2.5em;
  color: #394049;
  text-align: left;
}

.content-area-contacto h2 {
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 2em;
  color: #394049;
}
.content-area-contacto h3 {
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 1.5em;
  color: #394049;
}

.contacto-container {
  padding-top: 2rem;
  display: flex;
  flex-direction: row;
  padding-bottom: 5rem;
  column-gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.contacto-aside {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  row-gap: 1rem;
}

.contacto-section {
  width: 50%;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  row-gap: 1rem;
}

.contacto-image{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
}

.contacto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  max-width: 600px;
}

.contacto-aside p {
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 20px;
  color: #394049;
  font-weight: 400;
  text-align: left;
  margin: 0;
}

.contacto-aside p a {
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 20px;
  color: rgb(0, 164, 153);
  font-weight: 400;
  text-decoration: none;
}

.contacto-section p {
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  margin: 0;
}

.contacto-description .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {

  .content-area-contacto {
    padding: 0 2rem;
  }

  .contacto-container {
      flex-direction: column;
  }

  .contacto-aside, .contacto-section, .contacto-image {
      width: 100%;
      padding: 1rem 0; 
  }
}

div.wpforms-container-full{
  width: 80% !important;
}

.hr-contacto{
  border: 1px solid #E77500;
  width: 100%;
  margin-bottom: 20px;
}

/* Estilos para la página de instituciones */

#cefam-map,
#instituciones-map {
  height: 600px;
  width: 100%; 
}

.cefam-map,
.instituciones-map{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

#cefam-map:hover,
#instituciones-map:hover {
  cursor: grab; /* Cambia el cursor al pasar por el mapa */
}



/* Estilos para la página de estudiantes preguntas frecuentes */
@media (max-width: 768px) {
  .estudiantes-block-container{
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
  }

  .estudiantes-main{
    padding: 1rem;
    text-align: justify;
  }

  .investigacion-container{
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
    padding-top: 2rem;
  }
}

.contenido-estudiantes{
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 20px;
  font-size: 30px;
  text-align: justify;
/*   
  max-width: 970px;
  margin: 0 auto; */
}

.contenido-estudiantes a{
  color: #E77500;
  font-weight: 700;
  text-decoration: none;
  font-size: 30px;
}

@media (max-width: 768px) {
  .contenido-estudiantes{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.icon-centro-estudiantes{
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-centro-estudiantes a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 30px;
  background-color: #ffffff;
  color: #E77500;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.icon-centro-estudiantes p{
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.icon-centro-estudiantes a:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.24);
  transform: scale(1.05);
}

.icon-centro-estudiantes a img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}







.estudiantes-main{
  background-color: rgb(57, 64, 73);
  color: #ffffff !important;
  padding-top: 2rem;
  
}
.estudiantes-container{
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
}

.noticias-estudiantes{
  padding: 2rem 5rem;
}

.title-noticias-estudiantes{
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  font-size: 2.5em;

  padding-left: 10px;
  margin-left: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #E77500;
  border-bottom: 1px solid #444444;
  padding-bottom: 10px;
}

.faq-container{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
  row-gap: 40px;
  padding: 5rem 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.faq-answer {
  display: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}



.faq-toggle{
  -webkit-user-select: none;  
  -moz-user-select: none;     
  -ms-user-select: none;      
  user-select: none;          
}

.faq-item {
  color: #000000;
  background-color: #ffffff;
  width: 100%;
  border: 1px solid #000000;
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-align: justify;
}

.faq-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.title-faq{
  font-weight: 700;
  color: #ffffff;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  font-size: 2.5em;
  padding-left: 20px;
  
  
  border-left: 5px solid #E77500;
}

.faq-item h3 {
  padding-right: 2rem;
  color: #000000;
  font-size: 24px;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle {
  font-size: 24px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #E77500; /* Color para resaltar el toggle cuando se abre */
}

.faq-item.active .faq-answer {
  display: block;
  max-height: 100%; /* Ajusta este valor dependiendo de la cantidad de contenido */
opacity: 1;
  padding-top: 20px;
}

/* Estilos para la página de single-galeria */

.single-post-galeria {
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding-bottom: 20px;
  padding-top: 20px;
  flex-direction: column;
}

.galeria-single-title {
  margin-bottom: 20px;
  border-bottom: #444444 1px solid;
  border-left: #E77500 5px solid;
  color: #444444;
  padding-left: 10px;
  padding-bottom: 10px;
  width: 100%;
  font-size: 2.3em;
}

/* Estilos para la página de archive-galeria */
.page-galeria {
  display: flex;
  flex-direction: column;
  padding: 2rem 10rem;
  width: 100%;
}
 
.page-galeria-header {
  display: flex;
  justify-content: space-between;
}

.page-galeria-title {
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  font-size: 2.5em;
  padding-left: 10px;
  margin-left: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #E77500;
  padding-bottom: 10px;
}

.galerias-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 50px;
}

/* New styles for galeria-item */
.galeria-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: start;

}

.galeria-item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.galeria-item img {
  width: 100%;
  height: 200px; /* Adjust this value as needed */
  object-fit: cover;
}

.galeria-item h2 {
  margin-top: 10px;
  font-size: 26px;
  color: rgb(0, 164, 153); /* Adjust color as needed */
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  text-align: center;
  font-weight: 400;
}

/* ESTILOS PARA INVESTIGACION */

.main-investigacion {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.container-investigacion{
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
}

.estudiantes-block{
  padding: 0 1rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nuestra-escuela-container{
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
}

/* .estudiantes-block-container,
.investigacion-container {
  display: flex;
  justify-content: space-between;
  gap: 70px;
} */

.estudiantes-block-container, .investigacion-container {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap; /* Permite que los elementos pasen a la siguiente fila */
}

.estudiantes-block-item, .investigacion-item {
  flex: 0 1 calc(33.333% - 47px); /* 47px es aproximadamente 70px/1.5 para compensar el gap */
  min-width: 250px;
  /* border: 1px solid black; */
  /* border-bottom: 8px solid #E77500; */
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: black;
  transition: all 0.3s ease;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  font-size: 36px;
  font-weight: 500;

  justify-content: center;
  align-items: center;
  display: flex;

  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.estudiantes-block-item:hover,
.investigacion-item:hover {
  transform: scale(1.05);
  /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}


/* Tabla cuerpo-academico */
/* Tabla funcionarios */

@media (max-width: 768px) {
  .dataTables_wrapper no-footer{
    width: 100%;
  }

  .single-post-galeria{
    padding: 20px 20px;
  }

  .estudiantes-block{
    padding-top: 2rem;
  }
}


.table-container {
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  margin: 0 auto !important;
}

.tablepress-section {
  width: 100% !important; 
  overflow: hidden !important;
}

.tablepress-section thead th {
  background-color: #ed8218d8 !important;
  color: white !important;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif !important;
  transition: background-color 0.3s ease !important;
  font-weight: 500;
}

.tablepress-section thead th:hover {
  background-color: #D07412 !important;
  cursor: pointer !important;
}

.single-container-laboratorio {
  display: flex;
  flex-direction: column;
  padding: 2rem 5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .single-container-laboratorio {
    padding: 2rem 2rem;
  }
}

.sec{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}

.titulo-pagina-nuestra-escuela{
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  font-size: 2.5em;
  padding-left: 10px;
  margin-top: 2rem;
  border-left: 5px solid #E77500;
  padding-bottom: 10px;
  border-bottom: 1px solid #000000;
}

.galeria-title-front {
  font-size: 1.5em;
  color: #3d3f3f;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  text-align: center;
}

.galeria-title-front a {
  padding-bottom: 5rem;
  margin-top: 10px;
  color: inherit;
  text-decoration: none;
}


/* SINGLE INSTITUCIONES */

.instituciones{
  display: flex;
  flex-direction: column;
  padding: 0 250px;
}

.instituciones h1{
  border-left: 5px solid rgb(234, 118, 0);
  padding-left: 10px;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 48px;
  color: #394049;
  text-align: left;
  padding-bottom: 10px;
  border-bottom: 1px solid #000000;
}

.cefam-description,
.instituciones-description{
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  flex-direction: column;
}

.instituciones-main{
  padding: 3rem 0;
  display: flex;
  column-gap: 50px;
  justify-content: space-between;
}

.instituciones-content{
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  width: 50%;
}

.cefam-image,
.instituciones-image{
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
} 

.cefam-image img,
.instituciones-image img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.instituciones p{
  font-size: 24px;
}


/* page? campos-clinicos */
.main-campos-clinicos {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 150px;
}

.campos-clinicos-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: black;
  transition: all 0.3s ease;
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif;
  font-weight: 500;
  /* border: 1px solid black; */
  /* border-bottom: 8px solid #E77500; */
  margin: 1rem;
  margin-bottom: 3rem;
  width: 550px;
  height: auto;
  background-color: #f4f4f4;
  cursor: pointer;

  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

}

.campos-clinicos-item .toggle-arrow{
  color: rgb(0, 164, 153);
}

.campos-clinicos-item h1 {
  font-size: 32px !important;
  padding: 0 !important;
  border: none !important; 
}

.general-item-cc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.toggle-arrow {
  font-size: 24px;
  margin-left: auto;
}

.instituciones-list {
  padding: 1rem;
  display: none;
  width: 100%; 
  text-align: left; 
}

.campos-clinicos-item.active .instituciones-list {
  display: block;
}

.list-instituciones {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.list-instituciones a {
  font-size: 24px !important;
  color: #000000;
  text-decoration: none; 
  display: flex;
  align-items: center;
  transition: color 0.3s ease; 
}

.list-instituciones a:hover {
  color: #E77500; 
}

.link-icon {
  margin-left: 8px;
  margin-right: 8px;
  font-size: 20px;
  color: #E77500;
  transition: transform 0.3s ease;
}

.list-instituciones a:hover .link-icon {
  transform: translateX(5px);
}

/* Efecto de Hover para toda la tarjeta */
.campos-clinicos-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* idea ponerle informa */
/* Single sample */
.single-post-single, 
.laboratorio-section-page,
.single-post-laboratorio{
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding-bottom: 40px;
  padding-top: 20px;
  flex-direction: column;
}

.single-laboratorio-content{
  padding: 2rem 0;
}

.laboratorio-box a{
  font-size: 28px;
 text-decoration: none;
 color: #000000;
 border-bottom: 1px solid #000000;
 margin-left: 10px;
}

.laboratorio-box a:hover{
  color: #E77500;
}

.laboratorio-box{
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}





.single-container-single {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.single-single-content{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.single-single-content p{
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 20px;
  color: #000000 ;
  font-weight: 400;
}

.single-single-content a{
  font-size: 22px;
  color: #f31414 ;
  font-weight: 400;
}

@media (max-width: 768px) { 
  .main-campos-clinicos{
    padding: 2rem 0 !important;
    display: flex;
    flex-direction: column-reverse;  
 }

  .leaflet-container{
    max-width: 70% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .campos-clinicos-item{
    width: 90% !important;
  }
  .campos-clinicos-map{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    /* width: 100%; */
  }

  .instituciones{
    padding:  0 1rem !important;    
  }

  .cefam-map,
  .instituciones-map {
    text-align: center; 
    max-width: 100%; 
}

.cefam-map iframe,
.instituciones-map iframe {
    width: 100%; 
    max-width: 600px; 
    height: 450px;
    border: 0;
}
  .gm-style{
    width: 100% !important;
  }
  .cefam-description,
  .instituciones-description { 
    max-width: 100%; 
    overflow: hidden; 
}
.cefam-description img,
.instituciones-description img {
    display: inline-block; 
    max-width: 100%; 
    height: auto; 
    margin: 0 10px; 
}
  .instituciones-main{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .instituciones-content{
    width: 100%;
  }

  .cefam-image,
  .instituciones-image{
    width: 100%;
  }
}

/* 
  Estilos para las paginas hospitales - centros de salud
*/
.main-instituciones{
  padding: 2rem 5rem;
}

.general-instituciones{
  display: flex;
  flex-direction: row-reverse;
  padding-top: 4rem;
  gap: 200px;
  justify-content: space-around;
}

.list-instituciones a{
  text-decoration: none;
  font-family: "HelveticaNeueLTStd-Cn", sans-serif;
  font-size: 30px;
}

.header-instituiciones{
  display: flex;
}

.doc-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap:5px;
}



/* 
  Estilos para la página de Documetos
*/
.page-documentos {
  display: flex;
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding-bottom: 20px;
  padding-top: 20px;
  flex-direction: column;
  gap: 20px;
}

.page-documentos h1{
  font-size: 2.5em;
}


/* Estilos para el contenedor de filtrar */
.filtrar-tipo-documento {
  position: relative;
  display: inline-block;

  
  margin-right: -1px;
}

/* Estilos para el título "Filtrar" (botón) */
.filtrar-tipo-documento h4 {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: rgb(0, 164, 153);
  border: 1px solid rgb(0, 149, 139);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.filtrar-tipo-documento h4:hover {
  color: #fff;
  background-color: rgb(0, 149, 139);
  border-color: rgb(0, 149, 139);
}

/* Pequeño triángulo indicador */
.filtrar-tipo-documento h4:after {
  content: "▼";
  margin-left: 8px;
  font-size: 12px;
}

.filtrar-tipo-documento h4:active {
  color: #fff;
  background-color: rgb(0, 149, 139);
  border-color: rgb(0, 149, 139);
}


/* Estilos para la lista desplegable */
.filtrar-tipo-documento .tipo-documento {
  position: absolute;
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  min-width: 150px;
  z-index: 100;

}

/* Mostrar la lista al pasar el cursor sobre el contenedor */
.filtrar-tipo-documento:hover .tipo-documento {
  display: block;
}

/* Estilos para cada elemento de la lista */
.filtrar-tipo-documento .tipo-documento li {
  padding: 0;
  margin: 0;
}

.filtrar-tipo-documento .tipo-documento li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;

  font-family: 'HelveticaNeueLTStd-Cn', sans-serif;
  font-size: 16px;
  font-weight: 400;
  
}

.filtrar-tipo-documento .tipo-documento li a:hover {
  background-color: #f5f5f5;
  color: #00A499
}


.documentos-tabla {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.documentos-tabla thead {
  background-color: #f4f4f4;
}

.documentos-tabla th, .documentos-tabla td {
  padding: 10px;
  border: 1px solid #ddd;
}

.documentos-tabla th a {
  text-decoration: none; /* Quitar subrayado */
  color: inherit; /* Heredar el color del encabezado */
  display: inline-block; /* Mantener el comportamiento en línea */
}

.documentos-tabla th a:hover {
  color: inherit; /* Evitar cambio de color al pasar el cursor */
}


.documentos-tabla .tipo-archivo {
  text-align: center;
  vertical-align: middle;
  width: 80px;
}

.documentos-tabla .descargar-archivo {
  text-align: center;
  vertical-align: middle;
  width: 150px;
}

.documentos-tabla .fecha-publicacion {
  text-align: center;
  vertical-align: middle;
  width: 150px;

  font-size: 14px;
}




.documentos-tabla .tipo-archivo img {
  width: 24px;
  height: auto;
}

.documentos-tabla .nombre-documento h2 {
  font-size: 16px;
  margin: 0;
}

.documentos-tabla .nombre-documento p {
  font-size: 12px;
  color: #E77500;
}

.documentos-tabla .btn-download {
  display: inline-block;
  padding: 8px 12px;
  background-color: rgb(0, 164, 153);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.documentos-tabla .btn-download:hover {
  background-color: rgb(0, 149, 139);
}

@media (max-width: 768px) {
  .page-documentos {
    padding: 0 20px;
  }

  .documentos-tabla .tipo-archivo {
    width: 25px;
  }

  .documentos-tabla .descargar-archivo {
    width: 50px;
  }

}


/* Estilos para la página de eventos */
/* Cambiar estilo de los botones en la página de eventos */
.tribe-events-c-search__button {
  background-color: rgb(0, 164, 153)  !important; 
  color: white  !important;
}

.tribe-events-c-search__button:hover {
  background-color: rgb(0, 149, 139) !important;
  color: #fff  !important;
}

/* color del loading */
.tribe-common-c-svgicon {
  color: rgb(0, 164, 153) !important;
}

.tribe-events-content {
  font-family: 'BebasNeuePro-SemiExpRegular', sans-serif !important;  
}
.tribe-events-single-event-title {
  border-left: 5px solid rgb(234, 118, 0);
  padding-left: 10px !important;
  font-family: 'HelveticaNeueLTStd-Cn', sans-serif !important;
  font-size: 2em !important;
  color: #394049 !important;
  text-align: left !important;
}



/* Estilos lista summary */
summary {
  font-size: 1.2em;
  font-weight: 700;
  color: #E77500;
  cursor: pointer;
  padding-top: 10px;
}

summary::marker {
  content: none;
}

summary:hover {
  color: #00A499;
}

details {
  border-bottom: 1px solid #666;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

details[open] {
  transition: height 0.3s ease-in-out;
}

details > * {
  margin-bottom: 15px;
}

.carrera-page {
  display: flex;
  flex-direction: column;
  width: 100%;  
  gap: 20px; /* Asegura que se usen bullets */
}

.carrera-page li{
  list-style-type: disc; /* Asegura que se usen bullets */
  margin-left: 40px; /* Agrega un margen para que los bullets sean visibles */

}

.carrera-page a{
  text-decoration: none;
  color: #E77500;
}

.carrera-page a:hover{
  color: #00A499;
}

@media (max-width: 768px) {
  .carrera-page .wp-block-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* Mostrar solo un elemento por vez en móvil */
  .galeria-slide-group {
      flex-direction: row;
  }
  
  .galeria-video-item {
      width: 100%;
      margin: 0 auto;
  }
  
  /* Hacer cada imagen más alta para mejor visualización */
  .galeria-video-imagen img {
      height: 250px;
      width: 100%;
      object-fit: cover;
  }
  
  /* Centrar los controles de navegación */
  .galeria-slider-nav {
      top: 125px;
  }
  
  /* Hacer que los puntos de navegación sean más visibles */
  .galeria-slider-dots {
      margin-top: 15px;
  }
  
  .slider-dot {
      width: 10px;
      height: 10px;
      margin: 0 4px;
  }
  
  /* Regenerar puntos de navegación para móvil */
  .galeria-slider-dots-mobile {
      display: flex;
      justify-content: center;
      margin-top: 15px;
  }
}