@charset"UTF-8";

@font-face {
    font-family: 'playfair_displayblack';
    src: url('fuentes/playfairdisplay-black-webfont.eot');
    src: url('fuentes/playfairdisplay-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('fuentes/playfairdisplay-black-webfont.woff2') format('woff2'),
         url('fuentes/playfairdisplay-black-webfont.woff') format('woff'),
         url('fuentes/playfairdisplay-black-webfont.ttf') format('truetype'),
         url('fuentes/playfairdisplay-black-webfont.svg#playfair_displayblack') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'playfair_displaybold';
    src: url('fuentes/playfairdisplay-bold-webfont.eot');
    src: url('fuentes/playfairdisplay-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fuentes/playfairdisplay-bold-webfont.woff2') format('woff2'),
         url('fuentes/playfairdisplay-bold-webfont.woff') format('woff'),
         url('fuentes/playfairdisplay-bold-webfont.ttf') format('truetype'),
         url('fuentes/playfairdisplay-bold-webfont.svg#playfair_displaybold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'playfair_displayregular';
    src: url('fuentes/playfairdisplay-regular-webfont.eot');
    src: url('fuentes/playfairdisplay-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fuentes/playfairdisplay-regular-webfont.woff2') format('woff2'),
         url('fuentes/playfairdisplay-regular-webfont.woff') format('woff'),
         url('fuentes/playfairdisplay-regular-webfont.ttf') format('truetype'),
         url('fuentes/playfairdisplay-regular-webfont.svg#playfair_displayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ralewaybold';
    src: url('fuentes/raleway-bold-webfont.eot');
    src: url('fuentes/raleway-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fuentes/raleway-bold-webfont.woff2') format('woff2'),
         url('fuentes/raleway-bold-webfont.woff') format('woff'),
         url('fuentes/raleway-bold-webfont.ttf') format('truetype'),
         url('fuentes/raleway-bold-webfont.svg#ralewaybold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ralewaylight';
    src: url('fuentes/raleway-light-webfont.eot');
    src: url('fuentes/raleway-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fuentes/raleway-light-webfont.woff2') format('woff2'),
         url('fuentes/raleway-light-webfont.woff') format('woff'),
         url('fuentes/raleway-light-webfont.ttf') format('truetype'),
         url('fuentes/raleway-light-webfont.svg#ralewaylight') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ralewayregular';
    src: url('fuentes/raleway-regular-webfont.eot');
    src: url('fuentes/raleway-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fuentes/raleway-regular-webfont.woff2') format('woff2'),
         url('fuentes/raleway-regular-webfont.woff') format('woff'),
         url('fuentes/raleway-regular-webfont.ttf') format('truetype'),
         url('fuentes/raleway-regular-webfont.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


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


body {
    margin: 0;
    background-color: #EDEDED;
    height: 100%;
    padding: 0;
    width: 100%;
    }

html{
    height: vh100;
    font-size: 100%;
    font-family: 'ralewayregular';
    }




/* Colores:
Negro: #000000
Gris: #EDEDED
Gris topo: #555
Degrade: -webkit-linear-gradient(right top, #000444, #2C2C2C)
{
}
*/


/* --------------------------------Header-----------------------------*/


 header {
    width: 100%;
    background-color: #000000;
    height: 3.3rem;
    display: flex;
    align-items: center;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:flex;
    min-width: 440px;
    }



.logo1 {
    display: flex;
    justify-content: flex-start;
    text-align: center;
    flex-direction: row;
    align-items: center;
    width: 95%;
    margin: 30px;
    display:inline-block;
    
   }


#btn-menu {
    display: none;
    }

header label {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    margin-left: auto;
    width: 55px;
    height: 48px;
    padding: 10px;
    border-right: 1px solid #555;
    }

header label:hover {
    cursor: pointer;
    background: #555;
    width: 56px;
    height: 48px;
     }

.menu ul {
  background-color: #555;
    list-style: none;
    display: flex;

    
}


.menu li { 
    display: flex;
    border-right: 1px solid #e7e9db;
}


.menu li:hover {
     background-color: #555;
     
 }

.menu li a {
      font-family: 'ralewayregular';
    font-size: 85%;
    
    display: block;
    padding: 15px 20px;
    color: #EDEDED;
    text-decoration: none;
}


/*--submenu--*/
.menu ul ul {
    display: none;
}

.menu ul li:hover ul {
    display: block;
    position: absolute;
     margin-top: 2.5em;
    margin-left: 2px;
}
.menu ul{
    margin-left: 0em;
    background-color: #000000;
    list-style: none;
    display: flex;

}

@media screen and (max-width: 30em){
   
    header {
    min-width: 100px;
    }
    
    header label {
    display: block;
    }
    
    .menu {
        position: absolute;
        top: 10.9rem;
        left: 0;
        width: 108%;
        margin-left: -109%;
        transition: all 0.5s;
    }
    
    .menu ul {
      
        flex-direction: column;
        background-color: #000000;
    }
    
    .menu li {
        border-top: 1px solid #e7e9db;
    }
    
    
    #btn-menu:checked ~.menu{
        margin: 0;
        }
    
    .logo1 {
    width: 45%;
    margin: 30px;
    margin-left: 10px;

    
   }
}

/*-----------Usuario-desplegable----------*/

.menu-desplegable ul{
    list-style: none;
}

.menu-desplegable > .icono{
    right: 0;
    }

.menu-desplegable > .center-icono{
    right: calc(50% - 85px);
    }

.menu-desplegable > ul {
    display: flex;
    margin-right: 15px;
    margin-top: 0;
    position: absolute;
    top: 5px;
}

.menu-desplegable nav {
    background-color: rgba(0,0,0,0.85);
    color: white;
    position: fixed;
    top: 0;
    height: 66vh;
    min-width: 30vw;
    transition: all .6s ease;
    z-index: 999;
}

.menu-desplegable nav#menu{
    right: -60vw;
}

.menu-desplegable nav#hamb{
    left: -60vw;
}

.menu-desplegable nav#menu:target {
    right: 0;
    transition: all .6s ease;
}

.menu-desplegable nav#hamb:target {
    left: 0;
    transition: all .6s ease;
    height: 52vh;
    min-width: 20vw;
}

