
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
{ margin: 0; padding: 0; }
a img,:link img,:visited img { border: none; }

input, textarea, select{
  border-radius: 5px;
}

a
{
  text-decoration: none;
}

a:hover
{
  text-decoration: underline;
}

body
{
  margin: 0;
  padding: 0;
  font-family: Arial, Verdana, sans-serif;
  font-size: 80%;
}

body *{
  box-sizing: content-box !important;
}

textarea{
  font-family: Arial, Verdana, sans-serif;
  font-size: 85%;
}

#sf_admin_container input, #sf_admin_container textarea, #sf_admin_container select {
    font-family: Arial,Verdana,sans-serif;
    font-size: 100%;
}

input:focus, textarea:focus, select:focus{
  background-color: #C5CFD4;
}

td
{
  margin: 0;
  padding: 0;
}


#contenido
{
  padding: 10px;
}

.tabla
{
  width: 100%;
  border: 1px solid #aaa;
  border-bottom: 0px;
  border-right: 0px;
}

.tabla_impar{
  background-color:#ECF3F6;
}

.tabla tr:hover{
  background-color:#DCE3E6;
  /* 	color:white; */
}

.tabla th
{
  padding: 2px;
  background-color: #0b123c;
  text-align: left;
  color:white;
}

.tabla tfoot
{
  padding: 2px;
  background-color: #0b123c;
  text-align: left;
  color:white;
}

.tabla th a
{
  color: #333;
}

.tabla td
{
  padding: 3px;
  border-bottom: 1px solid #aaa;
  border-right: 1px solid #aaa;
}

.tabla tr:hover a{
  /* 	color:white; */
}

.tablaPrinc
{
  width: 100%;
  border: 1px solid #aaa;
  border-bottom: 0px;
  border-right: 0px;
}

.tablaPrinc th
{
  padding: 2px;
  background-color: #0b123c;
  text-align: left;
  color:white;
}

.tablaPrinc tfoot
{
  padding: 2px;
  background-color: #0b123c;
  text-align: left;
  color:white;
}

.tablaPrinc th a
{
  color: #333;
}

.tablaPrinc td
{
  padding: 3px;
  border-bottom: 1px solid #aaa;
  border-right: 1px solid #aaa;
}

#auth_form
{
  width:250px;
  margin-left:auto;
  margin-right:auto;
}

.login-row
{
  clear: both;
  padding: 10px;
  /*   border-bottom: 1px solid #aaa; */
}

#auth_form label
{
  display:block;
  /* 	float:left; */
  /* 	width:80px; */
}

#auth_form fieldset{
  border-radius: 10px;
  background-color: white;
}

#auth_form p{
  border-radius: 10px;
  background-color: white;  
  padding:15px;
  margin-top:15px;
}

#auth_submit
{
  text-align:center;
}

#logos{
  position:absolute;
  right:15px;
  top:0px;
  z-index:-1000;
}

#barraMenu{
  background-color:#7c8386;
  color:white;
  padding-top:5px;
  /* 	padding-bottom:5px; */
  padding-left:5px;
  padding-right:5px;
  position:fixed;
  top:0px;
  left:0px;
  width:100%;
  height:27px;
}

.menu{
  height:25px;
  margin-bottom:12px;
  /* 	border-bottom:solid 1px #0b123c; */
}

.menu a{
  display:block;
  float:left;
  height:15px;
  padding-left:4px;
  padding-right:4px;
  padding-top:10px;
  text-decoration:none;
  font-weight:bold;
  color: #ffffff;
  cursor:pointer;
  /* 	background-image:url('../images/tab-central.gif') */
}

.menu a img{
  vertical-align:top;
}

.menu-izq
{
  float:left;
  width:9px;
  height:25px;
  /* 	background-image:url('../images/tab-izq.gif') */
}

.menu-der
{
  float:left;
  width:9px;
  height:25px;
  /* 	background-image:url('../images/tab-der.gif') */
}


.menu a:hover{
  color:#0b123c;
}

.buscarTablaResultado{
  width:415px;
  text-align:left;
}

