
header, footer, aside, nav, article, section {  
    display: block;  
}

body {  
/*    background-color: #FFFFFF;*/
    background-color: #dddddd;
/*    font-family: Verdana, sans-serif;*/
    font-family: Arial, Helvetica, sans-serif;
}

body > header {
    text-align: center;
    background-color: #aabbcc;
    background-image: linear-gradient(top, #aabbcc, #eeeeee);
    background-image: -moz-linear-gradient(top, #aabbcc, #eeeeee);
    background-image: -webkit-linear-gradient(top, #aabbcc, #eeeeee);
    background-image: -o-linear-gradient(top, #aabbcc, #eeeeee);
    border: 5px solid black;
    border-style: solid none solid none;
}

section {
    margin-left: 1em;
    margin-right: 1em;
//    border:    2px solid DarkGray;
//    border-radius: 15px;
//    padding-bottom: 3em;
}

footer {
    margin-top: 2em;
    margin-left: 1em;
    font-size: small;
}

section > header > h1, h2, h3 {
    background-color: white;
    border-radius: 10px;
    border: 2px solid black;
    border-style: solid;
    padding: 5px;
//    margin-top:0px;
}

.subtema {
    background-color: #e0ffff;
/*
    background-image: linear-gradient(top, #e0ffff, #eeeeee);
    background-image: -moz-linear-gradient(top, #e0ffff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #e0ffff, #eeeeee);
    background-image: -o-linear-gradient(top, #e0ffff, #eeeeee);
*/
    margin-top: 25px;
    padding:  15px;
    border:    5px solid DarkGray;
    border-radius: 15px;
    box-shadow: 10px 10px 5px gray;
}

.ejercicio {
    margin-top: 25px;
    padding:  0px 15px 0px 15px;
    border:    5px solid DarkGray;
    border-radius: 15px;
    box-shadow: 10px 10px 5px gray;
}

.desplegable > :not(header) {
    display: none;
}

.desplegable:target > :not(header) {
    display: block;
}

.desplegable > header > h3 {
    border-radius: 10px 10px 0px 0px;
    border-style: solid solid none solid;
}

.desplegable:target > header > h3 {
    border-radius: 10px;
    border-style: solid;
}

/*
.desplegable header a {
    text-decoration: none;
    color: black;
}
*/

.destacado {
    background-color: yellow;
}

#menu {
    text-align: center;
    margin-top: 1em;
}

#menu > ul {
    display: inline-block;
}

#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu > ul > li {
    display: table-cell;
    vertical-align: top;
}

#menu p {
    border: 2px solid gray;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    background-color:  #e0ffff;
    background-image: linear-gradient(top, #e0ffff, #eeeeee);
    background-image: -moz-linear-gradient(top, #e0ffff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #e0ffff, #eeeeee);
    background-image: -o-linear-gradient(top, #e0ffff, #eeeeee);
}

#menu a {
    text-decoration: none;
}

.calificaciones {
    border-collapse: collapse;
}

.calificaciones th {
    text-align: left;
}

.calificaciones tr:first-child {
    background-color: #B9B9CC !important;
}
.calificaciones tr:nth-child(2n) {
    background-color: #E7E7FF;
}

.calificaciones tr:nth-child(2n+1) {
    background-color: #F5F5FF;
}

.calificaciones td, .calificaciones th {
    padding: 5px 20px 5px 20px;
}

.calificaciones .bien {
    color: green;
//    border: 2px solid green;
//    background-color: lime;
}

.calificaciones .mal {
    color: red;
//    background-color: red;
}

.calificaciones .mediabien {
    color: green;
//    background-color: lime;
}

.calificaciones .mediamal {
    color: red;
//    background-color: red;
}


.formula {
    text-align: center;
}

#cronograma {
    margin-left: auto;
    margin-right: auto;
    border-collapse:collapse;
    box-shadow: 5px 5px 5px gray;
}


#cronograma td, #cronograma th {
    text-align: left;
    font-weight: bold;
    border: 2px solid gray;
    vertical-align: top;
    padding: 10px 5px 10px 5px;
}

.nolectivo {
    color: red;
    text-decoration: line-through;
}

.nolectivo a {
    color: red;
    text-decoration: line-through underline;
}

#moduloscronograma {
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    border-collapse:collapse;
}

#moduloscronograma td, #moduloscronograma th {
    padding: 20px 10px 20px 10px;
    vertical-align: top;
}

.modulo0 {
/*    background-color: #6666ff;*/
    background-color: #8888ff;
    background-image: linear-gradient(top, #8888ff, #eeeeee);
    background-image: -moz-linear-gradient(top, #8888ff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #8888ff, #eeeeee);
    background-image: -o-linear-gradient(top, #8888ff, #eeeeee);
}

.modulo1 {
    background-color: aqua;
    background-image: linear-gradient(top, aqua, #eeeeee);
    background-image: -moz-linear-gradient(top, aqua, #eeeeee);
    background-image: -webkit-linear-gradient(top, aqua, #eeeeee);
    background-image: -o-linear-gradient(top, aqua, #eeeeee);
}

.modulo2 {
    background-color: #00ff66;
    background-image: linear-gradient(top, #00ff66, #eeeeee);
    background-image: -moz-linear-gradient(top, #00ff66, #eeeeee);
    background-image: -webkit-linear-gradient(top, #00ff66, #eeeeee);
    background-image: -o-linear-gradient(top, #00ff66, #eeeeee);
}

.modulo3 {
    background-color: #ccff00;
    background-image: linear-gradient(top, #ccff00, #eeeeee);
    background-image: -moz-linear-gradient(top, #ccff00, #eeeeee);
    background-image: -webkit-linear-gradient(top, #ccff00, #eeeeee);
    background-image: -o-linear-gradient(top, #ccff00, #eeeeee);
}

.fechaevaluacion{
    background-color: #cc66ff;
/*
    background-image: linear-gradient(top, #cc66ff, #eeeeee);
    background-image: -moz-linear-gradient(top, #cc66ff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #cc66ff, #eeeeee);
    background-image: -o-linear-gradient(top, #cc66ff, #eeeeee);
*/
    font-weight: bold;
}

.semanaactiva{
    background-color: gold;
    background-image: linear-gradient(top, gold, #eeeeee);
    background-image: -moz-linear-gradient(top, gold, #eeeeee);
    background-image: -webkit-linear-gradient(top, gold, #eeeeee);
    background-image: -o-linear-gradient(top, gold, #eeeeee);
}

a:hover {
    background-color: #ffffff;
}

