/* Definiciones generales. */

html {
	height: 101%;
	}
body {
	margin: 0px;
	padding: 0px;
	font: 12px/1.3 Tahoma, Geneva, Verdana, sans-serif;
	background: #FFD78F;
	}
form {
	margin: 0px;
	}
h1 {
	margin: 10px 0px 10px 30px;
	font: bold 16px Arial, sans-serif;
	color: #C22;
	text-align: left;
	}
a {
	color: #666;
}
a:hover {
	color: orange;
}


#logo {
	position: absolute;
	top: -24px;
	left: 0px;
	width: 382px;
	height: 86px;
	background: url("images/logo.gif");
	}

/* Barra de acceso. */

#acceso {
	position: relative;
	margin: 30px auto;
	width: 958px;
	height: 40px;
	}
#acceso form {
	float: right;
	margin-right: 2px;
	padding: 0px 15px;
	width: 361px;
	height: 40px;
	background: url("images/acceso.gif");
	}
#acceso div.seguridad {
	float: left;
	margin: 7px 10px 0px 0px;
	}
#acceso div.sesion {
	float: left;
	font: bold 15px "Courier New", Verdana, sans-serif;
	color: black;
	margin: 13px 0px 0px 0px;
	}
#acceso div.usuario {
	float: left;
	margin: 9px 5px 0px 0px;
	border: solid 1px #CAAA77;
	width: 90px;
	height: 20px;
	background: white url("images/usuario.gif") no-repeat;
	}
#acceso div.usuario input {
	margin: 2px 0px 0px 22px;
	border: none;
	padding: 0px;
	width: 64px;
	background: none;
	}
#acceso div.clave {
	float: left;
	margin: 9px 5px 0px 0px;
	border: solid 1px #CAAA77;
	width: 90px;
	height: 20px;
	background: white url("images/clave.gif") no-repeat;
	}
#acceso div.clave input {
	margin: 2px 0px 0px 22px;
	border: none;
	padding: 0px;
	width: 64px;
	background: none;
	}
#acceso div.correo {
	float: left;
	display: none;
	margin: 9px 5px 0px 0px;
	border: solid 1px #CAAA77;
	width: 187px;
	height: 20px;
	background: white url("images/sobre.gif") no-repeat;
	}
#acceso div.correo input {
	margin: 2px 0px 0px 22px;
	border: none;
	padding: 0px;
	width: 161px;
	background: none;
	}
#acceso div.inicio {
	float: right;
	}
#acceso div.inicio input {
	margin: 9px 0px 0px 0px;
	padding: 0px;
	text-align: center;
	width: 62px;
	height: 22px;
	cursor: pointer;
	}
#acceso div.ficha {
	float: right;
	margin: 8px 0px 0px 15px;
	width: 32px;
	height: 24px;
	cursor: pointer;
	}
#acceso div.precarga {
	display: none;
	}

#inicio {
	margin: 0px auto;
	padding: 10px 59px 0px 0px;
	width: 899px;
	height: 62px;
	background: url("images/inicio.gif") no-repeat bottom;
	}
#inicio  div {
	float: right;
	padding-top: 18px;
	width: 168px;
	height: 32px;
	font: bold 15px "Courier New", sans-serif;
	text-align: center;
	cursor: pointer;
	}
#inicio .arriba {
	background: url("images/arriba.gif");
	color: red;
	}
#inicio  .abajo {
	background: url("images/abajo.gif");
	color: blue;
	}
#persona {
	padding-top: 7px;
	width: 404px;
	height: 23px;
	color: red;
	text-align: center;
	font: bold 15px "Courier New", Verdana, sans-serif;
	background: url("images/persona.gif");
	margin: 10px 0px 0px 30px;
	cursor: pointer;
	}

/* Cuerpo con el contenido de la página. */

#cuerpo {
	margin: 0px auto;
	padding: 2px 0 20px 0;
	width: 958px;
	min-height: 500px;
	height: auto !important;
	height: 500px;
	background: url("images/fondo.gif") repeat-y;
	}
#final {
	margin: 0px auto;
	padding-top: 20px;
	text-align: center;
	width: 958px;
	height: 150px;
	color: #A68C5D;
	background: url("images/final.gif") no-repeat;
	font: 12px Tahoma, Geneva, Verdana, sans-serif;
	}
#final a {
	color: #A68C5D;
	}
#final a:hover {
	color: orange;
	}
	
#preguntas p {
	padding: 5px 25px 5px 30px;
	}

/* Márgenes, tamaño y color de fondo de todos los cuadros de la web. */

.usuario {
	margin: 60px auto;
	width: 620px;
	}
