@charset "utf-8;
    /*css document*/
    
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,700,900,400italic,700italic);
    
    *{ margin: 0;

    }



a{ 
    text-decoration: none;
    color: white;
    
}



#contenedor{
    background-color: white;
    width: 950px;
    margin: auto;
    height: auto;
    }


body{
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    color: black;
    
}


main{
    
    display: block;
    width: 708px;
    float: left;
    
}

#slider{
    background-image:url(imagenes/Feria_del_Libro_apm_15.jpg);
    background-color: #eb6a57;
    margin-top: 6rem;
    width: 950px;
    color: black;
    float: left;
    height: 330px;

    
}

section img{
    width: 53%;
    float: left;
    margin-top: 0.5rem;
    margin-left: 0.5rem;

}

#principal{
    background-color: rgba(235, 106, 87, 0.9);
    float: right;
    width: 400px;
    height: 330px;

}

#principal p{
    padding-top: 0rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 0.5rem;
    font-size: 14px;
    margin-left: 1rem;
    margin-right: 0.5rem;
    width: 21rem;
    color: white;
    
}

   

#flechas{
    float: right;
    margin-top: 2rem;
    margin-right: 1rem;
    width: 9rem;
    height: 2.5rem;
}


#flecha1 img{
    float: right;
    width: 20%;
}
    



#flecha2 img{
    float: right;
        width: 20%;
}
    
    

  #videitos{
    
    margin-top: 1rem;
    margin-left: 0px;
    width: 700px;
    height: 570px;  
    
    
  }

#fila1 {
    height: 290px;    
    
}

#fila2 {
    margin-top: 0.5rem;
    height: 280px;
    
}

#noticia1 {
    float: left;
    width: 225px;
    height: 290px;
    background-color: #fae09b;
   
    
}

#noticia1 p {
    margin-left: 15px;
    margin-right: 10px;
    margin-top: 7px;
    line-height: 1rem;
    
}
    
#noticia1 img{
    width: 100%;

}


#noticia2 {
    float: left;
    margin-left: 12.5px;
    width: 225px;
    height: 290px;
    background-color: #fae09b;
    
}

#noticia2 img{
    width: 100%;

}

#noticia2 p {
    margin-left: 15px;
    margin-right: 10px;
    margin-top: 7px;
    line-height: 1rem;
    
}


#noticia3{
    float: left;
    margin-left: 12.5px;
    width: 225px;
    height: 290px;
    background-color: #fae09b;
}

#noticia3 img{
    width: 100%;

}

#noticia3 p {
    margin-left: 15px;
    margin-right: 10px;
    margin-top: 7px;
    line-height: 1rem;
    
}


#cuadricula ul{
    float: left;
    width: 950px;
    margin-top: 1rem;
    list-style: none;
    list-style-type: none;
    padding-left: 0px;
}

#cuadricula li{
    list-style: none;
    float: left;
    width: 14.8rem;
    height: 10.25rem;
    
}


#cuadricula li a{
    margin-top: 2rem;
    
}

#color1{
    background-color: #898989;
    width: 14.8rem;
    text-align: center;
    height: 10.25rem;
    font-size: 30px;

}

{color noticias #f5f4f4}

#color1 a{
    float: left;
padding-top: 2rem;
    margin-left: 1rem;

}

#color1:hover{background-color: #77c6b3}

#color2{
    float: left;
    background-color: #898989;
    width: 14.8rem;
    height: 10.25rem;
    font-size: 30px;

}

#color2 a{
    float: left;
padding-top: 2rem;
    margin-left: 3rem;

}

#color2:hover{background-color: #77c6b3}

#color3{
    background-color: #898989;
    width: 14.8rem;
    height: 10.25rem;
    font-size: 30px;
    text-align: center;
    float: left;


}

#color3 a{
    float: left;
    padding-top: 2rem;
    margin-left: 2rem;
}

#color3:hover{background-color: #77c6b3}

{#6e6e6e color cuadricula}

#color4{
    background-color: #898989;
    width: 14.rem;
    height: 10.25rem;
    font-size: 30px;

}

#color4 a{
    float: left;
    padding-top: 2rem;
    margin-left: 4rem;

}

