/* PRINCIPAL CSS - Común para toda la web */

/* Puesta a cero */
* html, * {margin:0; padding:0;}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
}
body {line-height:1; color:black; background:white;}
ol, ul {list-style:none;}
table {border-collapse:separate; border-spacing:0;} /* Poner cellspacing="0" en el codigo de la tabla */
caption, th, td {text-align:left; font-weight:normal;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}

/* =GENERAL
------------------------------------------------------------- */
body {
	margin:15px 0; padding:0;
	font:62.5%/120% Verdana, Arial, Helvetica, sans-serif;
	color:#666;
	background:#fff;
	text-align:center;
}
a, a:visited {color:#497ffe;} a:hover {text-decoration:none;}
.clear {clear: both; display: block; height: 0px; overflow: hidden; line-height: 0px; font-size: 0px;}


/* =CONTENEDOR
------------------------------------------------------------- */
#contenedor {
	width:770px;
	margin:0 auto;	
}
#contenedor p.catalogo {
	float:left;
	margin:0 0 20px 0;
}
#contenedor p.catalogo a{
	float:left;
	margin-left:250px;
	font-size:120%;
	padding-left:30px;
	background: url(../images/ico_pdf.gif) no-repeat 0 50%;
	line-height:2em;

}
/* =HEAD
------------------------------------------------------------- */
#head {
	float:left;
	width:770px;
}
#head h1 {
	width:770px;
	height:120px;
	text-indent:-9999px;
	font-size:100%;
	background: url(../images/logo_arcosal.gif) no-repeat 50% 0;
}

/* =ACCESO
------------------------------------------------------------- */
#acceso {
	float:left !important;	float:none;
	width:400px;
	background:#fff url(../images/login_abajo.gif) no-repeat 0 100%;
	margin:20px 185px 40px 185px;
}
#acceso h2 {
	float:left;
	width:400px;
	background:#fff url(../images/login_arriba.gif) no-repeat 0 0;
	padding:8px 0 4px 0;
	font-size:120%;
	font-family:Arial, Helvetica, sans-serif;
	border-bottom:1px dotted #888;}
#acceso form {
	float:left;
	width:400px;
	padding:10px;
}
#acceso form label {
	display: block;  
	width:140px;
	float: left; 
	padding: 2px 2px 0 0; 
	margin: 8px 2px 5px 0; 
	text-align: right;
	font-size:110%;
}
#acceso p {
	float:left;
	width:250px;
	text-align:left;
	margin-left:150px !important;	margin-left:76px;
	margin-bottom:10px;
	color:#444;
	font-family:Arial, Helvetica, sans-serif;
	font-size:110%;
}
#acceso p.mensaje {
	float:left;
	padding:20px;
	width:380px;
	line-height:150%;
	margin:0px !important;
}


#acceso form input {
	display: block;  
	width:150px;
	float: left; 
	padding: 3px; 
	margin: 5px 0 0; 
	text-align: left;
	color:#666;
	font-size:120%;
}
#acceso form input.enviar {
	display: block;
	float:left;
	border:1px solid #06c;
	background:#fff;
	text-align:center;
	width:80px;
	text-transform:uppercase;
	font-weight:bold;
	font-size:110%;
	font-family:Arial, Helvetica, sans-serif;
	color:#06c;
	padding: 1px 0;
	margin:10px 0 5px 145px !important;	margin:10px 0 5px 72px;
	cursor:pointer;
}
#acceso form input.enviar:hover {
	background:#3399FF;
	color:#fff;
}

/* =CONTENEDOR LISTADOS */
#izq {
	position:relative;
	float:left;
	width:770px;
	background: #fff url(../images/fondo_buscadores.gif) repeat-y 0 0;
	border-bottom:1px solid #ddd;
	border-top:1px solid #ddd;
}

/* =LISTADO
------------------------------------------------------------- */
#seleccion, #seleccion_prov {
	float:left;
	width:549px !important;	width:529px;
	border-left:1px solid #ddd;
	background:#f5f5f5;
}
#seleccion_prov.mayor { width:768px !important; width:768px; border:1px solid #ddd; border-bottom:0;} 
#seleccion form input.ddmm{ width:14px; margin-right:2px;}
#seleccion form input.aaaa{ width:25px; margin-right:2px;}
#seleccion span {
	float:left;
	margin-top:12px;
	margin-right:5px;
	margin-left:5px;
	color:#b22222;
	font-family:Arial, Helvetica, sans-serif;
	font-size:110%;
	text-transform:uppercase;
}
input[type=hidden] {
	background:red;
	position:absolute;
	left:-9999px;
}
#seleccion form a.ultimomes {
	float:left;
	padding:4px 8px;
	border:1px solid #666;
	border-top-color:#ddd;
	border-right-color:#aaa;
	border-left-color:#ddd;
	border-bottom-color:#aaa;
	background:#fff url(../images/fondo_bot.gif) repeat-x 0 50%;
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	font-size:100%;
	margin:-5px 5px 0 -5px;
	position:relative;
	text-decoration:none;
}
#seleccion form a.ultimomes:hover {
	background:#fff url(../images/fondo_bot_on.gif) repeat-x 0 50%;
	color:#39f;
}
	
