/* Css de Base3 */

/*AQUÍ VAMOS A DEFINIR LAS PROPIEDADES DE LA PÁGINA EN GENERAL, MÁS ADELANTE DEFINIREMOS LAS DE LAS CAJAS PRINCIPALES*/
/*formatos de párrafo, linea de separacion, encabezados 1 al 6, tablas, vínculos (en sus 4 estados) y body respectivamente*/
	p  {
	color: #000000;
	line-height: normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: justify;
	margin: 3px;
		
	}
	
	hr	{
	display:inline;
	background-color: #990000;
	}
	
	h1  {
		font:25px Verdana, Arial, Helvetica, sans-serif;
		text-align : left;
		color : #666666;
		margin:0px;
		
	}
	
	h2  {
	color:#033;
	text-transform: capitalize;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	line-height: normal;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	}
	h3  {
	font-family: Georgia, "Times New Roman", Times, serif;
	color : #036;
	}
	h4  {
		font:bold 15px Verdana, Arial, Helvetica, sans-serif;
		text-align : left;
		color : #666666;
		
	}
	h5  {
		font: 13px Verdana, Arial, Helvetica, sans-serif;
		text-align : left;
		color : #666666;
		
	}
	h6  {
		font:bold  12px Verdana, Arial, Helvetica, sans-serif;
		text-align : left;
		color : #666666;
		
	}
	td  {
		font: 12px Verdana, Arial, Helvetica, sans-serif;
		text-align : center;
		color : #586885;
		
	}
	a	{
		font-size:12px;
		color:#325FA0;
		
	}
	a:link {
	text-decoration: none;
	color: #000066;		
	}
	a:visited {
		text-decoration: none;
		color:#325FA0;
		
	}
	a:hover {
		text-decoration: none;
		color:#000066;
		
	}
	a:active {
		text-decoration: none;
		color:#0099CC;
		
	}
	body  {
	text-align : justify;
	line-height: normal;
	font-variant: normal;
	width: 100%;
	margin: 0px;
	padding: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	background-color: #FFFFE8;	/*background-image: url(images/fondo.jpg);*/
	}
	/*AHORA VAMOS A PASAR A DEFINIR LOS VALORES
	PARA ORDENAR LAS CAJAS QUE HEMOS CREADO EN XHTML,
	 RECORDAD QUE SI NO ESTÁN BIEN ESTRUCTURADAS DENTRO
	 DEL DOCUMENTO TENDRÉIS COMPLICACIONES AL QUERER SITUARLAS EN CSS*/
	 
	 /*PRIMERO HACEMOS UN CONTENEDOR PARA QUE ALBERGUE A 
	 LOS DEMÁS ELEMENTOS, ADEMÁS QUEREMOS QUE QUEDE CENTRADO,
	  POR LO QUE PONDREMOS ATENCIÓN A LOS VALORES DE MARGIN*/
	#CONTAINER	{
	/*background-image: url(images/botones/imagentabla.jpg);
	background-repeat:repeat-y;	*/
	width:990px;
	height:auto;
	min-height:1350px;
	padding: 0px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;	/*background-color: #FFFFFF;*/
	background-color: #EAF9FF;
	}
	/*en header le damos el mismo ancho que el contenedor
	(si queremos podemos darle menos),
	 la altura que queramos, colores etc...
	 Lo que más nos interesa es que debe estar centrado con 
	 el contenedor, por eso mirad las propiedades de margin,
	 tiene cero arriba, a la derecha también, abajo tiene 10 px,
	 y a la izquierda de nuevo cero píxeles, por el mismo orden 
	 que los he mencionado.
	 Sólo he definido el borde de abajo porque los demás tocan a
	 los del contenedor y resulta feo.*/
	#header{
	width:980;
	height:247px;
	/*background-image: url(images/botones/fondo_header.jpg);
	background-repeat:  repeat-x;*/
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	left: 0px;
	right: 0px;
	}
	/*En la div "izquierda" vamos a ajustar los valores para
	que tenga una anchura de 100píxeles, una altura que 
	dependa del contenido que tenga dentro, y le vamos a dar 
	un margen de 5px a la izquierda, además de hacer que se sitúe a la izquierda
	mediante "float"*/
	#izquierda{
	width:205px;
	height:auto;
	border-width:0px;
	border-color:#000000;
	float:left;
	padding:0px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 1;
	margin-left: 3px;
	min-height:800px;
	height:auto!important;	/*height:800px;*/
	}
	#izquierda ul	{
		font:bold 11px Verdana, Arial, Helvetica, sans-serif;
		color:#586885;
		line-height: 140%;
		text-transform:capitalize;
	}
	
	#derecha{
	width:190px;
	height:auto;
	min-height:800px;
	height:auto!important;
	height:800px;
	float:right;
	margin: 0px;
	padding-top: 0px;
	padding-right: 2px;
	padding-bottom: 0px;
	padding-left: 0px;
	border: 0px 1 #060;
	}
	/*El la div "derecha" vamos a ajustar los valores para
	que tenga una anchura de 150píxeles, una altura que también
	dependa del contenido que tenga dentro, y le vamos a dar 
	un margen de 5px, además de hacer que se sitúe a la derecha*/
	
	/*Ahora le toca a la caja que contendrá la información 
	principal de nuestra página (la div "principal")
	en este caso queremos que se ajuste al espacio
	que sobra a lo ancho del contenedor, por que calculamos, 700px(anchura del mismo)-100px(anchura de la div "izquierda")-150px(anchura de la div "derecha")-20px(total de los margins)-34px(total de los paddings)-6px (total de los borders)=390px.
	Además de esto, también queremos que quede situado entre las cajas que la rodean,
	por lo que calcularemos el espacio que debería quedar a su izquierda y después poner el mismo valor en su "margin-left"
	(Hay que prestar especial atención a contar TODOS los valores que se utilizarán, incluidos, márgenes, padding, bordes...)*/
	#principal{
	width:530px;
	height:auto;
	min-height:4300px;
	height:auto!important;

	background-image: url(../../images/lines.jpg);
	background-repeat:   repeat-y;
	background-position: left top;
	background-color:#FFFFE8;
	border-width:0px;
	padding:5px;

	margin-top: 0;
	margin-right: 0px;
	margin-bottom: 0;
	margin-left: 210px;
	text-align: justify;
	}
	
	#central{
	width:505px;
	height:auto;
	min-height:3650px;
	height:auto!important;
	margin: 5;
	float: left;
	padding: 3px;
	text-align: center;
	
	}
	
	
	
	
		.corte {clear: both;}
	#footer{
	width:980px;
	height:30px;
	margin:1px;
	border: 1px none #000000;
	padding: 2px;
	clear: left;
	font-size: 12px;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-repeat: no-repeat;
	background-position: center center;
	color: #FFFFFF;
	background-color: #008F35;
	float: none;
	}
	
	
	#footer h6{
	text-align:center;
	text-transform:uppercase;
	margin:5px auto;
	color:#666666;
	font:bold 10px Verdana, Arial, Helvetica, sans-serif;
	}	
	#footer a	{
	font-size:12px;
	color:#FFFFFF;
	text-decoration: none;
	text-align: center;
	}
	#footer a:link {
	color: #FFFFFF;
	}
	#footer a:visited {
	text-decoration: none;
	color:#FFCC00;
	}
	#footer a:hover {
	text-decoration: blink;
	color:#FFFFCC;
	}
	#footer a:active {
	text-decoration: none;
	color:#FFFFFF;		
	}
	

	
	
		
