.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: red;
	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: cover;
}

.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;
}

@media (min-height: 768px) {
	.titulos h3 {
		padding-bottom: 19rem;
	}

	.informacion {
		padding-top: 25rem;
	}

}


@media (max-height: 767px) {
	.titulos h3 {
		padding-bottom: 6rem;
	}

	.informacion {
		padding-top: 11rem;
	}

}

/* 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;
	}
}