@charset "utf-8";

/* Color naranja:   #ef823f     */

/* Resets */
body, div, h1, h2, h3, h4, h5, h6, blockquote, form, ul, ol, li, a, img, p, abbr, input,  fieldset, textarea, button, select, table, dl, dt, dd {
	font-weight: normal;
	margin: 0;
	padding: 0;
	border: 0;
	text-decoration: none;
	border-spacing: 0;
}

ul, ol {
	list-style-type: none;
}
/*================================*/

@font-face {
	font-family: 'DeckerRegular';
	src: url('decker/decker-webfont.eot');
	src: url('decker/decker-webfont.eot?#iefix') format('embedded-opentype'),
	url('decker/decker-webfont.woff') format('woff'),
	url('decker/decker-webfont.ttf') format('truetype'),
	url('decker/decker-webfont.svg#DeckerRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*================================*/
* {
	padding: 0;
	margin: 0;
	border: none;	
}
a {
	color: #06E;
	font-weight: bold;	
}
select { border: none!important; }
.entry {
	width: auto;
	overflow: hidden;
	margin-bottom: 4px;	
}
.align_center, .center {
	text-align: center!important;	
}
.align_right {
	text-align: right!important;	
}
.align_left {
	text-align: left!important;	
}
input[type=checkbox] {
	width: 15px!important;
	height: 15px!important;
	vertical-align: middle;
}
.h2_add, .h2_add_full, .h2_add_1 {
	margin: 10px 20px;
	background: #009de0;
	padding: 5px 15px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	color: #fff;
}
.h2_add_full {
	margin: 10px 0;
}
.h2_add_1 { 
	background: #C30;
	margin: 15px 0;
	font-size: 24px;
	padding: 10px 20px;
}

.ul-inline {
	width: 100%;
	overflow: hidden;
}
.ul-inline li {
	display: inline-block;
	margin-right: 10px;
}

.font-12 { font-size: 12px !important; }
.font-14 { font-size: 14px !important; }
.font-16 { font-size: 16px !important; }
.font-18 { font-size: 18px !important; }
.font-20 { font-size: 20px !important; }

/* ANCHOS Y ALTOS 
=====================================*/
.w-20  { width: 20px!important; }
.w-30  { width: 30px!important; }
.w-40  { width: 40px!important; }
.w-60  { width: 60px!important; }
.w-80  { width: 80px!important; }
.w-90  { width: 90px!important; }
.w-100 { width: 100px!important; }
.w-120 { width: 120px!important; }
.w-150 { width: 150px!important; }
.w-180 { width: 180px!important; }
.w-200 { width: 200px!important; }
.w-230 { width: 230px!important; }
.w-260 { width: 260px!important; }
.w-300 { width: 300px!important; }
.w-400 { width: 400px!important; }
.w-450 { width: 450px!important; }
.w-650 { width: 650px!important; }
.w-850 { width: 850px!important; }
.full-width     { width: 100% !important; }

/* CLASES  MARGIN-PADDING 
====================================== */
.margin0    {margin:0px!important;}
.margin10   {margin:10px!important;}
.margin20   {margin:20px!important;}
.margin30   {margin:30px!important;}
.margin60   {margin:60px!important;}
.margin100  {margin:100px!important;}
.margin120  {margin:120px!important;}
.margint0   {margin-top:0px !important;}
.margint5   {margin-top:5px !important;}
.margint10  {margin-top:10px !important;}
.margint15  {margin-top:15px !important;}
.margint20  {margin-top:20px !important;}
.margint30  {margin-top:30px !important;}
.margint40  {margin-top:40px !important;}
.margint45  {margin-top:45px !important;}
.margint50  {margin-top:50px !important;}
.margint60  {margin-top:60px !important;}
.margint70  {margin-top:70px !important;}
.margint80  {margin-top:80px !important;}
.margint90  {margin-top:90px !important;}
.margint100 {margin-top:100px !important;}
.margint120 {margin-top:120px !important;}
.margint150 {margin-top:150px !important;}
.margint180 {margin-top:180px !important;}
.margint200 {margin-top:200px !important;}
.marginb0   {margin-bottom:0px !important;}
.marginb10  {margin-bottom:10px !important;}
.marginb20  {margin-bottom:20px !important;}
.marginb30  {margin-bottom:30px !important;}
.marginb40  {margin-bottom:40px !important;}
.marginb60  {margin-bottom:60px !important;}
.marginb90  {margin-bottom:90px !important;}
.marginb100 {margin-bottom:100px !important;}
.marginb120 {margin-bottom:120px !important;}
.marginleft10  {margin-left: 10px !important;}
.marginleft20  {margin-left: 20px !important;}
.marginleft30  {margin-left: 30px !important;}
.marginleft40  {margin-left: 40px !important;}
.marginb-10 {margin-bottom:-10px !important;}
.marginb-20 {margin-bottom:-20px !important;}
.margint-10 {margin-top:-10px !important;}
.margint-20 {margin-top:-20px !important;}

.padright0  {padding-right: 0px !important;}
.padright5  {padding-right: 5px !important;}
.padright10 {padding-right: 10px !important;}
.padright20 {padding-right: 20px !important;}
.padright30 {padding-right: 30px !important;}
.padright40 {padding-right: 40px !important;}
.padleft0   {padding-left: 0px !important;}
.padleft5   {padding-left: 5px !important;}
.padleft10  {padding-left: 10px !important;}
.padleft20  {padding-left: 20px !important;}
.padleft30  {padding-left: 30px !important;}
.padleft40  {padding-left: 40px !important;}
.padleft50  {padding-left: 50px !important;}
.padleft60  {padding-left: 60px !important;}
.padleft90  {padding-left: 90px !important;}
.padt20     {padding-top:20px !important;}
.padt40     {padding-top:40px !important;}
.padt50     {padding-top:50px !important;}
.padt60     {padding-top:60px !important;}
.padt90     {padding-top:90px !important;}
.padb20     {padding-bottom: 20px !important;}
.padb50     {padding-bottom:50px !important;}
.padb60     {padding-bottom:60px !important;}
.pad120     {padding:120px !important;}
.pad0       {padding:0px !important;}
.pad5       {padding:5px !important;}
.pad10      {padding:10px !important;}
.pad20      {padding:20px !important;}
.pad30      {padding:30px !important;}

.padding-0-5 { padding: 0 5px !important; }

//**************************************************//

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background: #fff;
}
.hr_space {
	width: auto;
	height: 1px;
	display: block;	
	margin: 20px 0;
	border-bottom: 3px solid #dedede;
}
.clearfix {
	width: auto;
	clear: both;	
}
.bg_light_blue {
	background: #EAF2FF;
}	
.over_auto {
	overflow: auto;
}
.margin_lat_20 { margin-left: 20px; margin-right: 20px; }

#easyTooltip {
	padding:2px 6px;
	border:1px solid #666;
	background:#f5f5f5;
	color:#333;
	font-weight: bold;
	width:250px;
	border-radius: 5px;
}
/*  Estilo original del plugin  =======
#easyTooltip {
	padding:5px 10px;
	border:1px solid #5e5e5e;
	background:#5e5e5e url(../img/bg2.gif) repeat-x;
	color:#fff;
	width:250px;
}
============================== */

/*==================================*/
#main {
	margin: 4px auto 0;
	width: 900px;
}
.contenedor {
	width:100%;
	height: 100%;
	position: relative;
	background: #fff;
}

/*==========  REGLAS PARA EL HEADER ============*/

#header_container {
	height: 65px;
	width: 100%;
	border-bottom: 1px solid #fff;
	position: relative;
	background: #456 url(../img/bg_header.png) repeat;
}
#header {
	height: 65px;
	width: 960px;
	margin: 0 auto;
	overflow: hidden;
	padding-bottom: 10px;
	position: relative;
}
#header_logo {
	float: left;
	width: 130px;
	height: 50px;
	padding-top: 10px;
}
#header_titulo {
	width: 498px;
	height: 50px;
	float: left;
	margin-left: 20px;
	padding-top: 10px;
}
#header_titulo h1 {
	font-size: 20px;
	font-weight: bold;
	color: #fff;	
}
#header_titulo h2 {
	font-size: 16px;
	font-weight: bold;
	color: #f6f6f6;	
}

#header_logo_cloud {
	float: left;
	width: 187px;
	height: 23px;
	padding-top: 10px;
	position: absolute;
	right: 95px;
	top: 15px;
}	
#header_login {
	width: 300px;
	height: 50px;
	float: left;
	margin-left: 10px;
	padding-top: 10px;
	text-align: right;
	padding-top: 25px;	
}
#header_login a {
	font-size: 16px;
	background: #222 url(../img/icon_cerrar.png) no-repeat 7px center;
	color: #fff;
	padding: 5px 15px 5px 30px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;				
}
#header_login a:hover {
	background-color: #42c7ff;
	color: #fff;
	text-shadow: 0px 1px 1px #069;
}

/*=============  Reglas para el Menú y Submenús  ===============*/

#menu_container {
	height: 100px;
	border-top: 1px solid #069;
	position: relative;
	background-repeat: repeat;
	/*  border-bottom: 1px solid #777;
	background-image: url(../img/bg-cuadritos.png);  */
}

#div_menu {
	width: 960px;
	margin: 0 auto;
	heigth: 100px;
	overflow: hidden;	
}

#menu {
	width: auto;
	height: 90px;
	overflow: hidden;	
	padding-top: 10px;
}
#menu li {
	float: left;
	margin-right: 17px;	
	list-style: none;	
}
.li_last {
	margin-right: 0!important;
	margin-left: 4px;
}
#menu li a {
	width: 120px;
	height: 26px;
	padding-top: 45px;
	border: 1px solid #ca5c19;
	display: block;
	text-align: center;
	text-shadow: 0 1px 1px #333;
	font-size: 15px;
	color: #fff;
	background-color: #ef823f;
	background-image: url(../img/iconos_menu_2.png);
	background-repeat: no-repeat;
	background-position: center 5px;
}
#menu li a:hover {
	background:#333 url(../img/iconos_menu_2.png) no-repeat center 7px;
	border: 1px solid #000;
	border-bottom: 1px solid #333;
	color: #ef823f;
}
#menu li #a_menu_1 {
	background:#ef823f url(../img/iconos_menu_2.png) no-repeat center -15px;
}
#menu li #a_menu_1:hover {
	background:#333 url(../img/iconos_menu_2.png) no-repeat center -13px;
}
#menu li #a_menu_2 {
	background:#ef823f url(../img/iconos_menu_2.png) no-repeat center -100px;
}
#menu li #a_menu_2:hover {
	background:#333 url(../img/iconos_menu_2.png) no-repeat center -98px;
}
#menu li #a_menu_3 {
	background: #ef823f url(../img/iconos_menu_2.png) no-repeat center -184px;	
}
#menu li #a_menu_3:hover {
	background: #333 url(../img/iconos_menu_2.png) no-repeat center -182px;	
}
#menu li #a_menu_4 {
	background: #ef823f url(../img/iconos_menu_2.png) no-repeat center -267px;
}
#menu li #a_menu_4:hover {
	background: #333 url(../img/iconos_menu_2.png) no-repeat center -265px;
}
#menu li #a_menu_5 {
	background: #ef823f url(../img/iconos_menu_2.png) no-repeat center -348px;
}
#menu li #a_menu_5:hover {
	background: #333 url(../img/iconos_menu_2.png) no-repeat center -346px;
}
#menu li #a_menu_6 {
	background: #ef823f url(../img/iconos_menu_2.png) no-repeat center -432px;
}
#menu li #a_menu_6:hover {
	background: #333 url(../img/iconos_menu_2.png) no-repeat center -430px;
}
#menu li #a_menu_7 {
	background: #ef823f url(../img/iconos_menu_2.png) no-repeat center -514px;
}
#menu li #a_menu_7:hover {
	background: #333 url(../img/iconos_menu_2.png) no-repeat center -512px;
}

.menu_active {
	background-color: #333!important;
	border-bottom: 1px solid #333!important;
	border-top: 1px solid #000!important;
	border-left: 1px solid #000!important;
	border-right: 1px solid #000!important;
}

/* ---  SUBMENU  ---- */

#div_submenu {
	width: 960px;
	margin: 0 auto;
}
.ul_submenu {
	width: 938px;
	overflow: hidden;
	background: #333;
	padding: 8px 10px 3px 10px;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	position: relative;
	margin-top: -19px;		
}
.ul_submenu li {
	float: left;
	margin-right: 4px;
	margin-bottom: 4px;
}
.ul_submenu li a {
	padding: 7px 12px;
	color: #fff;
	display: block;
	background: #666;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	font-size: 15px;
	line-height: 15px;
}
.ul_submenu li a:hover {
	background: #f7f7f7;
	color: #555;	
}
.submenu_active {
	background: #f7f7f7!important;
	color: #666!important;
}

/*=====  REGLAS PARA EL TÍTULO DE CADA SECCIÓN  =====*/

#div_h1_general {
	width: 920px;
	height: 30px;
	line-height: 30px;
	margin: 5px auto 0;
	padding: 0 20px;
	position: relative;
	background: #E16448  url(../img/arbol.png) no-repeat 20px center;
	color: #fff;
	font-size: 18px;
	text-indent: 35px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}
#span_general {
	text-shadow: 0px 1px 1px #600;	
}
#span_title_1 {
	color: #500;
	text-shadow: none!important;
}
.div_btn_atras, .div_btn_atras_1 {
	text-align: right;
	margin-top: 10px;
	margin-right: 20px;	
}
.div_btn_atras_1 { text-align: left; }

.div_btn_atras a, .div_btn_atras_1 a {
	width: 100px;
	padding: 5px 12px 5px 22px;
	background: #333 url(../img/btn_back.png) no-repeat 7px center;
	color: #fff;
	border-radius: 3px;	
}
.div_btn_atras a:hover, .div_btn_atras_1 a:hover {
	background: #333 url(../img/btn_back.png) no-repeat 5px center;	
}
.div_btn_atras_1 a {
	padding: 10px 24px 10px 36px;
	background: #333 url(../img/btn_back.png) no-repeat 15px center;
	font-size: 17px!important;	
}
.div_btn_atras_1 a:hover {
	background: #333 url(../img/btn_back.png) no-repeat 12px center;	
}

