/* CSS Panel de Administraci�n */

/*
	Paleta de colores:
		Oscuro: #574E51
		Intermedio-oscuro: #A09291
		Intermedio: #DAD9C8;
		Intermedio-claro:  #E4E3D2;
		Amarillento: #E2E1C7
		Claro: white;
	
*/
html, body {
	margin: 0;
	padding: 0;
}

/* Fondo de la p�gina */
body {
	font-family: tahoma, arial, verdana;
	font-size: 10px;
	background-color: white;
}

/* Links */
a {
	text-decoration: underline;
	color: #574E51;
}

a:hover {
	text-decoration: underline;
}

/* NO USADO */
/* Contenedor principal para centrar */
#principal {
	margin: 0px auto 0px auto;
	width: 95%;
	background-color: white;
}

/* Cabecera con el t�tulo de la p�gina */
#cabeceraTitulo {
	height: 70px;
	background-color: #574E51;
	color: #E2E1C7;
	text-align: center;
	background-image: url(../imagenes/cabecera_bg.jpg);
	background-repeat: no-repeat;
	border-bottom: 1px #CC9966 solid;
}

/* Cabecera login */
#cabeceraLogin {
	text-align: right;
	font-size: 1.2em;
	padding-right: 10px;
	padding-top: 0px;
}

#cabeceraLogin a {
	color: #E2E1C7;
}

/* Contenedor */
#contenedor {
	margin: 10px 10px;
}

/* Menu */
#menu {
	background-image: url(../imagenes/menu_bg.jpg);
	float: left;
	width: 15%;
	background-color: #E2E1C7;
	font-size: 1.2em;
	border: 1px #574E51 solid;
	letter-spacing: 0.1em;
	font-variant: small-caps;
}

#menu a {
	font-weight: bold;
	display: block;
	padding: 5px;
	text-decoration: none;
}

#menu a:hover {
	background-color: white;
	color: #574E51;
	text-decoration: none;
}

#menu span.titulo {
	background-image: url(../imagenes/menu_hd.jpg);
	font-size: 1.2em;
	color: #E2E1C7;
	background-color: #574E51;
	text-align: center;
	display: block;
	padding: 5px;
}

#menu span.noValido {
	border-left: 1px #CC9966 solid;
	border-right: 1px #CC9966 solid;
	display: block;
	padding: 5px;
}

/* Cambia en funci�n del bodyId */
body#gestionUsuarios a#gestionUsuariosLink, body#gestionInventarios a#gestionInventariosLink,
	body#gestionEscritores a#gestionEscritoresLink, body#gestionTemas a#gestionTemasLink,
	body#gestionObras a#gestionObrasLink, body#gestionBibliotecasIdeales a#gestionBibliotecasIdealesLink,
	body#gestionCatalogos a#gestionCatalogosLink, body#gestionIdentificadores a#gestionIdentificadoresLink,
	body#indexarContenido a#gestionIndiceLink, body#gestionUsuariosPublicos a#gestionUsuariosPublicosLink
	{
	/*padding-left: 20px;*/
	background-color: white;
	color: #574E51;
	text-align: right;
}

/* Contenido */
#contenido {
	float: right;
	width: 80%;
	margin-top: 10px;
	margin-right: 10px;
	text-align: center;
	min-height: 500px; /* Forzamos para separar el footer */
	background-image: url(../imagenes/contenido_bg.jpg);
	background-repeat: no-repeat;
	background-position: bottom right;
}

/* Subtitulo */
#subtitulo {
	text-align: center;
	font-size: 1.6em;
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 5px;
	width: 80%;
	margin: 0px auto;
}

/* Pie de p�gina */
#pie {
	margin-top: 20px;
	padding-top: 10px;
	border-top: 1px black solid;
	margin: 10px 10px;
	clear: both;
}

/* Formularios */
form {
	margin-top: 10px;
}

form.interno {
	margin: 0px;
	display: inline;
}

div.nuevoElemento {
	text-align: right;
	margin-right: 10px;
}