.usuario {
    margin: auto;
    text-align: center;
    font-size: 85%;
    padding: 3em 1em 1em 1em;
    border-bottom: solid 1px rgba(255,255,255,.25);
}
.usuario h3{
    font-family: 'ralewaybold';
    font-size: 1.5em;
    margin-bottom: 0;
    
}

.usuario img {
    max-width: 8em;
    max-height: 8em;
    border: 4px solid gray;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .25) inset, 0 .35em .5em rgba(0, 0, 0, .25);
}


.menu-desplegable nav a {
    font-size: 'ralewayregular';
    color: rgba(255,255,255,.75);
    display: block;
    padding: .7em 1em;
    text-decoration: none;
}

.menu-desplegable nav a:hover {
    background-color: #EDEDED;
    color: #000000;
}

#Cerrar{
    max-width: 0.1em;
    max-height: 0.1em; 
}

#x {
    position: absolute;
    right: 0;
    top: 0;
    
}

#textousuario{
    text-align: center;
}
#menufoto{
    display: block;
	height: 60px;
    display: flex;
    justify-content: space-between;
    align-items:flex-end;
}

#menufoto img{
	height: 70%;
    margin-bottom: -0.5em;
    margin-right: 1em;
}


.logonav img {
    height: 60px;
    display: flex;
    justify-content: center;

}

@media all and (max-width: 1027px) {

.menu-desplegable nav {
    height: 70vh;
    }


.menu-desplegable nav#menu{
    right: -80vw;
}
}

 
 /* -------------------------------------main------------------------*/ 
main {
    float:left;
    }

main .contenedor {
   padding: 20px;
   margin-top: 0px;
   background-color: #e6e9db;
    }


div#cajas {
    width: 960px;
    height: auto;
    margin: 5%;
    margin-left: 15%;
}

.vermas{
padding-top: 3%;
}

.vermas a{
    display: flex;
    justify-content: center;
    padding: 1em;
    background-color: #000000;
    color: #EDEDED;
    margin-left: 300px;
    align-items: center;
    width: 7rem;
    height: 3rem;
    font-family: 'ralewaybold';
    color: #EDEDED;
    text-decoration:none;

    }

.vermas a:hover{
    text-decoration:none;
    color: #000000;
    background-color: #EDEDED;
    }

