body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    margin: auto;
    height: 100%;
    max-height: 55em;
    width: 100%;
    max-width: 30em;
    background-color: white;
    font-family: 'Arimo', sans-serif;
}

header{
    padding: 2em 2em 1em 2em;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    background-image: linear-gradient(0deg, rgb(245,245,245) 50%, rgb(230, 230, 230) 100%);
}

main {
    display: flex;
    flex-direction: column;
    padding: 3em;
    background-image: linear-gradient(180deg, rgb(245,245,245) 85%, rgb(220, 220, 220) 100%);
    height: calc(100vh - 9em);
    overflow: auto;
}


/*-------------DEFINICIONES GNERALES---------------------*/

p{
    color: rgb(236, 236, 236);
}

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

a{
    text-decoration-line: none;
}

.iconos {
    display: flex;
    height: 2.5vh;
    width: auto;
}

a{
    color: black;
}
h1{
    font-size: 1em;
}
h2{
    font-size: 1em;
}
article{
    margin: 0em;
    padding: 0em;
}

/*--------------CALENDARIO--------------------*/

.calendarioh1{
    font-family: 'Dosis', sans-serif;
    font-weight: bold;
    color: rgb(111, 111, 111);
    font-size: 1.7em;
    padding-left: 1em;
}

.otrodia{
    justify-content: left;
    font-family: 'Dosis', sans-serif;
    font-weight: 800;
    color: rgb(217, 217, 217);
    font-size: 1.5em;
}

/*--------------CALENDARIO MES--------------------*/

.mesactual{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items:center;
}

.diaoff{
    display:flex;
    justify-content:center;
    color: rgb(230, 230, 230);
    width: 3vw;
    height: 3.5vh;
    margin: 1em 0.4em 1em 0.4em;
}

.diaon{
    display:flex;
    justify-content:center;
    color: rgb(177, 177, 177);
    width: 3vw;
    height: 3.5vh;
    margin: 1em 0.4em 1em 0.4em;
}

.diadehoy{
    display:flex;
    justify-content:center;
    color: rgb(118, 118, 118);
    width: 3vw;
    height: 3.5vh;
    margin: 1em 0.4em 1em 0.4em;
}


