html,body{
height:100%;
}


body {
	margin:0;
	background: #ccc; /*#909eab url(bg.png);*/
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#page, #footer{
width:1004px;	
}

#page{
margin: 0 auto;
height: auto;
min-height:100%;
background:#fff;

}

#report-wrapper{
	/* display:table-cell;*/
		background:#FFF;
		margin:0 5px;
}
/*
#page:after{
width: 100%;
height:50px;
display:block;
clear:both;
}
*/

#header, #header_fix{
	height:58px;	
}

#header{
	position:fixed;
	top: 0;
	width:1004px;
	z-index:1000;
	background:#F2F3F5; 
	border-bottom:1px solid #d5d5d5;

	
}

#logo{
float:left;
background: none repeat scroll 0% 0% #FFF;
border-right: 1px solid #DDD;
margin-right:10px;
}


#logo-index{
margin:10px auto 20px auto;
text-align:center;
}

#login{
position:relative;
background:#fff;
text-align:left;
width:350px;
margin:20px auto 20px auto;
padding:5px 20px 30px 20px;
border:1px #dedede solid;
border-radius: 7px;
box-shadow: 1px 1px 10px #bbb;
}

#login .lbl, #login .lbl label{
font-size:13px;	
color:#006699;
margin-bottom:2px;
padding-left:3px;
}

#login input[type="text"], #login input[type="password"]{
background:#fbfbfb;
border:1px #E6E6E6 solid;
font-size:30px;	
color:#888;
border-radius: 7px;
padding:0 5px;
margin-bottom:20px;
}

#login input:focus, #login input:hover{
border:1px #006699 solid;
}

#login .btn{
	float:left;
	background:#fff;
	color:#006699;
	font-weight:bold;
	font-size:14px;
	cursor:pointer;
	display:inline;
	padding:6px 12px 6px 12px;
	text-decoration:none;
	border:#D0D0D0 1px solid;
	border-radius:7px;
	-moz-border-radius:7px; /* Firefox */
	-webkit-border-radius:7px; /* Safari y Chrome */
}

#login .btn:hover{
	background:#006699;
	color:#FFF;
}

#recoverypass{
	padding:5px 10px;
	text-align:right;
	font-weight:normal;
}

#recoverypass a{
		text-decoration:none;
}
#recoverypass :hover{
	color: <?php echo $color1;?>;
	text-decoration:underline;
}

nav {
	margin: 0px auto; 
	padding-top:0;
	text-align: center;
	font-family: Helvetica, sans-serif; 
	font-size: 12px; 
	line-height: 18px; 
	font-weight:bold;
	z-index:2001;
}

nav ul ul {
	display: none;
	margin-top: 0px;
	z-index:2001;
}

	nav ul li:hover > ul {
		display: block;
	}


nav ul {
	background: #fff;/*#F2F3F5;/*#efefef; */
	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
	padding: 0;
	list-style: none;
	position: relative;
	display: inline-table;
	z-index:2001;
	margin-top:0;
}
	nav ul:after {
		content: ""; clear: both; display: block;
	}

	nav ul li {
		float: left;
		text-align:left;
		border-right:1px solid #ededed;
	}
	
	nav ul li:last-child { 
		border-right: none !important;  
	
	}
	
	
		nav ul li:hover {
			background: #f5f5f5;
			color: #fff;
		}
		
		nav ul li a {
			display: block; padding: 5px 15px;
			color: #006699; text-decoration: none;
		}
			
		
	nav ul ul {
		border-radius: 0px; padding: 0;
		position: absolute; top: 100%;
	}
		nav ul ul li {
			float: none; 
			border-top: 1px solid #f3f3f3;
			border-bottom: 1px solid #e9e9e9; 
			position: relative;
		}
			
			nav ul ul li a {
				white-space:nowrap;
				/*color: #006699;*/
			}	
			
				nav ul ul li a:hover {
					/*color: #fff;*//*#4b545f;*/
				}
		
	nav ul ul ul {
		position: absolute; left: 100%; top:0;
	}

#footer, #push{
	height: 50px;	
}

#footer{
	text-align:center;
	margin: -50px auto 0;
	background:#F2F3F5
}

