/* rojo #ba0226 */
/* rojo claro #FFE9DE */

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{
	-moz-border-radius:5px;
}

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


a
{
  color:#BA0226;
  text-decoration: none;
}

a:hover
{
  text-decoration: underline;
}

body
{
  margin: 0;
  padding: 0;
  font-family: "Lucida Grande","Tahoma","Trebuchet MS",Arial, Verdana, sans-serif;
/*   font-size: 11px; */
  font-size: 80%;
  background-color: #fff;
}

textarea{
  font-family: "Lucida Grande","Tahoma","Trebuchet MS",Arial, Verdana, sans-serif;
  font-size: 90%;
}

td
{
  margin: 0;
  padding: 0;
/*   font-family: Arial, Verdana, sans-serif; */
/*   font-size: 11px; */
}


#contenido
{
  padding: 10px;
}
/*
.tabla
{
  width: 100%;
  border: 1px solid #aaa;
  border-bottom: 0px;
  border-right: 0px;
}

.tabla_impar{
  background-color:#DCE3E6;
}

.tabla tr:hover{
	background-color:#0b123c;
	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;
}
*/
#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;
	-moz-border-radius: 10px;
        -webkit-border-radius: 10px;
}

#auth_submit
{
	text-align:center;
}

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

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

.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:6px;
	text-decoration:none;
	font-weight:bold;
	color: #ffffff;
	cursor:pointer;
/* 	background-image:url('../images/tab-central.gif') */
}

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

.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;
	-moz-border-radius:10px;
        -webkit-border-radius:10px;
	zfloat:left;
	zwidth:440px;
}

.menuOpcion{
/* 	margin-left:15px; */
	width:215px;
	float:left;
	-moz-border-radius:10px;
	padding:3px;
	border:solid 1px #7c8386;
}

.menuOpcion:hover{
	background-color:#BA0226;
	color:white;
}

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

#menuAcciones{
	position:fixed;
	top:35px;
	left:15px;
	width:800px;
	height:550px;
	background-color:white;
	overflow:scroll;
	border:solid 5px #0b123c;
	-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{
	background-color: #ba0226;
        border-radius: 5px;
	-moz-border-radius:5px;
        -webkit-border-radius:5px;
}

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

.lineaGridShow{

}

.celdaGrid{
	float:left;
	min-height:19px;
	padding-right:3px;
	margin-right:5px;
}
.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{
	-moz-border-radius:20px;
	margin-top:25px !important;
}

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

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


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

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

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

#sf_admin_container input{
/* 	-moz-box-sizing: content-box; */
/* 	height:12px; */
}

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

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

.destacado_titulo{
	background-color:#0B123C;
	color:white;
	font-weight:bold;
	text-align:center;
	min-height:16px;
	padding:2px;
	-moz-border-radius:5px;
}

.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;
	-moz-border-radius:10px;
	padding: 5px;
	opacity:0.9;
}

.tituloDocumento{
	text-align:center;
	background-color:black;
	color:white;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright: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;
	color:white;
	background:#7C8386;
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
}

ul.tabs li.tab a:hover {
}

/* tab activo */
ul.tabs li.tab a.active {
	background-color: #0B123C;
	color:white;
}

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



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

.totales th{
	background-color:#ba0226;
	color:white;
	padding:3px;
	font-weight:normal;
}

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

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

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

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

.tabla tr:hover{
	background-color:#FFE9DE;
}

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

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

.tabla th a
{
  color: #333;
}

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

.tablainfo
{
  border: 1px solid #ddd;
  border-bottom: 0px;
  border-right: 0px;
}

.tablainfo tr:hover{
	background-color:#FFE9DE;
}

.tablainfo th
{
  padding: 2px;
  background-color: #CCC;
  text-align: left;
  color:black;
}

.tablainfo tfoot
{
  padding: 2px;
  background-color: #CCC;
  text-align: left;
  color:white;
}

.tablainfo th a
{
  color: #333;
}

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

.tab_sin_enlace{
    font-weight:bold;
    text-decoration:none;
    color:white;
    background:#BA0226;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    -khtml-border-radius-bottomleft:5px;
    -khtml-border-radius-bottomright:5px;
    -moz-border-radius-bottomleft:5px;
    -moz-border-radius-bottomright:5px;
}

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

.info{
    border: dashed 1px black;
    background: #FFE9DE;
    margin:10px;
    padding: 10px;
}