*{
	margin: 0;
	padding: 0;
}

body{
	font-family: Arial;
	font-size: 1em;
}

img{
	border: 0;
}

table{
	width:100%;
}

form div.submit input, .btn, .btn_fino, form a.btn{
    border: 0.1em solid #000000;
    font-size: 1.1em;
    margin: 0.3em;
    padding: 0.3em;
    background-color: #DDDDDD;
}

ol li{
	padding-left: 1em;
	list-style-position: inside;
}

a{
	color: #000000;
}

p {
    padding: 0.8em;
}

form fieldset {
    padding: 0.5em;
}

label{
	font-weight: bold;
}

a.btn, a.btn_fino{
	color:#000000;
	text-decoration: none;
}

fieldset legend{
	font-style: italic;
	font-weight: bold;
}

table tbody tr:hover{
	background-color: #EEEEEE;
}

table#tabla_factura_footer tbody tr:hover{
	background-color: #FFFFFF;
}

table tbody tr td{
	padding: 0.5em;
}

.tabla_tarifas th.col_acciones{
	width: 16%;
}

th.col_acciones{
	width: 8%;
}

td.col_acciones{
	text-align: center;
}

optgroup option{
	padding-left: 1.5em;
}

#todo {
	margin: auto;
	width: 95%;
	margin: auto;
}

#todo #cabecera{
	background-image: url("../img/logo2.png");
	min-height: 5em;
}

#todo #cabecera, #todo #header{
    background-repeat: no-repeat;
}

#todo #header{
	background-image: url("../img/logo.png");
	background-position: center top;
    min-height: 9em;
}

#todo #cabecera h1, #todo #header h1{
	display:none;
}

#bienvenido{
	padding-top: 5em;
    text-align: right;
}

#miga{
	padding: 1em;
}

#content.portada{
	width: 35%;
	margin: auto;
}

#content h2{
	padding-bottom: 0.5em;
    padding-top: 0.5em;
}

#content table{
	margin-top:1em;
}

#content table thead{
	background-color: #DDDDDD;
}

#content table thead th{
	padding: 0.2em;
}

#content table thead th a{
	color: #000000;
}

.users.form form fieldset, .users.form form fieldset legend{
	padding: 0.5em;
}

#login {
	text-align: right;
}

ul#navlist {
	margin-left: 0;
	padding-left: 0;
	white-space: nowrap;
}

#navlist li {
	display: inline;
	list-style-type: none;
}

#navlist a {
	padding: 3px 10px;
}

#navlist a:link,#navlist a:visited {
	color: #fff;
	background-color: #999999;
	text-decoration: none;
}

#navlist a:hover, #navlist li a.menu_activo {
	color: #fff;
	background-color: #55e300; /*#d1d1d1;*/
	text-decoration: none;
}

#cabecera #navcontainer {
	width: 66%;
	float: left;
}

#cabecera #login {
	width: 33%;
	float: right;
	padding-top: 0.8em;
}

.blk_ultimo {
	float: left;
	width: 33%;
}

tfoot {
	text-align: center;
}

.tabla_materiales_factura tfoot {
	padding-top: 1em;
}

footer {
	text-align: center;
	font-size: 0.8em;
	margin-top: 5em;
}

.facturas textarea{
	width: 100%;
}

.facturas .toolbar{
	float: right;
}

#fieldset_materiales{
	min-height: 7em;
}

#tabla_factura_footer .label{
	text-align: right;
	font-weight: bold;
}

#tabla_factura_footer .col_precio, #tabla_materiales .col_precio,
th.col_precio{
	width: 10%;
}

#flashMessage.message{
	background-color: #55E300;
    color: #FFFFFF;
    font-style: italic;
    margin: 0.5em;
    padding: 0.5em;
    width: 50%;
}

.bloque-factura{
	clear: both;
	margin-top: 1em;
	border-bottom: 0.1em solid #000000;
}

.bloque-factura-materiales{
	clear: both;
	margin-top: 1em;
}

#resultado_busca_proveedores table tbody tr{
	cursor: pointer;
}

/************ CLASES *************/
.clear{
	clear: both;
}
.left{
	float: left;
}
.right{
	float: right;
}
.width-25{
	width: 25%;
}
.width-50{
	width: 50%;
}
.width-46{
	width: 46%;
}
div.input{
	padding: 0.2em;
}
td.beneficio, td.col_precio{
	text-align: right;
}
td.unidades{
	width: 5em;
	text-align: right !important;
}
td.col_fecha, td.col_stock{
	text-align: center;
}
.col_stock{
	width: 15%;
}
.label{
	font-weight: bold;
}
th.col_porcentaje{
	width: 20%;
}
td.col_porcentaje{
	text-align: center;
}
.btn_fino{
	font-size: 1em;
    margin: 0.1em;
    padding: 0.1em;
}
.dni_caducado{
	background-color: #FFF1C2;
}
.limite_superado{
	/*background-color: #f56060;*/
	background-color: #faafaf;
}
.beneficio_defecto{
	background-color: #C5FADA;
}
.div_btn_cancelar{
	float: left;
	width: 50%;    
}
.div_btn_aceptar{
	float: right;
	width:50%;
	text-align: right;
}

#content_buscador_factura_emitida {
    width:100%;
    height:260px;
}

#content_buscador_factura {
    width:100%;
    height:322px;
}

#bloqueIzq {
    width:63%;
    height:320px;
    float:left;
}

#totales {
    width:14%;
    height:123px;
    float:left;
    border:1px dotted #ccc;
    margin:10% 0 0 0;
    padding: 0.5em;    
}

#totales_facturas_emitidas {
    width:14%;
    height:117px;
    float:left;
    border:1px dotted #ccc;
    margin:7% 0 0 0;
    padding: 0.5em;    
}

#mostrarTotales {
    margin-right:5%;
}

#totalEuroKg {
    width:93%;
    float:left;
    border:1px dotted #ccc;
    margin:12% 0% 0% 0%;
    padding:0.5em 0.5em 0.5em 0.5em;
    background:#eeebeb;
}

#frmBusqueda{
	/* width:340px;*/
        width:19%; 
	float:right;
        display:inline;
	border:1px dotted #ccc;
	margin-bottom:1em;
	padding:.5em;
	background:#eeebeb;
}
#frmBusqueda label{ width:90px; float:left;}
#frmBusqueda .input{ width:250px !important; float:left;}
#frmBusqueda #btBusca{ margin-top:10px; }
#ui-datepicker-div{ font-size:.8em; }
.titulocaja{ background:#999; padding-left:.3em; margin-bottom:1em; }
.bloqueexport{ width:100%; overflow:hidden; }
.export{ float:left;margin-top:2em;width:250px;margin-right:2em; }
.tablaexport{ margin-top:2em !important;width:600px;font-size:.9em;border:1px solid #AAA; }