#footer-content{
	border-top:1px #BDBDBD solid;
	padding-top:5px;
	vertical-align:middle;
	text-align:center;
	font-size:12px;
	color:#666;
	font-weight:normal;
}

#footer-content img{
	vertical-align:middle;
}

#debug{
	text-align:center;
	font-size:10px;
	color:#999;
}

/***** ROCKET *******/
#rocket_menu-fix{
	height:46px;
}

#rocket_menu{
position: fixed;
z-index: 10;
left: 500px;
margin:0px auto;
padding:3px 0px 2px 15px;
width:350px;
height:40px;
border: 1px solid #006699;
border-top:none;
background-color: #fafafa;;
border-bottom-right-radius: 12px;
border-bottom-left-radius: 12px;
}

#rocket_menu .btn{
float:left;
margin:0 2px 2px 2px;
padding:2px;
cursor:pointer;
border-radius:3px;
-moz-border-radius:	3px;
-webkit-border-radius: 3px;
border:#c6c6c6 1px solid;
width:32px;
height:32px;
z-index:100;
}

#rocket_menu .disabled{
border:#006699 1px solid !important;
background-color:#f2f2f2 !important;
cursor:default !important;
opacity:.3;
-moz-opacity:0.3;
-khtml-opacity:0.3;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
filter: alpha(opacity=30);					
}

#rocket_menu .btn:hover{
border:<?php echo $color1;?> 1px solid;
}

#rocket_menu #btn_grabar{background: url(../images/iconos/save_32.png) #fff center no-repeat;}
#rocket_menu #btn_imprimir{background: url(../images/iconos/printer_32.png) #fff center no-repeat;}
#rocket_menu #btn_editar{background: url(../images/iconos/edit_32.png) #fff center no-repeat;}
#rocket_menu #btn_eliminar{background: url(../images/iconos/delete_32.png) #fff center no-repeat;}
#rocket_menu #btn_buscar{background: url(../images/iconos/search_32.png) #fff center no-repeat;}
#rocket_menu #btn_nuevo{background: url(../images/iconos/edit_32.png) #fff center no-repeat;}
#rocket_menu #btn_actualizar{background: url(../images/iconos/refresh_32.png) #fff center no-repeat;}
#rocket_menu #btn_volver{background: url(../images/iconos/back_32.png) #fff center no-repeat;}

#rocket_menu #btn_xls{background: url(../images/iconos/xls_file_32.png) #fff center no-repeat;}
#rocket_menu #btn_pdf{background: url(../images/iconos/pdf_file_32.png) #fff center no-repeat;}

#rocket_menu #btn_listado{background: url(../images/iconos/list_32.png) #fff center no-repeat;}
#rocket_menu #btn_blank{background: transparent !important; border:0px !important;}
/*******************/

#content{
position:relative;
width:100%;
margin:0px auto 10px auto;
padding:0 0 10px 0;
text-align:left;
}


#div_grabar{

padding:10px 0 5px 0;
/*border:1px solid #006699;*/
background:#fff;
font-size:13px;
color:#000;
}

#div_grabar table {
border-collapse: separate;
border-spacing: 3px;
}

#title_fix{
height:28px;	
}

#title{
position: fixed;
width: 984px;
height: 16px;
z-index: 10;
padding:6px 10px;
background:#006699;
color:#fff;
font-size:13px;
font-weight:bold;
text-transform:uppercase;
}

#div_grabar input,#div_grabar select,#div_grabar textarea{

border:#a6a6a6 1px solid;
padding:4px;
border-radius:3px;
-moz-border-radius:3px; /* Firefox */
-webkit-border-radius:3px; /* Safari y Chrome */
}

fieldset{
	border:1px solid #D0D0D0;
	padding:10px 5px; 
	margin:0 5px; 
	margin-bottom:10px;
	border-radius:5px;
	font-weight:normal;
	background:#fafafa;

}

legend{
padding:0 5px;
color:#006699;
font-weight:bold;
}

.td_sep{
	width:20px;
}

.lbl{
padding-right:5px;	
}

#divleft{
	float:left;
	width:750px; 
}

#divright{
	float:right;
	width:250px;
}


.numreg, .paginador{
font-size:11px;
font-weight:bold;
color:#606060;
padding:10px 0 5px 3px;
height:20px;
backgroung:#D5D5D5;
}