#div_ayuda {
	position: absolute;
	top: 0px;
	right: 20px;
	font-size: 14px;
	font-weight: bold;
}
#div_ayuda img { vertical-align: middle; }
#div_ayuda a { color: #fff; text-shadow: 0px 1px 1px #333; }

/*========  REGLAS DE LOS MÓDULOS  ========*/
#mod_container {
	width: auto;
	overflow: hidden;
	padding: 0;
	margin-bottom: 15px;
	clear: both;	
}
.div_buscador_container {
	overflow: hidden;
	background: #555;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}
.busc_balance {
	height: 135px;	
}
.div_mod {
	color: #fff;
	padding: 4px 8px 8px;
	float: left;
	height: 100px;	
}
.div_mod a {
	color: #fff;
	font-size: 16px!important;
	margin-left: 5px;	
}
.div_mod a:hover {
	color: #000;
	text-decoration: underline;	
}
.div_mod img {
	vertical-align: middle;	
	margin-right: 5px;
}
.div_mod h3 {
	padding-bottom: 5px;
	margin-bottom: 10px;
	border-bottom: 1px solid #888;	
	font-size: 17px;
	color: #ef823f;
	font-family: Tahoma, Geneva, sans-serif;
}
.div_mod input {
	padding: 3px 0!important;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.div_mod select {
	border: none;
	height: 22px;
}

.div_separador {
	width: 1px;
	border-right: 1px dashed #888;
	float: left;
	height: 90px;
	margin-top: 10px;	
}
.input_fecha {
	width: 70px;
	float: right!important;
	margin-right: 0!important;
	text-indent: 2px!important;	
}
.div_fecha {  
	height: 30px;
	line-height: 22px;
}
.div_mod_horizon {
	height: 30px;
	line-height: 22px;	
}
.div_mod_horizon select {
	width: 221px;
	margin-left: 6px;	
}
.div_horizon_1  {
	width: 125px;
	float: left;
}
.div_horizon_1 select { width: 70% }
.div_horizon_1 input { width: 100% }

.select_proyecto {
	width: 221px!important;
}
.option_cambiar {
	background: #efefef;
	color: #000;
	padding: 5px;
	font-weight: bold!important;
	text-align: center;	
}
.span_fecha { 
	width: 40px; 
	display: inline-block;
}
.input_nombre {
	width: 220px;
	float: right!important;
	margin-right: 0!important;
}	
.div_input_nombre {
	margin-top: 35px;
	clear: both;	
}
.div_input_nombre img {
	margin-top: 5px;	
}
#input_buscar {
	padding: 10px 5px!important;
	background: url(../img/lupa_big.png) no-repeat center center!important;
	background-color: #ef823f!important;
	width: 50px;
	height: 50px;
	margin-top: 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: none!important;
	display: block;
}
#input_buscar:hover, #input_buscar:focus {
	background-color: #222!important;
	border: none!important;
	cursor: pointer; 
}
.img_user {
	margin-top: 5px;	
}



/* ====  =====  =====  ===== */

#mod_nuevo_doc, #mod_nuevo_doc_partes {
	width: 48px;
	background: #96bf0d;
	padding-top: 24px;
	height: 80px;
	margin-right: 10px;	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#mod_nuevo_doc_partes {
	width: 944px;
	margin-bottom: 15px;
}	
#mod_nuevo_doc_partes a {
	display: block;
	width: 100%;
	height: 100%;
	text-align: center;
	line-height: 75px;
	font-size: 24px!important;
}	
#mod_nueva_persona, #mod_actualizar {
	width: 54px;
	background: #96bf0d;
	padding-top: 20px;
	height: 57px;
	margin-right: 10px;	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	text-align: center;
}
#mod_actualizar {
	width: 90px;
}
#mod_nuevo_trabajador {
	width: 48px;
	background: #009ee0;
	padding-top: 24px;
	height: 70px;	
}
#mod_buscar_por {
	width: 135px;	
}
#mod_rango_fechas {
	width: 145px;	
}
#mod_cliente {
	width: 250px;	
}
#mod_parte_por {
	width: 210px;
	position: relative;	
}
.div_input_radio {
	width: auto;
	overflow: hidden;
	margin-bottom: 3px;	
}
#label_cliente {
	width: 80px;
	margin-right: 10px;
	float: left;	
}
#label_trabajador {
	width: 100px;
	float: left;	
}
#mod_serie {
	width: 80px;	
}
#mod_estado {
	width: 103px;	
}
#mod_cobrado {
	width: 120px;	
}
#mod_estado1 {
	width: 78px;	
}
#mod_btn_buscar {
	background: none;	
}
#mod_trabajador {
	width: 250px;	
}
#mod_meses {
	width: 160px;	
}
#mod_años {
	width: 140px;	
}
#mod_cuentas {
	width: 140px;	
}
#mod_buscar_por_fecha {
	width: 280px;
	overflow: hidden;	
}
#div_fecha_radio {
	float: left;
	width: 130px;
}
#div_fecha_radio div:first-child {
	margin-bottom: 15px;
}
#div_fecha_input {
	float: left;
	width: 140px;		
}
#mod_buscar_persona {
	background: #555;
	width: 500px;
	height: 60px;
	padding: 10px 0 15px 20px;
	margin-right: 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}
.input_persona {
	float: left!important;
	width: 310px;
}
#input_buscar_persona {
	float: left;
	margin-top: 0!important;
	background: #ef823f!important;
	border: none!important;
	height: 23px;
	font-size: 12px;
	line-height: 12px;
	width: 150px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;		
}
#input_buscar_persona:hover {
	background: #222!important;
	border: none!important;
	cursor: pointer; 	
}
#mod_fechas_balance {
	background: #555;
	width: 150px;
	padding-left: 15px;
	padding-right: 15px;	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}
#div_fecha_bal {
	width: 150px;
	float: left;
	margin-right: 35px;
}	
#div_input_bal {
	width: 50px;
	float: left;	
}
#div_input_bal input {
	margin-top: 0!important;	
}

#mod_bal_ventas {
	
}
#mod_bal_compras {
	
}
#mod_bal_personal {
	position: relative;
}
.bal_check_block {
	width: 140px;
	float: left;	
}
.bal_check_block input {
	margin-right: 5px!important;		
}
.bal_checkbox img {
	vertical-align: -1px;
	margin-right: 0!important;	
}

#mod_buscar_sub_familia {
	width: 200px;
}
#mod_buscar_sub_familia select {
	width: 100%;
}
#mod_buscar_articulo  {
	width: 380px;
	height: 50px;
	padding: 10px 0 15px 20px;
}
#mod_buscar_articulo input  {
	width: 100%;
	padding: 2px;
}
#mod_buscar_familia {
	width: 200px;
	height: 60px;
	padding: 10px 0 15px 20px;
	margin-right: 10px;	
}
#mod_buscar_familia select {
	width: 100%;
}
#mod_buscar_sub_familia {
	height: 60px;
	padding: 10px 0 15px 20px;
	margin-right: 10px;
}	


/*========  REGLAS PARA LAS TABLAS-LISTADOS  ========*/
#div_sobre_tabla {
	width: auto;
	height: 40px;
	line-height: 40px;
	overflow: hidden;
	background: #009de0;
	color: #fff;
	border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	-webkit-border-radius: 10px 10px 0 0;
	position: relative;
}
#div_sobre_tabla img {
	vertical-align: middle;	
}
#div_sobre_tabla h1, #div_sobre_tabla h2 {
	text-align: center;	
}
#resumen_datos {
	position: absolute;
	right: 20px;
	top: 0px;
	font-weight: bold;
	font-size: 15px;	
}
#div_imprimir {
	position: absolute;
	left: 15px;
	top: 0px;
	font-weight: bold;
	font-size: 15px;	
}
#div_imprimir a { color: #fff; }
#div_imprimir a:hover { color: #000; }

#div_sobre_tabla.gastos { background: #b83c20; }
#div_sobre_tabla.ingresos { background: #96bf0d; }
#div_sobre_tabla.datos_cliente { background: #888; }


.fechaCobrada {
	width: 185px;
	float: left;	
}

.fechaCobrada .span_1 { margin-right: 30px; }

.fechaCobrada input:disabled {
	border: 1px solid #dedede!important;
	float: left;
}
#textoCobro { width: 100px; }

.modif_fecha_cobro {
	width: 30px;
	float: left;
	text-align: center;	
}


/* ---  TABLE, COL Y A  --- */
.tb_normal {
	width: 100%;
	margin-top: 0;
	border-top: 1px solid #000;
	font-size: 14px;	
}
.col_impar {
	background: #fdfdfd;	
}
.col_par {
	background: #f8f8f8;	
}
.tb_normal a {
	font-size: 15px!important;
	color: #069!important;	
}
/* ---  THEAD  ---  */
.tb_normal thead {
	background: #555;
	color: #fff;
	font-weight: bold;	
}
.tb_normal thead tr td {
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;	
}
.tb_normal thead tr td:first-child {
	border-left: 1px solid #000;
}
.tb_normal thead tr td a {
	color: #d9ebff!important;
	padding: 3px;	
}

/* ---  TBODY  ---  */
.tb_normal tr td {
	padding: 5px 10px;
	border-right: 1px solid #bdbdbd;
	border-bottom: 1px solid #bdbdbd;	
}
.tb_normal tr td:first-child {
	border-left: 1px solid #bdbdbd;	
}
.tb_normal tbody tr:hover, .tb_normal tbody tr:focus {
	background: #eaf2ff;	
}
.tb_normal input { 
	width: 100%; 
	height: 100%; 
	margin-right: 0!important;
}
.tb_normal select {
	width: 100%;	
}

.tr_totales {
	backgroud: #D2FFD2;
	font-weight: bold!important;	
}

/*-----  REGLAS PARA TALBAS ESPECÍFICAS  -------*/

