@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');

*{
	margin: 0;
	padding: 0;
}

body {	background: #d1e7f9;
}

.pagina {
	margin: auto;
	background: #d1e7f9;
	width: 100%;
	max-width: 480px;
	position: relative;
    font-family:'Open Sans', sans-serif;
}

hr {
	width: 90%;
	margin: auto;
	margin-top: -1em;
	margin-bottom: 1em;
}

/* ENCABEZADO */

header {
    width: 15em;
    color: white;
    z-index: 1;
}

header .nav {
    width: 11.15em;
    z-index: 1;
}

header .nav li, ul {
    list-style-type: none;

}

header .nav .main .perfil {
    margin-top: 0.5em;
}

header .nav li a {
    background-color: #1986c8;
    text-decoration: none;
    margin-top: 0.5em;
    color: white;
    padding: 0.5em 1em;
    display: block;
}

    header .nav li a:hover {
        color: black;
        background-color: white;

    }

header .nav li ul {
    display: none;
    position: absolute;
    min-width: 7em;
}

    header .nav li:hover > ul {
        display: block;
        z-index: 1;
    }

.menuPalabras {
       margin-top: -0.5em;
    padding-left: 2em;
    font-family: 'Open Sans', sans-serif;
}

header .main {
    color: black;
}

.contenedor {
	width: 100%;
    margin: auto;
	height: 5em;
	padding-top: 1em;
}

#appNombre
{
	float: left;
    margin-left: 1em;
}

#UsuarioMenu
{
	float: right;
    margin-right: 1.3em;
}

/** MATERIAS **/

.materias {
	height: 4em;
	background: #d1e7f9;
	margin-left: 1.5em;
	margin-right: 1em;
}

.materias h1 .dgm2 {
    margin-left: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.materias h1 .catedra600 {
    font-weight: 500;
}

/** FOOTER **/
footer {
    width: 100%;
    max-width: 480px;
	background-color:#1986c8;
	border-radius: 15px 15px 0 0;
    text-align: center;
    font-size: 30px; 
    color: white;
    position: fixed;
    bottom: 0;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: stretch;
    align-content: stretch;
}

footer a .fa {
    color: white;
}


/* GALERIA */
.panelgaleria {
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    padding: 1rem
    }


.panelgaleria img{ 
    width: 33%;
    display: block;
}

.panelgaleria img:hover {
    width: 90%;
    position: absolute;
    display: block;
    top: 3rem;
}

/* LOGIN */
.loginformulario { 
    position: relative;
    font-family: "Open Sans";
    color: aliceblue
    background: transparent;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    top: 8rem;
    left: 0.1rem;
    padding: 0;
}

.logincampo {
    width: 300px;
    height: 50px;
    padding: 0.5rem;
    border-radius: 4px;
    font-family: "Open Sans";
    font-size: 50px;
    color: aliceblue;
    background: transparent;
    border: dotted;
}

.logincolumna1 {  
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 0rem;  
    font-family: "Open Sans";
    color: aliceblue;
    font-size: 20px;
}

.logincolumna2 {  
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 0rem;   
    font-family: "Open Sans";
    color: aliceblue;
    font-size: 20px;
}

.logincolumna3 {  
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 0rem; 
    font-family: "Open Sans";
    color: aliceblue;
    font-size: 20px;
}

.paginalogin {
	background-image: url("img/fondologin.png");
    height: 767px;
}

.paginalogin .icon img{
    margin: auto;
}

.pagina .paginalogin .login {
    text-align: center;
}

.pagina .paginalogin .login h1 {
    text-align: center;
    color: white;
    font-size: 2em;
}

.pagina .paginalogin .login h2 {
    text-align: center;
    color: white;
    font-size: 1.3em;
    margin-top: 10em;
}

    .pagina .paginalogin .login .apuntes {
        color: rgba(255,255,255,0.7);
    }

.btn { 
    display: block;
    margin: 1em;
    margin-bottom: 1em;
    font-family: "Open Sans";
    color: white;
    background-color: #1986c8;
    padding: 0.5rem;
    top: 2rem;
    width: 100px;
    height: 50px;
}

.pagina .lista button {
    display: inline-block;
    margin-left: 6em;
} 


/* HISTORIA ACADEMICA */

.pagina .historiaacademica {
    padding-top: 3em;
}

.pagina .historiaacademica img {
    width: 35%;
    margin-left: 3em;
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    float: left;
    position: relative;
    border: 2px solid black;
}

table .arriba {
    color: black;
    font-size: 1em;
    position: absolute;
    margin-bottom: 1em;
    padding-top: 1.5em;
    z-index: 1;
    margin-left: 1.6em;
    font-size: 3.5em;
}

    table .arriba td, table .abajo td { 
        color: #1986C8;
        font-weight: 600;
    }


table .abajo {
    color: black;
    font-size: 1em;
    position: absolute;
    margin-bottom: 1em;
    margin-top: 5em;
    z-index: 2;
    margin-left: 1.6em;
    font-size: 3.5em;
}

table a {
    text-decoration: none;
    color: black;
}

table .arriba td a .izquierda {
    margin-left: 2em;
}

table .abajo td a .izquierda {
    margin-left: 2.5em;
}

/* LISTAS */

.lista {
    margin-left: 2.2em;  
}


table .listasapuntes { 
    border-collapse: collapse;
}

.lista table tr td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 0.5em;
}

