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

html { height: 100%; }

body{background-color: rgb(255, 252, 213);
     font-family: 'Dosis', sans-serif;
}

div {
    overflow: hidden;
    width: 960px;
    }

header {
    height: 200px;
}

img#logoroldan { margin-top: 20px;
    position: relative;
    left: 210px;
}

img#barra {position: relative;
    z-index: -1;
    top: -140px;
}

img#barraback {position: relative;
    z-index: -2;
    top: -258px;
    left: 43px;
}

nav ul#header li#cat {
    display: block;
    font-weight: 800;
    color: #000;
    float:left;
    list-style: none;
    margin-left: 20px;
    margin-top: 20px;
    text-align: left;
    width: 120px;
    padding-left: 5px;
    padding-top: 120px;
    padding-bottom: 5px;
    border-radius: 5px;
    }

nav ul#header li#doc {
    display: block;
    font-weight: 800;
    color: #000;
    float:left;
    list-style: none;
    margin-left: 20px;
    margin-top: 20px;
    text-align: left;
    width: 120px;
    padding-left: 5px;
    padding-top: 120px;
    padding-bottom: 5px;
    border-radius: 5px;
    }


nav ul#header li#tps {
    display: block;
    font-weight: 800;
    color: #000;
    float:left;
    list-style: none;
    margin-left: 20px;
    margin-top: 20px;
    text-align: left;
    width: 120px;
    padding-left: 5px;
    padding-top: 120px;
    padding-bottom: 5px;
    border-radius: 5px;
    }



nav ul#header li#alu {
    display: block;
    font-weight: 800;
    color: #000;
    float:left;
    list-style: none;
    margin-left: 20px;
    margin-top: 20px;
    text-align: left;
    width: 120px;
    padding-left: 5px;
    padding-top: 120px;
    padding-bottom: 5px;
    border-radius: 5px;
    }

nav ul#header li:hover {color: #fff;}


nav ul#header li#cat {
    background-color: rgb(223, 95, 113);
}
nav ul#header li#doc {
    background-color: rgb(150, 142, 208);
}
nav ul#header li#tps {
    background-color: rgb(166, 245, 89);
    padding-top: 100px;
}
nav ul#header li#alu {
    background-color: rgb(237, 170, 102);
}

/* ----MENU CATEDRA ----*/
ul#catmenu { 
    position: absolute;
    display: block;
    top: 165px;
    width: 90px;
    padding-left: 5px;
    padding-bottom: 5px;
    list-style: none;
    float:left;
    background-color: rgb(195, 87, 101);
    border-radius: 5px;
    z-index: 100;
    display: none;
    line-height: 40px;
    
}

li#cat:hover > ul#catmenu {
    display: block;
}


.catmenu {
    font-weight: 600;
    color: #000;
}

a {color: inherit;
   text-decoration: none}

a:hover {color: #fff
    }

/* ----MENU CATEDRA ----*/

/* ----MENU TEPES ----*/

ul#tpsmenu { 
    position: absolute;
    display: block;
    top: 166px;
    width: 90px;
    padding-left: 5px;
    padding-bottom: 5px;
    list-style: none;
    float:left;
    background-color: rgb(129, 188, 72);
    border-radius: 5px;
    z-index: 100;
    display: none;
    line-height: 40px;
}

li#tps:hover > ul#tpsmenu {
    display: block;
}


.tpsmenu {
    font-weight: 600;
    color: #000
}

.tpsmenu:hover {color: #fff}

/* ----MENU TEPES ----*/

/* ----MENU DOCENTES ----*/

ul#docmenu { 
    position: absolute;
    display: block;
    top: 166px;
    left: auto;
    width: 90px;
    padding-left: 5px;
    padding-bottom: 5px;
    list-style: none;
    float:left;
    background-color: rgb(128, 119, 180);
    border-radius: 5px;
    z-index: 100;
    display: none;
    line-height: 40px;
    }

li#doc:hover > ul#docmenu {
    display: block;
}

.docmenu {
    font-weight: 600;
    color: #000
}