/*-- TABLA DOCUMENTOS --*/
.tb_docs {  }
.tb_docs .sobre_cabecera_gastos { background: #e16448; color: #fff; font-weight: bold; }
.tb_docs .sobre_cabecera_ingresos { background: #88ae0b; color: #fff; font-weight: bold; }
.tb_docs .sub_cabecera { background: #eee; color: #333; font-weight: bold; }
.tb_docs .td_1 { width: 20px; text-align: right; }
.tb_docs .td_2 { width: 45px; text-align: center; }
.tb_docs .td_3 { width: 65px; text-align: left; }
.tb_docs .td_4 { width: 45px; text-align: right; }

.div_datos_cliente { margin: 20px; }
#tb_datos_cliente .td_1 { width: 30%; text-align: right; background: #efefef; font-weight: bold; }
#tb_datos_cliente .td_2 { width: 70%; }

/*-- TABLA CLIENTES --*/
#tb_clientes .col_1 { width: 760px; }
#tb_clientes .col_2 { width: 40px; }
#tb_clientes .col_3 { width: 40px; }

#tb_clientes .td_1 {  }
#tb_clientes .td_2 {  text-align: center; }
#tb_clientes .td_3 {  text-align: center; }

/*-- TABLA PROYECTOS --*/
#tb_proyectos .col_1 { width: 70px; }
#tb_proyectos .col_2 { width: 100px; }
#tb_proyectos .col_3 { width: 300px; }
#tb_proyectos .col_4 { width: 320px; }
#tb_proyectos .col_5 { width: 45px; }
#tb_proyectos .col_6 { width: 45px; }
#tb_proyectos .col_7 { width: 45px; }

#tb_proyectos .td_1 { text-align: right; } 	
#tb_proyectos .td_2 { text-align: center; }	
#tb_proyectos .td_3 {  }	   
#tb_proyectos .td_4 {  }     
#tb_proyectos .td_5 { text-align: center; }  
#tb_proyectos .td_6 { text-align: center; }
#tb_proyectos .td_7 { text-align: center; }

/*-- TABLA PRESUPUESTOS --*/
#tb_presupuestos .col_1 { width: 90px; }
#tb_presupuestos .col_2 { width: 70px; }
#tb_presupuestos .col_3 { width: 100px; }
#tb_presupuestos .col_4 { width: 180px; }
#tb_presupuestos .col_5 { width: 180px; }
#tb_presupuestos .col_6 { width: 100px; }
#tb_presupuestos .col_7 { width: 30px; }
#tb_presupuestos .col_8 { width: 30px; }
#tb_presupuestos .col_9 { width: 30px; }

#tb_presupuestos .td_1 { text-align: center; } 	
#tb_presupuestos .td_2 { text-align: right; }	    
#tb_presupuestos .td_3 { text-align: center; }
#tb_presupuestos .td_4 {  }     
#tb_presupuestos .td_5 { text-align: left; }  
#tb_presupuestos .td_6 { text-align: right; }
#tb_presupuestos .td_7 { text-align: center; }
#tb_presupuestos .td_8 { text-align: center; }
#tb_presupuestos .td_9 { text-align: center; } 

/*-- TABLA PARTES DE TRABAJO --*/
#tb_partes .col_1 { width: 80px; }
#tb_partes .col_2 { width: 100px; }
#tb_partes .col_3 { width: 180px; }
#tb_partes .col_4 { width: 180px; }
#tb_partes .col_5 { width: 120px; }
#tb_partes .col_6 { width: 110px; }
#tb_partes .col_7 { width: 100px; }
#tb_partes .col_8 { width: 40px; }
#tb_partes .col_9 { width: 40px; }
#tb_partes .col_10 { width: 40px; }

#tb_partes .td_1 { text-align: right; } 	
#tb_partes .td_2 { text-align: center; }	    
#tb_partes .td_3 {  }   
#tb_partes .td_4 {  }     
#tb_partes .td_5 {  }  
#tb_partes .td_6 { text-align: right; }
#tb_partes .td_7 { text-align: right; }
#tb_partes .td_8 { text-align: right; }
#tb_partes .td_9 { text-align: center; }
#tb_partes .td_10 { text-align: center; }

/*-- TABLA ALBARANES --*/
#tb_albaranes .col_0 { width: 40px; }
#tb_albaranes .col_1 { width: 60px; }
#tb_albaranes .col_2 { width: 100px; }
#tb_albaranes .col_3 { width: 340px; }
#tb_albaranes .col_4 { width: 100px; }
#tb_albaranes .col_5 { width: 100px; }
#tb_albaranes .col_6 { width: 45px; }
#tb_albaranes .col_7 { width: 45px; }

#tb_albaranes .td_0 { text-align: center; }
#tb_albaranes .td_1 { text-align: right; } 	
#tb_albaranes .td_2 { text-align: center; }	
#tb_albaranes .td_3 {  }	   
#tb_albaranes .td_4 { text-align: right; }
#tb_albaranes .td_5 {  }     
#tb_albaranes .td_6 { text-align: center; }  
#tb_albaranes .td_7 { text-align: center; }

/*-- TABLA FACTURAS (VENTAS) --*/
#tb_facturas .col_0 { width: 40px; }
#tb_facturas .col_1 { width: 70px; }
#tb_facturas .col_2 { width: 100px; }
#tb_facturas .col_3 { width: 340px; }
#tb_facturas .col_4 { width: 90px; }
#tb_facturas .col_5 { width: 60px; }
#tb_facturas .col_6 { width: 60px; }
#tb_facturas .col_7 { width: 40px; }
#tb_facturas .col_8 { width: 40px; }

#tb_facturas .td_0 { text-align: center; }
#tb_facturas .td_1 { text-align: right; } 	
#tb_facturas .td_2 { text-align: center; }	    
#tb_facturas .td_3 {  }   
#tb_facturas .td_4 { text-align: right; }     
#tb_facturas .td_5 { text-align: center; }  
#tb_facturas .td_6 { text-align: right; }
#tb_facturas .td_7 { text-align: center; }
#tb_facturas .td_8 { text-align: center; }

.span_texto_fecha { margin-right: 15px; }
.img_orden { margin: 5px 0 0 5px; vertical-align: -5px; }
.div_td_5 { width: 217px; }

/*-- TABLA FACTURAS PROFORMA --*/
#tb_fact_proforma .col_1 { width: 60px; }
#tb_fact_proforma .col_2 { width: 100px; }
#tb_fact_proforma .col_3 { width: 450px; }
#tb_fact_proforma .col_4 { width: 120px; }
#tb_fact_proforma .col_5 { width: 40px; }
#tb_fact_proforma .col_6 { width: 40px; }

#tb_fact_proforma .td_1 { text-align: right; }
#tb_fact_proforma .td_2 { text-align: center; }
#tb_fact_proforma .td_3 {  }
#tb_fact_proforma .td_4 { text-align: right; }
#tb_fact_proforma .td_5 { text-align: center; }
#tb_fact_proforma .td_6 { text-align: center; }

/*-- TABLA PROVEEDORES --*/
#tb_proveedores .col_1 { width: 760px; }
#tb_proveedores .col_2 { width: 40px; }
#tb_proveedores .col_3 { width: 40px; }

#tb_proveedores .td_1 {  }
#tb_proveedores .td_2 {  text-align: center; }
#tb_proveedores .td_3 {  text-align: center; }

/*-- TABLA PRESUPUESTOS PROVEEDORES --*/
#tb_presup_proveedores .col_1 { width: 60px; }
#tb_presup_proveedores .col_2 { width: 100px; }
#tb_presup_proveedores .col_3 { width: 220px; }
#tb_presup_proveedores .col_4 { width: 180px; }
#tb_presup_proveedores .col_5 { width: 100px; }
#tb_presup_proveedores .col_6 { width: 40px; }
#tb_presup_proveedores .col_7 { width: 40px; }
#tb_presup_proveedores .col_8 { width: 40px; }

#tb_presup_proveedores .td_1 { text-align: right; }
#tb_presup_proveedores .td_2 { text-align: center; }
#tb_presup_proveedores .td_3 {  }
#tb_presup_proveedores .td_4 {  }
#tb_presup_proveedores .td_5 { text-align: right; }
#tb_presup_proveedores .td_6 { text-align: center; }
#tb_presup_proveedores .td_7 { text-align: center; }
#tb_presup_proveedores .td_8 { text-align: center; }

/*-- TABLA FACTURAS (COMPRAS) --*/
#tb_fact_proveedores .col_1 { width: 90px; }
#tb_fact_proveedores .col_2 { width: 100px; }
#tb_fact_proveedores .col_3 { width: 240px; }
#tb_fact_proveedores .col_4 { width: 110px; }
#tb_fact_proveedores .col_5 { width: 235px; }
#tb_fact_proveedores .col_6 { width: 60px; }
#tb_fact_proveedores .col_7 { width: 40px; }
#tb_fact_proveedores .col_8 { width: 40px; }
#tb_fact_proveedores .col_9 { width: 40px; }

#tb_fact_proveedores .td_1 { text-align: right; } 	
#tb_fact_proveedores .td_2 { text-align: center; }	    
#tb_fact_proveedores .td_3 {  }   
#tb_fact_proveedores .td_4 { text-align: right; }     
#tb_fact_proveedores .td_5 {  }  
#tb_fact_proveedores .td_6 { text-align: left; }
#tb_fact_proveedores .td_7 { text-align: center; }
#tb_fact_proveedores .td_8 { text-align: center; }
#tb_fact_proveedores .td_9 { text-align: center; }

/*-- TABLA TRABAJADORES --*/
#tb_trabajadores .col_1 { width: 760px; }
#tb_trabajadores .col_2 { width: 40px; }
#tb_trabajadores .col_3 { width: 40px; }
#tb_trabajadores .col_4 { width: 40px; }

#tb_trabajadores .td_1 {  }
#tb_trabajadores .td_2 { text-align: center; }
#tb_trabajadores .td_3 { text-align: center; }
#tb_trabajadores .td_4 { text-align: center; }

/*-- TABLA PAGO TRABAJADORES --*/
#tb_pago_trabajadores .td_1 { text-align: right; width: 90px; }
#tb_pago_trabajadores .td_2 { text-align: center; }
#tb_pago_trabajadores .td_3 { width: 300px; }
#tb_pago_trabajadores .td_4 { text-align: right; width: 100px;}
#tb_pago_trabajadores .td_5 {  }
#tb_pago_trabajadores .td_6 { width: 60px; text-align: center; }
#tb_pago_trabajadores .td_7 { width: 40px; text-align: center; }

/*-- TABLA PAGO SEGURIDAD SOCIAL --*/
#tb_pago_ssocial .col_1 { width: 120px; }
#tb_pago_ssocial .col_2 { width: 140px; }
#tb_pago_ssocial .col_3 { width: 140px; }
#tb_pago_ssocial .col_4 { width: 140px; }
#tb_pago_ssocial .col_5 { width: 100px; }
#tb_pago_ssocial .col_6 { width: 40px; }

#tb_pago_ssocial .td_1 { width: 100px; text-align: right; }
#tb_pago_ssocial .td_2 { width: 100px; text-align: center; }
#tb_pago_ssocial .td_3 { text-align: right; }
#tb_pago_ssocial .td_4 {  }
#tb_pago_ssocial .td_5 {  }
#tb_pago_ssocial .td_6 { text-align: center; }

/*-- TABLA PAGO IRPF --*/	
#tb_pago_irpf .col_1 { width: 120px; }
#tb_pago_irpf .col_2 { width: 140px; }
#tb_pago_irpf .col_3 { width: 140px; }
#tb_pago_irpf .col_4 { width: 190px; }
#tb_pago_irpf .col_5 { width: 40px; }

#tb_pago_irpf .td_1 { width: 100px; text-align: right;  }
#tb_pago_irpf .td_2 { width: 100px; text-align: center;  }
#tb_pago_irpf .td_3 { text-align: right; }
#tb_pago_irpf .td_4 {  }
#tb_pago_irpf .td_5 { text-align: center; }

/*-----  REGLAS PARA TABLAS SELECT  -------*/

.tb_fact_doc_presup .td_1 { width: 10px; text-align: center; }
.tb_fact_doc_presup .td_2 { width: 50px; text-align: right; }
.tb_fact_doc_presup .td_3 { width: 90px; text-align: center; }
.tb_fact_doc_presup .td_4 { width: 340px; text-align: left; }
.tb_fact_doc_presup .td_5 { width: 120px; text-align: right; }
.tb_fact_doc_presup .td_6 { width: 20px; text-align: center; }

/*-----  REGLAS PARA TABLAS DE SUBIR ARCHIVOS  -------*/	

#tb_subir_archivos { width: 100%; }
#tb_subir_archivos td { height: 20px; }
#tb_subir_archivos thead { background: #555; color: white; font-weight: bold; }
#tb_subir_archivos tr td { text-align: left; padding: 5px 10px; }
#tb_subir_archivos input[type=file] { height:80%;}
#tb_subir_archivos .td_1 {width: 400px;}
#tb_subir_archivos .td_2 {width: 400px;}
#tb_subir_archivos .td_3 {width: 100px;}

#tb_listado_archivos .td_1 { width: 350px; } 
#tb_listado_archivos .td_2 { width: 350px; } 
#tb_listado_archivos .td_3 { width: 200px; } 
#tb_listado_archivos .td_4 { width: 100px; } 	

/*-----  REGLAS PARA TABLAS DE BALANCE  -------*/
/*  color verde: EAFFEA --  color rosa: FFE6CC  */

#div_balances { width: auto; overflow: hidden; }

#div_bal_resumen {
	width: 580px;
	float: left;
	margin-right: 60px;	
}
#div_bal_totales {
	width: 320px;
	float: left;	
}
.td_titulo {
	text-align: center;
	background: #f8f8f8;
	font-weight: bold;
	border-bottom: 1px dashed #333!important;	
}
.ventas { background: #96bf0d; }
.compras { background: #F9B522; }
.personal { background: #ffc870; }

#tb_bal_resumen { font-size: 12px; }

#tb_bal_resumen .td_1 {  }
#tb_bal_resumen .td_2 { text-align: right; }
#tb_bal_resumen .td_3 { text-align: right; }
#tb_bal_resumen .td_4 { text-align: right; }
#tb_bal_resumen .td_5 { text-align: right; }

/*-----  REGLAS PARA HISTORIAL DE DOCUMENTOS  -------*/

#tb_historial_doc .td_1 { width: 70px; text-align: center;}
#tb_historial_doc .td_2 { width: 70px; text-align: center;}
#tb_historial_doc .td_3 { width: 200px; }

/*-----  REGLAS PARA TABLAS DE ALMACÉN  -------*/

.div_nueva_linea {
	position: relative;
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #bababa;
	background: #f7f7f7;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#div_cerrar {
	position: absolute;
	top: 5px;
	right: 10px;
	width: 26px;
	height: 26px;
}
.div_nueva_linea h2 {
	margin-bottom: 10px;
	color: #555;
	border-bottom: 1px solid #42c7ff;
	font-size: 20px;		
}

.div_nuevos {
	width: auto;
	overflow: hidden;
	margin: 10px 0;	
}
.div_select_familia {
	width: 340px; 
	float: left;	
}
.div_select_sub_familia {
	width: 580px;
	float: left;	
}
.div_select_sub_familia select {
	width: 300px;		
}
.div_nuevos label {
	width: 150px;
	color: #009de0;	
}


.tb_nueva_linea {
	background: #fff;	
}
.tb_nueva_linea thead tr td { padding: 0 15px!important; }

.tb_nueva_linea .td_1 { width: 500px; }	
.tb_nueva_linea .td_2 { width: 200px; }
.tb_nueva_linea .td_3 { width: 100px; text-align: center; }
.tb_nueva_linea .td_4 { text-align: center; }
.tb_nueva_linea .td_6 { text-align: center; }

.tb_nueva_linea input {
	width: 100%;
	height: 100%;
	border: none!important;
	background: #fff!important;	
	font-size: 15px!important;
}
.tb_nueva_linea input:hover, .tb_nueva_linea input:focus {
	background: #eaf2ff!important;
	cursor: pointer;	
}
.tb_nueva_linea td { 
	height: 30px; 
	line-height: 30px;
	padding: 0px!important; 
}

/* -- Tabla Familias -- */
#tb_familias .col_1 { width: 40px; }		
#tb_familias .col_2 { width: 70px; }
#tb_familias .col_3 { width: 300px; }
#tb_familias .col_4 { width: 60px; }
#tb_familias .col_5 { width: 280px; }
#tb_familias .col_6 { width: 40px; }
#tb_familias .col_7 { width: 40px; }

#tb_familias .td_1 
#tb_familias .td_2 input { text-align: right; }
#tb_familias .td_3 input {  }
#tb_familias .td_4 input { text-align: right; }
#tb_familias .td_5  { text-align: left;}
#tb_familias .td_6  { text-align: center;}
#tb_familias .td_7  { text-align: center;}

/* -- Tabla Subfamilias -- */
#tb_subfamilias .col_1 { width: 40px; }
#tb_subfamilias .col_2 { width: 80px; }
#tb_subfamilias .col_3 { width: 300px; }
#tb_subfamilias .col_4 { width: 60px; }
#tb_subfamilias .col_5 { width: 120px; }
#tb_subfamilias .col_6 { width: 240px; }
#tb_subfamilias .col_7 { width: 40px; }
#tb_subfamilias .col_8 { width: 40px; }

#tb_subfamilias .td_1 input { }
#tb_subfamilias .td_2 input { text-align: right; }
#tb_subfamilias .td_3 input { text-align: left;}
#tb_subfamilias .td_4 input { text-align: right;}
#tb_subfamilias .td_5  {  }
#tb_subfamilias .td_6  { text-align: left;}
#tb_subfamilias .td_7  { text-align: center;}
#tb_subfamilias .td_8  { text-align: center;}

/* -- Tabla Artículo -- */
#tb_articulos .col_1 { width: 40px; }
#tb_articulos .col_2 { width: 100px; }
#tb_articulos .col_3 { width: 280px; }
#tb_articulos .col_4 { width: 100px; }
#tb_articulos .col_5 { width: 70px; }
#tb_articulos .col_6 { width: 60px; }
#tb_articulos .col_7 { width: 120px; }
#tb_articulos .col_8 { width: 120px; }
#tb_articulos .col_9 { width: 40px; }
#tb_articulos .col_10 { width: 40px; }
#tb_articulos .col_11 { width: 40px; }

#tb_articulos .td_1 { text-align: center; }
#tb_articulos .td_2 { text-align: left; }
#tb_articulos .td_3 { text-align: left; }
#tb_articulos .td_4 { text-align: left; }	
#tb_articulos .td_5 { text-align: right; }
#tb_articulos .td_6 { text-align: right; }
#tb_articulos .td_7 { text-align: right; }
#tb_articulos .td_8 { text-align: right; }
#tb_articulos .td_9 { text-align: center; }
#tb_articulos .td_10 { text-align: center; }
#tb_articulos .td_11 { text-align: center; }


#tb_datos_gen input[type=checkbox] {
	height: 15px;
	width: 40px;
	margin-left: 10px;	
}

#tb_reg_mercantil tr td:first-child {
	width: 230px;	
}

#tb_password {
	width: 460px;
	margin: 25px auto;	
}
#tb_password tr td:first-child {
	width: 200px;	
}
#tb_password thead td {
	background: #333;
	color: #fff;
	text-align: center;
}

