
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "roboto"; 
    list-style: none;}


#LOGO { 
width: 40px;
margin: 1rem;
    margin-bottom: 0;
margin-top: 0;
display: flex;
justify-content: flex-start; 
object-fit: contain;
}

#principal { 
display:flex;
justify-content: center;
width: 300rem;
margin-top: 1rem;
align-items: center;
object-fit: contain;
    
}

.principalinicio img{ 
display:flex;
justify-content: center;
width: 300rem;
margin-top: 1rem;
align-items: center;
object-fit: contain;
margin-bottom: 1.5rem; 
}

.principalhistoria {
    display: flex;
    
}

.button { 

    background-color: #1D71D3;
    color: white;
    text-decoration: none;
    padding: 0.5em;
    margin-top: 1rem;
    border-radius: 5px;
    width: 40%;
    text-align: center;
    font-size: 12px; 
    margin: auto; 
     
} 

.principal { 
position: relative;
display: inline-block;}

.buttondiv {
   position: absolute;
   top: 10px;
right: 30px;
   display: flex;
    align-content: center;
    flex-direction: column;
    text-align: center; 
    
}




.imagenhistoriadiv {
    
    display: flex;
    width: 100%;
}

.imagenhistoria {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
}

.imagenhistoria img {
    width: 200%;
}

.buttonh {
    display: flex;
    justify-content: flex-end;
    background-color: #1D71D3;
    list-style: none;
    color: white; 
    padding: 0.5em;
    border-radius: 5px;
    width: 95%;
    text-align: center;
    font-size: 12px; 
    margin-top: 1.5rem;
    text-decoration: none;
}


.buttonb { 
  display: flex;
    justify-content: flex-end;
    background-color: #1D71D3;
    list-style: none;
    color: white; 
    padding: 0.5em;
    border-radius: 5px;
    width: 95%;
    text-align: center;
    font-size: 12px; 
    margin-top: .5rem;
    text-decoration: none;
}

.buttona {
    display: flex;
    justify-content: flex-end;
    background-color: #1D71D3;
    list-style: none;
    padding: 0.5em;
    border-radius: 5px;
    width: 90%;
    text-align: center;
    font-size: 12px; 
    margin-right: 2rem;
    margin-top: 1rem;
}

.button a hover {
    color: #52BDF1;
    
}



#icon { 
width: 20px;}

figure img { 
max-width: 100%;
height: auto; 
}

header {
background: #1D71D3    ;
padding: .25em;
display: flex;
justify-content: space-between;
align-items: center;
font-family: "roboto";
}

header > ul {
display: flex;
margin right: 1em;

}

.menu {
    margin right: 1rem;
}

header > ul > li {
 width: 2em;
 height: 2em;
 margin-left: .25em;
 display: flex;
margin right: 1rem;
    
}

header > ul > li > a {
 width: 100%;
 height: 100%;
 background-color: rgba(0,0,0,.75);
 color: white;
 text-decoration: none;
 font-weight: bold;
 display: flex;
 justify-content: center;
 align-items: center;
    margin-right: 1em;
}


/* menu desplegable */

#barra img {
    background-color: #1D71D3;
    width: 1.8rem; 
}

header nav {
 background-color: rgba(0,0,0,0.85);
 color: white;
 position: fixed;
 right: -60vw;
 top: 0;
 height: 100vh;
 min-width: 50vw;
 transition: all .6s ease;
 z-index: 999;  
 transition: all .6s ease;
}

header nav ul {
 list-style: none;
 padding: inherit;
    font-size: 16px; 
}

header nav:target {
 right: 0;
}

header nav a {
 color: rgba(255,255,255,.75);
 display: block;
 padding: .5em 1em;
 text-align: center;
 text-decoration: none;
 font-size: 12px;
 align-content: center;
}


}
header nav a:hover {
 color: white;
}

header h1{
    color: white;
    font-size: 1rem;
}

.submenu { 
margin-top: 0.3rem; }


.logomenu{
    width: 1rem; 
}

