/*
 *  Estilo general
 */
 
html, body { height: 100%; margin: 0; }  
body { font-size: 70%; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
		margin-top: 0; margin-left: 0; }
img{ border: none; }
a{ text-decoration:none }

input[type="text"]{
	padding: 1px 2px 1px 2px;
}

input.hasDatepicker[type="text"]{
	padding: 1px 5px 1px 2px;
}

.ui-button, button.ui-button{
	white-space:nowrap;
}


/*
 *  Maquetación de la pagina
 */

div#Contenedor{ width: 1000px; overflow: visible; margin: auto; } 
div#Superior { width: 1000px; height: 72px; overflow: hidden; float: left; }
div#Cuerpo { width: 1000px; height: 100%; padding-left: 0px; float: left; overflow: hidden; }
div#Pie{ width: 1000px; padding-left: 0px; text-align: right; padding: 20px 0 20px 0; float: left; }

  
/*
 *  Cabecera
 */  
#Cabecera { 	width: 100%; height: 68px; overflow: hidden; background-color: #B3B3B3; float: left; marging-left: 5px;}

#logo { 	position: relative; width: 190px; padding-right: 10px; margin-top:18px; margin-left: 4px; float: left; }
#logo a { width: 250px; height: 65px; display: block; margin-left: 350px; background: url('../img/logo.png') no-repeat; }
#logo a span { display: none; }

#titulo { position: relative; color: white; font-size: 21px; line-height: 102px; text-transform: uppercase;}
#titulo a, #titulo a:active, #titulo a:visited, #titulo a:hover { color: #454246; margin-left: -177px; font-weight: 800; }

#idioma{ position: relative; float: right; top: -96px; padding-right: 6px; }
#idIdioma{margin-right: 5px;}

#manual { vertical-align: top;}

#idLoader{ top: 20px; padding: 4px 0  0 2px; }


/*
 *  Identificación
 */

.img_boton{padding-right: 5px; cursor: pointer; vertical-align: text-bottom;}
#Identificacion{ top: -90px; padding-right: 6px; position: relative; float: right; height: 32px; }
#idIdentificacion{ font-size: 11px; color: #454246; font-weight: 800; }
#idEntrar, #idSalir{ cursor: pointer; vertical-align: text-bottom;}


/* 
 *  Titulares y pie
 */
 
h2{ font-size: 1.2em; }
p{ text-align: justify; }
#Pie p{ 	text-align: right; }



/*
 *   Dialogo mensajes
 */
 
.entrada{ height: 90px; padding: 5px; }
.entrada_eliminar{ height: 80px; padding: 5px; }
.entrada-nuevo{ height: 30px; padding: 5px; }
.entrada label{ display: block; float: left; width:70px; font-weight:bold;
						font-size:13px; padding:5px; position: relative; } 
.entrada input{ display: block; float:left; width:150px; height: 17px; margin-top: 3px; margin-bottom: 6px; }

.entrada_guardar{ height: 90px; padding: 5px; }
.entrada_guardar label{ display: block; float: left; width:70px; font-weight:bold;
						font-size:13px; padding:5px; position: relative; } 
.entrada_guardar input{ display: block; float:left; width:300px; height: 17px; margin-top: 3px; margin-bottom: 6px; }

.botonAzure span{ color:red; }

/*
 *   Dialogo cambio de roles
 */

.roles{ height: 434px; padding: 5px; }
.roles label{	display: block; float:left; width:200px; font-weight:bold; font-size:13px; padding:5px; position: relative;	} 
.roles input, .roles select{ display: block; float:left; width:190px; height: 17px; margin-top: 5px; margin-bottom: 5px; }


/*
 *  Menus
 */

.menu_resumen { width: 100%; height: 40px; float: left; }
.ui-menu .ui-menu-item { margin:0; padding: 0; zoom: 1; float: left; clear: left; width: 230px; }
.menu { float: left; }
.menu li.horizontal { width: 100px; clear: none;}



/*
 *  Listas
 */
 
.icono_lista{ vertical-align: middle; padding-right: 5px; }
.lista_pedido{ text-align: center; margin-top: 30px; }
 
.lista { width: 47%; height: 239px; padding: 0.5em; float: left; margin-right: 10px; margin-bottom: 10px; }
.lista h3 { font-size: 2em; text-align: left; margin: 0px; padding: 5px 5px; }

.lista-boton { position: static !important; }

.completo, .destacado, .precio_estado, .img-boton, .img-titulo  img { padding-right: 5px; }