#tb_por_defecto {
	width: 100%;	
}
#tb_por_defecto thead td {
	background: #333;
	color: #fff;
	text-align: center;
	font-weight: bold;
}
#tb_por_defecto textarea {
	width: 100%;
	height: 100px;
	background: #FAFAFA;
	border: none;
}
.td_pordefecto_title {
	text-align: left!important;
	background: #dedede;	
}
#id_familia_1, #id_sub_familia_1 { 
	width: 380px;
	height: 28px;
	border: none;				
}
#tb_tipos_iva  { width: 350px; }
#tb_tipos_iva thead {
	background: #555;
	color: #fff;
	font-weight: bold;
}
#tb_tipos_iva .td_1 { width: 100px; padding: 5px 15px; }
#tb_tipos_iva .td_2 { width: 40px; padding: 5px 15px; text-align: right; }
#tb_tipos_iva .td_2 input { width: 30px; text-align: right; }
#tb_tipos_iva .td_3 { width: 40px; padding: 5px 5px; text-align: center; }

#forma_de_pago { width: 275px;}
#banco { width: 50px;}
#oficina { width: 50px;}
#dc { width: 30px;}
#cuenta { width: 100px;}

/*========  REGLAS PARA LA PAGINACIÓN  ========*/

.div_paginacion_top, .div_paginacion_bottom {
	height: 30px;
	line-height: 30px;
	background: #42c7ff;
	position: relative;
	font-size: 14px;
	border: 1px solid #069;	
}
.div_paginacion_bottom {
	margin-top: -1px;
}
.div_pag {
	width: 750px;	
	position: absolute;
	top: 5px;
	right: 15px;
	text-align: right;
}
.span_pagina {
	margin-right: 25px;
	color: #fff;
	font-weight: bold;
	display: inline-block;
	margin-top: -5px;
	text-shadow: 0px 1px 1px #333;
}
.select_pagina {
	width: 45px;
	color: #333;
	background: #fff;
	text-align: right;
	height: 17px;
}

.div_lotes {
	width: 180px;
	position: absolute;
	top: 0px;
	left: 37px;	
}
.div_lotes img {
	position: relative;
	top: 8px;
	left: -4px;	
}
.div_lotes select {
	margin-left: -4px;
	width: 135px;
	background: #fff;
	border: 2px solid #efefef!important;	
}
.lotes_list {left: 17px;}

.ul_add_lineas {
	position: absolute;
	top: 0px;
	left: 239px;
	width: 140px;
	overflow: hidden;
	border: 1px solid #BABABA;
	padding: 5px;	
}
.ul_add_lineas li{
	width: 45px;
	float: left;	
}
#n_lineas_anadir{
	width: 30px;
	display: inline;	
}

.ul_add_lineas.recibos {
	border: none;
	padding: 0;
	top: -10px;
}



.div_paginacion_top a, .div_paginacion_bottom a {
	color: #333;
	background: #fafafa;
	height: 20px;
	display: block;
	float: right;
	margin-right: 5px;
	text-align: center;
	line-height: 20px;
	border-radius: 3px;
	padding: 0 6px;		
}
.div_paginacion_top .current_link, .div_paginacion_bottom .current_link {
	background: #333;
	color: #fafafa;
	font-size: 14!important;
}
/*========  REGLAS DE LA PÁGINA DE ACCESO  ========*/

#index_logo, #index_footer {
	width: auto;
	padding:20px;
	margin: 20px 0;
	text-align: center;
	background: #003366;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}	
.h3_sub_index {
	text-align: right;
	color: #f3f3f3;
	font-size: 11px;
	font-weight: bold;
}
.h3_sub_index a {
	color: #0CF;	
}

#div_acceso  {
	width: 450px;
	margin: 10px auto;	
}
#div_sinacceso  {
	width: 800px;
	margin: 100px auto;
	font-size: 18px;
	text-align: center;	
}
#form_acceso {
	margin-top: 25px;
}
#form_acceso label {
	font-size: 18px;
	border-bottom: 14px solid #d9ebff;
}
#form_acceso input {
	font-size: 18px;
	height: 36px;
	width: 260px;
	line-height: 36px;
	margin-bottom: 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	padding-left: 15px;	
}
#boton {
	background: #529ed8!important;	
	line-height: 20px!important;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	width: 	425px!important;
}
#boton:hover {
	background-color: #2F8BD0!important;
	cursor: pointer;
}

.text_info {
	font-size: 15px;
	font-weight: bold;
	padding: 5px;
	color: #069!important;
	background-color: #D9ECFF;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #069;
	padding: 10px;
}
#popup_inicio {
	padding: 20px 30px;
	border: 5px solid #555;	
}
#popup_inicio .h2_add_full  {
	background: #555;	
}

.div_aceptar_inicio a {
	width: 200px;
	margin: 0 auto;
	display: block;
	text-align: center;
	background: #F60;	
	color: #fff;
	font-size: 18px;
	padding: 10px 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.div_aceptar_inicio a:hover {	
	background: #e16448;
	color:#333;
}

/*========  FIN DE PÁGINA DE ACCESO  ========*/

.div_form {
	padding: 25px;	
}
.div_form_pagos {
	width: 400px;
	border: 1px solid #999;
	padding: 25px;	
}
.div_form_clientes {
	width: 600px;
	padding: 20px 30px;	
}
.bk_select {
	width: 560px;	
}
.div_form_fact_doc {
	width: 800px;
	padding: 0px 20px 30px;	
}
.div_form_fact_doc label {
	width: 330px;
}
.div_form_fact_doc h3 {
	background: #e16448;
	padding: 5px 15px;
	color: #fff;
	font-weight: bold;
	margin-bottom: 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.div_select_tipo {
	margin-bottom: 10px;
	width: auto;	
}
.div_fact_overflow {
	height: 204px;
	overflow: auto;	
}
.div_list_art {
	width: 880px;
	padding: 0px 40px;	
}
.div_list_art #ul_conceptos_tarifa {
	margin-top: -10px!important;	
}
#list_art {
	overflow: auto;
	height: 280px;	
}

#list_art .ul_linea {
	border-left: 1px solid #333;
	border-right: 1px solid #333;
	border-bottom: 1px solid #333;
	border-top: none;
}

