@charset "utf-8";

/* ============================================================
   CONTENEDOR Y TABLA
   ============================================================ */
.contenedor {
	float: none;
	width: 900px;
	margin-right: auto;
	margin-left: auto;
}
.contenedor .tabla_principal {
	width: 860px;
	margin-bottom: 20px;
	margin-top: 10px;
}


/* ============================================================
   BANNERS
   ============================================================ */
.banner_enc {
	margin-top: 10px;
	height: 300px;
	line-height: 300px;
	text-align: center;
}
.banner_enc img {
	vertical-align: middle;
}
.banner_pie {
	height: 241px;
}
.banner_pie img {
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}


/* ============================================================
   ENCABEZADO Y LOGO
   ============================================================ */
.encabezado {
	margin-right: auto;
	margin-left: auto;
	width: 650px;
	clear: both;
}
h1 {
	text-align: center;
}
.logo {
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-top: 30px;
	background: #FFF;
	width: 122px;
	height: 94px;
	margin-bottom: 20px;
}


/* ============================================================
   ENLACES FORGET / FORGETVOL
   Solo difieren en width (195px vs 55px)
   ============================================================ */
.forget a:link,    .forget a:visited,
.forgetvol a:link, .forgetvol a:visited {
	text-decoration: none;
	color: #999999;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.forget a:link,
.forget a:visited    { width: 195px; }
.forgetvol a:link,
.forgetvol a:visited { width: 55px; }

.forget a:hover,    .forget a:active,
.forgetvol a:hover, .forgetvol a:active {
	text-decoration: none;
	color: #2ea2cc;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.forget a:hover,
.forget a:active    { width: 195px; }
.forgetvol a:hover,
.forgetvol a:active { width: 55px; }


/* ============================================================
   RECORDAR
   ============================================================ */
.recordar input {
	width: 16px;
	height: 16px;
	float: left;
}
.textorecordar {
	color: #777777; /* CORREGIDO: era #7777777 (7 dígitos) */
	font-size: 12px;
	width: 100px;
	float: left;
	margin-top: 3px;
}


/* ============================================================
   CAJAS DE LOGIN — base común
   .caja (250px) y .cajamail (180px) comparten todo lo demás
   ============================================================ */
.caja,
.cajamail {
	width: 272px;
	padding: 13px 24px 46px;
	font-weight: normal;
	background: #fff;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	color: #777;
	font-size: 14px;
	font-family: Verdana, Geneva, sans-serif;
	overflow: hidden;
}
.caja    { height: 250px; }
.cajamail { height: 180px; }

.caja p,
.cajamail p {
	line-height: 0;
}
.caja label,
.cajamail label {
	line-height: 1.5;
}
.caja input[type="text"],
.caja input[type="password"],
.cajamail input[type="text"] {
	font-size: 24px;
	width: 260px;
	padding: 3px;
	margin: 2px 6px 5px 0;
	background: #fbfbfb;
	border: 1px solid #dddddd;
}
.caja input[type="submit"],
.cajamail input[type="submit"] {
	float: right;
	margin-right: 5px;
	background-color: #042932;
	color: white;
	height: 30px;
	width: 74px;
	border-top: 1px solid #000048;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #000048;
	cursor: pointer;
	border-radius: 2px;
}
.caja input[type="submit"]:hover,
.cajamail input[type="submit"]:hover {
	float: right;
	margin-right: 5px;
	background-color: #ff560b;
	color: white;
	height: 30px;
	width: 74px;
	border-top: 1px solid #EA7B00;
	border-right: 1px solid #F30;
	border-bottom: 1px solid #F30;
	border-left: 1px solid #EA7B00;
	cursor: pointer;
}


/* ============================================================
   CAJAS DE AVISO — base común
   .error y .desconectar solo difieren en border-left-color
   ============================================================ */
.error,
.desconectar {
	width: 277px;
	padding: 13px 15px 13px; /* padding-left:15px unificado */
	overflow: hidden;
	background: #fff;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	font-size: 12px;
	font-family: Verdana, Geneva, sans-serif;
	color: #444444;
	font-weight: normal;
	border-left-width: 4px;
	border-left-style: solid;
}
.error       { border-left-color: #dd3d36; }
.desconectar { border-left-color: #042932; }


/* ============================================================
   MENÚS
   ============================================================ */
.contenedor .menu input {
	display: inline-block;
	margin-left: 20px;
	width: 150px;
	float: none;
	margin-bottom: 10px;
}
.contenedor .submenu input {
	margin-left: 50px;
	width: 150px;
	margin-bottom: 10px;
}


/* ============================================================
   FORMULARIO ALUMNOS
   ============================================================ */
.contenedor .formalumestilo {
	width: 500px;
	margin-right: auto;
	margin-left: auto;
	padding: 10px;
	background-color: #999;
	color: #FFF;
}
.formalumestilo a:link,
.formalumestilo a:visited,
.formalumestilo a:focus {
	color: #900;
	background-color: #B9B9B9;
	border: 1px solid #333;
	border-bottom: none;
	display: inline-block;
	width: 400px;
	padding: 5px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	margin: 0;
}
.formalumestilo a:active,
.formalumestilo a:hover {
	color: #F00;
	background-color: #CCC;
	border: 1px solid #333;
	border-bottom: none;
	display: inline-block;
	width: 400px;
	padding: 5px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	margin: 0;
}
.linea {
	display: inline-block;
	width: 412px;
	border-bottom: 1px solid #333;
	float: left;
	height: 0;
	margin: 0;
	padding: 0;
}


/* ============================================================
   SECCIÓN Y FIELDSET
   ============================================================ */
.seccion {
	background: #EFEFEF;
	margin-bottom: 10px;
	padding: 4px;
	border-style: double;
	border-width: 3px;
	color: #333;
}
fieldset {
	margin-top: 10px;
}
legend {
	line-height: 30px; /* CORREGIDO: text-height no es válido en CSS */
	font-weight: bold;
}


/* ============================================================
   THUMBNAIL
   ============================================================ */
.thumb {
	height: 100px;
	width: 100px;
	border: 1px solid #000;
	margin: 10px 5px 0 0;
}


/* ============================================================
   BOTONES — .boton y .botonalum eran 100% idénticas, fusionadas
   ============================================================ */
.boton a:link,    .boton a:visited,    .boton a:focus,
.botonalum a:link, .botonalum a:visited, .botonalum a:focus {
	color: #EAEAEA;
	text-decoration: none;
	background-color: #999;
	border: none;
	display: inline-block;
	width: 120px;
	margin: 0;
	padding: 0;
}
.boton a:active,    .boton a:hover,
.botonalum a:active, .botonalum a:hover {
	color: #FFF;
	text-decoration: none;
	background-color: #999;
	border: none;
	display: inline-block;
	width: 120px;
	margin: 0;
	padding: 0;
}


/* ============================================================
   BOTÓN ALUMNO
   ============================================================ */
.botonalumno a:link,
.botonalumno a:visited,
.botonalumno a:focus {
	color: #333;
	text-decoration: none;
	border: none;
	display: inline-block;
	width: 120px;
	margin: 0;
	padding: 0;
	font-weight: bold;
}
.botonalumno a:active,
.botonalumno a:hover {
	color: #666;
	text-decoration: underline;
	border: none;
	display: inline-block;
	width: 120px;
	margin: 0;
	padding: 0;
	font-weight: bold;
}







/* ============================================================
   SWEETALERT — correcciones
   ============================================================ */

/* SweetAlert 1 */
.sweet-alert .sa-button-container { display: none !important; }

/* SweetAlert 2 */
.swal2-actions { display: none !important; }

/* Popup ancho para el contenido de 980px */
.sweet-alert,
.swal2-popup {
    width: 1050px !important;
    max-width: 98vw !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
}

/* Neutraliza herencia del bug CSS anterior dentro del popup */
.sweet-alert a:link,   .sweet-alert a:visited,
.sweet-alert a:active, .sweet-alert a:hover,
.swal2-popup a:link,   .swal2-popup a:visited,
.swal2-popup a:active, .swal2-popup a:hover {
    width: auto !important;
    display: inline !important;
}


.swal2-cancel { display: none !important; }