#color4:hover{background-color: #77c6b3}



h1{
    padding-left: 1rem;
    margin-top: 3rem;
    margin-left: 1rem;
    font-size: 25px;
    color: white;
    width: 23rem;
    line-height: 1.7rem;
    
        
}

h1:hover {color: bl;
    text-decoration: underline;
}
    

h2{ margin-top: 0.5rem;
    color: black;
    width: 11.5rem;
    font-size: 12px;
    padding-right: px;
    line-height: 1rem;
    margin-left: 15px;
}

h5:hover {color:#77c6b3;
        text-decoration: underline;}

h5{ color:#3999a6;
    float:left;
    font-family: "Roboto", sans-serif;
    margin-top: 1.7rem;
    margin-left: 1rem;
    font-size: 11px;
    
}

h6{ color:#3999a6;
    float:left;
    font-family: "Roboto", sans-serif;
    margin-top:0.5rem;
}


footer{
    float: left;
    list-style-type: none;
    background-color: black;
    width: 950px;
	height: 220px;
    margin-top:1rem;
	position:relative;
	padding-bottom:20px;
    clear: both;
    color: white;
}






#izquierda{
    margin-left: 2rem;
    margin-top: 1.5rem;
    float: left;
    height: 70px;
    width: 200px;

}

#izquierda h7{
    font-size: 13px;
    font-weight: 100;
    float: left;
}

#izquierda img{
    height: 50%;
    float: left;
    margin-top: .5rem;

}

footer ul{
    width: 520px;
    margin-right: 2rem;
    float: right;
}

#elementos{
    float: left;
    width: 110px;
    margin-right: 1rem;
    height: 130px;
    margin-top: 1.5rem;
}


footer ul li{
list-style-type: none;
margin-top: 0.5rem;
color: red;
}



footer ul h4{
    font-family: "Roboto",sans-serif;
    font-size: 14px;
    font-weight: 400;
    width: 7rem;
float: left;
margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}


footer ul li a{
    font-size: 12px;
    font-weight: 300;
color: darkgrey;}

footer ul li a:hover{
color: #77c6b3;}




footer p{
    color: #6c6c6c;
    font-size: 10px;
    width: 800px;
    margin-top: 3rem;
    margin-left: 4rem;
    float: left;
    height: 30px;
    text-align: center}

   

aside{
    
background-color: gainsboro;
    width: 24%;
    height: 590px;
    float: left;
    margin-left: 0.5rem;
    margin-top: 1rem;
    
}

#aside{
    width: 210px;
    margin-left: 0.5rem;
    

}

#buscador img{
    margin-top: 1.3rem;
    margin-left: 0.8rem;
    width: 85%; 
}

#redes {
    height: 2rem;
    margin-top: 1rem;
    margin-right: 4rem;
    
}

#redes2 {
    height: 2rem;
    margin-top: 1rem;
    
}

aside h6{
    margin: 0.5rem;
    font-size: 13px;
    
    

}

aside h6:hover{ text-decoration: underline;
}

    


aside p{
    
    width: 200px;
    padding-left: 10px;
    color: #696969;
    font-size: 10px;
    margin-top: 0.3rem;
    
    }

aside h4{
    padding-left: 10px;
    padding-top: 0.5rem;
    color: #696969;
    font-size: 15px;
    
}

aside h4:hover{ text-decoration: underline;}


header{
    background-color: #222327;
    position: relative;
    height: 60px;
    width:950px;
    float: left;
    z-index: 1;
    position: fixed;

 
}


header img{
    float: left;
    width: 18%;
    margin-top: 1px;
    margin-left: 20px;}


header nav ul{
    width: 600px;
    font-size: 1rem;
    margin-left: 7rem;
    list-style: none;
    float: left;
    font-weight: 300;
}
        
header nav ul li {
     float: left;
     width: 9rem;
     text-align: center;
     
 }

header nav ul li a{
    float: left;
    text-align: center;
    display: inline-block;
    width: 9rem;
    color: white;
    padding-top: 1.3rem;
    height: 3.5rem;
}
        
        
header nav ul li a:hover{
    background-color: #77c6b3;
    color: white;
        text-align: center;
    width: 9rem;


}
        



        
        
        
        
        