body {
	color: #ffffff;
	margin: 0px;
	padding: 0px;
	background: #ffffff url(images/background.gif);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

html,body{height:100%}

	img {
		border: none;
	}

	#layout{
		width: 822px;
		margin-left: auto;
		margin-right: auto;
	}

		#borderleft{
			width: 31px;
			height: 917px;
			float: left;
			background: url(images/borderleft.jpg) no-repeat;
		}

		#container{
			width: 760px;
			height: 875px;
			background: #FFFFFF;
			margin: 0px;
			padding: 0px;
			float: left;
		}

			#header{
				width: 100%;
				height: 113px;
				margin-left: auto;
				margin-right: auto;
			}

			#login{
				width: 100%;
				height: 34px;
				margin-left: auto;
				margin-right: auto;
				background: url(images/login.jpg) no-repeat;
				line-height: 28px;
				font-weight: bold;
				font-family: Verdana;
			}
			
			#login a{
				text-decoration: none;
				color: #FFFFFF;
			}
			
			#login a:hover{
				text-decoration: none;
			}
			
			#login .info{
				padding-left: 15px;
				width: 465px;
				float: left;
			}
			
			#login .actions{
				float: left;
				width: 260px;
				text-align: right;
			}

			#sponsors{
				width: 760px;
				height: 125px;
				margin-left: auto;
				margin-right: auto;
			}

			#sponsors img{
				margin-left: 5px;
				margin-right: 3px;
				margin-bottom: 2px;
			}

			#labels{
				width: 100%;
				height: 32px;
			}
			
				.label{
					width: 109px;
					height: 32px;
					display: block;
					float: left;
				}
				
				.homeon{
					background: url(images/labels/home.jpg) no-repeat;
				}
				
				.homeoff{
					background:  url(images/labels/home.jpg) 0px -32px;
					cursor: pointer;
				}
				
				.fiestason{
					background: url(images/labels/fiestas.jpg) no-repeat;
				}
				
				.fiestasoff{
					background:  url(images/labels/fiestas.jpg) 0px -32px;
					cursor: pointer;
				}
				
				.archivoson{
					background: url(images/labels/archivos.jpg) no-repeat;
				}
				
				.archivosoff{
					background:  url(images/labels/archivos.jpg) 0px -32px;
					cursor: pointer;
				}
				
				.ganaronon{
					background: url(images/labels/ganaron.jpg) no-repeat;
				}
				
				.ganaronoff{
					background:  url(images/labels/ganaron.jpg) 0px -32px;
					/*cursor: pointer;*/
				}
				
				.sponsorson{
					background: url(images/labels/sponsors.jpg) no-repeat;
				}
				
				.sponsorsoff{
					background:  url(images/labels/sponsors.jpg) 0px -32px;
					/*cursor: pointer;*/
				}
				
				.contactoon{
					background: url(images/labels/contacto.jpg) no-repeat;
				}
				
				.contactooff{
					background:  url(images/labels/contacto.jpg) 0px -32px;
					cursor: pointer;
				}
							
				#labelresto{
					width: 212px;
					height: 31px;
					border-bottom: 1px solid #000000;
					display: block;
					float: left;
				}

			.pagehome{
				background: #81786a;
			}
			
			.pagefiestas{
				background: #2f87d3;
			}
			
			.pagearchivos{
				background: #bfce5b;
			}
			
			.pageganaron{
				background: #53cfdc;
			}
			
			.pagesponsors{
				background: #edc96a;
			}
			
			.pagecontacto{
				background: #d355df;
			}

				#content{
					width: 100%;
					height: 100%;
					padding-top: 8px;
					min-height: 433px;
				}
				
				* html #content{
					height: 433px !important;
				}
				
				#content:after {
    				content: "."; 
    				display: block; 
    				height: 0; 
    				clear: both; 
    				visibility: hidden;
				}
				
					.paginas{
						width: 100%;
						text-align: right;
						margin: 10px 0px 10px 0px;
						color: #000000;
					}
					
					.paginas a{
						text-decoration: none;
						color: #000000;
					}
					
					.paginas a:hover{
						text-decoration: none;
						color: #000000;
					}
									
					#homeflash{
						margin-left: 5px;
						margin-right: 5px;
						float: left;
					}
					
					.homesec{
						margin-bottom: 2px;
					}
					
					.flyer{
						margin-left: 5px;
						margin-right: 5px;
						width: 364px;
						height: 418px;
						float: left;
					}
					
					.fiestainfo{
						width: 100%;
						clear: both;
						margin-bottom: 10px;
					}
					
					.fiestaheader{
						width: 365px;
						height: 59px;
						float: left;
					}
					
					.fiestacontent{
						margin-top: 5px;
						padding-top: 13px;
						padding-right: 10px;
						padding-left: 12px;
						width: 343px;
						height: 353px;
						display: block;
						background:  url(repositorio/fiestas/hcontent.jpg) no-repeat;
						color: #000000;
						font-size: 12px;
						float: left;
					}
					
					.archivoflyer{
						margin-left: 5px;
						margin-right: 5px;
						width: 113px;
						height: 130px;
						float: left;
					}
					
					.archivoinfo{
						width: 100%;
						clear: both;
						margin-bottom: 5px;
						display: block;
						height: 130px;
					}
					
					.archivorow{
						height: 61px;
					}
					
					.archivoheader{
						width: 365px;
						height: 59px;
						float: left;
					}
					
					.archivolinks{
						width: 71px;
						height: 61px;
						float: left;
						margin-left: 12px;
						/*cursor: pointer;*/
					}
					
					.archivocontent{
						margin-top: 4px;
						width: 592px;
						height: 65px;
						display: block;
						background:  url(repositorio/archivos/contenido.jpg) no-repeat;
						color: #000000;
						font-size: 12px;
						padding-left: 11px;
						padding-right: 11px;
						padding-top: 5px;
						float: left;
					}
					
					.archivotitulo{
						font-size: 14px;
						font-weight: bold;
					}
					
					#contactoinfo{
						background: url(images/contacto/contacto_fondo.jpg) no-repeat;
						width: 324px;
						height: 408px;
						margin-left: 5px;
						margin-right: 5px;
						float: left;
						color: #000000;
						font-size: 14px;
						font-weight: bold;
						padding-top: 10px;
						padding-left: 40px;
						padding-right: 10px;
					}
					
					#contactoinfo .titulo{
						font-size: 20px;
						font-weight: bold;
					}
					
					#contactoform{
						padding-top: 5px;
						width: 360px;
						height: 418px;
						font-weight: bold;
						font-size: 13px;
						float: left;
						line-height: 25px;
					}
					
					#contactoform .campo{
						background: #FFFFFF;
						border: 1px solid #000000;
						color: #000000;
						cursor: text;
						width: 230px;
					}
					
					#contactoform .nota{
						background: #FFFFFF;
						border: 1px solid #000000;
						color: #000000;
						cursor: text;
						width: 350px;
						height: 215px;
					}
					
					#contactoform .botones{
						text-align: right;
						padding-top: 5px;
						padding-right: 15px;
					}
					
					#contactoform .borrar{
						background: url(images/contacto/borrar.jpg) no-repeat;
						border: 0px 0px 0px 0px;
						margin: 0px 0px 0px 0px;
						padding: 0px 0px 0px 0px;
						width: 113px;
						height: 30px;
						cursor: pointer;
					}
					
					#contactoform .enviar{
						background: url(images/contacto/enviar.jpg) no-repeat;
						border: 0px 0px 0px 0px;
						width: 113px;
						height: 30px;
						cursor: pointer;
					}
					
					.ganadores{
						width: 737px;
						padding-left: 10px;
						padding-bottom: 5px;
					}
					
					.ganadores:after {
						content: "."; 
						display: block; 
						height: 0; 
						clear: both; 
						visibility: hidden;
					}
					
						.ganadorfiesta{
							width: 737px;
							height: 29px;
							padding-top: 30px;
							margin-bottom: 5px;
							color: #000000;
							font-family: Verdana;
							font-size: 19px;
							font-weight: bold;
							text-align: right;
						}
						
						.ganadoritem{
							width: 236px;
							height: 128px;
							background: url(images/fondo_ganador.jpg) no-repeat;
							float: left;
							margin-right: 4px;
							margin-left: 4px;
							margin-top: 6px;
							margin-bottom: 6px;
						}
						
							.ganadorfoto{
								height: 121px;
								padding-top: 4px;
								padding-left: 4px;
								float: left;
							}
							
							.ganadordatos{
								height: 121px;
								width: 118px;
								margin-top: 4px;
								margin-left: 10px;
								float: left;
							}
							
								.ganadornombre{
									width: 118px;
									height: 35px;
									color: #000000;
									font-weight: bold;
									font-size: 12px;
									font-family: Verdana;
								}
								
								.ganadorpremio{
									color: #000000;
									width: 118px;
									height: 58px;
								}
								
								.ganadorsponsor{
									color: #000000;
								}
				
				#mediasponsors{
					width: 100%;
					height: 60px;
					padding-top: 5px;
					padding-bottom: 5px;
					background: #FFFFFF;
				}
				
				#mediasponsors img{
					margin-left: 5px;
					margin-right: 3px;
				}
				
				#randompics{
					width: 100%;
					height: 77px;
					background: #000000;
				}
				
					#randompics span{
						background: url(images/randompics_bg.jpg);
						width: 91px;
						height: 62px;
						float: left;
						margin-top: 3px;
						margin-left: 1px;
						margin-right: 2px;
						text-align: center;
						padding-top: 6px;
					}

				#footer{
					height: 63px;
					background: url(images/footer.jpg) no-repeat;
					display: block;
				}
				
				#footer_axc{
					float: left;
					text-indent: -2000em;
				}
				
				#footer_axc a{
					background: url(images/f_axc.jpg) no-repeat;
					display: block;
					height: 44px;
					width: 76px;
					margin-top: 0px;
					margin-left: 25px;
				}
				
				#footer_kraneo{
					float: left;
					text-indent: -2000em;
				}
				
				#footer_kraneo a{
					background: url(images/f_kraneo.jpg) no-repeat;
					display: block;
					height: 48px;
					width: 115px;
					margin-top: 3px;
					margin-left: 529px;
				}

		#borderright{
			width: 31px;
			height: 917px;
			float: left;
			background: url(images/borderright.jpg) no-repeat;
		}

/* greybox */

*{padding: 0; margin: 0;}

html, body {height:100%;}

#GB_overlay {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  z-index: 100;
  width:  100%;
  height: 100%;
  background-color: #000;
  filter:alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}



#GB_window {
  top: 10px;
  left: 0px;
  position: absolute;
  background: #fff;
  border: 1px solid #333;
  overflow: hidden;
  width: 400px;
  height: 400px;
  z-index: 150;
}

#GB_frame {
  border: 0;
  overflow: auto;
  width: 100%;
  height: 378px;
}

#GB_caption {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: #333;
  padding: 2px 0 2px 5px;
  margin: 0;
  text-align: left;
}

#GB_window img {
  position: absolute;
  top: 2px;
  right: 5px;
  cursor: pointer;
  cursor: hand;
}

.campotexto{
	background: #FFFFFF;
	border: 1px solid #000000;
	color: #000000;
	cursor: text;
}