/*
	Estilos css en la página index.php
*/

.fuente-buap
{
	color:#003B5C;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16pt;
	font-weight: bold;
}

.fuente-buap-grande
{
	color:#003B5C;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 30pt;
}

body
{
	background-color: #ffffff;
}

#ecobuap
{
	margin-top: 80px;
}

form
{
	width: 80%;
}

.noflex
{
	padding: 10px;
	border: 3px solid #003B5C; border-radius: 10px;
}

form #selector
{
	display: flex;
	justify-content: space-evenly;
}

form #fgcombos
{
	display: none;
}

#informacion
{
	width: 80%;
	height: fit-content;
	padding: 10px;
	margin-top: 10px;
}

#informacion > .row > div
{
	background-color: #ffffff;
	border-radius: 12px;
	border: 2px solid #003B5C;
	font-size: 17px;
	color: #003B5C;
	margin-top: 15px;
	padding: 0px 20px;
}

#info_lic
{
	background-color: #003B5C;
	color: #ffffff;
	font-size: 18px;
	border-radius: 20px 20px 0px 0px;
}

#info_lic .row pre
{
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 18px;
	margin-top: 10px;
}

#informacion .row > div:hover
{
	background-color: #00B5E2;
	color: #ffffff;
}

#informacion .row pre
{
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 18px;
	margin-top: 10px;
}

#modalidades > div
{
	margin: 0 0 5px 0;
	padding: 5px 10px;
	font-weight: bold;
}

#modalidades>div:hover
{
	background-color: #003B5C;
}

#area
{
	display: flex;
	justify-content: space-evenly;
}

#area > div
{
	width: 50%;
	border-radius: 12px;
	font-size: 20px;
}

#main
{
	width: fit-content;
	height: auto;
	margin: auto;
	margin-top: 40px;
	padding: 8px;
	border-radius: 10px;
	background-color: #dbdbdb;
	position: relative;
	align-items: center;
}

.titulo
{
	border-radius: 15px;
	background-color: #003B5C;
	font-size: 12pt;
	padding: 10px;
}

.division
{
	padding-right: 0;
	padding-left: 0;
}

.division .row
{
	margin: 0;
	padding: 0;
}

.nivel-basico, .nivel-formativo
{
	margin-top: 5px;
	text-align: center;
	background-color: #FFF;
	color: #101820;
	border-radius: 10px;
	display: flex;
	justify-content: center;
}

.color-basico, .color-formativo
{
	width: 50px;
	height: 25px;
	margin-left: 10px;
	border-radius: 10px;
	border: 3px solid #101820;
}

.color-basico
{
	background-color: #00B5E2;
}

.color-formativo
{
	background-color: #003B5C;
}

#semestres .col
{
	text-align: center;
}

.materias
{
	width: 100%;
	margin: 0 auto 0 auto;
	padding: 0%;
}

.materias > .container
{
	margin: 10px 0 0 0;
	padding: 0;
	display: flex;
	border-radius: 10px;
}

.materias > .container > .row
{
	--bs-gutter-x: 0;
}

#periodo
{
	width: 13%;
	text-align: center;
}

#guia
{
	width: 87%;
}

#guia .col
{
	text-align: center;
}

#codigo-colores
{
	width: 13%;
	margin-right: 10px;
}

#codigo-colores > div
{
	height: 90px;
	font-size: 9pt;
	color: #FFFFFF;
	font-weight: bold;
	display: flex;
	flex-direction: column-reverse;
    justify-content: center;
	text-align: center;
	margin: 20px 0;
}

#data
{
	width: 87%;
}

#data > .row
{
	--bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.materia
{
	height: 140px;
	font-size: 10pt;
	color: #FFFFFF;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.materia:hover
{
	background-color: #ffffff !important;
	color: black !important;
}

.materia .clave
{
	width: 100%;
	background-color: inherit;
	font-weight: bold;
	border-bottom: 1px solid #dbdbdb;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

.materia .nmat
{
	height: 100%;
	background-color: inherit;
	color: inherit;
	padding: 25% 0% 0% 0%;
}

.materia .info
{
	width: 100%;
	height: 22%;
	color: inherit;
	border-top: 1px solid #dbdbdb;
	position: absolute;
	bottom: 0;
	font-size: 10px;
	--bs-gutter-x: 0;
}

.materia .info > *
{
	width: 50%;
}

.materia .info:hover
{
	color: #101820 !important;
}

a
{
	text-decoration: none;
	padding: 0;
}

a.requisito
{
	color: inherit;
	cursor:help;

}

a.requisito:hover
{
	color: black;
}

/*Tooltips*/
a.requisito[title]:hover::after {
	color: white;
	background: black;
	content: attr(title);
	position: absolute;
	top: 100%;
	left: 0;
}

a.horas
{
	color: inherit;
	cursor:help;
}

a.horas[title]:hover::after {
	color: white;
	background: black;
	content: attr(title);
	position: absolute;
	top: -100%;
	left: 0;
}

.bigger
{
	height: 170px;
	border-radius: 10px;
}

/*TamaÃ±o de las imÃ¡genes del carrusel*/

.imcar{
	width: 1200px;
	height: 480px;
}

.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}

.popup {
	width: 60%;
	height: 70%;
	margin: 80px auto;
	padding: 20px;
	border-radius: 5px;
	position: relative;
	transition: all 5s ease-in-out;
}

.popup .close {
	width: 5%;
	height: 5%;
	position: absolute;
	top: 10px;
	right: 10px;
	transition: all 200ms;
	font-size: 30px;
	font-weight: bold;
	text-decoration: none;
	color: #333;
}
.popup .close:hover {
	color: #06D85F;
}
.popup .content {
	width: 95%;
	height: 95%;
	overflow: auto;
}

.popup .content embed
{
	width: 95%;
	height: 95%;
}

.popup .bloqueo
{
	width: 94%;
	height: 100%;
	position: absolute;
	bottom: 0%;
	left: 0%;
}

@media screen and (max-width: 700px){
	.popup{
		width: 70%;
	}
}