table .listasapuntes p {
    font-size: small; 
}

.lista table tr:nth-child(even) {
    background-color: #1986c8;
}
.listas table tr td .listasano {
    padding-left: 2em;
}

.lista table .listablanca td {
    color: white;
}

 /* PERFIL */

    .profileinfo .img{
        left: 8rem; 
        position: relative;        
    }

.profilecarrera{		
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
}

    .profileinfo{
        font-family: "Open Sans";
        font-size: 20px;
        color: #1986C8;
        top: 2rem;
        position: relative; 
        text-align: center;
    }

.profileinfo .profilecarrera img{ 
    width: 30%;
    margin: left;
}

.profileinfo .profilecarrera {
    background-color: #1986C8;
    padding: 0.1rem;
    width: 60%;
    margin: auto;
    
}

    .profileinfo h1 {
        font-family: "Open Sans";
        font-weight:900;
        font-style: italic; 
        font-size: 40px;
    }

    .profileinfo h2 {
        font-family: "Open Sans";
        font-weight: 600;
        font-size: 30px;
        top: 0rem;
        color: aliceblue;
        position: relative;
        z-index: 4;
        background-color: transparent;
    }

    .profileinfo h3 { 
        font-family: "Open Sans";
        color: #1986C8;
        font-size: 20px;    
    }   

    .profileinfo p { 
        font-family: "Open Sans";
        color: #1986C8;
        text-align: center;
        font-size: 15px;
        padding: 1rem;
    }

.profileinfo .profilecarrera .profilemargin { 
    text-align: left;
    
}


/* BUSCADOR */
.pagina .search {     
    font-family: "Open Sans";
    background: #d1e7f9;
    max-width: 480px;
    height: 100%;
}

.camposearch { 
    width: 400px;
    height: 200px;
    background: transparent;
    border: dotted;
    font-family: "Open Sans" extrabold;
    font-size: 100px;
    color: #1986C8;
    align-items: center;
    left: 2rem;
    padding: 0.5rem;
}

.searchform {
    margin: 2rem;
    align-content: center;
    
}

.search p {
    font-family: "Open Sans";
    font-size: 20px;
    text-align: center;
    margin: 0;
    padding-top: 2rem;
    color: #1986C8;
    top: 5rem;
}

.btnsearch {
    margin: 9rem;
}

/*LOGOUT*/
.logout .msg {
    font-family: "Open Sans";
    color: #1986C8;
    font-size: 20px;
    text-align: center;
    left: 0rem;  
    top: 7rem;
    position: relative;
}

.pagina .login {
    font-family: "Open Sans";
    font-size: 1.3rem;                
    
}

/* RESULTADO DE LA BUSQUEDA */
.resultadobusqueda {
    text-align: center;
    margin: .5rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    text-align: center; 
    position:relative;
   
}

.resultadobusqueda img {
    width: 33%;
    display: block;
}

/* SECCION ICONOS */
.seccioniconos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-content: stretch;
    margin-top: 15rem;
    width: 100%;
    text-align: center;
}

.seccioniconos img {
    width: 80%;
}

/* ENTRADA */
.subidacatedra, .subidaaño, .subidamateria{
    width: 90%;
    padding: 5px 5px;
    border: none;
    background-color: white;
    color: black;
    margin: auto; 
    margin-bottom: 1rem; 
} 


.subida{
    position: relative;
    font-family: "Open Sans";
    color: aliceblue;
    background: transparent;
    display: flex;
    flex-direction: column;
    flex-wrap: rap;
    justify-content: center;
    align-items: left;
    align-content: center;
    top: 10rem;
}

.subida .btn{
    margin: auto;
}

.subida h2{
    color: white;
}

.frasesubida{
    color: white; 
    margin: auto;  
    padding-bottom: 3rem; 
}

.tags {  display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: space-between;
            align-items: stretch;
            align-content: stretch;
            padding: 2rem;   
            font-family: "Open Sans";
            color: aliceblue;
            font-size: 15px;
            margin: auto;
}

.pagina .paginafondo {
    background-image: url("img/fondosubida.jpg");
    height: 767px;
    width: 480px:;
}

.pagina .paginafondo .login h2 {
    color: white;
    font-size: 1.3em;
    text-align: center;
    margin: auto;
    padding-top: 2rem;
}

.pagina .paginafondo .login {
    margin: auto;
    text-align: center;
}

.pagina .paginafondo .botonsub {
    position: absolute;
    margin-bottom: 1em;
    font-family: "Open Sans";
    color: white;
    background-color: #1986c8;
    width: 50px;
    height: 20px;
    margin-left: 1.6rem;
    top: -2rem;
}

.pagina .paginafondo .subida .archivosubida {
    font-size: 0.6rem;
    display: inline;
}

.pagina .paginafondo .subida .archivosubida p {
    margin-left: 5rem;
    margin-top: -1.6rem;
}
