div.factura {
	width: 210mm;
}

div.factura > div.superior > div.cabecera {
	clear:both;
	text-align: center;
}

div.factura > div.superior > div.cabecera > ul {
	list-style: none;
}

div.factura > div.superior > div.cabecera > img {
	border-style: none;
}

div.factura > div.superior > div.datos {
	clear: both;
}

div.factura > div.superior > div.datos > div.tabla {
	display: table;
}

div.factura > div.superior > div.datos > div.tabla.derecha {
	width: 40%;
}

.izquierda {
	float: left;
}

.derecha {
	float: right;
}

div.factura > div.superior > div.datos > div.tabla > div.fila {
	display: table-row;
}

div.factura > div.superior > div.datos > div.tabla > div.fila > div.celda.izq.med
{
	display: table-cell;
	background-image: url("../../imagenes/ml.png");
}
div.factura > div.superior > div.datos > div.tabla > div.fila > div.celda.der.med
{
	display: table-cell;
	background-image: url("../../imagenes/mr.png");
}

div.factura > div.superior > div.datos > div.tabla > div.fila > div.celda.cen.sup{
	display: table-cell;
	background-image: url("../../imagenes/tm.png");
}
div.factura > div.superior > div.datos > div.tabla > div.fila > div.celda.cen.inf{
	display: table-cell;
	background-image: url("../../imagenes/dot.png");
	background-position: bottom;
	background-repeat: repeat-x;
}

div.factura > div.superior > div.datos > div.tabla > div.fila > div.celda.izq.sup{
	display: table-cell;
	height: 18px;
	width: 18px;
	background-image: url("../../imagenes/tl.png");
}

div.factura > div.superior > div.datos > div.tabla > div.fila > div.celda.der.sup{
	display: table-cell;
	height: 18px;
	width: 18px;
	background-image: url("../../imagenes/tr.png");
}

div.factura > div.superior > div.datos > div.tabla > div.fila > div.celda.izq.inf{
	display: table-cell;
	height: 18px;
	width: 18px;
	background-image: url("../../imagenes/bl.png");
}

div.factura > div.superior > div.datos > div.tabla > div.fila > div.celda.der.inf{
	display: table-cell;
	height: 18px;
	width: 18px;
	background-image: url("../../imagenes/br.png");
}

div.factura > div.superior > div.datos > div.tabla > div.fila > div.datosFactura {
	display: table-cell;
}

.datosFactura {
    border: solid 1px;
    border-radius: 5px;
}

div.factura > div.superior > div.datos div.datosFactura > ul {
	list-style: none;
	margin-right: 1em;
}

div.factura > div.superior > div.cuerpo {
	clear: both;
}

div.factura > div.superior > .cuerpo > .productos > .tablaProductos {
	width: 100%;
}

div.factura > div.superior > .cuerpo > .productos > .tablaProductos th {
	border-bottom-style: solid;
}

div.factura > div.superior > .cuerpo > .productos > .tablaProductos td {
	text-align: center;
}

div.factura > div.superior > .cuerpo > .productos > .tablaProductos td.descripcion {
	text-align: left;
}

div.factura > div.inferior > .cuerpo > .totales > .tablaTotal {
	width: 100%;
}

div.factura > div.inferior > .cuerpo > .totales > .tablaTotal td {
	text-align: center;
}

.infoEmpresa .infoPagosTransferencia {
	clear: both;
	width: 100%;
	font-size: small;
}

.infoPagosTransferencia td:nth-child(2n+1) {
    font-weight: bold;
}


.infoEmpresa {
	border-top-style: solid;
	border-top-width: 1px;
	margin-top: 1em;
}

.infoEmpresa > * {
	float: left;
	margin-right: 1em;
	width: 30%;
}

.datosCliente {
    max-width: 18em;
    padding: 1em;
    border: solid 1px;
    border-radius: 5px;
}

@MEDIA print {
	div.factura {
	}
	
	div.factura a {
		text-decoration: none;
		color: black;
	}

	div.factura > div.inferior {
		position:relative;
		top: 100mm;
	}

	div.saltoDePagina {
		page-break-after: always;
	}
	
	.noImprimible {
		display: none;
	}
}

@MEDIA screen {
    .saltoDePagina {
        clear: both;
        margin-bottom: 3em;
    }
}