.paginador .btn{ 
float:left;
margin-left:4px;
text-align:center; 
border:1px solid #D4D0C8; 
background:<?php echo $color3;?>;
padding:2px 2px; 
font-size:11px; 
font-weight:normal;
color:#999; 
width:21px;
cursor:pointer;
_cursor:hand;
}

.paginador .off{ 
background:#fff;
color:#ccc;
cursor:auto;
}

.paginador .off:hover{ 
border:1px solid #D4D0C8 !important;
color:#ccc !important;
}

.paginador .cur{ 
border:1px solid #006699;
color: #006699;
cursor:auto;
}



.paginador .btn:hover{ 

border:1px solid #666; 

color:#666;

}

/****** Listado (index) ******/
#listado {
	margin-top:2px;
}

#listado table{
	border-collapse:separate;
	border-spacing:2px;
	width:100%;
}

#listado table tr td{padding:0 3px; height:22px;}

#listado .tr_head, .tr_head,.tr_head:hover, #listado_menu .tr_head{
	background:#006699 !important;
	color:#fff !important;
	height:25px !important;
	vertical-align:middle;
	font-weight: bold;
	cursor:auto;
}

#listado tr, #listado .tr_par, #listado .tr_impar,#listado .tr_nulo,#listado .tr_anomalo,#listado .tr_nohabilitado{ cursor:pointer;}



.tr_par, #listado tr, .listado tr{background:#fff;}
.tr_impar,#listado tr:nth-child(2n+1),.listado tr:nth-child(2n+1){background:#f1f1f1;}

.tr_nulo{ color:#ff0000;}
.tr_anomalo{ color:#FF0; background:#F00;}

.tr_nohabilitado, #listado .tr_nohabilitado:hover{
	background:#ececec; 
    color:#ff0000;
}

#listado table tr:hover{background:#FFFFB9;}

#listado .btn{
	float:left;
	padding:0 2px;
	border:transparent 1px solid;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	cursor:pointer;
	width:22px;
	height:22px;
	margin: auto auto;
}

#listado .btn:hover{
	border:#D0D0D0 1px solid;
	background-color:#fff;
}

#listado .disabled{
	background-color:#f2f2f2 !important;
	cursor:default !important;
	opacity:.3;
	-moz-opacity:0.3;
	-khtml-opacity:0.3;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity=30);					
}

#listado .ver{background: url(../images/iconos/zoom_in_24.png) center no-repeat;}
#listado .editar{background: url(../images/iconos/edit_24.png) center no-repeat;}
#listado .eliminar{background: url(../images/iconos/delete_16.png) center no-repeat;}
/********************/

input.required,select.required, textarea.required {background: #FFFFB9;}

.cls {
	clear: both;
}

#main_content{
margin:50px auto;
width:600px;
border:1px solid #eee;
border-radius:15px;
background:#FFF;
padding:30px;
}

#main_content a{
color:#06C;
font-weight:bold;
text-decoration:none;	
}

#main_content a:hover{
text-decoration:underline;	
}

.txt_center, .tc{
text-align:center;
}

.txt_left, .tl{
text-align:left;
}

.txt_right, .tr{
text-align:right;
}
.lb_add{
width:16px;
height:16px;
display:inline-block;
margin:0 2px;
vertical-align:middle;
cursor:pointer;
background:url(../images/iconos/add_16.png) center no-repeat;	
}
.lb_accept{
width:16px;
height:16px;
background:url(../images/iconos/accept_16.png) center no-repeat;	
}
.lb_calendar{
width:24px;
height:24px;
display:inline-block;
margin:0 2px;
vertical-align:middle;
cursor:pointer;
background:url(../images/iconos/calendar_24.png) center no-repeat;	
}
.item_btn{

float:left;

padding:0 2px;

border:#d0d0d0 1px solid;

border-radius:3px;

-moz-border-radius:3px;

-webkit-border-radius:3px;

cursor:pointer;

width:26px;

height:26px;

margin: auto auto;

}



.item_btn:hover{

border:#D0D0D0 1px solid;
background-color:#fff;

}



.item_agregar{background: url(../images/iconos/down_32.png) center no-repeat;}

