/* FUENTES */

@font-face{
    font-family: "nevis";
    src:url("fonts/nevis.eot");
    src:url("fonts/nevis.eot?#iefix") format("embedded-opentype"),
    url("fonts/nevis.woff") format("woff"),
    url("fonts/nevis.ttf") format("truetype"),
    url("fonts/nevis.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: "fajala";
    src:url("fonts/FjallaOne-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: "icons";
    src:url("fonts/websymbols-regular-webfont.svg#WebsymbolsRegular") format("svg"),
    url("fonts/websymbols-regular-webfont.svg");
    src:url("fonts/websymbols-regular-webfont.eot#iefix") format("embedded-opentype"),
    url("fonts/websymbols-regular-webfont.woff") format("woff"),
    url("fonts/websymbols-regular-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* ESTILOS GENERALES */

*{
    padding: 0px;
    margin: 0px;
}

body{
    background-image: url(../imgs/paven.png);
}

#header{
    min-width: 1024px;
    width: 100%;
    height: 250px;
    margin: 0px auto;
}

#header a{
    text-decoration: none;
}

#header #logotipo{
    width: 770px;
    margin: 0px auto;
    padding-top: 20px;
}

header #logotipo img{
    display: block;
    text-align: center;
    margin: 0px auto;
    width: 140px;
}

#header h1{
    text-align: center;
    font-size: 24px;
    font-family: "nevis";
    text-shadow: 3px 3px 15px rgb(95, 94, 94);
    letter-spacing: 8px;
    transition: all 0.8s;
}

#header h1:hover{
    text-shadow: 0px 0px 20px rgb(13, 224, 13);
}
#header h1 a{
    color: rgb(46, 203, 88);
}

/* FORMULARIOS */
input[type="text"], 
input[type="email"], 
input[type="password"],  
select{
    border:2px solid #c9c9c9;
    box-shadow: 0px 0px 3px #c9c9c9;
    background-color: white;
    padding: 1px;
    padding-top: 2px;
    padding-bottom: 2px;
    color: gray;
    transition: all 600ms;
}


input[type="text"]:focus,
input[type="email"]:focus, 
input[type="password"]:focus,  
select:focus{
    border:2px solid #e00bb9;
    box-shadow: 0px 0px 6px #e00bb9;
    background-color: white;
    color: black;
    transition: all 2s;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
select{
    display: block;
    border-radius: 3px;
    width: 60px;
    padding: 3px;
    margin: 10px;
    cursor: pointer;
    border-color: #e00bb9;
    background-color: #f476dd;
    color: white;
    transition: all 400ms;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
select{
    box-shadow: 0px 0px 8px  #f476dd;
    background-color: #e00bb9;
}

/* MENU */

#nav{
    width: 100%;
    background-color: rgb(252, 78, 215);
    color:white;
    height: 40px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    box-shadow: 0px 0px 10px gray;
}

#nav ul{
    list-style: none; /* quita decoraciones */
    text-decoration: none; /* quita decoraciones */
    margin: 0px auto; /* resetea margenes a 0 */
    width: 600px;
}

#nav > ul > li {
    line-height: 40px; /*Para que se centre verticalmente*/
    float: left; /*para que se centre cada uno estos li uno al lado del otro */
    border-right: 2px solid #ccc; /* Separacion al lado derecho por una linea vertical*/
    transition: all 500ms;
}

#nav > ul > li:hover{
    background-color: #f476dd;
    ;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgb(250, 250, 250) inset;
}


#nav > ul > li a{
    display: block;
    text-decoration: none;
    color: white;
    padding-left: 15px;
    padding-right: 15px;  
}

#nav > ul > li:nth-child(1){
    border-left: 2px solid #ccc; 
}


/* MENU DESPLEGABLE */

#nav > ul > li > ul{ /* Estilos de la caja del menu desplegable */
    display: none;
    position: absolute;
    width: 160px;
    box-shadow: 0px 2px 4px gray;
    z-index: 1;
}

#nav > ul > li:hover > ul{
    display: block;    
}

