/****************************
 *
 * GESTION 
 *
 ***/


#paginaGestioa #contenido table.consulta{ width: 100%;  }

dl.fitxa {
margin: 1.5em 0 1em 0 ; 
overflow: auto }

dl.fitxa dt {
padding-right: 1em;
border-bottom: 1px dotted #888;
float: left;
clear: left;
width: 35%;
color: #666;}

dl.fitxa dd {
float: left;
width: 55%;}


/* 
 * menuGestioa 
 */

#menuGestioa {
font-size: 12px;
position:absolute;
z-index:10;
top: 0px;
left: 25px;
width: 500px;
height: 2em;
line-height: 1.4em;
background-color: #121212; /*#CC0000;*/
padding: 0px 4px;
-moz-border-radius: 0px 0px 8px 8px;
overflow: none;}

#menuGestioa > li {
display: block;
margin-left: 4px;
float: left; 
border-right: 1px solid #fff;
padding: 0.40em 1em 0.20em 0em;}

#menuGestioa li ul {
margin: 0;
padding: 0;
position: absolute;
display: none;
top: 1.9em;}


#menuGestioa ul li {
display: block;
border-bottom: 1px solid #aaa;
width: 15em;}



#menuGestioa li:hover ul {
display: block}  

#menuGestioa > li:hover {
background-color: #f2f2f2;}

#menuGestioa ul li:hover span {
background-color: #bbb;}  

#menuGestioa span {
font-weight: bold;
color: #fff }

#menuGestioa >li:hover span {
color:#333}


#menuGestioa ul li a {
display:block; 
padding: 4px 6px;
color: #333;
background-color: #f2f2f2;
text-decoration: none; }

#menuGestioa ul a:hover {
background-color: #333;
color: #fff;}

/**
 *
 * TABLAS DE CONSULTA
 * 
 */ 

div.edicionItzuli {
width: 93%;
padding: 12px 2% 20px 2%;}

#cuerpo input.botoiak,
#cuerpo a.botoiak {
float: right;
display: block;
font-size: 12px;
text-decoration: none !important;
margin-left: 5px;
border: 1px solid #808080;
color: #000;
background-color: #E6E5E4;
-moz-border-radius: 3px;
white-space: normal;
padding: 3px 12px;}

#cuerpo a.botoiak {
padding: 4px 12px}

#cuerpo input.botoiak:hover,
#cuerpo a.botoiak:hover {
color: #ffa500;
background-color: #666;} 


table.consulta {
margin: 16px 0px 32px 0;
width: 450px;
border-collapse: collapse;
border: 2px solid #7ab01f ;
border-top-width: 6px;
font-size: 0.75em;}

div.adjuntos table.consulta {
border: none;
border-bottom: 2px solid #eee;
margin: 3px 0 12px 0;
}

#paginaElkarte table.consulta {
border-color:#CA402A }
	
#paginaGestioa table.consulta {
width: 96%;}	
	
table.consulta thead tr{
border-bottom: 2px dotted #666;}

table.consulta thead th {
padding-top: 12px; 
background-color: #e8e8e8 }

table.consulta thead th + th {
border-left: 1px dotted #888;}
		
table.consulta  tr.impar {
background-color: #f2f8f2;}	
	
table.consulta  tr:hover {
background-color: #999;}	
	
table.consulta td,	
table.consulta th {
vertical-align: top;
padding: 2px 6px;}

table.consulta td.opciones { 
white-space: nowrap}

table.consulta th {
text-align: left;}


table.consulta tbody td + td {
border-left: 1px dotted #d6d6d6;}

table.consulta tbody td.siNO strong {color:red}

table.consulta tbody td.numero,
table.consulta tbody td.fecha {
text-align: right;}

table.consulta thead th a { display: block; }

table.consulta tfoot td {
padding-top: 12px; 
color: #fff;
background-color:#7ab01f;}

#paginaElkarte table.consulta tfoot td{
background-color:#CA402A }


#menuConsulta {
font-size: 0.825em;
margin: 10px 0;}

/* 
 * formularios dentro de las consultas
 */

.menuConsulta label {
display: block;
clear:left;
float: left; 
width: 5em }

.menuConsulta input[type='text'] {
margin-bottom:2px;
}


a.ordenDESC,
a.ordenASC {
color:  #000;
font-weight: bold;
padding-bottom: 5px;
padding-left  : 18px;}

a.ordenDESC:hover,
a.ordenASC:hover { color: #7ab01f}

a.ordenDESC { background: url(irudiak/bt_descendente.png) 0px 0px no-repeat }
a.ordenASC  { background: url(irudiak/bt_ascendente.png) 0px 0px no-repeat }
a.ordenDESC:hover { background-image: url(irudiak/bt_descendente_on.png) }
a.ordenASC:hover  { background-image: url(irudiak/bt_ascendente_on.png) }


/*
 * Tabla editar 
 */

table.edicion {
width: 97%;
font-size: 0.875em;
border-top: 1px solid #000;
border-right: 2px solid #000;
padding: 0;
margin: 10px 0;}

div.adjuntos table.edicion {
margin: 0;
width: 100%;
border: none }

table.edicion td {
border-bottom: 2px solid #f2f2f2;
padding: 4px 5px; }

table.edicion th {
text-align: right;
vertical-align: top;
background-color: #F2F2F2;
padding: 4px 5px 4px 30px; }


table.edicion th label.obligatorio {color : #CA402a;}
div.obligatorio { color : #CA402a;}



table.edicion tr.separador th,
table.edicion th.separador {
background-color: #7ab01f;
color: #fff;
text-align:left;
padding-left: 20px;}

#paginaElkarte table.edicion th.separador{
background-color:#CA402A }

table.edicion img.irudia {
max-width: 300px;
max-height: 300px; 
display: block; 
margin-bottom: 10px; 
border: 2px solid #999;}

table.edicion input[type=file] {
display: block;
margin-top: 0.20em;
margin-left: 0px}

table.edicion textarea,
table.edicion select,
table.edicion input[type=file],
table.edicion input[type=text] {
border: 1px solid #777; 
width: 320px;}

table.edicion input.campoInformativo {
color: #333 !important;
border: 1px solid #f2f2f2; }

#paginaGestioa table.edicion textarea,
#paginaGestioa table.edicion select,
#paginaGestioa table.edicion input[type=file],
#paginaGestioa table.edicion input[type=text] { 
width: 360px;}

table.edicion input[readonly='readonly']{
background-color: #e2e2e2;}

table.edicion td span.adicional { display: block}
span.adicional { 
font-size: 0.9em;
color: #666;}

span.adicional dt {
font-weight: bold }


#pagina #contenido .adjuntos h3 {
/* TODO: revisar important */
color: #fff !important;}