.buscarDivResultado{
  margin-top:5px;
  width:435px;
  height:404px;
  overflow:scroll;
  border:solid 2px #0b123c;
  padding:5px;
}

.menuTitulo{
  /* 	font-size:14px; */
  font-size:120%;
  font-weight:bold;
  background-color:#7c8386;
  color:white;
  margin-top:3px;
  margin-bottom:3px;
  padding:3px;
  border-radius: 10px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
}

.menuOpcion{
  margin-left:15px;
}

#tituloConsulta{
  /* 	font-size:16px; */
  font-size: 120%;
  color:#0b123c;
  font-weight:bold;
  padding-bottom:20px;
}

#menuAcciones{
  position:fixed;
  top:35px;
  left:15px;
  width:400px;
  height:450px;
  background-color:white;
  overflow:scroll;
  border:solid 5px #0b123c;
  border-radius: 10px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  padding: 5px;
  opacity:0.9;
}

.grid{
  border:1px solid #aaa;
  border-radius: 10px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
}

.grid h2{
  padding: 5px 20px 5px 25px;
  /*   font-size: 11px; */
  /*   color: #fff; */
  /*   background: #7C8386; */
}

.cabecera{
  border-radius: 5px;
  background-color: #aaa;
}

.lineaGrid{
  border-bottom:1px solid #aaa;
}

.lineaGridShow{

}

.celdaGrid{
  float:left;
  min-height:19px;
  padding-right:3px;
  margin-right:5px;
  overflow:hidden;
}
.cabeceraGrid{
  float:left;
  min-height:22px;
  color:white;
  padding-left:3px;
  padding-top:3px;
  padding-bottom:3px;
  padding-right:5px;
}


.errorLineaGrid{
  clear:both;
  color:red;
}

.errorLineaGrid ul{
  list-style-position:inside;
}
.errorLineaGrid li{
  margin-left:15px;
}

.botonGrid{
  border:none !important;
  padding:0px !important;
  float:left;
}

#sf_admin_bar{
  border-radius: 20px;
  -moz-border-radius:20px;
  -webkit-border-radius:20px;
  margin-top:25px !important;
  -webkit-box-shadow: 0px 5px 25px 0px #222;
  -moz-box-shadow: 0px 5px 25px 0px #222;
  position: fixed;
  top:35px;
  left:200px;
}

.sf_admin_filters{
  border-radius: 10px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  padding:3px;

}

#sf_admin_container fieldset
{
  border: 1px solid #aaa !important;
  border-radius: 5px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
}


#sf_admin_container .form-row-right
{
  float:left !important;
  padding: 2px;
  border:0px !important;
  width:380px;
}

#sf_admin_container .form-row {
    border-radius: 5px 5px 5px 5px;
    float: left !important;
    margin: 3px;
    padding: 2px;
    width: 450px;
}

#sf_admin_container ul.sf_admin_actions
{
  /*   margin: 10px 0; */
  /*   list-style-type: none; */
  text-align: left !important;
}

.sf_admin_actions .float-left{
  float:right !important;
}

#sf_admin_container .form-errors{
  width:auto;
}

.sf_admin_filters .form-row{
  width:438 !important;
}

#sf_admin_container td {
  padding:3px !important;
}



#sf_admin_container fieldset h2
{
  color: #555 !important;
  background-color: transparent !important;
  /*   -moz-border-radius:5px; */
  /*   font-size: 11px; */
}

#sf_admin_container select {
  padding-top:2px !important;
  padding-bottom:2px !important;
  /* 	padding-left:0px !important; */
  /* 	padding-right:3px !important; */
  -moz-box-sizing: content-box;
}

.destacado{
  width:450px;
  float:left;
}

.destacado_doble{
  /* 	width:900px; */
  float:left;
}

.destacado_titulo{
  font-weight:bold;
  text-align:center;
  min-height:16px;
  padding:2px;
  border-radius: 5px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  margin-top:15px;
}

.destacado table, .destacado_doble table{
  width:100%;
}

.destacado td, .destacado_doble td{
  padding:1px;
}

.boton_calendario{
  position:absolute;
  margin-left:-15px;
}

