
html,body{
height:100%;
}


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

#page, #footer{
width:100%;	
}

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

#page:after{
width: 100%;
height:50px;
display:block;
clear:both;
}

#header{
	background:#F2F3F5; 
	height:31px; 
	border-bottom:1px solid #d5d5d5;
}

#logo{
	float:left;
}


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

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

#login .lbl, #login .lbl label{
font-size:13px;	
color:#C60204;
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 #C60204 solid;
}

#login .btn{
	float:left;
	background:#fff;
	color:#C60204;
	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:#C60204;
	color:#FFF;
}

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

#recoverypass a{
		text-decoration:none;
}
#recoverypass :hover{
	color: #B90A06;
	text-decoration:underline;
}

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

nav ul ul {
	display: none;
}

	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:100;
}
	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: #C60204; 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: #C60204;*/
			}	
			
				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: 70px auto 0 auto;
	background:#F2F3F5;
position: fixed;
bottom: 0px;
}

#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;
	padding:5px;
}

/***** ROCKET *******/
#rocket_menu{
margin:0px auto 5px auto;
padding:0px 15px;
width:170px;
height:36px;
}

#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:#C60204 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:#B90A06 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;}
/*******************/
.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_search{
width:16px;
height:16px;
display:inline-block;
margin:0 2px;
vertical-align:middle;
cursor:pointer;
background:url(../images/iconos/search_16.png) center no-repeat;	
}
#content{
/*
position:relative;
width:100%;
margin:0px auto 10px auto;
padding:10px 0;
text-align:left;
*/

position:relative;
width:980px;
margin:0px auto 10px auto;
padding:3px 7px 7px 7px;
background:#fff;
text-align:left;
border:1px #dedede solid;
border-radius: 7px;
-moz-border-radius:	7px;
-webkit-border-radius: 7px;
box-shadow: 1px 1px 4px #bbb;
}


#div_grabar{
margin-top:10px;
padding:0 0 5px 0;
border:1px solid #C60204;
background:#fff;
font-size:12px;
color:#000;
}

#div_grabar #title{
padding:3px 5px;
margin-bottom:10px;
background:#C60204;
color:#fff;
}

#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:#094698;
font-weight:bold;
}

.td_sep{
	width:20px;
}

.lbl{
padding-left: 10px;
padding-right:5px;	
}

#divleft{

}

#divright{

}


.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:#f6f6f6;
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 #B90A06;
color: #B90A06;
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:#B90A06 !important;
	color:#fff !important;
	height:25px !important;
	vertical-align:middle;
	font-weight: bold;
}

#listado .tr_par, #listado .tr_impar,#listado .tr_nulo,#listado .tr_anomalo,#listado .tr_nohabilitado{ cursor:pointer;}
.tr_par{background:#fff;}
.tr_impar{background:#fafafa;}
.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:#094698; color:#fff;/*#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{
text-align:center;
}

.txt_left{
text-align:left;
}

.txt_right{
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_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;}



/*** TABLAS DE GRABACION ON THE FLY ***/
.onthefly table{
	margin-top:2px;
	border-collapse:separate;
	border-spacing:2px;
	width:100%;
}

.onthefly .tr_par{background:#fcfcfc;}
.onthefly .tr_impar{background:#f6f6f6;}
.onthefly table tr:hover{background:#FFFFB9;}

.onthefly tr.tr_head, .onthefly tr.tr_head:hover{
background:#B90A06 !important;
color:#fff !important;
vertical-align:middle;
height:16px !important;
}

.onthefly tr td{
padding:0 3px !important;
font-size:11px !important;
}

.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;}
/********************/

  .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;	
}


#logo_small{
float:left;
width: 182px;
height: 20px;
background: url(../images/logo_small.png) no-repeat center;
cursor:pointer;
margin:5px 20px 10px 0;
}

.info-empresa{
float: left;
height:26px;
font-size:18px;
margin:4px 30px 2px 30px;
color:#B80204;
}

.info-empresa select{
margin:0;
font-size:16px;	
}

.info-empresa span{
margin-left:5px;
color:#000;
}

#avatar {
float: left;
margin: 0 -26px 0 0;
}

#avatar a {
display: block;
width: 26px;
height: 26px;
background: url(../images/avatar.png) no-repeat;
margin: 2px 0 0 0;
}

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

#admin_info li {
display: block;
margin: 0 0 0 30px;
}

#admin_info a {
color: #646464;
}


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

/****** MENU LATERAL *********/

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

#menu-lateral{
margin-top:30px;
padding:0 3px;	
font-size:13px;	
}

#menu-lateral .item{
cursor:pointer;	
}

#menu-lateral .menu{
border: 1px solid #B90A06;
margin:5px 0 0 0;
border-radius: 10px;
overflow:hidden;
}

#menu-lateral > .menu > .menutitle{
background: url(../images/iconos/orange_button_16.png) 10px center #B90A06 no-repeat;
padding:5px 5px 5px 35px;
color:#fff;
cursor:pointer;
}

#menu-lateral > .menu >.menutitle:hover{
background: url(../images/iconos/orange_button_24.png) 5px center #B90A06 no-repeat;
}

#menu-lateral .submenu >.menutitle{
background: url(../images/iconos/orange_button_16.png) 10px center #f6f6f6 no-repeat;
color:#B90A06;
margin-top:1px;
padding:4px 5px 4px 35px;
cursor:pointer;
}

#menu-lateral .submenu >.menutitle:hover{
background: url(../images/iconos/orange_button_24.png) 5px center #f6f6f6 no-repeat;
}

#menu-lateral .menu-block{

/*
border-left:#aaa 1px solid;
border-right:#aaa 1px solid;
border-bottom:#aaa 1px solid;
*/
color:#aaa;
display:none;
}

#menu-lateral .item{
background:#fff;
padding:4px 5px 4px 12px;
color:#B90A06;
/*border-bottom:1px solid #ddd;*/
}

#menu-lateral .menu-block .item:hover{
background: #fcfcfc;
color:#094698;
}

#menu-lateral .current{
background: #094698 !important;
color: #fff !important;
}

#menu-lateral .subitem{
border-left:0px;
border-right:0px;
}

#menu-lateral .open{
display:block;
background: #B90A06;
}

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