/*
 *  Estilo general para la plantilla
 * 
 * Importante NO MODIFICAR este archivo
 * Cualquier definición que se tenga que cambiar
 * sobreescribirla en el principal.css
 * (se puede usar el mismo selector)
 */
html {
    /* Base font-size, defined here to use with rem */
    font-size: 100%; /* user defined, or default 16px */
}

body,.oacontext {
    padding: 0;
    margin: 0;
}

.oacontext {
    padding: 0;
    margin: 0;
    margin: 0 auto;
    max-width: 1280px;
    min-width: 768px;
    font-family: "MS Trebuchet", Verdana, sans-serif;
}

.contenido,.header,.footer {
    position: relative;
}

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

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

.negritas {
    font-weight: bold;
}

.clearboth {
    clear: both;
}

.flotante-l {
    float: left;
}

.flotante-r {
    float: right;
}

.italicas {
    font-style: italic;
}

/** para preferencia del selector **/
.oacontext .oculto,.oacontext .contenido .oculto,.oacontext .contenido .fase .oculto {
    display: none;
}

/****
 * fases
 */
.contenido .fase {
    padding-top: 1px;
    position: relative;
    width: auto;
    min-height: 623px;
    transition: -ms-transform, transform, visibility, opacity;
    -webkit-transition: -webkit-transform, visibility, opacity;
    transition-duration: 200ms;
    -webkit-transition-duration: 200ms;
    transition-timing-function: linear;
    -webkit-transition-timing-function: linear;
    transition-delay: 200ms;
    -webkit-transition-delay: 200ms;
    /*arregla artefactos con ipad safari*/
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    /* translateZ */
    /*transform: translateZ(1px);
    -webkit-transform: translateZ(1px);
    -ms-transform: translateZ(1px);*/
}

.contenido .fase.oculto {
    display: block;
    position: absolute;
    max-height: 624px;
    width: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    /*box-shadow: 1024px 0 #333 inset;*/
    opacity: .3;
    visibility: hidden;
    /*transform: translateZ(0) rotateY(90deg);
    -webkit-transform: translateZ(0) rotateY(90deg);
    -ms-transform: translateZ(0) rotateY(90deg);*/
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
}

/******
 * Preloader
 */
.contenido .preloader {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .5);
    z-index: 50;
    width: 100%;
}

.contenido .preloader div {
    background: url('../img/general/preloader.gif') center center no-repeat;
    width: 100%;
    height: 100%;
    text-indent: -100000px;
}

/************
 * inicia header
 * ***********/
.header {
    text-align: justify;
    overflow: hidden;
    padding: 8px 10px 4px;
    height: 64px;
}

.header img {
    border: 0;
}

.header .unam {
    float: left;
}

.header .unam a {
    display: block;
}

.header .nombre_objeto {
    text-transform: uppercase;
    font-size: 24px; /* pixel fallback */
    font-size: 1.5rem;
    line-height: 32px;
    padding-left: 3px;
    margin: -8px 168px 0 67px;
}

.header .nombre_objeto:before {
    content: '';
    display: block;
    border-bottom: 3px solid #000;
    height: 0;
    margin: 0 -13px 0 -3px;
    position: relative;
    top: 35px;
}

.header .materia {
    float: right;
    position: relative;
}

.header .materia:before {
    content: '';
    display: block;
    background: url('../img/general/icons_materias.png') no-repeat 50px 50px;
    float: left;
    height: 50px;
    width: 50px;
    border: solid 1px #000;
    border-radius: 50%;
    overflow: hidden;
}

.header .materia .nombre {
    float: left;
    margin: 16px 0 0 5px;
    width: 100px;
}

/*terrmina header*/

/****************
 *   menú principal
 */
.contenido .menu {
    background-color: rgba(255, 255, 255, 0.4);
    position: absolute;
    z-index: 1;
    text-align: center;
    transition: all 200ms linear;
    -webkit-transition: all 200ms linear;
    transform: scale(1) translate3d(0, 0, 2px); /* 2px > 1px de .fase */
    -webkit-transform: scale(1) translate3d(0, 0, 2px);
    -ms-transform: scale(1) translate3d(0, 0, 2px);
    transform-origin: 50% 0;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    overflow: hidden;
    width: 50px;
}

