*{padding:0;margin:0;border:0;box-sizing:border-box;outline:none;}
body{color:#FFF;background:#2A2A2A;font:14px/1.4 Helvetica,Arial,sans-serif;}
form ul{overflow:hidden;}
form li{margin:0 0 20px;list-style:none;}
label,.falso-label{display:block;text-transform:uppercase;margin-bottom:5px;font-weight:normal;}
input,textarea,select,button{font:1em/1 Helvetica,Arial,sans-serif;color:#000;padding:15px 20px;width:100%;border:1px solid #F0F0F0;border-bottom:1px solid #DDD;}
select{padding:14px 20px;}
textarea{height:150px;}
input[type="date"]{padding:12px 20px 13px;}
a{color:#1E6E80;}
a:hover,a:focus{color:#2998B2;}
form li{float:left;padding-right:20px;}
.f-entero{width:100%;float:none;}
.f-medio{width:50%;}
.f-tercio{width:33.33%;}
.f-dos-tercios{width:66.66%;}
.f-cuarto{width:25%;}
.f-tres-cuartos{width:75%;}
.f-quinto{width:20%;}
.f-cuatro-quintos{width:80%;}
.f-linea input,.f-linea label,.f-linea select{width:auto !important;display:inline;text-transform:none;background:none !important;}
.f-linea label{margin-right:10px;}
.ultimo{padding-right:0 !important;}
.limpiar{clear:left;}
.li-boton{padding-top:25px;}
#lista-sedes,#lista-presupuestos,#lista-empresas{overflow:hidden;margin-bottom:0;}
#lista-sedes .sede,#lista-empresas .empresa{float:left;width:50%;margin-bottom:20px;}
#lista-sedes label,#lista-presupuestos label,#lista-empresas label{text-transform:none;display:block;padding:15px 20px;background:#FFF;border:1px solid #F0F0F0;border-bottom:1px solid #DDD;position:relative;cursor:pointer;}
#lista-sedes .sede:nth-child(even),#lista-empresas .empresa:nth-child(even){padding-right:10px;}
#lista-sedes .sede:nth-child(odd),#lista-empresas .empresa:nth-child(odd){padding-left:10px;}
#lista-sedes input:checked+label,#lista-presupuestos input:checked+label,,#lista-empresas input:checked+label{border-bottom-color:#2998B2;}
#lista-sedes input:checked+label:before,#lista-presupuestos  input:checked+label:before,#lista-empresas  input:checked+label:before{position:absolute;top:10px;right:5px;}
#lista-sedes em,#b-conceptos+.c-error em,#lista-presupuestos  em,#lista-empresas  em{position:relative;top:-20px;}
#lista-empresas .empresa img{display:block;max-width:100%;height:auto;}
#lista-presupuestos .presupuesto{display:block;margin-bottom:20px;}
#lista-presupuestos strong{display:block;}
#lista-presupuestos label{display:table;width:100%;}
#lista-presupuestos .datos-concepto{display:table-row;}
#lista-presupuestos .concepto,#lista-presupuestos .coste,#lista-presupuestos strong{padding:5px 0;}
#lista-presupuestos .concepto,#lista-presupuestos .coste{display:table-cell;border-top:1px solid #F0F0F0;}
#lista-presupuestos .coste{width:8em;text-align:right;}

iframe{display:block;width:100%;}
table{width:100%;border-collapse:collapse;margin-bottom:20px;}
th,td,#body-modal h1{padding:15px 20px;background:#FFF;text-align:left;font-weight:normal;vertical-align:top;color:#000;background:#FFF;}
th,#body-modal h1{text-transform:uppercase;border-right:1px solid #F6F6F6;color:#FFF;background:#2998B2;}
th:last-child{border-right:none;}
td{border-bottom:1px solid #EEE;}
th.control,td.control{width:20px;text-align:center;padding:15px 7px;}
.th-compacto{width:10em;}
.th-mas-compacto{width:8em;}
.sub-th th,.fila-destacada td{color:#000;background:#F0F0F0;}
table i[class~="fa"]{font-size:18px;color:#000;}
table a:hover i[class~="fa"]{color:#FFC200;}
td.estado{text-transform:uppercase;}
td.cifra{text-align:right;}
td .activo{color:#2998B2;}
td .inactivo{color:#A00;}
td.destacado{font-weight:bold;text-transform:uppercase;}
tr.vacia td{border:none;height:20px;background:#F6F6F6;padding:0;}
table tr.vacia:last-child{display:none;}
table tr.vencida td{background:#FDE1E1;color:#A00;}
tr.vencida a{color:inherit;}
table select,table input,table textarea{width:100%;height:auto;padding:0;border:0;background:inherit;color:inherit;}
table .destacado .datos-cliente{text-transform:none;font-weight:normal;color:inherit;}
#estado-actual{width:auto;}
#lista-conceptos{margin-bottom:0;}
#lista-conceptos th{padding:0 0 5px;background:transparent;color:inherit;}
#lista-conceptos td{padding:15px 20px;background:#FFF;border:1px solid #F0F0F0;border-bottom:1px solid #DDD;}
#lista-conceptos .sin-fondo{background:transparent;border:none;}
#lista-conceptos input{text-align:right;}
#b-conceptos{padding:7px 10px;margin-top:-1px;margin-bottom:20px;display:inline-block;border-top:1px solid #DDD;}
#b-conceptos i{margin-right:0;}
#cobro-parcial-resto{padding-top:3em;}
.porcentaje-facturado{padding:10px 20px;margin:-16px 0 10px;background:#F7F7F7;display:block;z-index:69;border:1px solid #F0F0F0;border-top:none;   border-bottom:1px solid #DDD;position:relative;overflow:hidden;}
.total{width:calc(100% - 9em);float:left;background:#E9E9E9;margin-right:10px;margin-top:4px;}
.progreso{display:block;height:10px;background:#2998B2;}

.crash{border:3px solid #FFC200;font-family:monospace;color:#FFF;background:#000;padding:10px;}
.boton{text-transform:uppercase;cursor:pointer;width:auto;text-decoration:none;display:inline-block;padding:15px 20px;}
.boton:active{position:relative;top:1px;}
.amarillo,#nav  a:hover{color:#000;background:#FFC200;}
.negro{color:#FFF;background:#222;}
.negro:hover{background:#272727;}
.blanco{color:#666;background:#F9F9F9;border:1px solid #E5E5E5;}
.blanco:hover{color:#000;background:#FFF;}
.blanco i{margin-right:5px;}
.oculto{position:absolute !important;left:-99999em !important;;}
.dims{margin:0 10%;}
.mensaje{padding:15px 20px;margin-bottom:20px;background:#FFF;border:1px solid #F0F0F0;border-bottom-width:3px;}
.error,.c-error{color:#A00;}
.c-error input,.c-error textarea,.c-error select,#lista-sedes .c-error label,#lista_presupuestos  .c-error label{border-bottom-color:#A00;}
.c-error em{display:block;padding-top:3px;font-style:normal;clear:both;}
.mensaje.error{border-bottom-color:#A00;}
.mensaje.exito{border-bottom-color:#2998B2;}
.mensaje.aviso{border-bottom-color:#FFC200;}
#cerrar:before,.mensaje:before,#lista-sedes input:checked+label:before,#lista-presupuestos input:checked+label:before,#lista-empresas input:checked+label:before{font-size:1.2em;color:inherit;margin-right:10px;font-family:'FontAwesome';line-height:1;}
#cerrar:before,.mensaje.error:before{content:"\f00d";}
.mensaje.exito:before,#lista-sedes input:checked+label:before,#lista-presupuestos input:checked+label:before,#lista-empresas input:checked+label:before{content:"\f00c";color:#2998B2;}
.mensaje.aviso:before{content:"\f071";color:#FFC200;}
#logo{padding:20px 0;}
#cerrar{float:right;color:inherit;text-decoration:none;margin-top:20px;}
#cerrar:before{margin-right:5px;}
#nav{background:#272727;}
#nav ul{overflow:hidden;}
#nav li{list-style:none;float:left;}
#nav  a{display:block;padding:10px 20px;text-transform:uppercase;color:#F9F9F9;text-decoration:none;}
#contenido,#body-modal,#nav  a.activa{background:#F0F0F0;color:#000;}
#body-modal{background:#F6F6F6;}
#contenido{padding:50px 0;}
#f-acceso{width:50%;margin:0 auto;}
#version{padding:20px 0;}


/* 	+-------+
	| MODAL |
	+-------+ */

#body-modal{padding:15px 10px;}
#body-modal h1{color:#FFF;background:#222;font-size:1em;margin-bottom:20px;}
#comodines{display:block;font-size:12px;color:#999;text-transform:uppercase;}
#comodines span{cursor:help;}

.ui-dialog {padding:0;}
.ui-widget-header{border:none;background:#222;color:#FFF;font-weight:normal;text-transform:uppercase;padding:12px 24px !important;}
.ui-dialog .ui-dialog-titlebar-close {right:14px;}
.ui-widget-content{background:#F6F6F6;}