.docmenu:hover {color: #fff}


/* ----MENU Alumnos ----*/

ul#alumenu { 
    position: absolute;
    display: block;
    top: 166px;
    left: auto;
    width: 90px;
    padding-left: 5px;
    padding-bottom: 5px;
    list-style: none;
    float:left;
    background-color: rgb(201, 145, 89);
    border-radius: 5px;
    z-index: 100;
    display: none;
    line-height: 40px;
    }

li#alu:hover > ul#alumenu {
    display: block;
}

.alumenu {
    font-weight: 600;
    color: #000
}

.alumenu:hover {color: #fff}

/* ----MENU Alumnos ----*/

/* ----------- MAIN ----------*/
main { 

}

div#filo {
    float:left;
    background-color: rgb(252, 195, 201);
    width: 74%;
    border-radius: 10px;
    padding: 10px;
}

.titulos { 
        font-weight: 800;
        font-size: 18pt;
        color: rgb(255, 21, 52);
        top: -5px;
        position: relative;
}

p#filo { padding-right: 550px;}

.vermas {
        color: rgb(173, 64, 78);
        line-height: 50px;
        font-weight: 600;
}

img#filoimg {    
        float: right;
        width:70%;
        margin-top: -425px;
        border-radius: 10px;
        overflow: hidden;
} 


/* ----------- tps destacados ----------*/

div#extras {
    float: left;
    margin-top: 30px;
    width: 78%;
    }


div#extra1 {
        float: left;
        width: 44%;
        height: 200px;
        border-radius: 10px;
        padding: 10px;
        background-image: url(imagenes/tpshome.jpg);
        background-position: center;
        display:block;
}


h2#tprotulo {
    font-size: 20pt;
    display: none;}


div#extra1:hover {  
        background-image: url(imagenes/tpshomeverde.jpg);
        display:block;   
}

.vermas1 {
        color: rgb(255, 213, 218);
        line-height: 50px;
        font-weight: 600;
        margin-top: 10px;
        display: none}

div#extra1:hover .vermas1 {
        font-size: 24px;
        color: rgb(255, 213, 218);
        line-height: 50px;
        font-weight: 600;
        margin-top: 20px;
        display: block}

div#extra1:hover h2#tprotulo {
    font-weight: 400;
    font-size: 20pt;
    display: block;
}

/* ----------- tps destacados ----------*/

/* ----------- Testimonios ----------*/

div#extra2  {
        margin-left: 34px;
        float: left;
        width: 44%;
        height: 200px;
        border-radius: 10px;
        padding: 10px;
        background-color: rgb(255, 194, 103);
        display:block;
}

img#testim {
        width: 35%;
        border-radius: 5px;
}

p#testim {
    font-size: 10pt;
    margin-top: -115px;
    padding-left: 130px; 
        }

.vermas2 {
        position: relative;
        float: left;
        color: rgb(173, 64, 78);
        font-weight: 600;
        font-size: 12pt;
        margin-top: 15px;
        
}

/* ----------- ASIDE ----------*/

div#aside {
    position: relative;
    left: 10px;
    background-color: #ffec57;
    width: 18%;
    height: auto;
    border-radius: 10px;
    padding: 10px;

    }

h2 {font-size: 11pt;
    color: rgb(237, 81, 102);
}

p#fecha {font-size: 8pt;
        color: rgb(168, 60, 73);
        }

p#textonoti {
    margin-top: 15px;
    font-size: 9pt;        
}





/* ----------- FOOTER ----------*/


footer {
        width: 960px;
        height: 170px;
        left:0;
        right:0;
        bottom: 0px;
        background-color: rgb(120, 197, 193);
        vertical-align: baseline;
        border-radius: 5px;

} 

div#footercontent {
        overflow: hidden;
        width: 960px;
        height: 170px;}

img#logofooter {float:right;
            width:20%;
            margin-top: 20px;
            margin-right: 20px;}

div#botonera {
            padding-left: 100px;}

div#botonera ul {list-style: none;
            float: left;
            width: 100px;
            font-size: 10pt;
}

.listafooter {
            margin-top: 10px;
            list-style: none;
            font-size: 10pt;
            color: #fff}

div#legal {
        width: 300px;
        font-size: 8pt;
        font-style: italic;
        margin-top: -80px;
        margin-right: 20px;
        text-align: right;
        }
/* ----------- FOOTER ----------*/
        