html, body {
	height: 100%;
}

body {
	background-image: url('../img/fondo.gif');
	background-position: top center;
	background-repeat: repeat-y;
	background-color: #e2e0df;
	font-family: "Trebuchet MS";

}

#cuerpo {
	background-color: #FFF;
	width: 975px;
	/*
	min-height: 100%;
	height: auto!important;
	height: 100%;
	*/
	margin: 0px auto;
	position:relative;
}
#cuerpo a {
	color: #59354f;

}


#encabezado {
	background-image: url('../img/fondoEncabezado.gif');
	background-position: top center;
	background-repeat: repeat-x;
	width: 967px;
	height: 154px;
	border-left: 4px solid #fff;
	border-right: 4px solid #fff;
	position: relative;
}
#logout{
	position:absolute; 
	top:135px; 
	right:38px; 
	font-size:12px;
	color:#59344F;
}
#logout a{
	color:#59344F;
	text-decoration:none;
}

#logout a:hover{
	text-decoration:underline;
}

#logo {
	background-image: url('../img/logo.gif');
	width: 364px;
	height: 146px;
	position: absolute;
	top: 0px;
	left: 20px;
}

#logo a {
	width: 200px;
	height: 72px;
	display: block;
}	

#encabezado div.texto {
	font-size: 13px;
	color: #555555;
	width: 484px;
	position: absolute;
	top: 37px;
	right: 14px;
}

#herramientas {
	background-image: url('../img/fondoMenu.gif');
	background-repeat: no-repeat;
	font-size: 11px;
	font-weight: bold;
	width: 975px;
	min-height: 52px;
	height: auto!important;
	height: 52px;
}

#herramientas a {
	color: #fff;
	text-decoration: none;
}

#herramientas a:hover {
	text-decoration: underline;
}

#herramientas #botonBusqueda {
	float: left;
	margin-top: 21px;
	margin-left: 36px!important;
	margin-left: 18px;
}

#herramientas ul {
	list-style: none;
	margin: 0px;
	float: right;
	margin-top: 21px;
	margin-right: 40px!important;
	margin-right: 20px;
}

#herramientas ul li {
	padding-left: 15px;
	float: left;
}

#herramientas #buscador {
	background-color: #5a3550;
	background-image: url('../img/fondoBuscador.jpg');
	width: 975px;
	height: 272px;
	border-bottom: 1px solid #ffffff;
	margin-top: 15px;
	float: left;
	position: relative;
}

#formularioBusqueda {
	font-size: 11px;
	color: #fff;
	padding: 0px;
	margin: 0px;
	position: absolute;
	top: 20px;
	left: 35px;
}

#formularioBusqueda td {
	padding-bottom: 5px;
}

#formularioBusqueda .campo {
	font-size: 11px;
	color: #000;
	width: 180px;
	height: 15px;
	margin: 0px;
}

#formularioBusqueda .combo {
	font-size: 11px;
	color: #000;
	width: 184px!important;
	width: 186px;
	height: 19px;
	margin: 0px;
}

#formularioBusqueda .boton {
	width:104px;
	height: 23px;
	margin-right: 20px;
	display: block;
	float: left;
}

#pie {
	background-position: top center;
	background-repeat: repeat-x;
	width: 929px;
	padding: 14px 8px 0px 20px;
	border-left: 4px solid #fff;
	border-right: 4px solid #fff;
	clear: both;
	position: relative;
}

#pie .imagen { 
	width: 929px;
	position: relative;
}

#pie p {
	border-top:1px solid #bfbfbf;
	font-size: 10px;
	text-align: center;
	color: #666666;
	margin-top:10px;
	padding-top:10px;
	padding-bottom:10px;
}

#pie p a {
	text-decoration: none;
	color: #666666;
}

#pie p a:hover {
	color: #333333;
}

/*AJAX POPUP*/
#frmAjax{
		margin:0px;
		padding:0px;
		width:304px;
		background-color:#663366;
	}
	
	#frmAjax table tr td input{
		 height:17px;
		 border:1px solid #5a344f;
		 font-weight:normal;
		 width:254px; 
		 height:15px; 
		 line-height:13px;
	}

	#frmAjax table {
		background-color:#f0eee8;
		padding:0px; 
		margin:0px; 
		color:#000000;
		width:100%;
	}

	#frmAjax table tr td{
		margin:0px;
		padding:0px;
		padding-left:24px;
		padding-bottom:3px;
	}
	
	#frmAjax table td div{
		padding-bottom:4px;
		color:#000;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 11px;
		font-weight:bold;
	}
	#frmAjax table #separadorInicio{
		height:24px;
		display:block;
	}

	#frmAjax table #separadorFin{
		height:28px;
		display:block;
	}

	#frmAjax table #title{
		padding-top:0px;
		/*background-color:#5a344f;*/
		background-image:url(../img/popup_title.jpg);
		background-repeat:no-repeat;
		height:40px;
		padding-left:24px;
		padding-top:5px;
	}

	#frmAjax table #title_text{
		float:left;
		color:#FFFFFF;
		font-size:15px;
		line-height:15px;
		font-weight:bold;
		font-family:"Trebuchet MS";
	}
	
	#frmAjax table #botonera{
		padding-top:14px;
	}
	
	#frmAjax table #close{
		padding:0px;
		margin:0px;
		cursor:pointer; 
		color:#FFFFFF;
		font-family:"Trebuchet MS";
		font-size:15px;
		line-height:15px;
		display:block;
		float:right;
		padding-right:24px;
	}
	.red_diamond {font-size: 14px;color: #d9332d; padding-left:20px; background-image:url(../img/red_diamond.gif); background-position:left ; background-repeat:no-repeat;}
	.red {color: #da332d; font-weight:normal;}
	.red_bold{color: #da332d;font-weight:bold;}
	.normal {color: #000; padding:0px; margin:0px; background-image:none; background-color:transparent}	