div.field {
	clear: right;
	padding-top: 10px;
}

div.field span.label {
	height: 1%; /* IE hack */
	float: left;
	text-align: right;
	width: 39%;
	/* Hack para compensar el tama�o de letra */
	padding-top: 3px;
}

div.field span.entry {
	height: 1%; /* IE hack */
	float: right;
	text-align: left;
	width: 59%;
}

div.button {
	clear: right;
	padding-top: 1em;
	text-align: center;
	width: 100%;
}

input, select, textarea {
	background-color: #E4E3D2;
	border: 1px black solid;
	font-family: sans-serif;
	font-size: 12px;
	padding: 0.25em;
	font-weight: normal;
}

select {
	width: 300px;
	font-family: sans-serif;
	font-size: 12px;
}

/* Error messages. */
.errorMessage {
	font-weight: bold;
	color: red;
	margin-left: 5px;
}

/* Formato para tablas */
table {
	width: 98%;
	/* Hack para que no de problemas el IE, deber�a ser 100% */
	border-collapse: collapse;
	border: 1px #574E51 solid;
}

tr.par {
	background-color: white;
}

tr.parOculta {
	display: none;
	background-color: white;
}

tr.impar {
	background-color: #E2E1C7;
}

td, th {
	padding: 3px;
	text-align: center;
}

th.imparDer {
	background-color: #E2E1C7;
	background-image: none;
	text-align: right;
	color: black;
}

th.imparIzq {
	background-color: #E2E1C7;
	background-image: none;
	text-align: left;
	color: black;
}

th {
	background-image: url(../imagenes/menu_hd.jpg);
	color: #E2E1C7;
	background-color: #574E51;
	border-bottom: 1px #574E51 solid;
	font-size: 1.1em;
}

th.id {
	width: 10em;
}

td.id {
	width: 10em;
}

th.izq {
	text-align: left;
}

th.der {
	text-align: right;
}

td.izq {
	text-align: left;
}

td.der {
	text-align: right;
}

/* Enlaces anterior y siguiente */
div.anteriorSiguiente {
	text-align: center;
	margin-top: 10px;
	vertical-align: middle;
}

div.anteriorSiguiente img {
	vertical-align: middle;
}

/* Descripcion de una web */
div.descripcion {
	margin: 10px auto 0px;
	padding: 5px;
	width: 80%;
	/* background-color: #E2E1C7; */
	/* border: 1px #CC9966 solid; */
	background-color: #C8FFC7;
	border: 1px #4A8054 solid;
	font-size: 1.1em;
}

div.ultimaModificacion {
	margin: 10px auto 0px;
	padding: 5px;
	width: 50%;
	background-color: #DDDDDD;
	font-size: 1.1em;
	border: 1px #666666 solid;
}

div.aviso {
	margin: 10px auto 0px;
	padding: 5px;
	width: 50%;
	background-color: #FFD39B;
	font-size: 1.1em;
	border: 1px #666666 solid;
}

/* Evita que salga un borde en los links para borrar */
a img {
	border-style: none;
}

input.desplegar {
	padding-right: 13px;
	background-repeat: no-repeat;
	background-image: url(../imagenes/desplegar.gif);
	background-position: center right;
	border: 1px #CC9966 solid;
}

input.contraer {
	padding-right: 13px;
	background-repeat: no-repeat;
	background-image: url(../imagenes/contraer.gif);
	background-position: center right;
	border: 1px #CC9966 solid;
}

input.registrar {
	padding-right: 15px;
	background-repeat: no-repeat;
	background-image: url(../imagenes/registrar.gif);
	background-position: center right;
	border: 1px #CC9966 solid;
}

input.aceptar {
	padding-right: 15px;
	background-repeat: no-repeat;
	background-image: url(../imagenes/aceptar.gif);
	background-position: center right;
	border: 1px #CC9966 solid;
}

input.buscar {
	padding-right: 15px;
	background-repeat: no-repeat;
	background-image: url(../imagenes/buscar.gif);
	background-position: center right;
	border: 1px #CC9966 solid;
}