.men {
    
color: rgba(255,255,255,.75);
margin-top: 1.5rem;
padding: 0.2rem;
text-align: center;
background: #57E4F8; 
justify-content: center; 
text-decoration: none;
font-size: 15px;
align-content: center;

}

.men img { 

margin-right: 0.4rem; }

#x img {
width: 2.5rem;
color: white; 
padding: 0.5rem;
position: absolute;
margin-bottom: 1rem; 
 right: 0;
 top: 0;
}
h1 {
 font-size: 16px; 
 margin: 1rem;
 margin-bottom: 0; 
 text-align: center;
}

.ultimasnoticias { 
      text-align: center;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: .5rem;
}

.bajadanoticias { 
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    display: flex; 
    flex-direction: row; 
    justify-content: space-between;
    align-content: center;
    margin-bottom: 2rem;
    width: 100%;
    
    
}

.bajadanoticias p {

width: 80%;
    margin: auto;
}


.imgultimasnoticias { 
   column-count:3;
   display: flex;
   justify-content: center;
  
   width: 100%;
   margin-top: 1rem; }

.imgultimasnoticias a img { 
   margin-left: .5rem; 
   width: 87%; 
}

.proximo {
    background-color: gainsboro;
    padding: .5em;
    margin: 1em;
    box-shadow: 0 0.2em 0.2em 0 rgba(0, 0, 0, .35);

}

.prox {
text-align: center;
font-size: 0.8em;
        
}

.partido { 
background: white;
padding: .4rem;
margin-bottom: .5rem;}



.part {
display: flex;
align-items: center;
padding: 0;
margin: 0; }

.aca {
display: flex;
align-items: center;
margin-left: 0;
justify-content: flex-start;
font-size: 13px;

}

.alla {
    display: flex;
    width: 100%; 
    justify-content: flex-end; 
    align-items: center;
    font-size: 13px; 
}



main{
    height: 70%; 
    
}


.proximafecha { 

background: #57E4F8; 
padding: .5rem;
}
    
body { 
background-color:aqua;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-bottom: 30%;    
}


@media only screen and (max-width: 700px); 

body {
    background-color:white;}
}

/*HORAIOS*/
.bodycalendario {
    display: flex;
    flex-direction: column;
    background-color: rgba(46, 81, 139, 0.29);
    color: black;
    font-family: montserrat;
}


.titulocalendario {color: black;
    justify-content: center;
    text-align: center;
}

.bodycalendario p { 

font-family: montserrat; 
font-size: 12px; 
    margin: 1rem; 
    text-align: center;
    
    
} 
.proximopartido1 {background-color: white;;
    padding: .3em;
    margin: 1em;
    box-shadow: 0 0.2em 0.2em 0 rgba(0, 0, 0, .35);
    background: 0086AF;
}



.calendario {visibility: hidden;
    display: flex;
    width: auto;
    margin: auto;
    margin-top: 0.5em;
    margin-bottom: 1em;
    font-size: 10px; 
}

