@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

@charset "utf-8";

*{  margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    
 }

body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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






#imap>img:hover{
  
    filter: grayscale(80%);
    
}

.imap{
    flex-direction: column;
    width: 60%;
    height: auto;
    margin-left: 4em;
    
    
}







                              /*HEADER */
#contenedor img {
    
    width: 40px;
    height: 40px;
    margin-bottom: 2%;
    
}

#contenedor{
    background-color: cadetblue;
    display:flex;
    width: 100%;
    
    position: fixed;
    top: 0;
    z-index: 100;
      font-family: 'lato';
    
    
    }

span{
    display: flex;
    margin-top: 0 ;
    margin-left: auto;
    margin-right: 2%;
}

header{
    margin-bottom: 3em;
}
    
    

                      /*MENU/SUBMENU SUPERIOR*/


.select{
    background: #fff;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed; /*permite ver el menu */
    z-index: 1; 
    top: 0;
    right: 0; /*oculto del lado derecho*/
    background-color: #111;
    overflow-x: hidden; /*oculta el submenu*/
    transition: 0.5s;
    padding-top: 90px;
}

/*submenu propiedades*/ 
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover { 
    color: #f1f1f1;
}

.sidenav .cierre {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

footer {
    
    padding: 1em;
    background-color: black;
    color:azure;
    font-family: 'roboto slab';
    font-size: 12px;
}

/*-------------------noticias-------------------*/

.ftitulo{
    color:black;
    
}


h3{
    margin-bottom: 0.3em;
    
    border: 1px solid black;
    display: block;
    background-color: black;
    width: 30%;
    color: aliceblue;
    text-align: center;
}

.not{
    
    padding: 1em;
    font-family: 'lato';
    
}

.not a {
    display: block;
    font-family: 'roboto slab';
    font-size:13px;
    letter-spacing: 1em;
    margin-bottom: 8px; 
    
}

.not p{
    padding: 1em;
    margin-left: 3em;
    font-family: 'roboto slab';
    font-size: 14px;
    letter-spacing: 0.05em;
    
    }

.nodal{
    display: none;
    
    
}



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

.nodal h2{
    color: aliceblue;
    font-size: 10px;
    text-align: center;
    margin: 15px 0;
    display: block;
    
}

.imagen{
    margin-top: 40%;
    width: 100%;
    height: 50%;
    
    display: flex;
    flex-wrap: wrap;
    
}

.imagen a {
    color: aliceblue;
    font-size: 30px;
    text-decoration: none;
    margin: 0 10px;
    }

.imagen a:nth-child(2){
    margin: 0;
    height: 100%;
    
    
}

.imagen img{
    width: 500px;
    height: 100%;
    max-width: 100%;
    border: 3px solid white;
    box-sizing: border-box;
    }

.cerrar{
    
    background: white;
    width: 40px;
    height: 40px;
    font-weight: bolder;
    text-decoration: none;
    border-radius: 50%;
    color: black;
    font-family: 'lato';
    text-align: center;
    margin: auto;
    padding: 1em;  
        
}

.imagen p{
    color: aliceblue;
    display: block;
    margin: 1em;
    margin-top: 0;
}


.piefoto{
    font-family: 'lato',sans-serif;
    display: inline-block;
    position: absolute;
    
    padding: 0em 0em 0em 0.5em;
    background-color: black;
    color: aliceblue;
    margin-top: 8em;
}


/*----------------boton atras propiedades----------------*/

.atras {
    background-color: black;
    display: inline-block;
    text-align: center;
    color: white;
    font-size: 50px;
    text-decoration: none;
    margin-bottom: 0.5em;
    margin-left: 42%;
    margin-right: 42%;
    border-radius: 50%;
  
    
}





/*----------------------------------------------------------*/