input.buscarAnt {
	padding-right: 15px;
	background-repeat: no-repeat;
	background-image: url(../imagenes/buscarAnt.gif);
	background-position: center right;
	border: 1px #CC9966 solid;
}

input.buscarSig {
	padding-right: 15px;
	background-repeat: no-repeat;
	background-image: url(../imagenes/buscarSig.gif);
	background-position: center right;
	border: 1px #CC9966 solid;
}

/* Separadores de campos */
#contenedorResultados {
	margin-top: 1em;
}

#contenedorBusqueda {
	margin-top: 1em;
}

/* Tablas dentro de tablas sin bordes y ocupando todo*/
table.tablaEdiciones {
	float: right;
	border-style: none;
	margin: 0px;
	padding: 0px;
}

.registrar {
	background-image: url(../imagenes/registrar.gif);
	background-position: right center;
	background-repeat: no-repeat;
	border: 1px solid #CC9966;
	padding-right: 15px;
}

#multiresponsables, #multiidiomas {
	/*font-family: "Arial", Times, serif;
	font-size: 10pt;*/
	font-family: sans-serif;
	font-size: 12px;
	float: left;
	width: 430px;
	background-color: #E4E3D2;
	height: 135px;
	border: 1px solid black;
	margin-right: 10px;
	overflow-y: scroll;
	color: #333333;
}

.eliminar {
	margin-top: 2px;
	width: 16px;
	height: 16px;
	background: url("../imagenes/borrar.gif") no-repeat;
	float: right;
}

.elementoLista, .ielementoLista {
	margin-top: 2px;
	float: left;
	margin-left: 5px;
	margin-right: 5px;
	width: 400px;
}

.nombre {
	float: left;
	width: 230px;
}

.rolSelect {
	float: left;
	width: 110px;
	border: 0px solid black;
	padding: 0px;
	font-family: sans-serif;
	font-size: 12px;
}

#ajaxAuto_model {
	position: absolute;
	color: #333;
	background-color: #fff;
	border: 1px solid #666;
	font-family: Arial;
	overflow-y: auto;
	height: 100px;
}

#ajaxAuto_model ul {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#ajaxAuto_model  li {
	display: block;
	white-space: nowrap;
	cursor: pointer;
	margin: 0px;
	padding-left: 5px;
	padding-right: 5px;
	border: 1px solid #fff;
	background-color: #E4E3D2;
}

#ajaxAuto_model  li.selected {
	background-color: #fff;
	border-top: 1px solid #9bc;
	border-bottom: 1px solid #9bc;
}

/* Slider */
.ui-slider-wrapper {
	float: right;
	width: 300px;
	height: 11px;
}

.ui-slider {
	position: relative;
	text-align: left;
	margin-top: 3px;
}

.ui-slider {
	border: 1px solid darkgrey;
	background-color: #EEEEEE;
}

.ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 7px;
	height: 16px;
	border: 1px solid silver;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #EEEEEE;
	outline: none;
}

.ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	font-size: .7em;
	display: block;
	border: 0;
	background-position: 0 0;
}

.ui-slider-horizontal {
	height: 6px;
}

.ui-slider-horizontal .ui-slider-handle {
	top: -6px;
	margin-left: -.6em;
}

.ui-slider-horizontal .ui-slider-range {
	top: 0;
	height: 100%;
}

.ui-slider-horizontal .ui-slider-range-min {
	left: 0;
}

.ui-slider-horizontal .ui-slider-range-max {
	right: 0;
}

.ui-slider-vertical {
	width: .8em;
	height: 100px;
}

.ui-slider-vertical .ui-slider-handle {
	left: -.3em;
	margin-left: 0;
	margin-bottom: -.6em;
}

.ui-slider-vertical .ui-slider-range {
	left: 0;
	width: 100%;
}

.ui-slider-vertical .ui-slider-range-min {
	bottom: 0;
}

.ui-slider-vertical .ui-slider-range-max {
	top: 0;
}