body  {
	background:url(../images/body_bg.jpg) no-repeat center top;
	font: 100%  Comic Sans MS,Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
#container {
	width: 955px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: url(../images/backgroundcont.jpg) no-repeat;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	/*border: 1px solid #000000;*/
	text-align: left; /* this overrides the text-align: center on the body element. */
} 


#header { 
	width:955px;
} 
#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}


/*CSS de NAVegation ------------------- BOTONERA ---------------------------------------------------------------------*/
ul#nav {background:url(../images/navBG.jpg);padding:0;margin:0}
ul#nav li { float:left; list-style-type:none }
ul#nav li a { height:80px; display:block}


li#navInicio a, li#navGaleria a, li#navGuiones a, li#navComics a, li#navRelatos a { background:url(../images/navBG.jpg) }

/*  
Measurements for the nav image replacement:

	The distance from the top to the...

	initial state = 0
	rollover state = 80px
	selected state = 160px

	The distance from the far-left to the...

	Inicio button = 0
	Galeria button = 216px
	Guiones button = 368px
	Comics button = 524px
	Relatos button = 689px

	The width of the...

	Inicio button = 216px
	Galeria button = 152px
	Guiones button = 156px
	Comics button = 162px
	Relatos button = 269px
*/

li#navInicio a					{ background-position:0 0; width:216px; left:0 }
li#navInicio a:hover			{ background-position:0 -80px }
body.Inicio li#navInicio a		{ background-position:0 -160px }

li#navGaleria a					{ background-position:-216px 0; width:152px; left:216px }
li#navGaleria a:hover			{ background-position:-216px -80px }
body.Galeria li#navGaleria a 	{ background-position:-216px -160px }

li#navGuiones a					{ background-position:-368px 0; width:156px; left:368px }
li#navGuiones a:hover			{ background-position:-368px -80px }
body.Guiones li#navGuiones a	{ background-position:-368px -160px }

li#navComics a					{ background-position:-524px 0; width:162px; left:524px }
li#navComics a:hover			{ background-position:-524px -80px }
body.Comics li#navComics a 		{ background-position:-524px -160px }

li#navRelatos a					{ background-position:-689px 0; width:269px; left:689px }
li#navRelatos a:hover			{ background-position:-689px -80px }
body.Relatos li#navRelatos a	{ background-position:-689px -160px }

/*Fin CSS NAV----------------------------------------------------------------------------------*/



#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 226px; /* padding keeps the content of the div away from the edges */
	margin-right: 15px;
	margin-top: 15px;
	font-family:Comic Sans MS,Verdana , Arial ;
	font-size: 10px;
	height:340px;

}

#sidebar1 a{
	text-decoration:none;
	color:#000000;		
}

#sidebar1 img{
	border:0;
}

#foto{
	width:226px;
	height:220px;
	background: url(../images/contacto.jpg) no-repeat;
	float:left;
}
#foto a:hover{color:#d41717;}

#contenlace{float:left;height:93px;width:226px}

/*BOTON ENLACES ROTATIVO---------------------------------------------------------------------*/
ul#enlace{background: url(../images/enlacerotator.jpg); padding:0;margin:0 0 0 15px}
ul#enlace li { float:left; list-style-type:none }
ul#enlace li a { height:93px; display:block}

li#enlaceRotator a{background:url(../images/enlacerotator.jpg)}
/*  
Measurements for the nav image replacement:

	The distance from the top to the...

	initial state = 0
	rollover state = 93px

	The width of the...
	
	enlaces:211px;

*/

li#enlaceRotator a					{ background-position:0 0; width:211px; left:0 }
li#enlaceRotator a:hover			{ background-position:0 -93px }


/*FIN BOTON ENLACES -------------------------------------------------------------------------*/

#text_foto{
	font-size:14px;
	font-style:italic;
	font-weight:bold;
	margin-left:33px;
	margin-top:15px;
}


#sidebar2 {
	float: right; /* since this element is floated, a width must be given */
	width: 232px; /* padding keeps the content of the div away from the edges */
	height:405px;
	margin-top: 15px;
	margin-right: 15px;
	background: url(../images/sidebar2bg.jpg) no-repeat;
}

#text_menu {   /*Texto dentro de sidebar2*/
	font-family: Comic Sans MS,Verdana, Arial ;
	font-size:20px;
	padding-top:15px;
}

#text_menu ul{
	list-style-type:none;
	
}
#text_menu ul li{margin-bottom:9px}
#sidebar2 a {
	text-decoration:none;
	color:#000000;
}
#sidebar2 a:hover{
	color:#d41717;
}


#mainContent {
	width: 452px;
	margin-right: 15px;
	margin-top: 15px;
	float: left;
	display:inline;

} 

.Inicio #mainContent #subcontent1{
	height:225px;	
	background: url(../images/bg/fondotextsup.png) no-repeat left;
}

.Inicio #mainContent a{text-decoration:none}

#subcontent1_text{
	padding: 10px 55px 0px 50px;
}

.Inicio #mainContent #subcontent2{

	margin-top:15px;
}

#fondo_sup{background:url(../images/bg/fondosup.png) center bottom no-repeat;margin:0 auto;padding:0;height:52px}
#fondo_cent{background:url(../images/bg/fondocent.png) center repeat-y; padding-bottom:50px;}
#fondo_inf{background:url(../images/bg/fondoinf.png) top no-repeat;margin-top:0px;padding-top:0px;height:49px;margin-bottom:20px;}

#subcontent2_text{
	background:url(../images/bg/fondillo.png) center top no-repeat;
	padding:5px 55px 0px 50px;
	min-height:260px;
}

#footer { 
	background:url(../images/bg/footer.png) center no-repeat;
	
	font-size:20px;
	text-align: center;
	height:120px;
} 
#footer p {
	text-indent:-30px;
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding:30px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	height:118px;
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    line-height: 0px;
	margin-top:20px;
}

#nav {
	width: 955px;
}

/* A partir de ahora se incluye estilo para el cuerpo de las noticias, php*/

.wf2{
	font-size:1.6em;
}
.wf1{
	font-size:1.4em;
}
.wf0{
	font-size:0.8em;
}

.noticias h2{
	font-size:1.2em;
	
}



.center{
	text-align:center;
}

.left{
	text-align:left;
}

#subcontent2_text a,#subcontent1_text a{
	text-decoration:none;
	color:#d41717;
}

#subcontent2_text a:hover,#subcontent1_text a:hover{
	color:#000;
}

#content_noticias{
	
}

.right{
	text-align:right;
}

pre{
	font: 100%  Comic Sans MS,Verdana, Arial, Helvetica, sans-serif;
}

#list{
	padding:0px;
	margin:0px;
}
#list li{
	display:inline;
	margin-left:15px;
	padding:0px;
}

/*para poder dar estilos a links de todas las páginas*/
.myLinks a{
 	text-decoration:none;
	color:#d41717;
}

.myLinks a:hover{
	color:#000;
}