div#cajas2 {
    width: 960px;
    height: auto;
    margin: 5%;
    margin-left: 15%;
    margin-top: -3%;
}    

div#cajas3 {
     width: 960px;
    height: auto;
    margin: 5%;
    margin-left: 15%;
    margin-top: -3%;

}



div#dos {
    float: right;
    width: 45%;
    height: 250px;
    background: -webkit-linear-gradient(right top, #838181, #2C2C2C);
    flex-basis: 50%;
    flex-grow: 1;
    color: #EDEDED;
    font-family: 'ralewaylight';
    align-content: center;
    align-items: stretch;
    padding: 3%;
        
}

div#uno{
    background: -webkit-linear-gradient(right top, #838181, #2C2C2C);
    flex-basis: 50%;
    flex-grow: 1;
    color: #EDEDED;
    font-family: 'ralewaylight';
    align-content: center;
    align-items: stretch;
     width: 45%;
    height: 250px;
    padding: 3%;
   
  

}

.seccioncajas {
    font-size: 15px;
    font-family: 'playfair_displaybold';

}

.introduccioncajas {
    font-size: 13px;
    font-family: 'ralewaylight';
    width: 88%;
    height: auto;
}

@media screen and (max-width: 30em){
    
    
div#cajas {
        display: flex;
         flex-direction: column;
        width: 310px;
        flex-wrap: wrap-reverse;
        justify-content: space-between;
    margin-left: 0px;
    }


div#cajas2 {
    display: flex;
    flex-direction: column;
     width: 310px;  
    flex-wrap: wrap-reverse;
    justify-content: space-between;     
   margin-left: 0px;
    }

div#cajas3 {
        display: flex;
       flex-direction: column;
        width: 310px;
        flex-wrap: wrap-reverse;
        justify-content: space-between; 
        margin-left: 0px;
    }

div#dos {
    margin-left: 0em;
    margin-top: 0rem;
    padding-top: 5%;
    width: 100%;
    height: 50%;
    }
    
div#uno {
    margin-left: 0em;
    margin-top: 0rem;
    padding-top: 5%;
    width: 100%;
    height: 50%;
    }
  
}

.vermas a{
    display: flex;
    margin-left:60%;
    }


.vermas a{
    display: flex;

    }

/* ---------------------------------Footer----------------------------*/   
footer h5{
    float: left;
    margin: 2%;
    padding: 30px;
    height: 5rem;
    font-family: 'ralewaylight';
    }

footer{
background-color: #555;
color: #EDEDED;
margin-top: 50em;
font-family: 'Ralewaybold';
display: flex;
flex-flow: column;
align-items: center;
padding-top: 0em;
font-weight: 400; 
box-sizing: border-box; 
margin-right: 0;
width: 100%;        

}


.footer-container {
    
    width: 100%;
    background:#555;
    color: #EDEDED; 
    display: flex;
    flex-flow: column;
    align-items: center;
   
    }

.footer-main {
    width: 100%;
    max-width: 1500px;
    margin: auto;
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap; 
    padding: 2rem;
    display: flex;
    
    }

.footer-main .footer-columna {
    width: calc(100% / 3);
    text-align: justify;
    font-size: 1rem;
    color: #EDEDED;
    text-align: center;
    margin-bottom: 1rem;
    
    }

.footer-main .footer-columna2 {
    width: calc(100% / 3);
    text-align: justify;
    font-size: 1rem;
    color: #EDEDED;
    text-align: center;
    margin-bottom: 2rem;
     
    }

.footer-main .footer-columna3 {
    width: calc(100% / 3);
    text-align: justify;
    font-size: 1rem;
    color: #EDEDED;
    text-align: center;
    margin-bottom: 2rem;
     
    }

footer .newstexto1 {
    font-size: 1.4rem;
    color: #EDEDED;
    text-align: center;
    margin-bottom: 1rem;
        
}

footer .newstexto2 {
    margin-left: 1rem;
    font-size: 1.4rem;
    color: #EDEDED;
    text-align: center;
  
        
}
footer .newstexto3 {
    font-size: 1.4rem;
    color: #EDEDED;
    text-align: center;
    margin-bottom: 1rem;
        
}
footer .newstexto2 h5 {
    font-size: 0.9rem;
    padding: 7px;
    
    color: #EDEDED;
    text-align: left;
    font-family: 'ralewaylight';
    height: 60px;
 
    
}


    .newstexto1 {
    flex-wrap: wrap;
    margin-left: 0rem;
    text-align: left;
    }
    
      .newstexto2 {
    flex-wrap: wrap;
    margin: 0px;
    width: 100%;
    }
    
      .newstexto3 {
    flex-wrap: wrap;
    margin-right: 0rem;
    }
    
    
    .newstexto2 h5 {
    width: 60%;
    margin-left: 6rem;
    flex-wrap: wrap;

    }