.oacontext .contenido .menu.oculto {
    display: block;
    transform: scale(1, 0) translate3d(0, 0, 1px);
    -webkit-transform: scale(1, 0) translate3d(0, 0, 1px);
    -ms-transform: scale(1, 0) translate3d(0, 0, 1px);
}

.contenido .menu .btn-icono {
    margin: 5px 2px;
}

/********************
 *  botones menu/footer
 */
.contenido .btn-icono {
    background: url("../img/general/icons_menu.png") no-repeat;
    text-indent: -9999px;
    text-align: left;
    display: inline-block;
    width: 39px;
    height: 39px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 2px 2px 2px #999;
    transition: all 200ms linear;
    -webkit-transition: all 200ms linear;
}

.contenido .btn-icono:hover {
    opacity: .8;
    box-shadow: none;
}

.contenido .btn-icono.btn-vinculo {
    background-position: -41px -41px;
}

.contenido .btn-icono.btn-creditos {
    background-position: -41px -82px;
}

.contenido .btn-icono.btn-inicio {
    background-position: -82px -41px;
}

.contenido .btn-icono.btn-recargar {
    background-position: -0px -0px;
    display: none;
}

.contenido .btn-icono.btn-acerca {
    background-position: -41px -41px;
}

.contenido .btn-icono.btn-compartir {
    background-position: -82px -0px;
    display: none;
}

.contenido .btn-icono.btn-bibliografia {
    background-position: -41px -0px;
}

.contenido .btn-icono.btn-menu {
    background-position: -0px -41px;
}

.contenido .btn-icono[data-params="menuPrincipal;.oacontext"] {
    position: absolute;
    top: 380px;
    margin: 0 5px;
    z-index: 1;
    transform: scale(1) translate3d(0, 0, 2px); /* 2px > 1px de .fase */
    -webkit-transform: scale(1) translate3d(0, 0, 2px);
    -ms-transform: scale(1) translate3d(0, 0, 2px);
}

/***************
 * inicia footer in appMode
 * **************/
.appMode [data-appfooter] {
    background-color: #868686;
    color: #FFFFFF;
    font-family: Verdana, Geneva, sans-serif;
    transition: all 200ms linear 400ms;
    -webkit-transition: all 200ms linear 400ms;
}

.appMode [data-appfooter] {
    background: url("../img/general/background_pie.jpg") repeat;
    text-align: center;
}

.appMode [data-appfooter] .btn-icono {
    margin: 5px 20px;
}

.appMode [data-appfooter] .btn-icono.btn-compartir {
    background-position: -0px -78px;
}

/** ipa footer style **/
.appMode [data-appfooter] {
    position: fixed;
    display: block;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 48px;
    width: auto;
    margin: auto;
    overflow: hidden;
    z-index: 45;
    -webkit-transform: translate3d(0, 0, 1px);
}

.appMode .fases {
    padding-bottom: 48px;
}

/*termina footer*/

/************************
 *  ventanas generales
 */
.contenido .ventana {
    background-color: #fff;
    transition: all 200ms linear;
    -webkit-transition: all 200ms linear;
    transform: translateZ(5px);
    -webkit-transform: translateZ(5px);
    -ms-transform: translateZ(5px);
    border: 1px solid #000;
    box-shadow: 0 2px 3px #666666;
    padding: 20px 20px 5px;
    position: absolute;
    margin: auto;
    left: 0px;
    right: 0px;
    top: 0px;
    width: 70%;
    z-index: 25;
}

.oacontext .contenido .ventana.oculto {
    display: block;
    transform: scale(0.1, 0.1) translateZ(0);
    -webkit-transform: scale(0.1, 0.1) translateZ(0);
    -ms-transform: scale(0.1, 0.1) translateZ(0);
    opacity: 0;
    visibility: hidden;
}

.contenido .ventana .btn-close {
    right: 10px;
    top: 10px;
    position: absolute;
    background-color: #fff;
    z-index: 45;
    color: #000;
    font-weight: bold;
    height: 26px;
    width: 26px;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0px 0px 5px #000000;
    border: 1px solid #999;
}

.contenido .ventana .btn-close:hover {
    box-shadow: none;
}

/*****************
 * ventanas creditos ficha didactica
 ********************/