.buscar{
  background-color:white;
  overflow:scroll;
  border:solid 5px #0b123c;
  border-radius: 10px;
  padding: 5px;
  opacity:0.9;
  -webkit-box-shadow: 0px 5px 25px 0px #222;
  -moz-box-shadow: 0px 5px 25px 0px #222;
}

.tituloDocumento{
  text-align:center;
  background-color:black;
  color:white;
  border-radius-topleft: 3px;
  border-radius-topright: 3px;
  -moz-border-radius-topleft:3px;
  -moz-border-radius-topright:3px;
  -webkit-border-top-left-radius:3px;
  -webkit-border-top-right-radius:3px;
}



/* TABS */

ul.tabs {
  list-style:none;
  margin:0 0 5px 0;
  padding:0;
  clear:both;
  /* 	border-bottom:1px solid #ccc; */
  /* 	height:20px; */
  clear:both;
}

ul.tabs li.tab {
  float:left;
  margin-right:7px;
  text-align:center;
}

/* todos los tabs */
ul.tabs li.tab a {
  display:block;
  padding:3px 6px 3px 6px;
  border-radius: 5px 5px 0 0;
  margin-right:2px;
}

ul.tabs li.tab a:hover {
}

/* tab activo */
ul.tabs li.tab a.active {
  border-radius: 5px 5px 0 0;    
}

.tab_content{
  clear:both;
  border:1px solid #aaa;
  padding-top:2px;
  background-color:#FFF;
  padding:3px;
}



.medio{
  float:left;
  border-radius: 5px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  border:solid 1px black;
  margin:5px;
  padding:3px;
  background-color:white;
  width:150px;
}

.totales th{
  /*  background-color:#0B123C;*/
  background-color:#7c8386;
  color:white;
  padding:3px;
  font-weight:normal;
}

.totales td{
  border:solid 1px #7c8386;
}

.totales tr:hover{
  background-color:#DCE3E6;
  /* 	color:white; */
}

.boton{
  border-color:-moz-use-text-color #999999 -moz-use-text-color -moz-use-text-color;
  border-style:none solid none none;
  border-width:0 4px 0 0;
  color:white;
  cursor:pointer;
  padding:3px 3px 3px 20px;
  background:transparent url(../images/add.png) no-repeat scroll 3px 2px;
  border-right:4px solid #182881 !important;
  border:1px solid #AAAAAA;
  vertical-align:middle;
  margin:0;
  background-color:#7C8386;
}

.boton_seleccionartodos{
  border-color:-moz-use-text-color #999999 -moz-use-text-color -moz-use-text-color;
  border-style:none solid none none;
  border-width:0 4px 0 0;
  color:white;
  cursor:pointer;
  padding:3px 3px 3px 20px;
  background:transparent url(../images/application_cascade.png) no-repeat scroll 3px 2px;
  border-right:4px solid #182881 !important;
  border:1px solid #AAAAAA;
  vertical-align:middle;
  margin:0;
  background-color:#7C8386;

}

.boton_facturar{
  border-color:-moz-use-text-color #999999 -moz-use-text-color -moz-use-text-color;
  border-style:none solid none none;
  border-width:0 4px 0 0;
  color:white;
  cursor:pointer;
  padding:3px 3px 3px 20px;
  background:transparent url(../images/page_edit.png) no-repeat scroll 3px 2px;
  border-right:4px solid #182881 !important;
  border:1px solid #AAAAAA;
  vertical-align:middle;
  margin:0;
  background-color:#7C8386;

}

.boton_aceptar{
  border-color:-moz-use-text-color #999999 -moz-use-text-color -moz-use-text-color;
  border-style:none solid none none;
  border-width:0 4px 0 0;
  color:white;
  cursor:pointer;
  padding:3px 3px 3px 20px;
  background:transparent url(../images/accept.png) no-repeat scroll 3px 2px;
  border-right:4px solid #182881 !important;
  border:1px solid #AAAAAA;
  vertical-align:middle;
  margin:0;
  background-color:#7C8386;

}