#seleccion form, #seleccion_prov form {
	float:left;
	width:549px !important; width:529px;
	padding:10px;
}
#seleccion form label, #seleccion_prov form label {
	display: block;  
	float: left;
	width:80px;
	padding: 0; 
	margin: 6px 5px 0 10px;
	text-align: left;
	font-size:110%;
	font-weight:bold;
}
#seleccion form select, #seleccion_prov form select {
	display: block; 
	float: left; 
	width:418px;
	padding: 1px; 
	margin: 0; 
	text-align: left;
	color:#666;
	font-size:120%;
}
#seleccion form option, #seleccion_prov form option {padding:1px 3px;}
#seleccion form input {
	display: block;  
	width:150px;
	float: left; 
	padding: 3px; 
	margin: 5px 0 0; 
	text-align: left;
	color:#666;
	font-size:120%;
}
#seleccion form input.enviar {
	display: block;
	float:left;  
	border:1px solid #06c;
	background:#fff;
	text-align:center;
	width:80px;
	text-transform:uppercase;
	font-weight:bold;
	font-size:110%;
	font-family:Arial, Helvetica, sans-serif;
	color:#06c;
	padding: 1px 0;
	margin:8px 0 0 105px !important; margin:8px 0 0 58px;
	cursor:pointer;
	clear:both;
}
#seleccion form input.enviar:hover {
	background:#39f;
	color:#fff;
}
#iconos {
	float:right;
	position:absolute;right:0;bottom:0px;
	padding-bottom:5px;
	width:220px;
}
#iconos span{
	float:right;
	margin-right:10px;
}
#iconos a{text-decoration:none; font-family:Arial, Helvetica, sans-serif; font-size:110%;}
#iconos img{ margin-bottom:2px;}

/* =LISTADO
------------------------------------------------------------- */
#listado {
	float:left !important;	float:none;
	overflow:auto;
	overflow-y: scroll;
	overflow-x:scroll;
	width:768px !important; width:768px;
	height:400px !important; height:400px;
	border:1px solid #ddd;
	margin-top:5px;
}

#listado table{
	border-collapse:collapse;
	font-size:110%;
}
#listado table tr, td{
	border-right:1px dotted #eee;
	padding:10px;
	white-space:nowrap; /* segun campos ve si combien meterle BR dado que es lo unico que el NOWRAP entiende para saltar de linea el texto */
	
} 
#listado table th{
	font-weight:bold;
	padding:0px;
	border-bottom:1px solid #ddd;
	border-right:1px solid #eee;
	white-space:nowrap; /* segun campos ve si combien meterle BR dado que es lo unico que el NOWRAP entiende para saltar de linea el texto */
}

#listado table a {
	display:block;
	background:#ffc url(../images/ico_ordenar_off.gif) no-repeat 5px 50%;
	padding:10px;
	color:#666;
	font-family:Arial, Helvetica, sans-serif;
	font-size:110%;
	text-decoration:none;
	padding-left:25px;
}
#listado table a:hover { /* ordenado por defecto y cuando se pasa por encima */
	background:#e3f4ff url(../images/ico_ordenar_asc.gif) no-repeat 5px 50%;
	color:#1575e0;
}
#listado table a.activado {
	background-color:#e7ffc2;
	background-repeat: no-repeat;
	background-position: 5px 50%;
	color:#1575e0;
} 
#listado table a.ASC { background-image: url(../images/ico_ordenar_asc.gif); }
#listado table a.DESC { background-image: url(../images/ico_ordenar_desc.gif); }


#listado table a.activadoreves {
	background:#e7ffc2 url(../images/ico_ordenar-reves.gif) no-repeat 5px 50%;
	color:#1575e0;
} 
#listado table a.reves {
	background:#e3f4ff url(../images/ico_ordenar-reves.gif) no-repeat 5px 50%;
	color:#1575e0;
} 

#listado table tr.alt {
	background:#f5f5f5;
}

#listado table tr.referencia td
{
    background: #EEE;
    color: #999;
    font-weight: bold;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}
#listado table tr.referencia td a
{
    display: inline;
	background-image: none;
	background-color: #EEE;
	padding:0px;
	color:#999;
	font-size:100%;
	text-decoration:none;
	padding-left:0px;
}


/* =PIE DE PAGINA
------------------------------------------------------------- */
#pie p {
	float:left;
	width:770px;
	font:110%/140% Arial, Helvetica, sans-serif;
	text-align:center;
	padding:10px 0;
	margin:15px 0 0 0;
	border-top: 1px solid #eee;
}

/* =ANI
------------------------------------------------------------- */
#ani {
	float:left;
	width:770px;
	height:300px;
	background:#666 url(../images/fondo_ani.gif) no-repeat 0 0;
	margin-top:5px;
}
#ani p {
	text-align:center;
	float:left;
	width:770px;
	height:300px;
}
#ani p img {
	margin-top:100px;}