.contenido .ventanaFC {
    background: #b6b8b3; /* Old browsers */
    background: -moz-linear-gradient(45deg, #b6b8b3 0%, #e2e2e2 50%, #e5e3e4 100%, #b6b8b3 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, #b6b8b3), color-stop(50%, #e2e2e2),
        color-stop(100%, #e5e3e4), color-stop(100%, #b6b8b3)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(45deg, #b6b8b3 0%, #e2e2e2 50%, #e5e3e4 100%, #b6b8b3 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(45deg, #b6b8b3 0%, #e2e2e2 50%, #e5e3e4 100%, #b6b8b3 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(45deg, #b6b8b3 0%, #e2e2e2 50%, #e5e3e4 100%, #b6b8b3 100%); /* IE10+ */
    background: linear-gradient(45deg, #b6b8b3 0%, #e2e2e2 50%, #e5e3e4 100%, #b6b8b3 100%); /* W3C */
    border: 1px solid #c0c0c0;
    border-radius: 0.3em 0.3em 0.3em 0.3em;
    box-shadow: 0 2px 3px #666666;
    color: #463D47;
    z-index: 29;
}

.contenido .ventanaFC.fichaDidactica {
    z-index: 30;
}

.contenido .ventanaFC .titulo {
    width: 70%;
    margin: 10px auto 0;
    color: #303030;
    font-family: Verdana, Geneva, sans-serif;
    padding-top: 20px;
    text-transform: uppercase;
    font-size: 16px;
    font-size: 1rem; /*16px / 16px*/
    border-bottom: solid 2px #817f80;
    padding: 0 10%;
    text-align: center;
}

.contenido .ventanaFC .info {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px; /*13px ; pixel fallback*/
    font-size: 0.8125 rem; /*13px / 16px*/
}

.contenido .ventanaFC .info h4 {
    color: #2e2e2e;
    font-size: 13px; /*13px ; pixel fallback*/
    font-size: 0.8125 rem; /*13px / 16px*/
    text-transform: uppercase;
}

.contenido .ventanaFC .info .columna {
    display: inline-block;
    list-style: none;
    vertical-align: top;
}

.contenido .ventanaFC .btn-close {
    background-color: #9D9D9D;
    color: #FFFFFF;
}

.contenido .ventanaFC .leyenda {
    font-size: 10px; /*pixel fallback*/
    font-size: 0.625 rem; /*10px / 16px*/
    padding: 40px 35px 0 25px;
    text-align: justify;
}

/** Ajustes creditos **/
.contenido .ventanaFC.creditos .info {
    text-align: center;
}

.contenido .ventanaFC.creditos .info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contenido .ventanaFC.creditos .info li {
    margin-bottom: 10px;
}

.contenido .ventanaFC.creditos .nombre {
    font-size: 12px; /*pixel fallback*/
    font-size: 0.75 rem; /*12px / 16px*/
    display: block;
}

.contenido .ventanaFC.creditos .credito,.contenido .ventanaFC.creditos .cargo {
    font-weight: bold;
    font-size: 12px; /*pixel fallback*/
    font-size: 0.75 rem; /*12px / 16px*/
    display: block;
}

.contenido .ventanaFC.creditos .creditos {
    padding: 0 .8%;
    width: 23%;
}

.contenido .ventanaFC.creditos .creditos.DGTIC {
    width: 48%;
}

.contenido .ventanaFC.creditos .entidad {
    border-bottom: 2px solid #666;
    font-size: 15px; /*pixel fallback*/
    font-size: 0.9375 rem; /*15px / 16px*/
    text-align: center;
    font-weight: bold;
    padding-bottom: 6px;
}

/** Ajustes bibliografía **/
.contenido .ventanaFC.bibliografia .info ul {
    padding-left: 0px;
    margin-left: 40px;
}

.contenido .ventanaFC.bibliografia .info li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.contenido .ventanaFC.bibliografia .info a {
    color: #9A5DA0;
    font-weight: normal;
    text-decoration: none;
}

.contenido .ventanaFC.bibliografia .info a:hover {
    color: #9A5DA0;
}

/* disable transition in android native browser */
.android .oacontext .contenido * {
    transition: none;
    -webkit-transition: none;
}

/**************
 * header por materia
 */
.etimologias .header .materia {
    color: #9A5DA0;
}

.etimologias .header .nombre_objeto:before {
    border-color: #9A5DA0;
}

.etimologias .header .materia:before {
    border: none;
    background-position: -51px -153px;
}

.arte .header .materia {
    color: #9A5DA0;
}

.arte .header .nombre_objeto:before {
    border-color: #9A5DA0;
}

.arte .header .materia:before {
    border: none;
    background-position: -51px 0px;
}

.literatura .header .materia {
    color: #9A5DA0;
}

.literatura .header .nombre_objeto:before {
    border-color: #9A5DA0;
}

.literatura .header .materia:before {
    border: none;
    background-position: 0px -153px;
}

.logica .header .materia {
    color: #9A5DA0;
}

.logica .header .nombre_objeto:before {
    border-color: #9A5DA0;
}

.logica .header .materia:before {
    border: none;
    background-position: 0px -102px;
}

.fisica .header .materia {
    color: #F47932;
}

.fisica .header .nombre_objeto:before {
    border-color: #F47932;
}

.fisica .header .materia:before {
    border: none;
    background-position: -51px -102px;
}

.matematicas .header .materia {
    color: #F47932;
}

.matematicas .header .nombre_objeto:before {
    border-color: #F47932;
}

.matematicas .header .materia:before {
    border: none;
    background-position: 0px -51px;
}

.geografia .header .materia {
    color: #1f9cd9;
}

.geografia .header .nombre_objeto:before {
    border-color: #1f9cd9;
}

.geografia .header .materia:before {
    border: none;
    background-position: -51px -51px;
}

.historia .header .materia {
    color: #1f9cd9;
}

.historia .header .nombre_objeto:before {
    border-color: #1f9cd9;
}

.historia .header .materia:before {
    border: none;
    background-position: -102px -51px;
}

.quimica .header .materia {
    color: #118e38;
}

.quimica .header .nombre_objeto:before {
    border-color: #118e38;
}

.quimica .header .materia:before {
    border: none;
    background-position: 0px 0px;
}

.biologia .header .materia {
    color: #118e38;
}

.biologia .header .nombre_objeto:before {
    border-color: #118e38;
}

.biologia .header .materia:before {
    border: none;
    background-position: -102px 0px;
}

/* ====================================
 * === clase .textrv (ritmo vertical)
 * === Tamano base 16px y escala 4/5
 * ====================================
 */
.textorv {
    font-size: 16px; /*pixel fallback*/
    padding: 1px;
}

.textox {
    position: absolute;
    top: 20px;
    border: solid 24px black;
    width: 40%;
    left: 50%;
}

.textorv p {
    margin: 0px;
    font-size: 16px; /*pixel fallback*/
    font-size: 1em;
    line-height: 1.5em;
    margin-top: 1.5em; /* 24px/16px baseLH/fs */
}

.textorv h1 {
    margin: 0px;
    font-size: 31px; /*pixel fallback*/
    font-size: 1.9375em; /* 31px/16px (baseFS) */
    line-height: 1.548387097em; /* 48px/31px (2*baseLH)/font-size*/
    margin-top: 0.774193548em; /* 24px/31px baseLH/fs */
}

.textorv h2 {
    margin: 0px;
    font-size: 25px; /*pixel fallback*/
    font-size: 1.5625em; /* 25px/16px (baseFS) */
    line-height: 1.92em; /* 48px/25px (2*baseLH)/font-size*/
    margin-top: 0.96em; /* 24px/25px baseLH/fs */
}

.textorv h3 {
    margin: 0px;
    font-size: 20px; /*pixel fallback*/
    font-size: 1.25em; /* 20px/16px (baseFS) */
    line-height: 1.2em; /* 24px/20px (baseLH)/font-size*/
    margin-top: 1.2em; /* 24px/20px baseLH/fs */
}

.textorv h4 {
    margin: 0px;
    font-size: 16px; /*pixel fallback*/
    font-size: 1em; /* 16px/16px (baseFS) */
    line-height: 1.5em; /* 24px/16px (baseLH)/font-size*/
    margin-top: 1.5em; /* 24px/16px baseLH/fs */
}

.textorv h5 {
    margin: 0px;
    font-size: 12px; /*pixel fallback*/
    font-size: 0.75em; /* 12px/16px (baseFS) */
    line-height: 2em; /* 24px/12px (baseLH)/font-size*/
    margin-top: 2em; /* 24px/12px baseLH/fs */
}

.textorv h6 {
    margin: 0px;
    font-size: 10px; /*pixel fallback*/
    font-size: 0.625em; /* 10px/16px (baseFS) */
    line-height: 2.4em; /* 24px/12px (baseLH)/font-size*/
    margin-top: 2.4em; /* 24px/12px baseLH/fs */
}