#nav > ul > li:hover > ul > li{ /*estilos de los elementos uno a uno del submenu*/
    background-color: rgb(252, 78, 215);
    border-bottom: 1px solid #ccc;
    line-height: 25px; /*Interlineado o posicion vertical*/
    font-size: 12px;
}

#nav > ul > li:hover > ul > li >a{
    color: white;
}

#nav > ul > li:hover > ul > li:hover{ /*estilo del submenu o menu de 2º nivel*/
    background-color: rgb(49, 15, 247);
    transition: all 500ms;
}


/* CONTENIDO */
#content{
    width: 1250px;
    min-height: 1100;
    margin: 0px auto;
}

/* BARRA LATERAL */
#aside, #frase{
    clear: both;
    width: 200px;
    float: left;
    margin: 30px;
    background-color: white;
    border: 2px solid rgb(166, 166, 166);
    box-shadow: 0px 2px 10px rgb(146, 145, 145);
    font-family: sans-serif;
}

#frase{
    width: 180px;
    padding: 10px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;

}

#aside .widget{
    display: block;
    width: 180px;
    font-size: 14px;
    margin: 5px auto;
    padding-left: 8px;
    padding-right: 8px;
    padding: 10px;
    border-bottom: 1px dashed #333;
}

#aside h3{
    display: block;
    width: 100%;
    color: rgb(82, 81, 81);
    text-align: center;
    background: rgb(232, 230, 230);
    border: 1px solid rgb(126, 126, 124);
    border-left: none;
    border-right: none;   
    padding-top: 2px;
    padding-bottom: 2px;
    margin-bottom: 20px;
}

.color_azul{
    color: blue !important;
}

.color_rojo{
    color: red !important;
}

/* BARRA LATERAL > COMPORTAMIENTO DE LOS ENLACES */

#content .enlaces {
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: deeppink;
}


a{/*A todos los enlaces*/
    padding: 10;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: deeppink;
    text-decoration: none;
}

a:hover{
    color: rgb(255, 119, 192);
}

a:visited{
    color: rgb(43, 38, 177);
}

#content li{ /*Estilos a todos los elemnetos de lista dentro del contect*/
    margin-left: 10px;
    list-style:square ;
}

/* FORMULARIOS BARRA LATERAL */

#aside div label,
#aside div input[type="text"],
#aside div input[type="email"],
#aside div input[type="password"],
#aside div a {
    display: block;
    width: 95;
    margin-top: 2px;
    margin-bottom: 2px;
}

#aside div input[type="submit"],
#aside div input[type="button"],
#aside div button {
    margin-top: 10px;
    margin-bottom: 10px;
}

#aside input,
#aside label{
    margin: 0px auto;
    text-align: center;
}


/* SECCIONES DEL CUERPO CENTRAL */

#secciones{
    float: left;
    width: 75%;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 20px;
}

#secciones h2{
    font-family:"fajala";
    font-size: 25px;
    margin-bottom: 5px;
    text-align: center;
    letter-spacing: 3px;
    padding: 10px;
    border-bottom: 1px dashed #333;

}

#secciones #profesores,
#Frontend, #Backend{
    background-color: white;
    margin-top: 40px; /* espaciado entre cajas dejando aire arriba*/
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 4px #c9c9c9;
    color: #333;
    overflow: hidden; /* Todo lo que sobresalga de la caja que se oculte */
}

#secciones article{
    margin: 10px;
    margin-top: 20px;    
}

#secciones .date{ /* Estilos de la fecha */
    color: gray;
    font-size: 12px;
}

/* Peganitas e iconos */

#secciones .peganita_01, .peganita_02{
    position: absolute;
    margin-top: -25px;
}

#secciones .peganita_02{
    /*margin-left:47%;*/
    margin-left: 880px;
}

.icon{
    font-family: "icons";
    float: left;
    margin-right: 5px;
    margin-top: -2px;
}

.clearfix{
    float: none;
    clear: both;

}

#history{
    float: right;
    margin-top: 20px;
}

/* FIN SECCIONES DEL CUERPO CENTRAL */

/* Pie de pagina */

#footer{
    width: 100%;
    height: 100px;
    background-color: rgb(237, 132, 255);
    margin: 0px auto;
    margin-top: 40px;
    padding-top: 40px;
    text-align: center;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}