.onthefly_btn{
float:left;
padding:0 2px;
border:transparent 1px solid;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
cursor:pointer;
width:16px;
height:16px;
margin: auto auto;
}

.onthefly_btn:hover{
border:#D0D0D0 1px solid;
background-color:#fff;
}

.onthefly_disabled{
background-color:#f2f2f2 !important;
cursor:default !important;
opacity:.3;
-moz-opacity:0.3;
-khtml-opacity:0.3;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
filter: alpha(opacity=30);					
}

.onthefly_eliminar{background: url(../images/iconos/delete_16.png) center no-repeat;}
.onthefly_modificar{background: url(../images/iconos/up_16.png) center no-repeat;}

  .wrapper-file-input {
  position: relative;
  overflow: hidden;
  float: left;
}

.wrapper-file-input input[type="file"] {
  /** Posicionamos de forma absoluta **/
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  /** Cambiamos los bordes **/
  border: solid transparent;
  border-width: 0 0 100px 200px;
  /** Lo hacemos transparente **/
  opacity: 0;
  filter: alpha(opacity=0);
  width:90px; 
height:90px;
cursor:pointer !important;
}

.prev_container{
	overflow: auto;
	width: 90px;
	height: 90px;
    margin:auto;
}

.prev_thumb{
    margin:auto;
height: 90px;
}

#btn_excel{background: url(../images/iconos/xls_32.png) #fff center no-repeat; width:32px;height:32px;}
/*** ESTO ES DE LOS RECURSOS EN ADMIN ***/
.recurso{
float:left; 
border:1px dashed #ccc; 
margin:10px 2px 10px 3px; 
padding:5px;
}

.img_left{
float:left;
}

.preview{
background: #fafafa;
border:1px solid #ddd; 
width:90px; 
height:90px; 
}

.preview_new{
background: url(../images/iconos/image_64.png) no-repeat center #fafafa;
}
.preview_adj{
background: url(../images/iconos/attachment_64.png) no-repeat center #fafafa;
}

.img_right{
float:left; 
padding-left:2px;
}

.img_texto{
font-size:11px; 
background:#fdfdfd;
width:120px; 
height:81px;
}

.img_data{
width:218px;
height:17px;
overflow:hidden;
margin-top:1px;
padding:2px;
border:1px solid #ddd; 
font-size:11px;
background:#fafafa;
}
.asc{

background:url(../images/iconos/s_asc.png) no-repeat;

display:inline-block;

width:11px;

height:8px;

cursor:pointer;

margin: 0 4px 0 3px;

}



.asc:hover{

background:url(../images/iconos/s_asc2.png) no-repeat;

}



.desc{

background:url(../images/iconos/s_desc.png) no-repeat;

display:inline-block;

width:11px;

height:8px;

cursor:pointer;

margin: 0 3px 0 4px;

}



.desc:hover{

background:url(../images/iconos/s_desc2.png) no-repeat;

}
.btn_anular{
 background:#F00; 
 font-size:18px !important; 
 font-weight:bold !important;
 color:#fff; 
 cursor:pointer; 
 border-radius:15px !important; 
 text-align:center;
}

.imagennulo {
 background:url(../images/documentonulo.png) no-repeat;
 position:absolute;
 top:100px;
 left:0px;
 border:none;
 width:800px;
 height:400px;
 opacity:0.6;
}

.enblanco{
color:#fff;
display:inline;	
}

#tarea{
	
}

#tarea .tar_title{
	font-size:24px;
	font-weight:bold;
}

#tarea .tar_fecha{
	font-size:14px;
	font-weight:bold;
}

#tarea .tar_mandante{
	font-size:14px;
	font-weight:bold;
}

#tarea .tar_desc{
	 background-color:#fff;
	 border: 1px dashed #ccc;
	 margin: 10px 2px 10px 3px;
	 padding:20px;
}

#tarea .tar_box{
	 background-color:#fff;
	 border: 1px dashed #333;
	 margin: 10px 2px 10px 3px;
	 padding:20px;
}

#tarea .tar_com{
	 border: 1px solid #ccc;	
	 padding:10px;
}

.tr_par td a.lightbox_iframe_default{
text-decoration:none;
color:#000;	
}

#iconos table tr td{
font-size:11px;	
}


.gen_btn{
padding:0 2px;
border:transparent 1px solid;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
cursor:pointer;
}