.div_iconos, .div_select {
	height: 24px;
	width: 22px;
	color: #fff;
	float: left;
	margin-right: 15px;	
}
.div_select {
	width: auto!important;	
}
.div_float_cod_cliente {
	width: 100px;
	float: left;	
}
.div_float_cod_cliente input {
	width: 80px!important;
}
.div_float_cliente {
	width: 450px;
	float: left;	
}
.div_float_cliente input {
	width: 494px!important;
}
.div_lista_clientes {
	padding: 10px 20px;
	overflow: auto;
	background: #fff;
	height: 268px;
	overflow: auto;	
}
.div_lista_clientes a { color: #069; }
.div_lista_clientes a:hover { text-decoration: underline; }

.div_lista_clientes ul {
	width: auto;
	overflow: hidden;
}
.div_lista_clientes ul li {
	float: left;
	list-style: none;
	margin-bottom: 10px;
	width: 100%;
}
.div_linea_clientes_par, .div_linea_clientes_impar {
	width: auto;
	overflow: hidden;
	height: 27px;
	line-height: 27px;
	background: #F8F8F8;
	margin-bottom: 2px;
	border: 1px solid #dedede;	
}
.div_linea_clientes_impar {
	background: #FCFCFC;	
}
.div_lista_clientes ul .col_uno {
	width: 80px;
	border-right: 2px dotted #fff;
	margin-right: 10px;
	text-align: center;
	display: none;
}
.div_lista_clientes ul .col_dos {
	width: auto;
	clear: right;
	width: 100%;
}
.div_lista_clientes ul .col_dos a {
	display: block;
	width: 100%;
	height: 100%;
	padding-left: 10px;	
}
.div_lista_clientes ul .col_dos a:hover {
	background: #dedede;
}
.div_lista_clientes ul input {
	width: 100%;
	height: 28px;
	padding: 0 10px;
	cursor: pointer;
	background: #fff;
}	
.div_lista_clientes ul input:focus { background: #555!important; color: #fff; }

.input_foco { background: #555!important; color: #fff; }

.input_sin_foco { background-color: #fff; }		

.div_input_guardar { text-align:right; }

.div_input_guardar input {
	background: url(../img/btn_blue_forms.png) repeat-x 0px 0px!important;
	font-weight: bold;
	border: 1px solid #069;
	color: #fff;
	height: 25px;
	margin-right: 0!important;
}
.div_input_guardar input:hover {
	background: url(../img/btn_blue_forms.png) repeat-x 0px -50px!important;	
	cursor: pointer;
}

label {
	width: 135px;
	display: block;
	float: left;
	height: 22px;	
	line-height: 22px;
	margin-right: 15px;	
	text-align: left;
	font-weight: bold;
	color: #555;
}
input {
	padding: 2px;
	margin-right: 15px;
}
input[type=text], input[type=password] {
	border: 1px solid #999;	
	float: left;
	/* background: url(../img/bg_inputs_blue.png) repeat-x left top; */
	padding: 2px 0; 
	color: #222;
	text-indent: 5px;
}
input[type=text]:hover, input[type=text]:focus, input[type=text]:active {
	/* background: url(../img/bg_inputs_blue.png) repeat-x left bottom;  */
}
input[type=password]:hover, input[type=password]:focus, input[type=password]:active {
	/* background: url(../img/bg_inputs_blue.png) repeat-x left bottom;  */
}


input[type=button], input[type=submit] {
	background: url(../img/btn_blue_forms.png) repeat-x 0px 0px!important;
	font-weight: bold;
	padding: 3px 20px!important;
	border: 1px solid #069;
	color: #fff;	
}
input[type=button]:hover, input[type=submit]:hover {
	background: url(../img/btn_blue_forms.png) repeat-x 0px -50px!important;
	cursor: pointer;
}

input:disabled {
	background:#FFF!important;
	border: none!important;
}
input[type=file] {
	background: #fff;
	border: 1px solid #dedede;
	padding: 0px;
	margin-top: 5px;
	width: 300px;
}

select {
	border: 1px solid #777;
	padding: 0px;
	height: 21px;
	/* background: url(../img/bg_inputs_blue.png) repeat-x left top; */
}
select:hover {
	/* background: #fff; url(../img/bg_inputs_blue.png) repeat-x left bottom;  */
}

.input_cod_cliente, .input_cod_obra, .input_cod_colocador { width: 45px!important; }
.input_cliente { width: 325px; }
.input_denom_obra, .input_domicilio, .input_jefe_obra, .input_email { width: 610px; }
.input_observaciones { width: 370px; }
.input_atencion { width: 150px; }
.input_poblacion { width: 504px; }
.label_cp, .label_fax, .input_retencion { width: 15px!important; }
.label_iva { margin-left: 0px; text-align:right; width: 15px!important; }
.input_cp { width: 55px!important; }
.select_iva { width: 55px!important; }
.div_phones input { width: 179px; }
.select_pago { width: 616px; }
.input_button_guardar { padding: 10px 35px; margin-top: 10px; font-size: 16px; font-weight: bold; }
.label_colocador, .label_55px { width: 55px; }
.label_75px {width: 75px;}
.label_35px {width: 35px;}
.label_60px {width: 60px;}
.label_80px {width: 80px;}
.label_85px {width: 85px;}
.label_95px {width: 95px;}
.input_colocador { width: 240px; }
.select_pago_mes { width: 140px; }
.select_pago_ano { width: 80px; }
.input_fecha_pago { width: 170px; }
.calendario { width: 50px; }
.input_importe { width: 226px; }
.input_forma_pago { width: 226px; }
.input_obra { width: 405px; }
.input_cliente_2 { width: 390px; }
.input_235px {width: 235px;}
.input_250px {width: 250px;}
.input_440px {width: 440px;}
.input_80px {width: 80px;}
.label_110px { width: 110px; }
.div_factura input { width: 80px; }
.select_serie_factura { width: 105px; float: left; margin-right: 10px; }

.text_area_obser {width:537px; height:50px;}


.div_height_200{height:200px;}

.ul_linea_fact {
	border-right: 1px solid #333;
	border-left: 1px solid #333;
	border-bottom: 1px solid #333;	
}
.ul_linea_fact li { 
	padding: 0; 
	margin: 0; 
	list-style: none;
}
.ul_linea_fact li ul { 
	margin-top: 0;
}

.li_uno { width: 65px; }
.li_dos { width: 365px; text-align: left!important; padding-left: 15px!important; }
.li_tres { width: 75px; }
.li_cuatro { width: 125px; }
.li_cinco { width: 125px; }
.li_last { border-right: none!important; }

.ul_input {
	height: 25px!important;	
}
.ul_input li input {
	width: 88%!important;	
	margin: 1px;
	border: 1px solid #E7E7E7;
	background: #fefefe;
}
.alert_good, .alert_bad , .alert_blue, .alert_info, .alert_info2 {
	padding: 10px 20px 10px 35px;
	background: url(../img/icon_alert_good.png) no-repeat 7px 8px #D8FCCF;
	border: 1px solid #0C0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-bottom: 15px;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 16px;
	color: #555;
}
.alert_bad {
	background: url(../img/icon_alert_bad.png) no-repeat 9px 8px #FFD7D7;
	border: 1px solid #F00;
}

.alert_blue {
	background: #D9F5FF;
	border: 1px solid #06C;
}
.alert_info { 
	background: url(../img/icon_alert_info.png) no-repeat 11px 12px #fff9d4; 
	border: 1px solid #fbcb8c;
	font-size: 17px;
	color: #600; 
}
.alert_info2 { 
	background: url(../img/ok.png) no-repeat 11px 15px #f4f4f4; 
	border: 1px solid #dedede;
	font-size: 15px;
	color: #666; 
	font-family: Arial, Helvetica, sans-serif;
}

/*=============================================================================================================*/
/**********    AÑADIDO O MODIFICADO EL DÍA 30 NOV    *********/
/*=============================================================================================================*/

/*  ******** Común para todos los subformularios  *************  */

.ul_subform_fact, .ul_subform_partes, .ul_subform_packing, .ul_subform_partes_partes {
	border-right: 1px solid #333;
	border-left: 1px solid #333;
	border-bottom: 1px solid #333;
	position: relative;	
}
.ul_subform_fact li, .ul_subform_partes li, .ul_subform_packing li { 
	padding: 0; 
	margin: 0; 
	list-style: none;
}
.ul_cabecera, .ul_linea { 
	background: #333;
	color: #ccc;
	overflow: hidden;
	height: 27px;
	line-height: 27px;
}
.ul_linea {
	background: #fff;
	color: #555;
	border-top: 1px solid #555;	
}
.ul_linea:hover, .ul_linea:focus { background: #f3f3f3; }

.ul_cabecera li, .ul_linea li {
	float: left;
	text-align: center;
	list-style: none;
}
.ul_cabecera li { border-right: 1px solid #777; font-weight: bold; color: #fff;}
.ul_linea li { border-right: 1px solid #555; }
.ul_cabecera li img, .ul_linea li img { vertical-align: middle; }

/*  ******** Específico del Subformulario Facturas-Presupuestos-Albaranes *************  */

.li_uno { width: 28px; }
.li_dos { width: 95px; overflow: hidden; padding-left: 0px!important; }
.li_tres { width: 445px; text-align: left!important; padding-left: 0px!important; position: relative; }
.li_cuatro { width: 60px; }
.li_cinco { width: 85px; }
.li_seis { width: 60px; }
.li_siete { width: 90px; }
.li_last { border-right: none!important; }

.li_dos .div_cod_text { width: 70px; float: left; text-align: center; }
.li_dos .div_cod_img { width: 20px; float: left; padding-top: 4px; }

.ul_input { height: 27px!important; }
.ul_input li { overflow: hidden; }
.ul_input li input {
	height: 25px;
	line-height: 25px!important;
	width: 90%!important;	
	margin: 1px;
	border: none;
	background: none;
	text-align: right; 
}

.li_dos .input_linea_cod { text-align: left; }
.li_tres .input_linea_concepto { width: 90%!important; text-align: left!important;}
.li_siete .input_linea_importe { width: 95%!important; }

/*  ******** Específico del Subformulario partes_partes *************  */
.ul_subform_partes_partes .li_uno { width: 40px; text-align: center; }
.ul_subform_partes_partes .li_dos { width: 90px; padding-left: 10px!important; }
.ul_subform_partes_partes .li_tres { width: 575px; padding-left: 10px!important; }
.ul_subform_partes_partes .li_cuatro { width: 110px; text-align: right; border-right: none; padding-right: 10px!important; }
.ul_subform_partes_partes .ul_cabecera, .ul_subform_partes_partes .ul_linea, .ul_subform_partes_partes .ul_input, .ul_subform_partes_partes input { height: 35px!important; line-height: 35px!important; font-size: 16px!important; }
.ul_subform_partes_partes .li_dos .div_cod_img { padding-top: 9px; }
.ul_subform_partes_partes .div_conc_img {top:10px;}

/*  ******** Específico del Subformulario Paking list *************  */

.ul_subform_packing input { width: 100%!important; }
.ul_subform_packing .li_uno { width: 28px; }
.ul_subform_packing .li_dos { width: 95px; overflow: hidden; padding-left: 0px!important; text-align: center!important;}
.ul_subform_packing .li_tres { width: 295px; text-align: center!important; padding-left: 0px!important; position: relative; }
.ul_subform_packing .li_cuatro { width: 60px; }
.ul_subform_packing .li_cinco { width: 60px; }
.ul_subform_packing .li_seis { width: 90px; }
.ul_subform_packing .li_siete { width: 120px; }
.ul_subform_packing .li_ocho { width: 120px; text-align: center!important; }
.ul_subform_packing .li_last { border-right: none!important; }

/*  ******** Específico del Subformulario Facturas-Presupuestos-Albaranes *************  */

.ul_subform_partes {
	margin-top: 35px;	
}

.ul_subform_partes .li_uno { width: 28px; }
.ul_subform_partes .li_dos { width: 120px; overflow: hidden; padding-left: 0!important; }
.ul_subform_partes .li_tres { width: 285px; text-align: left!important; padding-left: 0px!important; position: relative; }
.div_conc_img { position: absolute; right: 5px; top: 5px; width: 20px; height: 20px; }
.ul_subform_partes .li_cuatro { width: 40px; }
.ul_subform_partes .li_cinco { width: 55px; }
.ul_subform_partes .li_seis { width: 50px; }
.ul_subform_partes .li_siete { width: 70px; }
.ul_subform_partes .li_ocho { width: 55px; }
.ul_subform_partes .li_nueve { width: 55px; }
.ul_subform_partes .li_diez { width: 70px; }
.ul_subform_partes .li_once { width: 35px; }
.ul_subform_partes .li_last { border-right: none!important; }

.ul_subform_partes .li_dos .div_cod_text { width: 95px; float: left; text-align: center; }
.ul_subform_partes .li_dos .div_cod_img { width: 20px; float: left; padding-top: 4px; }

.ul_subform_partes .ul_input { height: 27px!important; }
.ul_subform_partes .ul_input li { overflow: hidden; }
.ul_subform_partes .ul_input li input {
	height: 25px;
	line-height: 25px!important;
	width: 90%!important;	
	margin: 1px;
	border: none;
	background: none;
	text-align: right; 
}

.ul_subform_partes .li_dos .input_linea_cod { text-align: left; width: 90%!important; }
.ul_subform_partes .li_tres .input_linea_concepto { width: 85%!important; text-align: left!important;}
.ul_subform_partes .li_siete .input_linea_importe { width: 95%!important; }

.tab_colocador, .tab_cliente, .tab_marcar {
	position: absolute;
	width: 175px;
	height: 20px;
	line-height: 20px;
	top: -21px;
	background: #9ACD32;
	color: #fff;
	left: 508px;
	text-align: center;
	font-weight: bold;
	font-size: 11px;
	border: 1px solid #333;
	border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;	
}
.tab_cliente {
	left: 686px;
	width: 180px;	
}
.tab_marcar {
	left: 0px;
	width: 195px;	
}
.tab_marcar img {
	vertical-align: middle;
	margin-right: 5px;	
}

.li_check { width: 30px; text-align: center; }
.li_check input { margin: 0!important; }

/*=======    DIV INFERIOR CON EL RESUMEN DE FACTURA     ========

.div_resumen_fact  {  
	margin: 15px 0;
	width: 800px;
}
.ul_resumen_fact {
	border-top: 1px solid #333;
	border-left: 1px solid #333;
	border-right: 1px solid #333;
	width: auto;
	overflow: hidden;
	padding: 0;
	margin: 0;
	width: 800px;	
}
.ul_resumen_fact li {
	list-style: none;
	color: #333;
}
.ul_resumen_fact .li_title, .ul_resumen_fact .li_datos {
	width: 143px;
	padding: 0 10px;
	float: left;
	border-right: 1px solid #333;
	border-bottom: 1px solid #333;	
	height: 24px;	
	line-height: 24px;
	font-weight: bold;	
}
.ul_resumen_fact .li_datos {
	clear: right;
	width: 97px!important;
	border-right: #333!important;
	text-align: right;
	}  */


	/*=============================================================================================================*/
	/**********    AÑADIDO O MODIFICADO EL DÍA 02 DIC    *********/
	/*=============================================================================================================*/

	.div_form_conceptos {
		width: 600px;
		border: 1px solid #999;
		padding: 25px;	
	}
	.ul_subform_conceptos {
		border-right: 1px solid #333;
		border-left: 1px solid #333;
		border-bottom: 1px solid #333;
		position: relative;	
	}
	.ul_subform_conceptos { 
		padding: 0; 
		margin: 0; 
		list-style: none;
	}
	.ul_subform_conceptos .li_uno { width: 95px; overflow: hidden; }
	.ul_subform_conceptos .li_dos { width: 400px; text-align: left!important; padding-left: 15px!important; }
	.ul_subform_conceptos .li_tres { width: 85px; padding-left: 0!important; text-align: center!important; }

	.ul_subform_conceptos .li_uno .div_cod_text { width: 70px; float: left; text-align: center; }
	.ul_subform_conceptos .li_uno .div_cod_img { width: 20px; float: left; }

	.ul_subform_conceptos .ul_input { height: 30px!important; }
	.ul_subform_conceptos .ul_input li { overflow: hidden; }
	.ul_subform_conceptos .ul_input li input {
		height: 25px;
		line-height: 25px!important;
		width: 90%!important;	
		margin: 1px;
		border: none;
		background: none;
		text-align: right; 
	}

	.ul_subform_conceptos .li_uno .input_linea_cod { text-align: center; }
	.ul_subform_conceptos .li_dos .input_linea_concepto { width: 97%!important; text-align: left!important;}
	.ul_subform_conceptos .li_tres .input_linea_precio { width: 95%!important; text-align: right!important; }

	/*=============================================================================================================*/
	/**********    AÑADIDO O MODIFICADO EL DÍA 03 DIC    *********/
	/*=============================================================================================================*/

	.label_70px { width: 75px!important; }
	.input_colocador_2 { width: 405px; }
	.div_factura label { width: 58px; }

	/*=======    DIV INFERIOR CON EL RESUMEN DE FACTURA     ========*/

	.div_resumen_fact  {  
		margin: 15px 0;
		position: relative;
	}
	.ul_resumen_fact {
		overflow: hidden;
		padding: 0;
		margin: 0;	
	}
	.ul_resumen_fact li {
		list-style: none;
		color: #333;
		width: auto;
	}
	.ul_resumen_fact li ul {
		width: auto;
		overflow: hidden;	
	}
	.ul_resumen_cabec li, .ul_resumen_input li {
		float: right;
		width: 125px;
		height: 25px;
		line-height: 25px;
		text-align: center;
		border: 1px solid #333;
		margin-left: 2px;
	}
	.ul_resumen_cabec li {
		background: #333333;
		color: #fff!important;
		font-weight: bold;
		margin-bottom: 3px;	
	}
	.ul_resumen_input li {
		border-bottom: 1px solid #333;
	}
	.ul_resumen_input li input {
		text-align: right;
		width: 97%;
		height: 20px;
		line-height: 20px;
		border: none;
	}
	/* ******  Textarea de Condiciones para Presupuestos  ********  */

	.txta_condiciones {
		width: 615px;
		height: 150px;
		padding: 10px;
		border: 1px solid #999;	
	}


	/*=============================================================================================================*/
	/**********    AÑADIDO O MODIFICADO EL DÍA 06 DIC    *********/
	/*=============================================================================================================*/

	.button_guardar_resumen {
		text-align: center;	
	}
	.div_guardar_button {
		position: absolute;
		top: 0px;
		left: -220px;	
	}


	/*=============================================================================================================*/
	/**********    AÑADIDO O MODIFICADO EL DÍA 16 DIC    *********/
	/*=============================================================================================================*/

	.tab_anadir_obra {
		bottom: -20px;
		left: -1px;
		position: absolute;
		height: 19px;
		line-height: 19px;
		width: 150px;
		text-align: center;
		background: #555;
		color: #fff;		
	}
	.tab_anadir_obra a, .tab_marcar a {
		color: #fff;	
	}

	.ul_tarifa_gen .li_uno, .ul_anadir_concepto .li_uno { width: 28px; }
	.ul_tarifa_gen .li_dos { width: 140px; overflow: hidden; }
	.ul_anadir_concepto .li_dos { width: 130px; overflow: hidden; }
	.ul_tarifa_gen .li_tres, .ul_anadir_concepto .li_tres { width: 378px; text-align: left!important; padding-left: 15px!important; }
	.ul_tarifa_gen .li_cuatro, .ul_anadir_concepto .li_cuatro { width: 70px; }
	.ul_tarifa_gen .li_cinco, .ul_anadir_concepto .li_cinco { width: 40px; }
	.ul_tarifa_gen .li_seis, .ul_anadir_concepto .li_seis { width: 100px; }
	.ul_tarifa_gen .li_siete, .ul_anadir_concepto .li_siete { width: 100px; }

	.ul_tarifa_gen .extend { width: 414px!important; }

	.div_select_cat {
		margin: 10px 0;	
	}
	.div_select_cat label {
		width: 250px;	
	}

	.ul_paginacion {
		width: auto;
		overflow: hidden;
		margin-top: 15px;
	}
	.ul_paginacion li {
		float: left;
		margin-right: 5px;
		list-style: none;
	}
	.ul_paginacion li a, .ul_paginacion .li_no_act {
		display: block;
		width: 30px;
		height: 30px;
		line-height: 30px;
		border: 1px solid #069;
		text-align: center;
		font-size: 12px;
	}
	.ul_paginacion li a:hover {
		background: #333;
		color: #fff!important;
		border: 1px solid #000;
	}
	.ul_paginacion .li_no_act{
		background: #069!important;
		color: #fff!important;
		font-weight: bold;
	}

	.div_buscar_concepto {
		width: auto;
		overflow: hidden;
		margin-bottom: 10px;
		padding-bottom: 10px;	
	}
	.div_buscar_concepto ul {
		width: auto; 
		overflow: hidden;	
	}
	.div_buscar_concepto ul li {
		float: left;
		list-style: none;	
	}
	.div_buscar_concepto ul li input{
		width: 90%;
	}
	.div_buscar_concepto ul .li_uno {
		width: 100px;	
	}
	.div_buscar_concepto ul .li_dos {
		width: 100px;	
	}
	.div_buscar_concepto ul .li_tres {
		width: 540px;	
	}
	.div_anadir_concepto {
		margin-bottom: -30px;
	}
	.ul_anadir_concepto { border: 1px solid #555; }
	.ul_anadir_concepto .extend { width: 340px; }
	/* .ul_anadir_concepto .li_dos, .div_buscar_concepto .li_dos { padding-left: 0!important; } */
	.ul_anadir_concepto .li_dos .div_cod_text {width: 90%;}

	.ul_anadir_categoria {
		border-left: 1px solid #333;
		border-right: 1px solid #333;	
	}
	.ul_anadir_categoria .li_dos {
		width: 140px;	
	}
	.ul_anadir_categoria .li_tres {
		width: 645px;	
	}
	.ul_anadir_categoria .div_cod_text {
		width: 140px;	
	}
	#ul_conceptos_tarifa {
		margin-top: 30px;	
	}
	#ul_conceptos_tarifa .li_dos {
		width: 130px;	
	}
	#ul_conceptos_tarifa .li_tres {
		width: 380px!important;	
	}
	#ul_conceptos_tarifa .div_cod_text {
		width: 140px;
	}	

	.div_fact_btns {
		position: absolute;
		top: -61px;
		left: -48px;
		width: 210px;
		height: 35px;
	}
	.div_fact_btns a {
		color: #fff;
		font-weight: bold;	
	}
	.div_fact_origen, .div_fact_anterior {
		width: 90px;
		height: 28px;
		padding: 5px;
		position: absolute;	
		top: 0;
		left: 0;
		background: #555;
		color: #fff;
		font-size: 11px;
		text-align: center;
	}
	.div_fact_anterior { left: 105px; }

	.ul_auto {
		overflow: auto;
		max-height: 200px;	
	}
	.ul_auto_big {
		overflow: auto;
		max-height: 385px;	
	}
	.ul_sin_margin {
		margin: 0!important;	
	}
	.input_linea_active {
		background: #BCD2FF!important;
		font-weight: bold;
		text-align: left!important;	
	}
	.div_buscar {
		width: 90px;
		float: left;
		background: #9ACD32;
		color: #fff;
		font-weight: bold;
		height: 43px;
		line-height: 43px;
		margin-right: 15px;
		text-align: center;	
	}
	.btn_atras {
		margin: 10px;	
	}
	.btn_atras a {
		background: url(../img/btn_blue_forms.png) repeat-x 0px 0px!important;
		font-weight: bold;
		height: 24px;
		padding: 3px 20px!important;
		border: 1px solid #069;
		color: #fff;	
	}
	.btn_atras a:hover {
		background: url(../img/btn_blue_forms.png) repeat-x 0px -50px!important;	
	}

	.div_cabecera_resumen {
		margin: 10px;	
	}
	.div_cabecera_resumen table {
		background: #f3f3f3;
		padding: 10px;
		border: 1px solid #D2D2D2;	
	}
	.div_cabecera_resumen table tr td {
		padding-right: 20px;
		padding-bottom: 2px;	
	}
	.div_tabla {
		margin: 10px;
		padding: 10px;
		border: 1px dashed #069;	
	}
	.td_titulo_1, .td_titulo_2 {
		padding: 10px;
		font-weight: bold;
		color: #FFF!important;
		background: #C00;	
	}
	.td_titulo_2 {
		background: #9ACD32;
		color: #333;	
	}
	#tabla_1, #tabla_3 {
		background: #FFD5D5;
		padding-bottom: 5px;
	}
	#tabla_2, #tabla_4 {
		background: #E8F3CF;
		padding-bottom: 5px;
	}
	.tabla_obra_doc th {
		padding: 5px 0;
		border-bottom: 1px dashed #fff;
		font-size: 15px;
	}
	.tabla_obra_doc td {
		background: #fafafa;
		color: #555;
		padding: 3px 0;
	}
	.tr_cabecera td {
		background: #fff!important;
		color: #079;
		height: 20px;
		font-weight: bold;
	}
	.td_total {
		background: #f7f7f7!important;
		color: #444!important;
		font-weight: bold;	
	}
	#tabla_totales {
		border: 1px dashed #888;
		background: #de9;
		padding: 10px;
		margin: 10px 0;
		text-transform: uppercase;
		font-weight: bold;
	}
	#tabla_totales .tr_1 td {
		padding: 5px;
		border-bottom: 1px dashed #555;
		margin-bottom: 10px;
		font-size: 18px;
	}
	.tr_2 td, .tr_3 td, .tr_4 td { 	padding: 5px 10px;	color: #FFF; font-weight: bold; }
	.tr_2 { background: #c7e956; }
	.tr_3 { background: #e16448;}
	.tr_4 { background: #069; }

	.textarea_aumento{
		width: 300px;
		height: 200px;
	}

	/*===================*/

	/* ===  REGLAS PARA POPUPS  === */

	a{
		outline:0;
		outline-style:none;
	}

	.fondotransparente {
		/*Div que ocupa toda la pantalla*/
		position:fixed;
		top:0px;
		left:0px;
		width:100%;
		height:100%;
		background-color:#fff;
		/*IE*/
		filter: alpha(opacity=70);
		/*FireFox Opera*/
		opacity: .7;
	}

	.popup {
		padding: 0;
		position: fixed;   
		background: #fff;
		border: 3px solid #333; 
		overflow:auto;
		border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
		/*  //max-height: 500px;  */
	}
	.popup h2 {
		position: relative;
		top: 0px;
		padding: 10px 25px;
		background: #333;
		color: #fff;
		margin: 10px 0;	
	}
	#aumento {
		padding: 20px;	
		width: 600px;
	}
	.textarea_aumento {
		margin-top: 35px;
		padding: 10px;
		width: 575px;	
	}
	.div_cerrar_popup, .div_cerrar_aumento {
		position: relative;
		top: 15px;
		right: 20px;
		z-index: 1;
		text-align: right;
		margin-bottom: 0px;	
	}
	.div_cerrar_popup a, .div_cerrar_aumento a {
		color: #fff;
		padding: 5px 12px;
		background: #ef823f;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		text-shadow: 0px 1px 1px #333; 	
	}
	.div_cerrar_popup a:hover, .div_cerrar_aumento a:hover {
		background: #555;	
	}
	.popup .div_opciones_sup {
		margin: 15px 0 0 0;	
	}
	.no_popup {
		width: 500px;
		margin: 0 auto;	
	}
	.no_popup .div_opciones_sup {
		margin: 15px 0 0 0;
	}
	.no_popup .div_opciones_sup input {
		margin-right: 0;
	}
	.wide_popup { width: 900px; }

	/*--- Tablas los popups ----*/
	.tb_popup {
		width: 500px;
		margin-top: 0;
		font-size: 13px;
		font-weight: bold;
		color: #333;
		border-top: 1px solid #bdbdbd;
	}
	.tb_popup tr {
		margin-bottom: 3px;
	}	
	.tb_popup tr td {
		padding: 0;
		height: 15px;
		border-right: 1px solid #bdbdbd;
		border-bottom: 1px solid #bdbdbd;
	}
	.tb_popup tr td input {
		width: 100%;
		height: 100%;
		border: none!important;
		margin-right: 0;
		background: #fafafa;	
	}
	.tb_popup tr td input:hover, .tb_popup tr td input:focus {
		background: #eaf2ff;
		cursor: pointer;	
	}
	.tb_popup tr td:first-child {
		border-left: 1px solid #bdbdbd;
		padding: 5px;
		width: 180px;
		text-align: right;	
	}
	.tb_popup tbody tr:hover, .tb_popup tbody tr:focus {
		background: #eaf2ff;	
	}
	/*-----------------*/


	.titulomenu
	{
		background-color:#0033CC;
		color:#FFFFFF;
		text-align:center;
		font-size:14px;
		font-weight: bold;
		border: 1px solid #FFFFFF;
		-moz-border-radius: 5px;
		border-radius: 5px;
		margin-bottom:5px;
		padding-bottom:3px;
	}

	.navi {  
		padding:10px;
		float:left;
		width:170px;
		text-align:center;
		background-color:#C8C1FF;

	}
	.menuprin li {
		list-style:none;
		margin-left:-35px;
		text-align:center;
		font-weight:bold;
		padding:1px;
	}
	.menuprin li a {
		display:block; 
		padding-left:10px;
		width:150px;
		text-decoration:none;
		text-align:left;
		font-weight:bold;
		font-size:16px;
		color:#FFFFFF;
		border: 1px solid #F0F0F0;
		-moz-border-radius: 7px;
		border-radius: 7px;
		background-color:#CCCCCC;
	}
	.menuprin li a:hover {
		color:#990000;
		background-color:#6D78FC;
		text-align:center;
	}

	.menusec  {
		margin-left:-35px;
		text-align:left;
		font-weight:bold;
		padding:1px;

	}

	.central {
		width: 960px;
		margin: 0 auto;
		height:auto;
		min-height: 400px;
		overflow:hidden;
		padding: 5px 0 15px;	
	}
	.central a:link{
		font-weight:bold;
		text-decoration:none;
		font-size:11px;
	}
	.central a:visited{
		font-weight:bold;
		text-decoration:none;
	}

	.abajo{
		height: 100px;
		clear:left;
		padding:10px;
		margin-top: 100px;
		border-top: 1px solid #999;
		background: url(../img/bg_body.png) repeat;	
		color: #777;
		font-weight: bold;
	}
	#content_footer {
		width: 960px;
		margin: 20px auto;
		text-align: center;
	}
	#logo_footer {
		margin: 10px 0;	
	}

	.facizq{

		float:left; 
		background-color:#FFFFFF;
		border:10px solid #CCCCCC;
		padding:10px;
		font-weight:bold;
		font-size:12px;
	}
	.enlacedesplegable {
		background-color:#003366;
		margin-bottom:5px;
		margin-top:-10px;
		margin-right:-10px;
		margin-left:-10px;
		padding:10px;
	}
	.enlacedesplegable a:link {
		font-size:12px;
		color:#FFFFFF;
	}
	.enlacedesplegable a:visited {
		font-size:12px;
		color:#FFFFFF;
	}
	.datosfactura{
	}
	.documentos{
		background-color:#FFFFFF;
		margin-top:0px;
		margin-top:5px;
		overflow:auto;
	}
	.enlacesdocumentos{
		text-align:left;
	}
	.enlacesdocumentos a:link{
		background-color:#999999;
		color:#CCFFCC;
		border:1px solid #CCCCCC;
		font-size:12px;
		margin-right:30px;
		margin-bottom:0px;
		padding:5px;
	}
	.opciones{
		font-size:12;
		font-weight:bold;
		padding:5px;
		background-color:#999999;
		color:#FFFFFF;
		text-align:left;
		border:3px solid #CCCCCC;
		margin-bottom:5px;
	}
	.resultado{
		position:absolute;
		width:230px;
/*height:200px;
/*top:50%;
margin-top:-100px;
left:50%;
margin-left:-100px;*/
text-align:left;
background-color:#009966;


}
.linkauto{
	list-style:none; margin:0; padding:0; text-align:left;
	margin-bottom:10px;
	width:100%;
	padding-top:5px;

	margin:0px;
}
.linkauto a{
	display:block;
	padding:3px 7px 5px;
}
.linkauto a:link{
	color:#000000;
}
.linkauto li a:hover{
	color:#FFFFFF;
	background-color:#003300;
}

.textopresu{
	background-color:#FFFFFF;
	padding:20px;
}
input[type=text],input[type=password],textarea,select{
	background-color:#EFEFEF;
	border:1px solid #AAA;
	padding:0px;
	font-size:12px;
	color:#444;
}
input.disabled{
	background-color:#FFF!important;
}
.one{
	width:100%; 
	margin-bottom:10px;
	margin-right:2%;
	float:left;
}
.one_half{ width:49%; }
.one_third{ width:32%; }
.two_third{ width:66%; }
.one_fourth{ width:23%; }
.three_fourth{ width:75%; }
.one_fiveth{ width:18%; }
.one_half,.one_third,.two_third,.three_fourth,.one_fourth,.one_fiveth{
	
	margin-right:2%;
	margin-bottom:4px;
	float:left;
}
.last{
	margin-right:0 !important;
	clear:right;
}
.aimg{
	border:0px;
	vertical-align:middle;
}

/*=====================================*/

.fechaCobrada input{
	width:80px;
	margin-right: 10px!important;
	border:0;
	background-color:transparent;
	text-align: center;
}
.ffdatos{
	width:90%;
	margin:0 auto;
	border:1px solid #000099;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding:10px 10px 10px 10px;
	overflow:auto;
}
.fftitulo{
	width:90%;
	height:30px;
	margin:0 auto;
	background-color:#000099;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color:#FFFFFF;
	padding:5px 10px 5px 10px;
	text-align:left;
	font-weight:bold;
}
.ffopciones{
	background-color:#FFFFCC;
	color:#666666;
	float: right;
	margin: -3px;
	text-align: center;
	width: 60%;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.ffserie{width:165px; float:left; margin-right:2px;}
.ffnumero{width:165px; float:left; margin-right:2px;}
.fffecha{width:165px; float:left; margin-right:2px;}
.ffiva{width:165px; float:left; margin-right:2px;}
.ffirpf{width:80px; float:left; margin-right:0; clear:right;}

#contenedorFacPro{
	width:100%;
	margin: 0 auto;
	overflow:auto;
}
#contenedorFacPro div{
//border:1px solid red;
text-align:center;

}