.proximopartido {
    background-color: white;;
    padding: .3em;
    margin: 1em;
    box-shadow: 0 0.2em 0.2em 0 rgba(0, 0, 0, .35);
}
.tprox1 {
    text-align: center;
    font-size: 0.8em;
    background: #1D71D3;}

.tprox {
    text-align: center;
    font-size: 0.8em;
    background: #57E4F8; 
        
}
.partido {
    display: flex;
    justify-content: space-around;
    align-items: center;
font-size: 13px; 
width: 100%; 

}
.local {
    display: flex;
    justify-content: flex-start;
    align-items: center;}

.visitante {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.titulofixture {
    display: flex;
    background-color: white;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;
    background: #57E4F8;
padding-left: 1em;
padding-right: 1em;
}

.tituloresultados {
    display: flex;
    background-color: white;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;
    background: #6593FF;
padding-left: 1em;
padding-right: 1em;
}

.titulocalendario1 {
    display: flex;
    background-color: white;
    width: auto;
    justify-content: center;
    align-items: center;
    padding: .5em;
    background: #57E4F8;
padding-left: 1em;
padding-right: 1em;
}

.titulocalendariofutbol {
    display: flex;
    background-color: white;
    width: auto;
    justify-content: center;
    align-items: center;
    padding: .5em;
    background: #57E4F8;
padding-left: 1em;
padding-right: 1em;
    margin-bottom: 1rem;
}

.titulocalendarioescuela {
    display: flex;
    background-color: white;
    width: auto;
    justify-content: center;
    align-items: center;
    padding: .5em;
    background: #1D71D3;
padding-left: 1em;
padding-right: 1em;
    margin-bottom: 1rem;
}

.titulocalendarioabono {
    display: flex;
    background-color: white;
    width: auto;
    justify-content: center;
    align-items: center;
    padding: .5em;
    background: #1D71D3;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.button2 { 
    background: white;
    background-color: #1D71D3;
    list-style: none;
    padding: 0.5em;
    margin-bottom: 1rem;
    border-radius: 5px;
    width: 40%;
    text-align: center;
    font-size: 12px; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
     
} 
.botonanterior {color: white}

.perdedor {
    text-align: center;
    font-size: 0.8em;
    background: #ff5252;}
.empate {
    text-align: center;
    font-size: 0.8em;
    background: #bfbfbf;}
.ganador{
    text-align: center;
    font-size: 0.8em;
    background: #84f47a;}



/*CONTACTO*/

.titulocontacto {
    font-size: 2.5em;
    padding: 1rem 1rem 1rem 1rem; 
    margin: 0.25em;
    display: flex;
    justify-content: center;
}

.divdatos {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #57E4F8;
    align-items: center;
    text-align: center;
    max-width: 80%;
    margin: 2em;
    margin-left: 2.2rem;
    margin-top: 0rem;
    padding: 1em;
    border-radius: 1em;
}

.divdatos a{
      display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #57E4F8;
    align-items: center;
    text-align: center;
    max-width: 80%;
    margin: 2em;
    margin-left: 2.2rem;
    margin-top: 0rem;
    padding: 1em;
    border-radius: 1em;
    text-decoration: none; 
    color: black; 
}

.ubicacionh {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;
    padding-bottom: .1rem;
    font-weight: bold;
    font-size: 1em;
}

.ubicacionp {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;  
    font-size:.8em;
}

.ubicacionm {
    display: flex;
    justify-content: center;
    padding: .5em;   
    padding-bottom: 2rem;
}

.telh {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;   
    padding-bottom: .1rem;
    font-weight: bold;
    font-size: 1em;
}

.telp{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;    
    font-size:.8em;
    margin-bottom: 2rem;
}
.horah {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;   
    padding-bottom: .1rem;
    font-weight: bold;
    font-size: 1em;
}

.horap{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;    
    font-size:.8em; 
    margin-bottom: 2rem;
}

.faceh {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;   
    padding-bottom: .1rem;
    font-weight: bold;
    font-size: 1em;
}

.facep{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;    
    font-size:.8em; 
}

.instah {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;   
    padding-bottom: .1rem;
    font-weight: bold;
    font-size: 1em;
}

.instap{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;    
    font-size:.8em;
}

.redesul{
    display: flex;
    flex-direction: row;
    margin-top: 2rem;
}

.redesface {
    padding: 0.5rem;
}

.redesinsta {
    padding: 0.5rem;
}

.redesh {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;   
    font-weight: bold;
    font-size: 1em;
}

.divcontactanos {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #57E4F8;
    align-items: center;
    text-align: center;
    max-width: 80%;
    margin: 2em;
    margin-left: 2.2rem;
    padding: 1em;
    border-radius: 1em;
}

.contactanosh {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: .5em;
    padding-bottom: .5rem;
    font-weight: bold;
    font-size: 1.5em;
} 


.contactanosli {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.contactanos {
    background-color: #586cc3;
    height: 10em;
    width: 15em;
    margin: 0.5em;
    padding: 0.5em;
    border-radius: 5px;
    text-align: center;
    color: white;
}

.botonenviar {
    background-color:  #1D71D3;
    color: white;
    list-style: none;
    padding: 0.5em;
    margin-top: 1rem;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

.divok {
   display: flex;
   justify-content: center;
   flex-direction: column;
   background-color: #57E4F8;
   align-items: center;
   text-align: center;
   max-width: 80%;
   margin: 1em;
   margin-left: 2.2rem;
   padding: 1em;
   border-radius: 1em; 
}

.contactanosokh {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;
    padding-bottom: .1rem;
    font-size: 1em;
}

.contactanosokp {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    padding: .5em;  
    font-size:1.5em;
    font-weight: bold;
}

.botonvolver {
    background-color: #1D71D3;
    color: white;
    list-style: none;
    padding: 0.5em;
    margin-top: 1rem;
    border-radius: 5px;
    width: 40%;
    text-align: center;
}

.divasosiate {
   display: flex;
   justify-content: center;
   flex-direction: column;
   background-color: #57E4F8;
   align-items: center;
   text-align: center;
   max-width: 80%;
   margin: 2em;
   margin-left: 2.2rem;
   padding: 1em;
   border-radius: 1em;  
}

.asosiatep {
    text-align: justify;
    font-size: 0.8rem;
}

.abonosp {
    text-align: justify;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

.botonasociate {
    background-color: #1D71D3;
    color: white;
    list-style: none;
    padding: 0.5em;
    margin-top: 2rem;
    border-radius: 5px;
    width: 50%;
    text-align: center;
}

.asociateli {
    margin: 1rem;
    margin-top: 2rem;
}




/*ASOCIATE*/

.principalasociate {
    margin-bottom: 2rem;
}

.tituloasociate {
    font-size: 2.5em;
    padding: 1rem 1rem 1rem 1rem; 
    margin: 0.25em;
    margin-bottom: 0rem;
    padding-bottom: 0rem;
    display: flex;
    justify-content: center;
}

.divasosiate1 {
   display: flex;
   justify-content: center;
   flex-direction: column;
   background-color: #57E4F8;
   align-items: center;
   text-align: center;
   max-width: 80%;
   margin: 2em;
   margin-top: 0rem;
   margin-left: 2.2rem;
   padding: 1em;
   border-radius: 1em; 
}

.etiqueta {
    display: flex;
    justify-content: center;
    color: black;
    font-weight: bold;
}

.campo {
    background-color: #b3f5ed;
    display: flex;
    justify-content: center;
    width: 70%;
    padding: .5em;
    border-radius: 1em;
    margin: 1rem;
    margin-left: 2rem;
    text-align: center;
}

.registratep {
    margin-top: 4rem;
    font-weight: bold;
}

.ayuda {
    display: flex;
    flex-direction: column;
}

.interes {
    margin: 2rem;
    margin-bottom: 1rem;
    display: inline-block
}

.interes1{
    display: flex;
    justify-content: flex-start;
    margin-top: 0rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
    color: black;
}

form button {
    background-color: #5186c4;
    color: white;
    list-style: none;
    padding: 0.5em;
    margin-top: 2rem;
    border-radius: 5px;
    width: 50%;
    text-align: center;
}

.asociateokh {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;
    padding-bottom: .1rem;
    font-size: 1.5em;
    font-weight: bold;
}

.asociateokp {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    padding: .5em;  
    font-size:1em;
}




/*NOTICIAS*/

.imagenesnoticias1 {
margin: 1rem;
display: flex;
justify-content: flex-start;    
width: 70%;
object-fit: contain;
}

.imagenesnoticias1adiv { 
    
    display:flex;
    width: 100%; 
    justify-content: center; 

}

.imagenesnoticias1a {
margin: auto;
margin-top:2rem; 
margin-bottom: 2rem; 
width: 80%; 
display: flex;
justify-content: center;    
object-fit: contain;
}

.imagenesnoticias2 {
margin: 1rem;
display: flex;
justify-content: flex-start;    
width: 100%;
object-fit: contain;
}

.imagenesnoticias3 {
margin: 1rem;
display: flex;
justify-content: flex-start;    
width: 100%;
object-fit: contain;
}


h2 {
    font-size: 1.5em;
    padding: 1rem 1rem 1rem 1rem; 
    margin: 1em;
    display: flex;
    justify-content: center;
    background: #033654  ;
    color: white;
}

section p4 {
    font-size: 1em;
    font-weight: bold;
    padding: 1rem 1rem 1rem 1rem; 
    margin: 1em;
    display: flex;
    justify-content: center;
    text-align: center;
}

.box {
    max-width: 100%;
    width: 100%;
    font-size: 1em;
    text-decoration: none;  
    list-style: none;
    box-sizing: border-box;
    display: block;
    display: flex;
    flex-direction: row;
    justify-content:center;
    text-align: center;
}

section p1 li {
    font-size: 1em;
    text-decoration: none;
    color: white;
    font-weight: bold;
    box-sizing: border-box;
    display: block;
    margin: 0.2em 1em 0.2em 1em;
    padding: 1em 1em 1em 1em;
    list-style: none;
    text-align: center;
}

section p2 li {
    font-size: 1em;
    text-decoration: none;
    color: white;
    font-weight: bold;
    box-sizing: border-box;
    display: block;
    margin: 0.2em 1em 0.2em 1em;
    padding: 1em 1em 1em 1em;
    list-style: none;
    text-align: center;
}

section p3 li {
    font-size: 1em;
    text-decoration: none;
    color: white;
    font-weight: bold;
    box-sizing: border-box;
    display: block;
    margin: 0.2em 1em 0.2em 1em;
    padding: 1em 1em 1em 1em;
    list-style: none;
    text-align: center;
}

.club {
    display: flex;
    justify-content: center;
}

.destacado {
    display: flex;
    justify-content: center;
}

.destacado1 {
    width: 100%;
    max-width: 200px;
    margin-left: 0em;
    padding-left: 0px;
    font-size: 1em;
    font-weight: bold;
    list-style: none;
    box-sizing: border-box;
}

.noticiaa1 {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1em 0em;
    background: ##1D71D3;
}

.titulonoticiaa1 {
    display: flex;
    background-color: #5186c4;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;
}

.divnoticiasdestacada { 
    display: flex;
    margin-top: 1.5rem; 
    flex-direction: column;
    background-color: #1D71D3;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 1em;
    

}

.divnoticiasdestacada img { 
width: 50%;
}

.noticiassecundarias { 
display: flex;
width: 100%;
    margin: 1rem;
}

.divnoticias {
    display: flex;
    flex-direction: column;
    background-color: #57E4F8;
    align-items: center;
    text-align: center;
    width: 39%;
    margin: auto;
    margin: 1em;
    margin-left: 1.2rem;
    padding: 1em;
    border-radius: 1em;
}

.noticias img {
    display: flex;
    max-width: 80%;
    height: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}
    
h4 {
    display: flex;
    justify-content: center;
    font-size: 1.17em;
    font-weight: bold;
    padding: 1rem;
}

h5 {
    display: flex;
    justify-content: center;
    font-size: .8em;
    font-weight: bold;
    padding: 1rem;
}

h6 {
    display: flex;
    justify-content: center;
    font-size: .8em;
    font-weight: bold;
    padding: 1rem;
}

h7 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: .5em;    
    font-weight: bold;
    font-size: 1.2em;
}

.parrafo {
    text-align: justify;
    font-size: 1em;
    margin: 2em;
}

.leermas {
    background-color: #5186c4;
    color: white;
    margin: 1rem;
    width: 40%;
    height: 30%;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.volver { 
width: 100%; 
    display: flex;
justify-content: center; }


.botonvolvernot {
    background-color:#57E4F8;
    color: white;
    list-style: none;
    padding: 0.5em;
    margin-top: 1rem;
    width: 30%;
    margin-bottom: 2rem;
    border-radius: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.videontot{
    width:100%; 
    display: flex; 
    justify-content: center; 
}

.videonot3 {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    margin: auto;
}


/*TABLA POSICIONES*/

.egt {
    
    margin-bottom: 3rem;
}






/*HISTORIA*/


.tituloELCLUB {
    display: flex;
    color: black;
    width: auto;
    justify-content: center;
    align-items: center;
    padding: .5em;
    background: #57E4F8;
    padding-left: 1em;
    padding-right: 1em;
    margin-top: 1rem;
    font-weight: bold;
}


.historiaparrafo {
    font-size: 12px; 
    margin: 1rem;
    margin-right:2rem;
    margin-left: 2rem;
    text-align: justify
}



.bajadas { 

margin: 1.5rem; 
font-size: 14px; 
text-align: center;}

.bajadasnoticias { 

margin: 1.5rem; 
    margin-top: 3rem;
font-size: 14px; 
text-align: center;}

.galeria {
    padding-bottom: 2em;
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.galeria h3 {
    width: 100%;
    padding: .5em;
    background: 
}

.galeria figure {
    width: 45vmin;
    margin: .125em;
    
    /* para que cada figura sea
       "origen de coordenadas"
       de sus "descendientes" con 
       position: absolute */
    position: relative;
    
    /* para que se oculten
       sus "descendientes" con 
       position: absolute
       que se "salgan" de sus límites */
    overflow: hidden;
}


.galeria h5 { background: #57E3F7; 
font-size: 16px;
padding: .5rem; } 

}
.galeria img {
    /* para que "desaparezca" el espacio que queda debajo de la imagen */
    display: block;
}

.galeria figcaption {
    background-color: rgba(0,0,0,.5);
    color: white;
    padding: .5em;
    line-height: 1em;
    
    /* para salir del "flujo de información" del fondo 
       y colocase en una capa superior
       "anclada" en su "ascendiente" definido
       como origen de coordenadas */
    position: absolute;
    height: 100%;
    
    /* para que la parte superior quede
       apenas 1.5em visible (1ª línea) */
    top: calc(100% - 1.5em);
    transition: all .5s ease;
    
}

/* propiedades de figcaption SÓLO cuando
   la mano se coloca encima de "figure" */
.galeria figure:hover figcaption {
    background-color: rgba(0,60,60,.5);
    top: 50%;
    transition: all .5s ease;
}

.galeria figcaption span {
    display: block;
    font-size: .75em;
    color: #ddd;
}


.textos {
    padding: 1em;
    
    /* para limitar la cantidad de palabras por línea */
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
}

.textos > * {
    margin-bottom: 1em;
}

.textos > div h4 {
    background-color: rgba(150,200,150,.75);
    padding: .25em;
    margin-bottom: .5em;
    
    /* para salir en parte del "flujo de información" del fondo y colocase en una capa superior
    "anclada" en su "ascendiente" */
    position: sticky;
    top: 0;
} 

.subir {
    text-decoration: none;
    color: darkcyan;
    font-weight: bold;
}

.subir:hover {
    text-decoration: underline;
}


/*FOOTER*/

.navegador{
    background-color:#1D71D3;
    border: 4px solid rgba(0,0,0,.25);
    box-shadow: 0 .15em .1em rgba(0,0,0,.215);
    color: white;
    display:flex;
    font-size: 2rem;
    position: fixed;
    bottom: 0rem;
    height: 12%; 
    width: 100%;
    justify-content: space-between;
    align-items: center;
    float: left;
}


.itemnav img{
    max-height:1.5em ;
    max-width: auto;
    margin: .5em
}

.itemnav p{
    text-align: center;
    font-size: .3em;
    color: white;;
    font-weight: bold;
    margin-bottom: .5rem;
}

.itemnav{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 8%; 
}

.navegador a {
    text-decoration: none;
    padding: .5em;
    
    
}
/*
navegador a:hover{
    background:rgba(0,100,0,.5);  
  
    
}
*/


/*VIDEO*/

.videoprincipal 

{display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    margin: .5em;
    padding: .5em;
    background: rgb(250, 250, 250);
    width: 20em;
        
        
}

.videos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    margin: .5em;
    padding: .5em;
    background: rgb(250, 250, 250);
    
        
        
}
.video{
    margin: .5em;
}
.video iframe{
    width: 30vh;
    height: auto;
    display: block;
    align-content: center;
}
.videotitulopp{ color: blue;
    background-color:#8AADFF  ;
    padding: 1em;
    position: relative;
    bottom: 0;
    width: 540px;
    text-shadow: 1em;
      

}
.video h6{
    color: #102087;
    background-color:rgb(230, 230, 230);
    padding: 1em;
    position: relative;
    bottom: 0;
    width: 30vh;
    height: 1,3em;    

}
/* disciplinas */

.disciplinas img{
    max-width: auto;
    
}

.disciplinas p{
    font-size: .8em;
    color: rgba(0,100,0);
    margin: .5em;
    padding: .5em
}
.fotoabajo{
    display: flex;
    justify-content: center;
    background-color:rgba(0,100,0);
    margin:.5em 2em;
    padding: .5em;
    box-shadow: 0 .2em .2em 0 rgba(0, 0, 0, .35)
    
}
h3{
    font-size: 1.2em;
    background-color: rgb(0, 128, 43);
    color: white;
    font-weight: 200;
}


.fotoabajo img{
    margin: .3em;
    height: 8em;

}



/*Estilos de la galeria*/

.galeria {
	width: 90%;
	margin: auto;
	list-style: none;
	padding: 20px;
	box-sizing: border-box;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.galeria li {
	margin: 5px;
}

.galeria img {
	width: 280px;
	height: 175px;
}

/*Estilos del modal*/

.modal {
	display: none;
}

.modal:target {
	
	display: block;
	position: fixed;
	background: rgba(0,0,0,0.8);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.modal h3 {
	color: #fff;
	font-size: 30px;
	text-align: center;
	margin: 15px 0;
    background: #8AADFF;
}

.imagen {
	width: 100%;
	height: 50%;
	
	display: flex;
	justify-content: center;
	align-items: center;
}

.imagen a {
	color: #fff;
	font-size: 40px;
	text-decoration: none;
	margin: 0 10px;
}

.imagen a:nth-child(2) {
	margin: 0;
    display: flex;
	flex-shrink: 2;
}

.imagen img {
	width: 500px;
	height: 60%;
	max-width: 100%;
	border: 7px solid #fff;
	box-sizing: border-box;
}

.cerrar {
	display: block;
	background: #fff;
	width: 25px;
	height: 25px;
	margin: 15px auto;
	text-align: center;
	text-decoration: none;
	font-size: 25px;
	color: #000;
	padding: 5px;
	border-radius: 50%;
	line-height: 25px;
}



/*AUTORIDADES*/

.autoridades { 
margin-left: 1.5rem;
font-size: 12px;}





.subtitulos{
    color: #1D71D3;
    font-size: 1em;
    margin:1em auto .5em 1em;
}

.equipo li{
    margin: 1em;
    padding: .5em;
    list-style: none;
    font-size: .8em;
    color:black;
    
}


/*MEDIA*/
@media (min-width: 400px) {
    
    #principal { 
      display:flex;
      justify-content: center;
      width: 50%;
      object-fit: contain;
      margin: auto;
    }
    
.proximafecha { 

background: #5782f8; 
padding: .5rem;
    
}    
    
.divdatos {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #5782f8;
    align-items: center;
    text-align: center;
    max-width: 50%;
    margin: auto;
    margin-top: 0rem;
    padding: 1em;
    border-radius: 1em;
}
    
.divcontactanos {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #5782f8;
    align-items: center;
    text-align: center;
    max-width: 50%;
    margin: auto;
    margin-top: 3rem;
    padding: 1em;
    border-radius: 1em;
}
    
.divasosiate {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #5782f8;
    align-items: center;
    text-align: center;
    max-width: 50%;
    margin: auto;
    margin-top: 3rem;
    padding: 1em;
    border-radius: 1em;
}   

    .divasosiate1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #42abba;
    align-items: center;
    text-align: center;
    max-width: 50%;
    margin: auto;
    margin-top: 3rem;
    padding: 1em;
    border-radius: 1em;
}   
    
    .divnoticiasdestacada { 
    display: flex;
    margin-top: 1.5rem; 
    flex-direction: column;
    background-color: #67a5ed;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 1em;
    

}

    
}



    