.boton_cancelar{
  border-color:-moz-use-text-color #999999 -moz-use-text-color -moz-use-text-color;
  border-style:none solid none none;
  border-width:0 4px 0 0;
  color:white;
  cursor:pointer;
  padding:3px 3px 3px 20px;
  background:transparent url(../images/cancel.png) no-repeat scroll 3px 2px;
  border-right:4px solid #182881 !important;
  border:1px solid #AAAAAA;
  vertical-align:middle;
  margin:0;
  background-color:#7C8386;

}

.boton_nuevo{
  border-color:-moz-use-text-color #999999 -moz-use-text-color -moz-use-text-color;
  border-style:none solid none none;
  border-width:0 4px 0 0;
  color:white;
  cursor:pointer;
  padding:3px 3px 3px 20px;
  background:transparent url(../images/add.png) no-repeat scroll 3px 2px;
  border-right:4px solid #182881 !important;
  border:1px solid #AAAAAA;
  vertical-align:middle;
  margin:0;
  background-color:#7C8386;

}

.boton_etiqueta_datos{
  border-color:-moz-use-text-color #999999 -moz-use-text-color -moz-use-text-color;
  border-style:none solid none none;
  border-width:0 4px 0 0;
  color:white;
  cursor:pointer;
  padding:3px 3px 3px 20px;
  background:transparent url(../images/page_white_get.png) no-repeat scroll 3px 2px;
  border-right:4px solid #182881 !important;
  border:1px solid #AAAAAA;
  vertical-align:middle;
  margin:0;
  background-color:#7C8386;
  border-radius: 5px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
}

.expedido{
  background-color:red;
  color:white;
  padding:2px;
}

.aviso{
  background-color:#182881;
  color: white;
  border: solid 3px #0b123c;
  border-radius: 5px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  padding:5px;
  /* fondo gris: #7c8386 */
  /* azul oscuro: #0b123c */
  /* azul claro: #182881 */

}

.cuentacontable a{
  text-decoration:none;
}

.cuentacontable a:hover{
  background-color:#aaa;
}

#diario_contenedor{
  position:absolute;
  left:250px;
  top:55px;
  min-width:700px;
}

#diario{
  overflow:scroll;
}

#diario_edit{
  height:0px;
  /* 	width:600px; */
  overflow:scroll;
}



div.slider { height:10px; margin:10px 0; background-color:#ccc; width:225px; position: relative; }
div.slider div.handle {cursor:move; position: absolute; }

#diario_calendario{
  height:175px;
}

#diario_edit_top{
  background-color:#0B123C;
  color:white;
  padding:3px;
}

.botones_diario_asiento img{
  visibility:hidden;
}

.botones_diario_asiento:hover img{
  visibility:visible;
}

.form-errors
{
  margin-bottom: 10px;
  border: 1px solid #f33;
  background-color: #7c8386;
  color:white;

}

.form-errors h2
{
  padding: 5px 20px 5px 25px;
  /*   font-size: 11px; */
  color: #fff;
  background: #f33 url(../images/error.png) no-repeat 5px 2px;
}

.form-errors dl
{
  padding: 5px;
}

.form-errors dt
{
  font-weight: bold;
  float: left;
  padding-right: 5px;
}

.form-errors dd
{
  margin: 0;
}

.borde{
  border: solid 1px #aaa;
  border-radius: 5px;
  padding:3px;
  border-radius:5px;
}

.paginador a{
  text-decoration:underline;
}

.lista_seleccion_item{
  border: solid 1px #aaa;
  border-radius: 5px;
  padding:3px;
  border-radius:5px;
  background-color:white;
  margin:2px;
}

.lista_seleccion_item img{
  display:none;
}

.lista_seleccion_item:hover{
  background-color: #eee;
}

.lista_seleccion_item:hover img{
  display:block;
}

.fila_punteada{
  background-color:lightgrey;
}

.tooltip {
  display:none;
  background-color:#DCE3E6;
  border: solid 1px #aaa;
  border-radius: 5px;
  padding:3px;
  border-radius:5px;
  box-shadow: 0px 5px 25px 0px #222;  
}

.error{
  background-color:red;
  color:white;
  padding:2px;
}