.usuario .nombre, .usuario .correo {
	width: 401px;
	}
.usuario .telefono {
	width: 188px;
	}
.usuario .clave {
	width: 100px;
	}
.personas {
	margin: 60px auto;
	width: 780px;
	}
.personas .persona {
	width: 335px;
	}
.personas .identificador {
	width: 90px;
	text-align: center;
	}
.personas .compensaciones {
	width: 230px;
	}
.detalle {
	margin: 60px auto;
	width: 780px;
	}
.detalle .nombre {
	width: 561px;
	}
.detalle .codigo {
	width: 100px;
	}
.detalle .domicilio {
	width: 268px;
	}
.deudas {
	margin: 60px auto;
	width: 876px;
	}
.deudas .contenido {
	position: relative;
	z-index: 10;
	}
.deudas .ayuntamiento  {
	width: 180px;
	}
.deudas .consultando  {
	width: 180px;
	background: url("images/ajax.gif") no-repeat right;
	}
.deudas .referencia  {
	width: 100px;
	}
.deudas .concepto  {
	width: 180px;
	}
.deudas .fecha  {
	width: 80px;
	text-align: center;
	}
.deudas .importe  {
	width: 80px;
	text-align: right;
	}
.deudas table tbody td {
	cursor: default;
	}
.compensaciones {
	margin: 60px auto;
	width: 844px;
	}
.compensaciones .ayuntamiento {
	width: 218px;
	}
.compensaciones .concepto {
	width: 218px;
	}
.compensaciones .estado {
	width: 85px;
	text-align: center;
	}
.compensaciones .importe {
	width: 90px;
	text-align: right;
	}
.estado {
	margin: 50px auto;
	width: 844px;
	}
.estado .fecha {
	width: 134px;
	}
.estado .importe {
	text-align: right;
	}
.solicitud {
	margin: 60px auto;
	width: 655px;
	}
.solicitud .nombre, .solicitud .correo {
	width: 268px;
	}
.solicitud .asunto, .solicitud .texto {
	width: 561px;
	}
.respuestas {
	margin: 30px auto;
	width: 820px;
	}
.respuestas .contenido {
	background-color: white;
	}
.nota {
	position: relative;
	top: 10px;
	left: 468px;
	width: 450px;
	}
.nota .contenido {
	padding: 20px;
	background-color: yellow;
	color: black;
	font-weight: bold;
	}

/* Estructura de todos los cuadros. */


.lado1 {
	position: relative;
	margin: 0px 4px;
	height: 4px;
	background: url("images/lado1.gif") repeat-x;
	}
.lado2 {
	background: url("images/lado2.gif") repeat-y left;
	}
.lado3 {
	margin-left: 4px;
	padding-right: 4px;
	background: url("images/lado3.gif") repeat-y right;
	}
.lado4 {
	position: relative;
	margin: 0px 4px;
	height: 4px;
	background: url("images/lado4.gif") repeat-x;
	}
.esquina1 {
	position: absolute;
	width: 8px;
	height: 8px;
	top: 0px;
	left: -4px;
	background: url("images/cuadrado1.gif") no-repeat;
	}
.esquina2 {
	position: absolute;
	width: 8px;
	height: 8px;
	top: 0px;
	right: -4px;
	background: url("images/cuadrado2.gif") no-repeat;
	}
.esquina3 {
	position: absolute;
	width: 8px;
	height: 8px;
	top: -4px;
	left: -4px;
	background: url("images/cuadrado3.gif") no-repeat;
	}
.esquina4 {
	position: absolute;
	width: 8px;
	height: 8px;
	top: -4px;
	right: -4px;
	background: url("images/cuadrado4.gif") no-repeat;
	}
.adhesivo .esquina1 {
	position: absolute;
	width: 96px;
	height: 85px;
	top: -36px;
	left: -41px;
	background: url("images/adhesivo1.gif") no-repeat;
	}
.adhesivo .esquina2 {
	position: absolute;
	width: 85px;
	height: 98px;
	top: -38px;
	right: -43px;
	background: url("images/adhesivo2.gif") no-repeat;
	}
.adhesivo .esquina3 {
	position: absolute;
	width: 85px;
	height: 98px;
	top: -49px;
	left: -36px;
	background: url("images/adhesivo3.gif") no-repeat;
	}
.adhesivo .esquina4 {
	position: absolute;
	width: 98px;
	height: 85px;
	top: -43px;
	right: -45px;
	background: url("images/adhesivo4.gif") no-repeat;
	}
.contenido {
	padding: 15px;
	background-color: #FFF5BC;
	text-align: center;
	}

/* Diseño del listado de ciudades. */

