/* ESTE SIRVE */

.circulo {
	height: 25px;
	width: 25px;
	border-radius: 50%;
	display: inline-block;
}

.numero-semestre {
	font-size: 4rem;
}

.texto-semestre {
	color: #1E4B8E;
	font-weight: bold;
	font-size: 80%;
}

.texto-obligatorio {
	color: #166706;
	font-size: 0.7rem;
}

.texto-electivo {
	color: #1E4B8E;
	font-size: 0.7rem;
}

.texto-unidades {
	color: #E9612F;
	font-size: 0.7rem;
}

.texto-pasantia {
	color: #D98717;
	font-size: 0.7rem;
}

.texto-seminario {
	color: #4AA6AC;
	font-size: 0.7rem;
}

.texto-sin-color {
	font-size: 0.7rem;
}

.card-block-custom {
	width: 300px;
	height: 160px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 15px;
	color: white;
	font-size: 14px;
	font-weight: 400;
  }
  .co { background-color: #1a6b19; }
  .ce { background-color: #123e85; }
  .se { background-color: rgb(74, 166, 172); }


.submenu.nav-pills>.nav-item>.nav-link {
	background: #1e4b8eBF;
	color: white;
	border-radius: 0.1;
	padding: .5rem 5rem;
}
.submenu.nav-pills .nav-link.active,
.submenu.nav-pills .show>.nav-link{
	background: #1e4b8eFF;
}


.menu_principal>.nav-item>.nav-link {
	color: black !important;
}

.menu_principal>.nav-item>.active{
	color: white !important;
	background: #343a40 !important;
}

.esFondo{
	opacity: 0.5;
	z-index:-1;
}
.carousel.esFondo{
	position: absolute;
	top:0;
	bottom:0;
	left:0;
	right: 0;
}
.fondo{
	height: 40vw;
  background-position: center;
  background-size: 100%;
}

.menu_principal{
	color:black !important;
	font-weight: bold;
}

.p_claustro{
	margin-top: -20px;
}

.border_claustro{
	border: 1px solid #ccc!important;
}

.estudiantes_bloque {
    background-color: #1e4b8ebf;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px; /* Ajusta este valor según tu contenido */
    border-radius: 8px;
}

.estudiantes_bloque a.modal_url {
    color: #ffffff !important;
    margin-top: auto;
    display: inline-block;
}

/*
.proyectos_vigentes{
	border-color: #3d4249;
	border-radius: 8px !important; 
	box-shadow: rgba(0, 0, 0, 0.18) 0px 6px 4px;
	border: 1px solid #ccc!important;
	color: #3d4249;

}
	*/

.proyectos_vigentes {
    position: relative;
    border-color: #3d4249;
    border-radius: 8px !important;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 6px 4px;
    border: 1px solid #ccc!important;
    color: #3d4249;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.proyectos_contenido {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    width: 100%;
    text-align: left;
}

.proyectos_contenido h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.proyectos_contenido p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.proyectos_contenido a {
    color: #007bff;
    text-decoration: underline;
    font-weight: bold;
}


.circulo{
    height:100px;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    width:100px;
}

.miembros_actuales{
	border-color: #77818d;
	border-radius: 8px !important; 
	box-shadow: rgba(0, 0, 0, 0.18) 0px 6px 4px;
	border: 1px solid #ccc!important;
}

/* El título flota sobre el carrusel */
.titulos {
  position: relative;
  z-index: 1;
  padding-bottom: calc(40vw - 25rem); 
}

.informacion {
  position: relative;
  z-index: 1;
  padding-top: 2rem;  /* margen natural sobre el contenido */
  padding-bottom: calc(40vw - 30rem); 
}


/* Mantener solo el de móviles */
@media (max-width: 767.98px) {
  .titulos h3 {
      padding-bottom: 0.5rem;
  }
  .titulos {
      padding-bottom: 0;
  }
  .informacion {
      padding-top: 2rem;
  }
}
/* celulares */
/*
@media (max-width: 450px) {
	.titulos h3{
		padding-bottom: 0.5rem;
	}
	.informacion{
		padding-top:2rem;
	}

}
	*/

.numero {
    color: #4CAF50;
	font-size: 2rem;
	font-weight: bold;
	min-width: 2rem;
}

.requisito {
	margin-bottom: 2rem;
}


.video-wrapper {
	transition: transform 0.3s;
}
.video-wrapper:hover {
	transform: scale(1.02);
}


  /* Estilo general para mantener distribución horizontal en pantallas grandes */
.menu_superior {
	display: flex;
	flex-wrap: wrap;
}
  
/* Para pantallas pequeñas (menos de 768px), apilar verticalmente */
@media (max-width: 767.98px) {
	.menu_superior {
		flex-direction: column;
	}
	.menu_superior > .col-10,
	.menu_superior > .col-2 {
		width: 100% !important;
		max-width: 100% !important;
	}

	/* Opcional: centrar el botón en móviles */
	.menu_superior .col-2 {
		text-align: center;
	}

	.titulos h3{
		padding-bottom: 0.5rem;
	}
	.informacion{
		padding-top:2rem;
	}

}

/* Menú: permitir que los ítems se ajusten en varias filas */
.menu_principal.nav-justified.p-3 {
	flex-wrap: wrap;
	gap: 0.5rem; /* separa los elementos */
	justify-content: center; /* centra en pantallas pequeñas */
}


.video-wrapper iframe {
  border-radius: 18px;
  overflow: hidden;
  border: none;
}

.videoconferencias-section .card {
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 1rem !important;
  overflow: hidden;
}
.videoconferencias-section .card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}
.videoconferencias-section .card-img-top {
  border-radius: 1rem 1rem 0 0 !important;
  object-fit: cover;
  height: 220px;
  transition: filter 0.3s;
}

@media (max-width: 576px) {
  .videoconferencias-section .card-img-top {
    height: 160px;
  }
}
@media (max-width: 400px) {
  .videoconferencias-section .card-img-top {
    height: 110px;
  }
}

.infra-section .card {
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 1rem !important;
  overflow: hidden;
}
.infra-section .card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}
.infra-section .card-img-top {
  border-radius: 1rem 1rem 0 0 !important;
  object-fit: cover;
  height: 220px;
  transition: filter 0.3s;
}
.infra-section .card-img-top:hover {
  filter: brightness(0.93) blur(1px);
}
@media (max-width: 576px) {
  .infra-section .card-img-top {
    height: 140px;
  }
}
@media (max-width: 400px) {
  .infra-section .card-img-top {
    height: 90px;
  }
}

.claustro-panel {
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
  border: 1px solid #e3e6ea;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 0;
  word-break: break-word;
}

@media (max-width: 767px) {
  .claustro-panel {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

.doctorado-feature-card {
  border-radius: 1.3rem;
  box-shadow: 0 2px 18px rgba(50,70,100,0.10);
  background: #f8fbfd;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none;
  min-height: 340px;
}
.doctorado-feature-card:hover {
  box-shadow: 0 8px 36px 0 rgba(50,70,100,0.18);
  transform: translateY(-4px) scale(1.02);
}
.doctorado-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: #0070c0;
}
.doctorado-card-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Cambia este número de líneas si quieres mostrar más/menos */
  -webkit-box-orient: vertical;
  min-height: 7.2em; /* Ajusta para el tamaño mínimo de la caja */
  position: relative;
  color:#253659;
}
.doctorado-card-text.expanded {
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  min-height: unset;
}
.see-more-link {
  cursor: pointer;
  color: #0d6efd;
  font-weight: 500;
  text-decoration: none;
}
.see-more-link:hover {
  text-decoration: underline;
}