#tabs { height: 684px;} 
.tabs-bottom { position: relative;} 
.tabs-bottom .ui-tabs-panel { height: 614px; overflow: auto;} 
.tabs-bottom .ui-tabs-nav { position: absolute !important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0;} 
.tabs-bottom  li { margin-top: 0px !important; margin-bottom: 1px !important; border-top: none; border-bottom-width: 1px; }
.tabs-bottom  .ui-tabs-nav  li.ui-tabs-active { margin-top: -1px !important;  margin-bottom: 1px !important; border-top: none; border-bottom-width: 1px; }
.tabs-bottom  .ui-tabs-nav  li.ui-tabs-selected { margin-top: -1px !important; margin-bottom: 1px !important;}
.ui-tabs li a{ outline-color: transparent;}

#tabReload{
    position: absolute;
    bottom: 7px;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/*
 *  Pedidos
 */

/*  Creacion y modificacion de pedidos  */

.ui-menu .ui-menu-item {width: 100%;}
.ui-helper-hidden-accessible { display:none; position: absolute; display: none;}
.ui-autocomplete { max-height: 175px; overflow-y: auto; overflow-x: hidden;}
ul.ui-autocomplete li.ui-menu-item { width: 100%; }


/*  Botones y selectores parte superior pedido  */
.pedido_nuevo, .botones_visor { float: left; height: 39px; }
.inversion_nuevo, .inversion_visor, .inversion_lista, .inversion_listado  { float: right; height: 39px; }
.inversion_lista, .inversion_listado  { padding-right: 20px; }
.plan_inversion , .plan_inversion_lista{ margin-top: 0.2em; font-size: 0.8em; margin-bottom: 4px;}
.mes_inversion, .mes_inversion_lista { color: black } 
.cuenta_gasto_nuevo { float: right; width:310px; height: 39px; }
.cuenta_gasto_nuevo select:nth-child(1), .cuenta_gasto_nuevo select:nth-child(2) { font-size: 0.8em; }
#idDescripcion { width: 450px; }

.cuenta_gasto_visor{ float: right; width:350px; height: 39px; margin-top: 3px; }
.cuenta_gasto_visor select:nth-child(1), .cuenta_gasto_visor select:nth-child(2) { font-size: 0.8em; }
.cuenta_gasto { margin-top: 0.2em; }
.centro_coste { color: black; }
.centro_coste_visor { width: 60%; padding-top: 10px; float: left; font-weight:bold; font-size:13px; }
.div_retorno{ clear:both }
.nuevo-detalle, .nuevo-detalle-r{ float: right; margin-top: -1em; margin-bottom: 0.7em; }

 
 /*  Visualización y tratamiento de pedidos  */