#listado {
	position: absolute;
	top: 0px;
	left: 30px;
	background-color: white;
	padding: 0;
	border: solid 1px #999;
	visibility: hidden;
	}
#listado p {
	margin: 0px;
	color: black;
	font: bold 12px Tahoma, Geneva, Verdana, sans-serif;
	padding: 3px 6px;
	text-align: left;
	cursor: pointer;
	}
#listado p.cursor {
	background-color: yellow;
	}
#listado  span {
	font-weight: normal;
	}

/* Estructura de las fichas. */

.ficha table {
	margin: 15px auto;
	border-right: solid 1px #999;
	font: bold 12px Tahoma, Geneva, Verdana, sans-serif;
	color: black;
	}
.ficha thead th {
	border-top: solid 1px #999;
	border-left: solid 1px #999;
	border-bottom: solid 1px #999;
	padding: 0px 10px;
	height: 30px;
	background-color: #CCC;
	text-align: left;
	}
.ficha tbody th {
	border-left: solid 1px #999;
	padding: 1px 0px 0px 4px;
	text-align: left;
	font: 11px Tahoma, Geneva, Verdana, sans-serif;
	}
.ficha tbody td {
	border-left: solid 1px #999;
	border-bottom: solid 1px #999;
	padding: 0px 10px;
	height: 30px;
	text-align: left;
	}
.ficha table input {
	margin: 0px;
	border: none;
	padding: 2px;
	height: 16px;
	background-color: transparent;
	font: bold 13px Tahoma, Geneva, Verdana, sans-serif;
	}
.ficha table textarea {
	margin: 0px 0px 10px 0px;
	border: none;
	padding: 2px;
	height: 100px;
	overflow: hidden;
	background-color: transparent;
	font: bold 13px Tahoma, Geneva, Verdana, sans-serif;
	}

/* Estructura de los cuadros. */

.cuadro table {
	margin: 15px auto;
	border-left: solid 1px #999;
	border-bottom: solid 1px #999;
	text-align: left;
	color: black;
	font: bold 12px Tahoma, Geneva, Verdana, sans-serif;
	}
.cuadro thead th {
	border-top: solid 1px #999;
	padding: 0px 4px;
	height: 30px;
	text-align: center;
	background-color: #CCC;
	}
.cuadro thead td {
	border-top: solid 1px #999;
	border-right: solid 1px #999;
	padding: 0px 4px;
	width: 19px;
	height: 30px;
	text-align: center;
	background-color: #CCC;
	}
.cuadro tbody td {
	border-top: solid 1px #999;
	border-right: solid 1px #999;
	padding: 0px 4px;
	height: 26px;
	font-weight: normal;
	cursor: pointer;
	}
.cuadro tbody tr.actual td {
	background-color: #FB1;
	}
.cuadro tbody tr.cursor td  {
	background-color: yellow;
	}
.cuadro tbody tr.readonly td input {
	color: #A88;
	}
.cuadro table input {
	margin: 0px;
	border: none;
	padding: 2px;
	height: 14px;
	background: none;
	font: 12px Tahoma, Geneva, Verdana, sans-serif;
	}
.cuadro img {
	margin: 0px 2px;
	cursor: pointer;
	}
	
.respuestas p {
	margin: 0px;
	padding: 5px 30px 15px 30px;
	font: 13px Arial, sans-serif;
	text-align: justify;
	color: #666;
	}
.respuestas ol {
	margin: 0px;
	padding: 0px 80px 5px 80px;
	text-align: justify;
	}
.respuestas li {
	margin: 5px 0px 10px 0px;
	font: 13px Arial, sans-serif;
	color: #666;
	}
.respuestas table {
	margin: 10px auto 15px auto;
	border-top: #666 solid 1px;
	border-left: #666 solid 1px;
	color: black;
	background-color: #FFF5BC;
	}
.respuestas th, .respuestas td {
	padding: 2px 4px;
	}
.respuestas thead th, .respuestas thead td {
	font-weight: bold;
	text-align: center;
	border-bottom: #666 solid 1px;
	border-right: #666 solid 1px;
	}
.respuestas thead th {
	width: 380px;
	}
.respuestas thead td {
	width: 90px;
	}
.respuestas tfoot th, .respuestas tfoot td  {
	font-weight: bold;
	text-align: right;
	border-bottom: #666 solid 1px;
	border-right: #666 solid 1px;
	}
.respuestas tbody th {
	font-weight: normal;
	text-align: left;
	border-bottom: #666 solid 1px;
	border-right: #666 solid 1px;
	}
.respuestas tbody td {
	font-weight: normal;
	text-align: right;
	border-bottom: #666 solid 1px;
	border-right: #666 solid 1px;
	}