#datosFacPro{
	margin:0 auto;
	width:55%;
	float:left;
	text-align:center;

	padding:10px;
}

#datosFacProPro{
	width:40%;
	float:left;

}

.observaciones{
	width:95%;
	float:left;
	padding:10px;
	text-align:center;
}
.observaciones textarea{
	width:95%;
	height:130px;
}
.linea{
	height:30px;
	width:100%;
	overflow:auto;
}
.proveedor{
	height:50px;
	width:90%;
	overflow:auto;
}
.proveedor input{
	width:90%;
}
.clear{
	clear:both;
}
.numero{
	height:50px;
	width:96px;
	float:left;
}
.numero input{
	width:90px;
}
.fecha {
	height:50px;
	width:148px;
	float:left;
}
.fecha input{
	width:90px;
}
.euros{
	height:50px;
	width:170px;
	float:left;
}
.euros input{
	width:150px;
}
.iva{
	height:50px;
	width:95px;
	float:left;
}

.opcionesgenerales{
	border: 10px solid #CCCCCC;
	padding:5px;
	margin-bottom:5px;
}
.tituloopge{
	width:120px;
	background-color:#CCCCCC;
	text-align:center;
	padding:5px;
	margin: -5px 0px -5px -5px;
	font-weight:bold;
	color:#FFFFFF;
	background-color:#003366;
}
.distintasopciones{
	float:right;
	position:relative;
	top:-26px;

}
.distintasopciones ul{
	list-style:none;
	position:relative;
	float:right;
	top:0px;

}
.distintasopciones li{
	position:relative;
	float:left;
	margin-right:60px;
	text-align:center;
}
.distintasopciones a{
	display:block;

}
.titulo{
	background-color:#003366;
	text-align:center;
	color:#FFFFFF;
	font-weight:bold;
	padding:10px;
	margin-bottom:5px;
	margin-top:-10px;
	margin-right:-10px;
	margin-left:-10px;
}
.titulo1{
	font-weight:bold;
	text-align:center;
	background-color:#003366;
	color:#FFFFFF;
}