.total { width: 46%; padding: 0.3em; float: right; }
.total table { margin: 1em 0; border-collapse: collapse; width: 100%; }
.total table td, .total table th { font-size: 1.6em; font-weight:bold; border: 1px solid #eee; padding: 0 10px; text-align: right; }

.adjunto, .adjunto_u { width: 46%; padding: 2px 10px 0 0; font-size: 1.2em; font-weight:bold; float: right;}
/* .adjunto_u { width: 50.8%; padding-top: 5px; font-size: 1.2em; font-weight:bold; float: left;} */
.img_adjunto{ vertical-align: top; margin: 1px 0 0 -2px;}

.presupuesto { width: 47.5em; float: left; padding: 0.9em 0.3em 0.3em 0.9em; margin-top: 3em; }

.pedido-contenido { padding: 6px 0 7px; } /* 16px 0 7px; */
.pedido-contenido table { margin: 1em 0; border-collapse: collapse; width: 100%; }
.pedido-contenido table td { border: 1px solid #eee; padding: .4em 7px; text-align: right; }
.pedido-contenido table th { border: 1px solid #eee; padding: .3em 5px; word-wrap: break-word;}
.pedido-contenido table tr:nth-child(even) { background: #d0e5f5; }
.pedido-contenido table td:nth-child(2) input[type="text"] { width: 100%; }
.pedido-contenido table td:nth-child(4) { text-align: left; }
.pedido-contenido table tr:hover { background-color: #fbec88; }
.pedido-contenido table td input[type="text"] { width: 70px; }
.pedido-contenido table td:nth-child(4)  input[type="text"] { width: 90px; }
.pedido-contenido table td:nth-child(4)  input[readonly="readonly"] { background-color: #D5D5D5; }
.pedido-contenido table td input[type="text"].ref { width: 95px; }
.pedido-contenido table td input[type="text"].referencia  { width: 100%; border: 1px solid #B5B5B5; background: white; }
.reposicion table td:nth-child(3) input[type="text"] { width: 100%; }
.subpedido td:nth-child(3) { text-align: left }
.subpedido td:nth-child(4) { text-align: right !important}

 /*  Valoración de subpedidos  */
.valoracion{ font-weight: normal; }
.documentos{ float: right; margin-top: -2.4em; }
.pedido-contenido h2+table,
.pedido-visort h2+table{ margin-top: 25px; }

.pedido-recoger { padding: 6px 0 7px; } /* 16px 0 7px; */
.pedido-recoger table { margin: 1em 0; border-collapse: collapse; width: 100%; }
.pedido-recoger table td { border: 1px solid #eee; padding: .4em 7px; text-align: right; }
.pedido-recoger table th { border: 1px solid #eee; padding: .3em 5px; word-wrap: break-word;}
.pedido-recoger table tr:nth-child(even) { background: #d0e5f5; }
.pedido-recoger table td:nth-child(2) input[type="text"] { width: 100%; }
.pedido-recoger table td:nth-child(2) { text-align: left; }
.pedido-recoger table tr:hover { background-color: #fbec88; }
.pedido-recoger table td input[type="text"] { width: 70px; }


.pedido-visor { padding: 6px 0 7px; } /* padding: 16px 0 7px; */
.pedido-visor table { margin: 1em 0; border-collapse: collapse; width: 100%; }
.pedido-visor table td { border: 1px solid #eee; padding: .4em 7px; text-align: right; }
.pedido-visor table th { border: 1px solid #eee; padding: .3em 5px; word-wrap: break-word;}
.pedido-visor table tr:nth-child(even) { background: #d0e5f5; }
.pedido-visor table td:nth-child(3) { text-align: left; }
.pedido-visor table tr:hover { background-color: #fbec88; }
.pedido-visor table td input[type="text"] { width: 70px; }

.pedido-visort { padding: 6px 0 7px; } /* 16px 0 7px; */
.pedido-visort table { margin: 1em 0; border-collapse: collapse; width: 100%; }
.pedido-visort  table td { border: 1px solid #eee; padding: .4em 7px; text-align: right; }
.pedido-visort table th { border: 1px solid #eee; padding: .3em 5px; word-wrap: break-word;}
.pedido-visort table tr:nth-child(even) { background: #d0e5f5; }
.pedido-visort table td:nth-child(2) { text-align: left; }
.pedido-visort table tr:hover { background-color: #fbec88; }
.pedido-visort table td input[type="text"] { width: 70px; }

.pedido-imprimir { padding: 6px 0 7px; } /* 16px 0 7px; */
.pedido-imprimir table { margin: 1em 0; border-collapse: collapse; width: 100%; }
.pedido-imprimir table td { border: 1px solid #eee; padding: .4em 7px; text-align: right; }
.pedido-imprimir table th { border: 1px solid #eee; padding: .3em 5px; word-wrap: break-word;}
.pedido-imprimir table tr:nth-child(even) { background: #d0e5f5; }
.pedido-imprimir table td:nth-child(3) { text-align: left; }
.pedido-imprimir table tr:hover { background-color: #fbec88; }
.pedido-imprimir table td input[type="text"] { width: 70px; }
.pedido-imprimir table caption { text-align: left; font-size: 1.6em; font-weight:bold; }
.pedido-imprimir table caption span { font-size: 0.7em; font-weight: normal; }

.activar{ border: 1px solid #B5B5B5; background: white; } 
.desactivar{ border: 1px solid transparent; background: transparent; }
.editar_a, .editar_b, .editar_c, .editar_p, .dividir, .reponer, .reponer_c, .marcar, .ajustar, .eliminar_d { cursor: pointer; }
 
.placeholder{ color: #aaa; }

.btn_izquierda {
	margin-right: 0px;
	-moz-border-radius-topright: 0px;
	-webkit-border-top-right-radius: 0px;
	-khtml-border-top-right-radius: 0px;
	border-top-right-radius: 0px;
	-moz-border-radius-bottomright: 0px;
	-webkit-border-bottom-right-radius: 0px;
	-khtml-border-bottom-right-radius: 0px;
	border-bottom-right-radius: 0px;  
}

.btn_izquierda > .ui-button-text {
	padding-left: 7px;
	padding-right: 5px;		
}

.btn_derecha {
	margin-left: 0px;
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
	-khtml-border-top-left-radius: 0px;
	border-top-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-khtml-border-bottom-left-radius: 0px;
	border-bottom-left-radius: 0px;  
}

.btn_derecha > .ui-button-text {
	padding-left: 5px;
	padding-right: 7px;	
}

.busqueda {
	font-size: 3px !important; 
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
	-khtml-border-top-left-radius: 0px;
	border-top-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-khtml-border-bottom-left-radius: 0px;
	border-bottom-left-radius: 0px;   
}

#Buscar_boton { 	float: right; }

.buscar{ float: right; }
.buscar input{ width: 160px; height: 16px; }

.sin_autorizar{ margin-right: 20px; float:right; }

/*  Opciones presupuesto / subpedido  */
ul.opciones {  list-style-type: none;  width: 49.5em; margin: 0.3em 0; padding: 0; }

ul.opciones li {
  background: #def url(../img/16/cancelar.png) no-repeat 98% center;
  margin: 1px;  padding: 0.2em 0.3em; cursor: pointer; color: #46a;
  font-weight: bold; font-size: 80%; border: solid 1px #cde;
  float: left; width: 29em;
}

select.opciones { width: 30.5em; color: #46a; font-weight: bold; }


/*
 *  Listados
 */

.producto_listado { width: 290px; height: 39px; margin-left: 5px; }
.producto_listado span {float: left; width: 55px; }
.almacen_listado { width: 80px; height: 39px; margin-left: 5px; }
.almacen_listado input[type="checkbox"] { float: left; margin: 0 auto; width: 100%; }
.almacen_listado span { display: block; width: 100%; text-align: center; }
#ref_0, #ref_n  { width: 95px; }
#desc_0 { width: 220px }
#desc_n { width: 350px }


.calendario input {font-size: 1.1em; font-weight:bold;}
.icono_fechas{padding-left: 5px; }
#desde, #hasta, #MI-desde, #MI-hasta, .mes_inversion { width: 70px; outline: none; background-color: transparent; border: 0px solid; padding-right: 5px; }
#MI-desde, #MI-hasta, .mes_inversion { width: 50px; }
.ui-datepicker .ui-datepicker-title select { color: #153987; }

.botones_listado { float: left; height: 39px; }	
.cuenta_gasto_listado{ float: right; width:310px; height: 39px; margin-top: 3px; }
.cuenta_gasto_listado select:nth-child(1), .cuenta_gasto_listado select:nth-child(2) { font-size: 0.8em; }
.centro_coste_listado{ float: right; width:200px; height: 39px; margin-top: 3px; }
.listado h1, .listado_inv h1, .listado_prod h1, .listado_resumen h1,{width: 100%; margin-top: 0.7em;}
.listado h1.sindatos, .listado_inv h1.sindatos, .listado_resumen h1.sindatos { font-size: 2.5em; font-weight:bold; margin-top: 0.5em; color: #ff8b00;}
 
.listado table, .listado_inv table, .listado_prod table, .listado_resumen table { border-collapse: collapse; width: 100%; }
table + table caption  { margin-top: 20px; }
.listado table caption, .listado_inv table caption, .listado_prod table caption, .listado_resumen table caption { text-align: left; font-size: 1.6em; font-weight:bold; }

.listado table td, .listado_inv table td, .listado_prod table td, .listado_resumen table td { border: 1px solid #eee; padding: .6em 10px; text-align: right; }
.listado table th, .listado_inv table th, .listado_prod table th, .listado_resumen table th  {
	color: white;
	background: #1a1a1a;
	font-weight: bold;
	border-collapse: collapse;
	padding: .3em 5px; word-wrap: break-word;
}
.listado table tr th, .listado_inv table tr th, .listado_prod table tr th, .listado_resumen table tr th  { padding: .3em 5px; word-wrap: break-word;}
.listado table tr:nth-child(even), .listado_inv table tr:nth-child(even), .listado_resumen table tr:nth-child(even) { background: #d0e5f5; }
.listado table td:nth-child(4) { text-align: left; }
.listado_inv table td:nth-child(3) { text-align: left; }
.listado_prod table td:nth-child(4), .listado_prod table td:nth-child(5) { text-align: left; }
.listado_prod2 table td:nth-child(6) { text-align: left; }
.listado_resumen table td:nth-child(2) { text-align: left; }
.listado table tr:hover, .listado_inv table tr:hover, .listado_prod table tr:hover, .listado_resumen table tr:hover { background-color: #fbec88; }
.listado table td img { width: 12px; height: 12px;}

td.mostrar b{ color: black;}
td.mostrar_alias b{ color: #737373;}
td.no_mostrar  b{ color: #d80d0d;}
td.no_mostrar_alias  b{ color: #b13838;}

td.eliminar { padding: 0.5em 0.4em !important; text-align: center !important; }
input.descripcion {width: 325px;}
select.delegacion {width: 130px;}
select.area {width: 163px;}
select.autorizacion{width: 155px;}
input.delegacion, input.delegacion_desc {width: 295px;} 
input.area, input.area_desc {width: 295px;} 
input.delegacion_orden, input.area_orden {width: 60px;} 
input.centro_coste_nombre, input.centro_coste_orden {width: 338px;} 
img.delegacion_eliminar, img.area_eliminar, img.cuenta_gasto_estado, img.centro_coste_estado, img.alias_cancelar, img.alias_des, img.alias_nuevo { width: 16px !important; height: 16px !important;}

tbody tr.totales td{ font-size: 1.2em; color: white !important; background-color: #333333 !important; font-weight:bold;}
tbody tr.totales td {text-align: right !important;}
tbody tr.totales td:nth-child(1) {text-align: left !important;}


table.totalesDelegacion thead tr th { padding: .3em 5px; word-wrap: break-word; border: 1px solid #eee; font-size: 1.5em; text-align: right;}
table.totalesDelegacion  thead tr th:nth-child(1) {text-align: left !important;}
table.totalesDelegacion  tbody tr td { font-size: 1.5em; color: white !important; background-color: #153987 !important; font-weight:bold;}
table.totalesDelegacion  tbody tr td { color: black !important; background: #cccccc !important; font-weight:bold; text-align: right;}
table.totalesDelegacion  tbody tr td:nth-child(1) {text-align: left !important;}
table.totalesDelegacion  + table caption  { margin-top: 60px !important; }

.totales_final { float: right; width: 50% !important; }
.totales_final thead tr th { border: 1px solid #eee; font-size: 1.6em; text-align: right !important;}
.totales_final tbody tr td { font-size: 1.6em; background: #cccccc !important; font-weight:bold; text-align: right !important;}
.totales_final  td:nth-child(3) { text-align: right !important; }


.list_productos  table td:nth-child(2) { text-align: left !important;}
.list_productos  table td:nth-child(3) { text-align: right !important;}
.list_productos  table td:nth-child(4) { text-align: right !important;}

.list_proveedores table td { text-align: left !important;}

.list_almacen  table td { text-align: left !important;}

.texto_subpedido { width: 880px; height: 40px; }

th input[type=checkbox], td  input[type=checkbox]  { margin-top: 6px; }



/*
 *  Mensajes
 */

textarea { resize: none; } 
.mensajes { width: 50.8%;float: left }
.mensajes_texto { font-family: Arial,Helvetica,sans-serif;
				width: 100%; float: left; font-size: 100%; }
.firmas { width: 100%; }
.firmas img{ padding-top: 10px; cursor: pointer; }
.firmas span{ padding: 2px 10px 0 0; font-size: 1.2em; font-weight:bold; }
.msg_inicial { width: 316px; height: 60px; }
.msg_usuario{ background: #ffebcc; margin-top: 0em; margin-bottom: 0em; padding: 0.5em; min-height: 45px;}
.msg_interno{ background: #bef9b9; margin-top: 0em; margin-bottom: 0em; padding: 0.5em; min-height: 45px;}

.usuario{ background: #ffebcc; margin-top: 0em; margin-bottom: 1em; padding: 0.5em; min-height: 45px; width: 355px; height: 60px;}
.interno{ background: #bef9b9; margin-top: 0em; margin-bottom: 0em; padding: 0.5em; min-height: 45px; width: 355px; height: 60px;}
.notas { float: right; padding: 4em 0 0 0.5em; }
.notas_p { float: right; padding: 3.8em 0 0 0.5em; }
.nota { padding: 0.5em; width: 305px; height: 120px; }

.etiqueta{ background: #ffff4c; }




/*
 *  Generales
 */

.hide-calendar .ui-datepicker-calendar{
  display: none;
}

.derecha { float: right; }
.izquierda {  float: left; }
.dialogo_error, .dialogo_msg    { padding: 5px; }
 
 /*
 *  Validacion de formularios
 */
 
div.errores {
	background-color: #eee;
	border: 1px solid red;
	margin: 5px;
	padding: 5px;
	float: left;
	display: none;
}
div.errores span{
	font-size: 18px;	
}

div.errores ol li {
	list-style-type: disc;
	margin-left: 20px;
}

.errores label.error {
	display: inline;
}
 


/*
 *  Colores
 */

.gris{ color: #aaaaaa; }
.rojo{ background: #ffaeb9; }
.verde{ background: #b7ffae; }
.amarillo{ background: #fffcae; }
.naranja{ background: #ffe5ae; }
.a3erp_error { color: red; padding-right: 15px; font-weight:bold;}


/*
 *  Impresión
 */
@media print { .hide_print { display: none; } }