#menuderecha a{
	font-size:13px;
	color:#CCCCCC;
	font-style: verdana;
	font-variant: small-caps;		
	}
	
#content {
	width:750;
	text-align: justify;
	vertical-align: baseline;
	line-height: normal;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#content.Subtitulo {
	color: #990000;
	font-weight: bold;
	font-style: verdana;
	font-size: 14px;
}
#content.p {
	font-size: 12px;
	text-align:justify;
	margin:10px;
	line-height: normal;
	font-style: verdana;
}
#busqueda {
	width:500;
	text-align: justify;
	vertical-align: baseline;
	line-height: normal;
	margin: 20px;
	list-style-position: inside;
	list-style-type: disc;
}
#content_gallery {
	width:750;
	text-align: justify;
	vertical-align: baseline;
	line-height: normal;
}
#CONTAINER #izquierda #form_buscar {
	background-color: #063;
	float: left;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	color: #FFF;
}
.Buscar-Titulo {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	font-style: italic;
	font-weight: bold;
	color: #FFF;
	text-align: center;
}
#CONTAINER #izquierda #form_buscar {
	float: left;
	width: 200px;
}
#CONTAINER #footer #firma leonet {
	text-align: right;
	margin: 1px;
	padding: 1px;
	float: right;
	background-color: #FF9;
}
#central #fondo_titulo {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	color: #060;
	background-image: url(../images/fondo_titulos1.png);
	background-repeat: no-repeat;
	text-align: center;
	height: 35px;
	width: 500px;
	margin: 0px;
	padding: 0px;
}
#CONTAINER #izquierda #fondo_titulo_lateral {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	background-image: url(../images/fondo_titulos_lateral.png);
	background-repeat: no-repeat;
	text-align: center;
	height: 35px;
	width: 200px;
	float: none;
}
#CONTAINER #derecha #mod_der1 #fondo_titulo_lateral {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	background-image: url(../images/fondo_titulos_lateral.png);
	background-repeat: no-repeat;
	text-align: center;
	height: 35px;
	width: 190px;
	float: none;
}
#CONTAINER #izquierda #noticias {
	text-align: justify;
	margin: 3px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
}
#fondo_titulo_lateral {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	background-image: url(../images/fondo_titulos_lateral.png);
	background-repeat: no-repeat;
	text-align: center;
	height: 35px;
	width: 200px;
	float: none;
}