.titulomat{
	width:150px;
	float:left;
	text-align:left;
}

.datoscliente div{
	text-align:left;
}
.datosentera{
	width:100%;
	margin-top:10px;
	text-align:center;
	clear:both;
}
.datosfecha{
	width:190px;
	float:left;
	text-align:right;
}
.datosfecha img{
	margin-bottom:4px;
}
.btn_mod{
	width:75px;
	float:left;
}
.titulorepa{
	width:250px;
	float:left;
}
.matricula{
	width:110px;
	font-size:20px;
	font-weight:bold;
	text-align:left;
}

.datosopciones{
	margin-top:10px;
}
.enlaceopciones{
	margin-top:5px;
}
.detalles{
	width: 530px;
	float: right;
	margin-bottom:0px;
	background-color:#FFFFFF;
	border:10px solid #CCCCCC;
	padding:10px;
	font-weight:bold;
	font-size:12px;
}
.reparacion div{

}
.reparacion textarea{
	width:530px;
	height: 100px;	
}
#detallesrepa{
	width: 530px;
	float: right;
	margin-bottom:5px;
	background-color:#FFFFFF;
	border:10px solid #CCCCCC;
	padding:10px;
	font-weight:bold;
	font-size:12px;
}

#detallesrepapro{
	padding:3px 0px 3px 0px;
	width:568px; 
	float:right;
}
#detallesrepapro div{
	margin:2px 0px 5px px;	
	font-weight:bold;
	border-bottom:1px solid #cccccc;
	padding-right:3px;
	padding-top:5px;
	padding-bottom:5px;
	vetical-align:text-bottom;
	height:20px;
	text-align:center;
}

#detallesrepapro input:disabled{
	color:#000000;
	border:0px;
	background-color:#ffffff;
}
#detallesrepapro textarea:disabled{
	color:#000000;
	border:0px;
	background-color:#ffffff;
}

.titulopro{
	width:400px;
	margin-left:50px;
	float:left;
	text-align:left;
}
.cant{
	width:35px;
	float:left;
}
.cant input{
	width:32px;
	text-align:right;
}
.produ{
	width:265px;
	float:left;
}
.produ input{
	width:264px;
	text-align:left;
}
.produ textarea{
	width:264px;
	text-align:left;
	height:18px;
}
.precio{
	width:60px;
	float:left;
}
.precio input{
	width:57px;
	text-align:right;
}
.dto{
	width:35px;
	float:left;
}
.dto input{
	width:32px;
	text-align:right;
}
.importe{
	width:60px;
	float:left;
}
.importe input{
	width:57px;
	text-align:right;
}
.btnmod{
	width:35px;
	float:left;
	text-align:center;
}
.btnmodup{
	width:45px;
	margin-top:-13px;
	float:left;
	text-align:center;
}
.total{
	margin-right:50px;
	margin-top:10px;
	text-align:right;
	font-size:12px;
	width:150px;
	float:right;
}
.enlaceboton {    font-family: verdana, arial, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	padding: 7px;
	background-color: #999999;
	color: #FFFFFF;
	text-decoration: none;
}
.enlaceboton:link,
.enlaceboton:visited {
	border-top: 1px solid #cccccc;
	border-bottom: 2px solid #666666;
	border-left: 1px solid #cccccc;
	border-right: 2px solid #666666;
}
.enlaceboton:hover {
	border-bottom: 1px solid #cccccc;
	border-top: 2px solid #666666;
	border-right: 1px solid #cccccc;
	border-left: 2px solid #666666;
	cursor: pointer;
}
.btnguardar{
	width:150px;
	margin:auto;
/*padding:5px;
background-color:#CCCCCC;
border:2px solid red;*/
text-align:center;
clear:both;
}
.btnguardar img{
	vertical-align:middle;
	border:0px;
}

/*============================*/

#print_general {
	width: 740px;
	margin: 40px auto;	
	position: relative;
}
#print_general table {
	font-size: 11px!important;
}
#print_general p {
	margin-bottom: 10px;	
}
#print_general img {
	margin: 10px!important;	
}
#print_general h1 {
	text-align: center;	
}
#btn_print {
	display: block;
	width: 90px;
	border-radius: 20px;
	background: #46CDF6 url(../img/btn_print.png) no-repeat 15px center;
	padding: 10px 10px 10px 35px;
	color: #fff;
	text-align: center;	
	margin-bottom: 15px;
}
#btn_print:hover {
	background: #006699 url(../img/btn_print.png) no-repeat 15px center;
}


/* === Tab with frame === */
.tabcontainer, .tabcontainer_full {
	margin:20px auto 15px;
	color:#828282;
	font-size: 12px;
	width: 715px;
}

.tabcontainer_conf{
	margin:20px auto 15px;
	color:#828282;
	font-size: 12px;
	width: 893px;
}
.tabcontainer_full { width: 949px; }

.tabcontainer.facturas {
	width: 100%;
}

.tabcontainer.facturas .tabs {
	height: 41px;
}

.tabcontainer.facturas .tabs li.active {
	height: 40px;
	top: -3px;
}

.tabcontainer.facturas #tab_body {
	border: none !important;
}

.tabcontainer.facturas #tab_body .tab_content {
	padding: 20px 0 0;
}

.tabcontainer.facturas #tab_body .tab_content .div_form {
	padding: 25px 0;
}

ul.tabs {
	list-style: none;
	height: 37px;
	width: 100%;
}
ul.tabs li {
	float: left;
	padding: 0;
	height: 36px;
	line-height: 20px;
	background: #fff;
	overflow: hidden;
	position: relative;
	font-size:10px;
	text-transform:uppercase;
	font-weight: bold;
	text-align: center;
	display: block;
	border: 1px solid #42C7FF;
	margin-left: -1px;
}
ul.tabs li:hover{
	/* border-bottom: 1px solid #fff;  */
	display: block;
}
ul.tabs li:first-child { margin-left: 0!important; }	
ul.tabs li a {
	text-decoration: none;
	color: #666;
	padding: 0 10px;
	padding-top: 10px;
	outline: none;
	height: 36px;
	background: #d9ebff;
	font-weight: bold;
	font-size: 11px;
	display: block;
	width: 216px;
}
ul.tabs li a:hover { color: #006; }

ul.tabs #li_tab_3 { width: 219px; } 

.config li a {width: 157px!important;}
#li_tab_4 {width: 159px!important;}

html ul.tabs li.active, html ul.tabs li.active a:hover  {
	background: #FFF;
	color:#036;
	border-bottom: 1px solid #FFF;
}
html ul.tabs li.active a{
	color:#036;
	background: #FFF;
}
#tab_body{
	font-size: 14px;
	border-right: 1px solid #42C7FF;
	border-bottom: 1px solid #42C7FF;
	border-left: 1px solid #42C7FF;
	overflow: hidden;
	width: auto;
	margin-top: 1px;
}
#tab_body p { padding-bottom: 10px; }

.tab_content {
	padding: 10px 25px 30px;
	background: #FFF;
	text-align: justify;
	position: relative;
	margin-bottom: 5px;
}
/*
.tab_content h2 {
	margin-bottom: 15px;
	border-bottom: 3px solid #42C7FF;
	color: #222;
	padding: 0px;	
}
*/
.tab_content .tb_popup {
	margin: 0 auto;	
}
.td_submit {
	padding: 0!important;
}
.td_submit input {
	padding: 0!important;
	height: 29px!important;
	cursor: pointer;
	background: url(../img/btn_blue_forms_30.png) repeat-x 0px 0px!important;	
}
.td_submit input:hover {
	background: url(../img/btn_blue_forms_30.png) repeat-x 0px -30px!important;	
	cursor: pointer;
}


/*=======  REGLAS PARA BLOQUES x12  ======*/
.entry_bk {
	width: auto;
	overflow: hidden;
	margin-bottom: 7px;
	min-height: 21px;	
}
.block {
	float:left;
	margin-left:20px; 
	min-height: 25px;
	line-height: 25px;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: bold;
	font-size: 13px;
	color: #333;
}
.block img, .block a img { margin-right: 8px; margin-top: 3px; float: left; vertical-align: middle; }
.block .input_fecha { width: 80%; }
.block #numero { width: 105px!important; }
.sin_margen { margin-left: 5px!important; }
.ui-datepicker-trigger { margin-top: 4px; }
.block input, .block select {
	width: 100%;
	height: 25px;
	border: none;
	border-bottom: 1px solid #bbb;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background: #EEF7EE;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: bold;
	font-size: 13px;
	color: #333;
}
.block input:hover, .block input:focus {
	background: #F5ECE7;
	cursor: pointer;
}
.block .input_button_guardar { height: 25px; }
.block .input_cod_cliente { width: 25px; }
.block .input_retencion { width: 35px!important; margin-right: 5px!important; }	
.block .select_serie_factura { width: 60%; } 

.block12{width:940px;}
.block11{width:860px;}
.block10{width:780px;}
.block9{width:700px;}
.block8{width:620px;}
.block7{width:540px;}
.block6{width:460px;}
.block5{width:380px;}
.block4{width:300px;}
.block3{width:220px;}
.block2{width:140px;}
.block1{width:60px;}
.offset12{margin-left:980px;}
.offset11{margin-left:900px;}
.offset10{margin-left:820px;}
.offset9{margin-left:740px;}
.offset8{margin-left:660px;}
.offset7{margin-left:580px;}
.offset6{margin-left:500px;}
.offset5{margin-left:420px;}
.offset4{margin-left:340px;}
.offset3{margin-left:260px;}
.offset2{margin-left:180px;}
.offset1{margin-left:100px;}

.block-strong {
	border-bottom: 2px dotted #009de0;
	text-transform: uppercase;
	font-size: 15px;
}
.input-strong {
	background: #96dfff !important;
	text-align: right !important;
	padding-right: 5px !important;
	color: #004b6b !important;
}

/*=======  REGLAS PARA GRÁFICOS  ======*/

#div_graf_links {
	width: 230px;
	float: left;
	margin-right: 30px;	
}
#ul_graf_links li {
	margin-bottom: 10px;
	border: 1px dashed #069;
	padding: 10px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-color: #EAF9FF;
}
#ul_graf_links li:hover, #ul_graf_links li:focus {
	background-color: #C1EDFF;
	cursor: pointer;
}

#ul_graf_links a {
	display: block;
	color: #069;
	font-size: 15px;
}

#div_graf_graficos {
	width: 700px;
	float: left;	
}

/*=======  REGLAS PARA GRÁFICOS  ======*/

#main_ayuda {
	width: 750px;
	padding: 20px;	
}
#main_ayuda h3 {
	background: #96bf0d;
	color: #fff;
	padding: 3px 20px;
	margin-bottom: 15px;
	font-size: 15px;
	font-weight: bold;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}
#tb_atajos { width: 750px; }

#tb_atajos tr td { padding: 10px;} 

#tb_atajos .td_1 { width: 200px; background: #fafafa; }

#tb_atajos .td_2 { width: 500px; }

#contenedor_trabajadores {width: 880px; margin: 0 auto;}
#contenedor_trabajadores .block a img {margin:0!important;}

.div_seccion_partes {
	border: 1px solid #C30;
	margin-bottom: 15px;
	padding: 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;		
}

.h3_titulo {
	background: #333; 
	color: #fff; 
	text-align: center;
	font-size: 18px;
	line-height: 36px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}
#btn_guardar_parte {
	width: 100%;
	height: 31px;
	line-height: 25px;
	font-size: 22px;
	background: url(../img/btn_blue_forms_30.png) repeat-x 0px 0px!important;	
}
#btn_guardar_parte:hover {
	background: url(../img/btn_blue_forms_30.png) repeat-x 0px -61px!important;
	cursor: pointer;	
}
#btn_anadir_tra {
	background: #C30!important;
	color: #fff!important;	
}

/*  Gestión  de  emails  */
#asunto {padding:0;height: 25px;}
#texto {width:646px;min-height:250px;padding:5px;}

/*  Gestión del tooltip  */
.td_tooltip {
	position:relative!important;
}

.div_tooltip_op {
	position: absolute;
	top: -12px;
	max-width: 200px;
	left: -106px;
	background: #fefefe;
	padding: 10px 10px 5px 10px;
	border: 2px solid #069;
}
.div_tooltip_op a { 
	display: inline-block;
	margin: 0 12px 7px 0;
	width: 21px;
	height: 24px;
	vertical-align: middle;
} 

.div_btn_cerrar_tooltip {
	width: 15px;
	height: 15px;
	position: absolute;
	top: -10px;
	right: -5px;	
}

#div_fecha_right { margin-left: 130px; }

#div_fecha_right p { font-size: 11px; font-weight: bold; margin-bottom: 5px; margin-top: -3px; }

