/* IES Padre Poveda (Guadix-Granada) */

html {
	text-align: center;
	margin:0px;
	height:100%;
}
body {
	heigh:100%
	margin: 0;
	padding: 0;
	text-align: center;
	font: 12px Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #061C37;
	background: #1E4297;
	background-repeat:repeat-x;
}
p{
	text-align:justify;
	margin-left:10px;
	margin-right:10px;
}
*{
  margin: 0 auto 0 auto;
  text-align:left;
 }
 .lightblue
{
	color:#B1C6FC		
}
#cabecera{
	display: block;
	height: 319px;
	position: relarive;
	width: 940px;
}
#cabeceraimg{
	background-image:url(images/cabecera.jpg);
	background-repeat:no-repeat;
	width:900px;
	height:250px;	
}
#cabeceraimg h1{
	position:absolute;
	text-align:right;
	font-size:30px;
	color:#FFF;	
	left:550px;
	top:100px;
}
#cabeceraimg h2{
	position:absolute;
	text-align:right;
	color:#E1E7F7;	
	left:550px;
	top:130px;
}
#cuerpo
{
	background-color: #FFF;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 5px;
	/*overflow-y: scroll;*/
	width: 880px;
	/*max-width:880px;
	/*min-height:280px;
	max-height:280px;*/
	height: auto;
	position: relative;
}
#cuerpo p
{
	alignment-adjust:central;
}
#pie{
	width: 880px;
	height: auto;
	position: relative;
}
#pie h3 a,#pie h3 a:visited{
	display:block;
	text-align:center;
	font-size:12px;
	text-decoration:none;
	color:#7198E1;
}

#menu
{
	background-image:url(images/menu.png);
	background-repeat:no-repeat;
	width:940px;
	height:69px;
	float:left;
	clear:both;
}
#menu ul {
	list-style: none;
	padding: 0px;
	margin-left:auto;
	width:900px;
	float:left;
	left:5%;
	list-style-type:none;
	margin:0 auto;
	position:relative;
}
#menu li {
	list-style: none;
	padding: 0px;	
	display: inline;
    line-height: 15px;
	
}
#menu a:hover{
	color:#BAD1F3;
	background: url(images/menuhov.jpg) no-repeat;
}
#menu a:active{
	color:#BAD1F3;
	background: url(images/menuhov.jpg) no-repeat;
}

/* GALERIA DE IMAGENES*/
ul#galeria { list-style: none; }
ul#galeria li { float:left;  }
ul#galeria li img {
  width: 125px;
  border: 2px solid #fff;
  opacity: 1.0; }
ul#galeria li:nth-child(6n) { float: none; }
/* cambiando el 3 variamos el nº de imágenes por fila */
