/* ----------
 *  Base
 * ------- */

* {
    box-sizing: border-box;
}


html {
    /* Base font-size, defined here to use with rem */
    font-size: 16px; /* user defined, or default 16px */
    height: 100%;
    font-family: sans-serif;
    line-height: 1.5em;
}

body {
    padding: 0;
    margin: 0;
    height: 100%;
}

a {
    outline: none;
    text-decoration: none;
}

.btn, button {
	outline: 0;
    border: none;
	cursor: pointer;
    color: #000;
    background-color: #fff;
    overflow: hidden;
    text-align: center;
    padding: 0;
}

/* --------
 *  Layout
 * -------- */

.l-clearboth {
    clear: both;
}

.l-flotante-l {
    float: left;
}

.l-flotante-r {
    float: right;
}

.clearfix:after{
    content: "";
    display: block;
    height: 0;
    clear: both;
}


/* ---------
 *  Modules
 * --------- */

.oacontext {
    padding: 0;
    margin: 0 auto;
    max-width: 1280px;
    min-width: 768px;
    position: relative;
}

.overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(200, 200, 200, .45);
    z-index: 45;
}

.preloader{
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: url('../img/general/preloader.gif');
    background-size: 100% 100%;
    color: transparent;
}


/* ---------
 *  Ventanas
 * --------- */

.vntn {
    background-color: #F0F0F0;
    box-shadow: 0 2px 3px #666666;
    position: absolute;
    margin: auto;
    z-index: 50;
}


/* ---------
 *  Pantallas
 * --------- */

.pntll {
    position: relative;
    width: auto;

}


/* ---------
 *  Estados
 * --------- */

.e-oculto {
	display: none !important;
}

.e-activo {
	cursor: pointer;
}

.e-inactivo {
	color: #999;
	cursor: default;
}

/*------------------------------------------------------------------------
                           plantilla unam-enp-cch
 -------------------------------------------------------------------------*/

/* ---------
 *  Header
 * --------- */

.header {
    position: absolute;
    width: 100%;
    padding: 6px 6px 0 6px;
    height: 76px;
    background: none;
    z-index: 1;
}

.header .unam {
    float: left;
    display: inline-block;
}

.header .unam:before {
    font-size: 68px;
}

.header .materia {
    float: right;
    padding: 0;
    font-weight: bold;
}

.header .materia:before {
    font-size: 60px;
}

/* --------------------------
 *  Pantallas
 * ------------------------- */

.pntll {
    height: 100%;
    min-height: 620px;
    padding: 76px 0 0;
}

/* --------------------------
 * Menu
 * ------------------------- */

.menu {
    position: absolute;
    z-index: 2;
}

.btn-menu {
    display: inline-block;
    border: none;
    margin: 5px;
}


/* --------------------------
 *  Ventanas
 * ------------------------- */

.vntn {
    -webkit-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
    -webkit-transform: scaleX(1) translateY(50%);
    transform: scaleX(1) translateY(50%);
    margin: auto;
    left: 0;
    right: 0;
    max-width: 70%;
    min-height: 52px;
    bottom: 50%;

}

.vntn.e-oculto{
    display: block !important;
    opacity: 0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    bottom: 100%;
    z-index: -1;
}

.btn-cerrar {
	right: 10px;
    top: 10px;
    position: absolute;
    z-index: 1;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.vntn.infov {
    color: #fff;
    background-color: #424242;
    min-width: 768px;
}

.infov .titulo {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.6em;
    text-align: center;
    border-bottom: 2px solid #ff9600;
    color: #ff9600;
    margin: 10px 58px 10px 10px;
    padding: 3px 10px;
}

.infov .btn-cerrar {
    color: #ff9600;
    background-color: #424242;
    box-shadow: 0 0 0 3px #ff9600 inset;
}

.infov .info {
    padding: 10px 20px;
    text-align: center;
}

.infov .recurso {
    margin: 10px 0;
}

.infov .leyenda {
    text-align: justify;
    font-size: .8em;
}

.infov h4 {
    margin: 10px 0;
}

.infov .entidad {
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    margin: 10px 0;
}

.infov .credito {
    font-size: .8em;
    display: block;
}

.infov .col {
    display: inline-block;
    vertical-align: top;
    max-width: 45%;
    padding: 0 10px;
}

.infov .enp {
    max-width: 28%;
    border-right: 2px dashed #ff9600;
}

.infov .dgtic {
    max-width: 67%;
}

.infov ul,
.infov li {
    padding: 0;
    margin: 0;
}

.infov li {
    margin: 10px 0;
}

.infov.creditos ul {
    list-style: none;
}