input.btn_clean { 
	width: 50px; 
	height: 33px; 
	margin-top: 10px; 
	background: #EF823F url(../img/icono_clear.png) center center no-repeat!important;
	border: none!important;
	text-indent: -9999px;
}
input.btn_clean:hover {background: #000 url(../img/icono_clear.png) center center no-repeat!important;}


/****** BTN  Bootstrap ***********/

.btn {
	display: inline-block;
	margin-bottom: 0;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
	color: #333333;
	text-decoration: none;
}
.btn:active,
.btn.active {
	outline: 0;
	background-image: none;
	-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
	cursor: not-allowed;
	opacity: 0.65;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
	box-shadow: none;
}
a.btn.disabled,
fieldset[disabled] a.btn {
	pointer-events: none;
}
.btn-default {
	color: #333333;
	background-color: #ffffff;
	border-color: #cccccc;
}
.btn-default:focus,
.btn-default.focus {
	color: #333333;
	background-color: #e6e6e6;
	border-color: #8c8c8c;
}
.btn-default:hover {
	color: #333333;
	background-color: #e6e6e6;
	border-color: #adadad;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
	color: #333333;
	background-color: #e6e6e6;
	border-color: #adadad;
}
.btn-default:active:hover,
.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
	color: #333333;
	background-color: #d4d4d4;
	border-color: #8c8c8c;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
	background-image: none;
}
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus {
	background-color: #ffffff;
	border-color: #cccccc;
}
.btn-default .badge {
	color: #ffffff;
	background-color: #333333;
}
.btn-primary {
	color: #ffffff;
	background-color: #337ab7;
	border-color: #2e6da4;
}
.btn-primary:focus,
.btn-primary.focus {
	color: #ffffff;
	background-color: #286090;
	border-color: #122b40;
}
.btn-primary:hover {
	color: #ffffff;
	background-color: #286090;
	border-color: #204d74;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
	color: #ffffff;
	background-color: #286090;
	border-color: #204d74;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
	color: #ffffff;
	background-color: #204d74;
	border-color: #122b40;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
	background-image: none;
}
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
	background-color: #337ab7;
	border-color: #2e6da4;
}
.btn-primary .badge {
	color: #337ab7;
	background-color: #ffffff;
}
.btn-success {
	color: #ffffff;
	background-color: #5cb85c;
	border-color: #4cae4c;
}
.btn-success:focus,
.btn-success.focus {
	color: #ffffff;
	background-color: #449d44;
	border-color: #255625;
}
.btn-success:hover {
	color: #ffffff;
	background-color: #449d44;
	border-color: #398439;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
	color: #ffffff;
	background-color: #449d44;
	border-color: #398439;
}
.btn-success:active:hover,
.btn-success.active:hover,
.open > .dropdown-toggle.btn-success:hover,
.btn-success:active:focus,
.btn-success.active:focus,
.open > .dropdown-toggle.btn-success:focus,
.btn-success:active.focus,
.btn-success.active.focus,
.open > .dropdown-toggle.btn-success.focus {
	color: #ffffff;
	background-color: #398439;
	border-color: #255625;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
	background-image: none;
}
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus {
	background-color: #5cb85c;
	border-color: #4cae4c;
}
.btn-success .badge {
	color: #5cb85c;
	background-color: #ffffff;
}
.btn-info {
	color: #ffffff;
	background-color: #5bc0de;
	border-color: #46b8da;
}
.btn-info:focus,
.btn-info.focus {
	color: #ffffff;
	background-color: #31b0d5;
	border-color: #1b6d85;
}
.btn-info:hover {
	color: #ffffff;
	background-color: #31b0d5;
	border-color: #269abc;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
	color: #ffffff;
	background-color: #31b0d5;
	border-color: #269abc;
}
.btn-info:active:hover,
.btn-info.active:hover,
.open > .dropdown-toggle.btn-info:hover,
.btn-info:active:focus,
.btn-info.active:focus,
.open > .dropdown-toggle.btn-info:focus,
.btn-info:active.focus,
.btn-info.active.focus,
.open > .dropdown-toggle.btn-info.focus {
	color: #ffffff;
	background-color: #269abc;
	border-color: #1b6d85;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
	background-image: none;
}
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus {
	background-color: #5bc0de;
	border-color: #46b8da;
}
.btn-info .badge {
	color: #5bc0de;
	background-color: #ffffff;
}
.btn-warning {
	color: #ffffff;
	background-color: #f0ad4e;
	border-color: #eea236;
}
.btn-warning:focus,
.btn-warning.focus {
	color: #ffffff;
	background-color: #ec971f;
	border-color: #985f0d;
}
.btn-warning:hover {
	color: #ffffff;
	background-color: #ec971f;
	border-color: #d58512;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
	color: #ffffff;
	background-color: #ec971f;
	border-color: #d58512;
}
.btn-warning:active:hover,
.btn-warning.active:hover,
.open > .dropdown-toggle.btn-warning:hover,
.btn-warning:active:focus,
.btn-warning.active:focus,
.open > .dropdown-toggle.btn-warning:focus,
.btn-warning:active.focus,
.btn-warning.active.focus,
.open > .dropdown-toggle.btn-warning.focus {
	color: #ffffff;
	background-color: #d58512;
	border-color: #985f0d;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
	background-image: none;
}
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus {
	background-color: #f0ad4e;
	border-color: #eea236;
}
.btn-warning .badge {
	color: #f0ad4e;
	background-color: #ffffff;
}
.btn-danger {
	color: #ffffff;
	background-color: #d9534f;
	border-color: #d43f3a;
}
.btn-danger:focus,
.btn-danger.focus {
	color: #ffffff;
	background-color: #c9302c;
	border-color: #761c19;
}
.btn-danger:hover {
	color: #ffffff;
	background-color: #c9302c;
	border-color: #ac2925;
}
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
	color: #ffffff;
	background-color: #c9302c;
	border-color: #ac2925;
}
.btn-danger:active:hover,
.btn-danger.active:hover,
.open > .dropdown-toggle.btn-danger:hover,
.btn-danger:active:focus,
.btn-danger.active:focus,
.open > .dropdown-toggle.btn-danger:focus,
.btn-danger:active.focus,
.btn-danger.active.focus,
.open > .dropdown-toggle.btn-danger.focus {
	color: #ffffff;
	background-color: #ac2925;
	border-color: #761c19;
}
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
	background-image: none;
}
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus {
	background-color: #d9534f;
	border-color: #d43f3a;
}
.btn-danger .badge {
	color: #d9534f;
	background-color: #ffffff;
}
.btn-link {
	color: #337ab7;
	font-weight: normal;
	border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link.active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
	background-color: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
	border-color: transparent;
}
.btn-link:hover,
.btn-link:focus {
	color: #23527c;
	text-decoration: underline;
	background-color: transparent;
}
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
	color: #777777;
	text-decoration: none;
}
.btn-lg,
.btn-group-lg > .btn {
	padding: 10px 16px;
	font-size: 18px;
	line-height: 1.3333333;
	border-radius: 6px;
}
.btn-sm,
.btn-group-sm > .btn {
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 3px;
}
.btn-xs,
.btn-group-xs > .btn {
	padding: 1px 5px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 3px;
}
.btn-block {
	display: block;
	width: 100%;
}
.btn-block + .btn-block {
	margin-top: 5px;
}
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
	width: 100%;
}


/***** Prescripciones *****/

#form_prescripciones .block {
	min-height: 40px;
	line-height: 40px;
}
#form_prescripciones .block input,
#form_prescripciones .block select {
	height: 40px;
	font-size: 16px;
}
#form_prescripciones .block input#numero {
	width: 98% !important;
	font-size: 40px;
}

/*---  Recibos  ---*/
.ul_subform_fact.recibos .li_dos {
	width: 25px;
	text-align: center !important;
}
.ul_subform_fact.recibos .li_tres {
	width: 200px;
	text-align: left !important;
	padding-left: 3px !important;
}
.ul_subform_fact.recibos .li_cuatro {
	width: 100px;
	text-align: right !important;
	padding-right: 3px;
}
.ul_subform_fact.recibos .li_cinco {
	width: 125px;
	text-align: center !important;
}
.ul_subform_fact.recibos .li_seis {
	width: 125px;
	text-align: center !important;
}
.ul_subform_fact.recibos .li_siete {
	width: 100px;
	text-align: center !important;
}
.ul_subform_fact.recibos .li_ocho {
	width: 100px;
	text-align: center !important;
}
.ul_subform_fact.recibos .li_nueve {
	width: 80px;
	text-align: center !important;
}


/*  ---  Tabla de recibos  ---  */
.tb-docs a {
	color: #45cbdc;
}
.tb-docs a:hover {
	color: #0dabbf;
}
.tb-docs td,
.tb-docs th {
	padding: 4px 6px;
}
.tb-docs thead {
	background: #555;
	color: #fff;
}
.tb-docs thead > tr > td.td-check {
	text-align: center;
}
.tb-docs thead > tr > td.td-mover {
	text-align: center;
	width: 30px;
}
.tb-docs tbody tr td {
	/*Tabla para Recibos*/
}
.tb-docs tbody tr td i {
	font-size: 29px;
	vertical-align: -7px;
}
.tb-docs tbody tr td.td-mover {
	text-align: center;
	width: 30px;
}
.tb-docs tbody tr td.td-mover i {
	font-size: 20px  !important;
	line-height: 32px;
	color: #999;
}
.tb-docs tbody tr td.td-check {
	width: 30px;
	text-align: center;
}
.tb-docs tbody tr td.td-add-remove {
	width: 30px;
}
.tb-docs tbody tr td.td-add-remove > a > i {
	font-size: 29px;
}
.tb-docs tbody tr td.td-cod {
	position: relative;
	width: 100px;
	text-align: left !important;
}
.tb-docs tbody tr td.td-cod input[type="text"] {
	width: calc(100% - 50px) !important;
}
.tb-docs tbody tr td.td-cod .a-into-td {
	background: #45cbdc;
	color: #fff;
	position: absolute;
	right: 6px;
	top: 8px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
}
.tb-docs tbody tr td.td-cod .a-into-td:hover,
.tb-docs tbody tr td.td-cod .a-into-td:focus {
	background: #26b6c8;
	-webkit-transform: scale(1.07);
	-moz-transform: scale(1.07);
	-ms-transform: scale(1.07);
	-o-transform: scale(1.07);
	transform: scale(1.07);
}

.tb-docs tbody tr td.td-concepto textarea {
	width: 100%;
	height: 50px;
	margin: 0;
	border: none  !important;
	line-height: 2;
	/* .transition(0.3s,ease/linear/...)  */
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
}
.tb-docs tbody tr td.td-concepto textarea:focus {
	width: 98%;
	height: 90px;
	background: #F1F8FF;
	padding: 3px 5px;
	line-height: 1.5;
	/* .transition(0.3s,ease/linear/...)  */
	-webkit-transition: all 0.15s ease-in-out;
	-moz-transition: all 0.15s ease-in-out;
	-ms-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
}
.tb-docs tbody tr td.td-concepto {
	min-width: 200px;
}
.tb-docs tbody tr td.td-cantidad {
	width: 70px;
	text-align: right;
}
.tb-docs tbody tr td.td-precio {
	width: 100px;
	text-align: right;
}
.tb-docs tbody tr td.td-dto {
	width: 60px;
	text-align: right;
}
.tb-docs tbody tr td.td-importe {
	width: 120px;
	text-align: right;
}
.tb-docs tbody tr td.td-iva {
	width: 65px;
}
.tb-docs tbody tr td.td-iva select {
	width: 65px;
}
.tb-docs tbody tr td.td-inputs {
	text-align: center;
}
.tb-docs tbody tr td.td-inputs input[type="text"] {
	width: 100%;
	text-align: right;
	padding: 7px 0;
	margin: 0;
	height: 100%;
	border: none !important;
	cursor: text;
}
.tb-docs tbody tr td.td-inputs input[type="text"]:hover,
.tb-docs tbody tr td.td-inputs input[type="text"]:focus {
	background: #cff7fc;
}
.tb-docs tbody tr td.td-forma-pago-rbo {
	width: 120px;
}
.tb-docs tbody tr td.td-vencim-rbo {
	text-align: right;
	width: 100px;
}
.tb-docs tbody tr td.td-cobro-rbo {
	text-align: right;
	width: 130px;
}
.tb-docs tbody tr td.td-estado-rbo.cobrado {
	background: #e4f8be;
	color: #72a413;
}
.tb-docs tbody tr td.td-estado-rbo.pendiente {
	background: #ffdadb;
	color: #fe2832;
}
.tb-docs .td-opciones {
	padding: 0;
}
.tb-docs .td-opciones i {
	vertical-align: inherit;
	font-size: 16px;
}
.tb-docs .td-opciones .bg-uno > i {
	font-size: 29px;
}

.tb-docs input[type=checkbox] {
	width: 20px!important;
	height: 20px!important;
	vertical-align: middle;
}

.tb-docs input[type=input] {
	background-color: initial;
}

.tb-docs select,
.tb-docs textarea,
.tb-docs input {
	font-size: 13px;
}

.div-line-form {
	margin: 10px 0;
	position: relative
}

.div-line-form input[type="text"] {
	margin: 0
}

.div-line-form label {
	color: #333;
	position: relative;
	top: 5px;
	left: 7px;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	cursor: text
}

.div-line-form textarea {
	min-height: 65px
}

.modal-dialog {
	display: inline-block!important;
	text-align: left!important;
	vertical-align: middle!important
}

.modal {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,.1);
	padding: 0!important;
	text-align: center;
	max-height: 100%;
	width: 100%;
	margin: auto;
	overflow-y: auto;
	border-radius: 2px;
	will-change: top , opacity;
	z-index: 9999999
}

.modal#myModal_bad {
	z-index: 9999999999;
}

.modal:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -4px
}

.modal h1,.modal h2,.modal h3,.modal h4 {
	margin-top: 0
}

.modal .modal-content {
	padding: 24px;
}

.modal .modal-content p {
	font-size: 16px
}

.modal .modal-close {
	cursor: pointer
}

.modal .modal-footer {
	padding: 4px 0
}

.modal .modal-footer .btn,.modal .modal-footer .btn-large,.modal .modal-footer .btn-flat {
	float: right;
	margin: 5px
}

.modal .modal-top {
	padding: 0;
	margin-top: -10px;
	overflow: hidden
}

.modal .modal-top .btn {
	float: right
}

/* --- Div Modal para Recibos ---- */
.div-modal-recibos {
	width: 965px;
	margin-left: -20px;
}
.div-modal-recibos .modal-content {
	padding: 20px 10px;
}
.div-modal-recibos .modal-body {
	padding: 0 15px 15px;
}
.div-modal-recibos .modal-body .div-utiles a.btn{ 
	margin: 0 20px 10px !important;
}

#myModal_neutro {
	z-index: 999999999;
}

#form_add_recibo input {
	padding: 8px 3px;
	font-size: 16px;
}

#form_add_recibo input.input_fecha {
	width: 94px !important;
	text-align: center;
}

#form_add_recibo select {
	font-size: 16px;
	height: 30px;
}

#form_add_recibo img {
	margin-right: 5px;	
	margin-top: 10px;
}

#tb_facturas .td_5>a>i { font-size: 36px; }  

.rojo 	{ color: #dc1814 !important; }  
.ambar	{ color: #f3ba12 !important; }   
.verde	{ color: #18b51a !important; }


#tal_list_cli{
    max-height: 250px;
    overflow: auto;
}