.pintado1{      /*-----teñido de la parte baja de los numeros del mes-----*/
    background: linear-gradient(180deg,rgba(0, 114, 168, 0) 69%, #0072A8 70%, #0072A8 84%, #68BD9A 85%, #68BD9A 100%);
    display:flex;
    justify-content:center;
    color: rgb(177, 177, 177);
    width: 3vw;
    height: 3.5vh;
    margin: 1em 0.4em 1em 0.4em;
}

.pintado2{      /*-----teñido de la parte baja de los numeros del mes-----*/
    background: linear-gradient(180deg,rgba(0, 114, 168, 0) 84%, #68BD9A 85%, #68BD9A 100%);
    display:flex;
    justify-content:center;
    color: rgb(177, 177, 177);
    width: 3vw;
    height: 3.5vh;
    margin: 1em 0.4em 1em 0.4em;
}

.pintado3{      /*-----teñido de la parte baja de los numeros del mes-----*/
    background: linear-gradient(180deg,rgba(0, 114, 168, 0) 84%, #F08FAA 85%, #F08FAA 100%);
    display:flex;
    justify-content:center;
    color: rgb(177, 177, 177);
    width: 3vw;
    height: 3.5vh;
    margin: 1em 0.4em 1em 0.4em;
}

.pintado4{      /*-----teñido de la parte baja de los numeros del mes-----*/
    background: linear-gradient(180deg,rgba(0, 114, 168, 0) 84%, #0072A8 85%, #0072A8 100%);
    display:flex;
    justify-content:center;
    color: rgb(177, 177, 177);
    width: 3vw;
    height: 3.5vh;
    margin: 1em 0.4em 1em 0.4em;
}

/*--------------CALENDARIO EVENTOS--------------------*/

.evento1{
    background-color: #0072A8;
    align-items:baseline;
    display:flex;
    justify-content: space-around;
    padding: 0.5em;
    margin: 0.5em;
    margin-left: -3em;
    margin-right: -3em;
    padding-left: 2em;
    padding-right: 2em;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.evento2{
    background-color: #68BD9A;
    align-items:center;
    display:flex;
    justify-content: space-around;
    padding: 0.5em;
    margin-left: -3em;
    margin-right: -3em;
    padding-left: 2em;
    padding-right: 2em;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.evento1horario{
    display:flex;
    flex-basis: 20%;
    align-items: flex-start;
    justify-content:center;
    font-family: 'Dosis', sans-serif;
    font-size: 1.2em;
}

.evento1texto{
    flex-basis: 70%;
    font-style: italic;
}

.subtituloevento{
    font-weight: 600;
}

.iconopastilla{
    display: flex;
    height: 5vh;
    width: auto;
}

/*-------------CORCHO---------------------*/

.corchomain{
    background-image: linear-gradient(180deg, rgb(110,110,164) 0%, rgb(104, 189, 154) 100%);
    padding:6%;
}

.corchoheader{
    background-image: linear-gradient(180deg, rgb(110,110,164) 0%, rgb(110,110,164) 100%);
    display:flex;
    justify-content: space-between;
}

.corchoulheader {
    display: flex;
}

.iconoscorcho{
    display: flex;
    height: 1.5em;
    width: 100%;
}

.noticias1{
    margin-top:1em;
    display: flex;
    justify-content: space-between;
}

.noticia1{
    display:flex;
    width:100%;
    background-color: #1F3D8C;
    margin-right:0.4em;
    float:left;
}

.noticias2{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width:100%;
    margin-left:0.4em;
}

.noticia2{
    display:flex;
    background-color: #0072A8;
    float:left;
    width:100%;
}

.pastillas{
    display: flex;
    margin-left:-6.9%;
    margin-right:-6.9%;
    justify-content: space-between;
}

.pastilla{
    display:flex;
    width:100%;
    background-image: linear-gradient(0deg, rgb(194,57,141) 0%, rgba(194,57,141, 0) 100%);
    justify-content: center;
}

.corchovideo{
    margin-top:1em;
    display: flex;
    width:100%;
    background-color: #818181;
}

.pastillasimagen{
    display: block;
    width:100%;
    height:auto;
    max-width: 70%;
    align-self: center;
    flex: 0 0 auto;
}

.noticiasimagen{
    display: block;
    width:100%;
    height:auto;
    max-width: 100%;
    align-self: center;
    flex: 0 0 auto;
}

/*-------------PERFIL---------------------*/

.perfilmain{
    background-image: linear-gradient(180deg, #B790AF 0%, #A1D7E1 100%);
    padding:6%;
    padding-top:0%;
}

.perfilheader{
    background-image: linear-gradient(180deg, #B790AF 0%, #B790AF 100%);
    display:flex;
    justify-content: space-between;
}

.titulo1{
    font-family: 'Dosis', sans-serif;
    font-weight: bold;
    color: rgb(111, 111, 111);
    font-size: 1.7em;
    padding-left: 1em;
}

.texto1{
    justify-content: left;
    font-family: 'Arimo', sans-serif;
    font-weight: 500;
    color: rgb(255, 255, 255);
    font-size: 1.1em;
    padding-left: 1em;
    line-height: 1.5;
    word-spacing: 2;
}

.pietexto{
    justify-content: left;
    font-family: 'Arimo', sans-serif;
    font-weight: 400;
    color: rgb(255, 255, 255);
    font-size: 0.8em;
    padding-left: 1em;
    line-height: 1.5;
    word-spacing: 2;
}


/*-------------BARRA INFERIOR DE NAVEGACIÓN---------------------*/

footer {
    padding: 1em 1em 0em 1em;
    background-color: rgb(59, 59, 59);
}

.barraabajo {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.botones_navegacion {
    height: 2em;
    padding: 2mm 2mm 0mm 2mm;
    width: auto;
}

.selector{
    height: 0.3em;
    width: 100%;
}