.gen_btn:hover{
border:#D0D0D0 1px solid;
background-color:#fff;
}

.tr_aldia{ color:#000;}
.tr_paracambio{ color:#fff; background:#00AE00;}
.tr_vencido{ color:#fff; background:#f00;}
.tr_atrasado{ color:#fff; background:#BB2B61;}

.tr_vencido:hover, .tr_atrasado:hover{ color:#000;}


#alertify-logs article span{
margin: auto 5px;
padding: 6px;
border-radius: 12px;
color: #fff;
cursor: pointer;
}

.sp_label{
	color:#000 !important;
	cursor:auto !important;
}


.sp_cambio{
	background:#00AE00;
}

.sp_vencido{
	background:#FE1A00
}

.sp_atrasado{
	background:#BB2B61;
}
.onoffswitch {
 position: relative;
 width: 60px;
 -webkit-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
}

.onoffswitch-checkbox {
 display: none;
}

.onoffswitch-label {
 display: block;
 overflow: hidden;
 cursor: pointer;
 border: 2px solid #999999;
 border-radius: 20px;
}

.onoffswitch-inner {
 width: 200%;
 margin-left: -100%;
 -moz-transition: margin 0.3s ease-in 0s;
 -webkit-transition: margin 0.3s ease-in 0s;
 -o-transition: margin 0.3s ease-in 0s;
 transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
 float: left;
 width: 50%;
 height: 20px;
 padding: 0;
 line-height: 20px;
 font-size: 14px;
 color: white;
 font-family: Trebuchet, Arial, sans-serif;
 font-weight: bold;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
}

.onoffswitch-inner:before {
 content: "Si";
 padding-left: 5px;
 background-color: #2FCCFF;
 color: #FFFFFF;
}

.onoffswitch-inner:after {
 content: "No";
 padding-right: 5px;
 background-color: #EEEEEE;
 color: #999999;
 text-align: right;
}

.onoffswitch-switch {
 width: 10px;
 margin: 6px;
 background: #FFFFFF;
 border: 2px solid #999999;
 border-radius: 20px;
 position: absolute;
 top: 0;
 bottom: 0;
 right: 36px;
 -moz-transition: all 0.3s ease-in 0s;
 -webkit-transition: all 0.3s ease-in 0s;
 -o-transition: all 0.3s ease-in 0s;
 transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
 margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
 right: 0px;
}









.info-empresa, .info-usuario{
float: left;
margin: 0;
padding-top:4px;
overflow:hidden;
font-size: 15px;
color: #777;
}

.info-empresa{
width:540px;
}

.info-usuario{
	float:left;
margin-right:15px;
padding-left:25px;
font-size: 12px;
color: #858585;
font-weight: bold;
}

.info-empresa span, .info-usuario span{
margin-left: 5px;
color: #555;
font-size: 14px;
}

.info-empresa span{
font-weight:bold;
}

#state {
  font-size: 10px;
  color: #fff;
  width: 10px;
  height:10px;
  float: left;
  border-radius:7px;
	margin-right: 5px;
	margin-top: 9px;
}

.version {
	height:29px;
  width: 200px;
  font-size: 10px;
  color: #777;
  float: right;
  margin-right: 5px;
	border-left: 1px solid #ccc;
	padding-left:5px;
}

.version span{
color: #555;
}


#cerrar_sesion {
float:right;
padding-top: 1px;
padding-right: 5px;
padding-left: 5px;
background: none repeat scroll 0% 0% #FFF;
border-left: 1px solid #ccc;
overflow:hidden;
}

#admin_info {
float:right;
font-size: 8pt;
color: #646464;
}

#division{
	float:left;
}

#top_right{
	float:left;
	width:857px;
}

#top_right_sup{
	background:#fff;
	border-left:1px solid #ccc;
	border-bottom:1px solid #ccc;
	border-right:1px solid #ccc;
	border-bottom-left-radius:7px;
	border-bottom-right-radius:7px;
	overflow:hidden;
}

#p_usu_usuarioxgen_empresa{
border: 1px solid #CCC;
padding:1px;
margin: 0;
background: #fcfcfc;
cursor: pointer;
color: #666;
display: inline-block;
-moz-appearance: none;
}