footer .ingresamail{
    display: flex;
    justify-content: left;
    font-size: 1rem;
    margin-left: 0rem;
    
}

.campodetextomail {
    width: 15rem;
    margin-right: 0.rem;
    background-color: #EDEDED;
}

.ingresar a {
    padding: 10px 20px;
    background-color: #000000;
    color: #EDEDED;
    margin-left: 0.5rem;
    cursor: pointer;
     font-size: 15px;
    margin-top: 10px;
    
}


.ingresar a{
    
    color: #EDEDED;
    text-decoration:none;
    }

.ingresar a:hover {
    text-decoration:none;
    background-color: #EDEDED;
    color: #000000;
}





footer .redes {
        width: 100%;
        display: flex;
        margin: 40px;
        flex-flow: row wrap;
        justify-content: space-around;
        margin-bottom: 0rem;
        margin-top: 1rem;
        max-width: 20rem;
    }
    
   .iconosredes {
       background-color: #000000;
       width: 2rem;
       height: 2rem;
      
        
    }
    
    .iconosredes:hover {
        background: #EDEDED;
        color: #000000;
    }
    
    
    .iconosredes a img {
        width: 2rem;
        height: 2rem;
        
    }
    
    .legales {
        width: 100%;
        height: 100%;
        background-color: #000000;
        display: flex;
        flex-flow: column;
        align-items: center;
      
        
        
        
        
    }


    .legales h5{
        width: 100%;
        text-align: left;
        margin-top: 18px;
        max-width: 75rem;
        color: #EDEDED;
        display: flex;
        flex-flow: column;
        align-items: center;
        font-family: 'ralewaylight';
        font-size: 70%;
            
    }

@media screen and (max-width: 30em){
   

.footer-container {
    width: 100%;
   
    }

.footer-main {
    width: 100%;
    max-width: 1000px;
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap; 
    padding: 3rem;

    
    }
  .footer-columna {
        display: flex;
        flex-flow: row;
        justify-content: center;
        margin-left: 10em;
        margin-left: 1em;
        flex-wrap: wrap;
        
    }
   
  
    footer .ingresamail{
    display: flex;
     margin-left: 9em;
    justify-content: center;
    font-size: 1rem;
}

.campodetextomail {
    width: 13rem;
    margin-right: -5rem;
    background-color: #EDEDED;
}

.ingresar {
    padding: 10px 20px;
    cursor: pointer;
     font-size: 15px;
    margin-top: 0px;
    
    
    }
    footer .redes {
        margin: 0.3px;
        margin-bottom: 0rem;
         margin-top: 1rem;
    }
    
    
footer .newstexto1 {
    font-size: 1.4rem;
     text-align: left;
       margin-left: 9rem;
    color: #EDEDED;
    text-align:le;
    margin-bottom: 1rem;
        
}

footer .newstexto2 {
    margin-left: -7rem;
    font-size: 1.4rem;
    text-align: left;
    margin-bottom: 1rem;
  
        
}
footer .newstexto3 {
    margin-left: -1.5rem;
    font-size: 1.4rem;
    text-align: left;
     margin-bottom: 1rem;
 
        
}
    
    .newstexto1 {
    flex-wrap: wrap;
        margin: 10px;
         width: 120%;
    text-align: center;
    }
    
      .newstexto2 {
    flex-wrap: wrap;
    margin: 100px;
    text-align: center;
    margin-top: 120px;
    width: 110%;

    }
    
      .newstexto3 {
    flex-wrap: wrap;
    margin-left: 8rem;
    }
    
    
    .newstexto2 h5 {
    width: 180%;
    margin-top: 30px;
    margin-left: -0.5rem;
    flex-wrap: wrap;

    }
    
.legales {
    padding: 1em;
    height: 12rem;  
    
    }


.legales h5{
    width: 100%;        
    }
    
}


 