@media print {

body {
	margin: 0px !important;
	font: bold 64% "Courier New", Courier, mono !important;
	letter-spacing: 5px !important;
	
}


body#reports-factura,
body#reports-boleta,
body#reports-nota_de_credito {
	/*font: 12px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif !important; */
		font: 10px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif !important;
	letter-spacing: 5px !important;


}


h2 {
	margin: 0px !important;	
	display: none !important;
}

div#header,
div#close_wrapper,
div#footer,
div#footnotes_debug,
div#endzone {
	display: none !important;
}

div#wrapper {
	background-color: #fffd9e !important;
	width: 22cm !important;
/*	height: 16.2cm !important;*/
	position: absolute !important;
	padding: 0px !important;
	overflow: hidden !important;

}

	body#reports-factura div#wrapper, 
	body#reports-boleta div#wrapper{
		width: 36cm !important;
		/* width: 31cm era */
		height: 20cm !important;
		/*margin-left: 80px !important; was */
		margin-left:95px !important
	}

body#inventory div#wrapper {
	/* height: 22.9cm !important; */
	position: static !important;
	width: 620px !important;
}


body#reports-guia_remision div#wrapper{
	width: 31cm !important;
	margin-left: 0.8cm !important;	 /* era 4 */
}


body#reports-factura table#detalle,
body#reports-boleta table#detalle
 {
	overflow: auto !important;
}

tbody#contenido {
	overflow: auto !important;
	height: 600px !important;
}


div#content {
	margin: 0px !important;
	padding: 0px !important;
	width: 100% !important;
}

body#inventory div#content {
	position: static !important;
	width: auto !important;
}

div#general {
	padding: 0px !important;
	margin: 0px !important;
	margin-top: 3.8cm !important;
	width: 100% !important;
	margin-left: 1cm !important;
}

body#reports-factura div#general{
	margin-top: 200px !important; 
margin-top: 185px !important;
	margin-left: 110px !important;
}

body#reports-boleta div#general{
	margin-top: 150px !important;
	margin-left: 110px !important;
	
}

div.guia_remision div#general {
	margin-top: 4.1cm !important;	
}

div#general dl dt {
	display: none !important;
}

div#general dl dd {
	height: 0.7cm !important;
	margin: 0px !important;
	font-size: 1.2em !important;
	
}

body#reports-guia_remision div#general dl dd{
	font-size: 1em !important;
}

body#reports-factura dl dd,
body#reports-boleta dl dd {
	height: 0.7cm !important;
}

body#reports-boleta dl dd#ruc {
	display: none !important;
}

div#general dl dd#date {
	position: absolute !important;
	right: 0.1cm !important;
	font-size: 2em !important;
	top: 5.9cm !important;
	width: 190px !important;
}

div.guia_remision div#general dl div#date { font-size: 1em;

}

body#reports-factura dl dd#date
 {
		right:1.1cm !important;
	font-size: 1.8em !important;
	top: 5.8cm !important;
	width: 230px !important; /* era 200px */
}


body#reports-boleta dd#date{
	right:0.4cm !important;
	font-size: 1.8em !important;
	top: 4.3cm !important;
	width: 210px !important;
	
}

div#general dl dd#date em {
	width: 1.7cm !important;
	font-weight: normal !important;
	font-style: normal !important;
	display: block !important;
	text-align: right !important;
	float: left !important;
}

body#reports-factura div#general dl dd#date em,
body#reports-boleta div#general dl dd#date em {
	width: 1.9cm !important;
	font-weight: normal !important;
	font-style: normal !important;
	display: block !important;
	text-align: right !important;
	float: left !important;
}

div#general dl dd#date span {
	display: none !important;
}

div#content table#detalle {
	width: 100% !important;
	margin-left: 0cm !important;
	text-align: left !important;
	margin-top: -10px !important; /* was -10 */
}

div#content div#table_detalle {
		height: 6cm !important;
}

body#reports-factura div#content div#table_detalle{
		height: 6.7cm !important; /* era 6cm */
		margin-top: 30px !important; /* era 15*/
}


body#reports-boleta div#content div#table_detalle  
{
		height: 5.7cm !important;
		margin-top: 40px !important;
}

p#letters {
	margin: 0px !important;
	margin-left: 20px !important;
	text-indent: 15px !important;
	word-spacing: 10px !important;
	font-size: 1.2em !important;
}

div#content table thead {
   
   visibility: hidden !important 
	
} 

div#content table thead tr {
		vertical-align: top !important;
	
}

div#content table thead tr th {
		vertical-align: top !important;
		font-size: 0.1em !important;
}


div#content table thead th#cantidad {
	width: 1.4cm !important;
}

div#content table tbody td {
	height: 5px !important;
	word-spacing: 5px !important;
	font-size: 1.2em !important;
}



div#content table thead th#count {
	width: 55px !important;
}

body#reports-factura div#content table thead th#count,
body#reports-boleta div#content table thead th#count {
	width: 45px !important;
}


div#content table thead th#unidad {
	width: 1cm !important;
}

div#content table thead th#codigo {
	width: 2cm !important;
}



body#reports-factura div#content table thead th#cantidad,
body#reports-boleta div#content table thead th#cantidad {
	width: 1.5cm !important;
}

div#content div.guia_remision table thead th#codigo {
	width: 4cm !important;
}

body#reports-factura table thead th#codigo,
body#reports-boleta table thead th#codigo{
	width: 3cm !important;
}


div#content table thead th#descripcion {
	width: 12.5cm !important;
}



div#content div.guia_remision table thead th#descripcion {
	width: 22.5cm !important;
}

body#reports-factura div#content  table thead th#descripcion,
body#reports-boleta div#content  table thead th#descripcion {
	width: 13cm !important;
}


div#content table thead th#unitario {
	width: 2.0cm !important;
}

div#content table thead th#punit {
	width: 3cm;
	text-align: center !important;
}

div#content table thead th#importe {
	width: 2.3cm !important;
	text-align: center !important;
}

div#content table thead th#cantidad {
	width: 2.3cm !important;
}


table#subtotals {
	position: absolute !important;
	right: 0.5cm !important;
	margin-top: 30px !important;
}

body#reports-factura table#subtotals {
	position: absolute !important;
/*	right: 0.5cm !important; */
	right: 30px !important;	
	margin-top: 45px !important; /* margin-top 30 */
}

body#reports-boleta table#subtotals{
	position: absolute !important;
	right: 0cm !important;
	margin-top: 45px !important;
	
}



table#subtotals td {
	width: 165px !important; /* era 120px */
	font-size: 1.3em !important; /*era 1.5em */
	text-align: right !important;
}

body#reports-boleta td {
	width: 40px !important;
	
}

body#reports-boleta td#subtotal,
body#reports-boleta td#igv {
	display: none !important;
}

body#inventory div.ticket {

	width: 270px !important;
	margin-bottom: 30px !important;
	margin-right: 70px !important; 
	height: 140px !important;
	display: inline-table !important;
}

body#inventory div.ticket.second {
/*page-break-after:always !important;*/
	margin-right: 0px !important;

}

body#inventory div.ticket p {
	margin: 0px !important;
}

body#inventory div#logo {
	width: 55px;
	float: left !important;
}

body#inventory a.print.form_button {
	display: none !important;
}

body#inventory div#ticket-content {
	float: left !important;
	width: 200px !important;
	text-align: center !important;
    font-weight:bold !important;
}

body#inventory div#ticket-content p {
	font-size: 1.5em !important;
    margin-left: 60px !important;
	vertical-align: middle !important !important;
	font-weight: normal !important;
	font-style: normal !important;
}


body#inventory div.ticket div#bottom p#codify {
	font-size: 2.3em !important;
	float: left !important;
	clear: both !important;
	margin-left: 10px !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

body#inventory div#bottom {
	clear: both !important;
	overflow: auto !important;
	height: 28px !important;
}

body#inventory div#bottom p#codify {
	float: left !important;
}

body#inventory div#ticket-code p img.barcode {
	width: 240px !important;
	height: 40px !important;
	background-color: black !important;
	display: block !important;
	overflow: auto !important;
	clear: both !important;
    margin: 0 auto !important;
}

body#inventory div#ticket-code p.product_code {
	font-size: 1.6em !important;
	margin-bottom: 0px !important;
	text-align: center !important;
        overflow:auto !important;
        height:18px !important;
     
}

body#inventory div#bottom p#price {
	font-size: 2.3em !important;
	font-style: normal !important;
	margin-top: 0px !important;
	float: right !important;
	margin-right: 0px !important;
	letter-spacing: 0 !important;
}

body#inventory div#ticket_print {
     width: 640px !important; 
	margin-left: 40px !important;
	margin-top: 15px !important;
}


div.guia_remision div#general {
	margin-top: 3.7cm !important;
	width: auto !important;
	margin-left: 55px !important;
}

div.guia_remision div#general dl dd#date {
	position: absolute !important;
	right: 0.1cm !important;
	font-size: 2em !important;
	top: 4.9cm !important;
	width: 190px !important;
}

div.guia_remision div#general dl dd#date em {
	width: 1.6cm !important;
	font-weight: normal !important;
	font-style: normal !important;
	display: block !important;
	text-align: right !important;
	float: left !important;
}
div#general dl dd#date span {
	display: none !important;
}

div.guia_remision div#general h2.date {
	display: block !important;
}

div.guia_remision div#general h2.date.fecha_emision {
	float: left !important;
	margin-left: 20px !important;
}

div.guia_remision div#general h2.date.inicio_traslado {
float: right !important;
margin-right: 440px !important;	
}

div.guia_remision div#general dl {
	clear: both !important;
	overflow: auto !important;
	margin-top: 30px !important;
}

div.guia_remision div#general span {
	display: none !important;
}

div.guia_remision div#general span {
	display: none !important;
}

div.guia_remision div#general h2.date em {
	margin-right: 17px !important;
}

div.guia_remision div#date {
	margin-bottom: 20px !important;
	overflow: auto !important;
	font-size: 0.85em !important;
}

div.guia_remision div#general div#domicilio_partida {
	width: 450px !important;	
	margin-top: 10px !important;
	text-align: center !important;
	float: left !important;
	height: 70px !important;
	font-size: 1.3em !important;	
	vertical-align: middle;
	margin-left: 20px !important;
}

div.guia_remision div#general div#domicilio_llegada {
	width: 500px !important; 	 /* era 450 */
	margin-top: 10px !important; 
	text-align: center !important;
	float: right !important;
	height: 70px !important; 
	margin-right: 35px !important; /* era 75 */
	font-size: 1.1em !important;	 /* era 1.3 */

}

div.guia_remision div#general div#destinatario {
	width: 350px !important;
	clear: both !important;	
	margin-top: 10px !important;
	text-align: center !important;
	float: left !important;
	height: 50px !important;
	font-size: 1.2em !important;	

}

div.guia_remision table
{
	clear: both !important;
	vertical-align: top !important;
	font-size: 1.2em !important;
	overflow: auto !important;
	margin-left: 80px !important;
}

div.guia_remision table tbody {
	/*height: 400px !important;    <---- Ãºnico cambio */ 
}

div.guia_remision tbody td {
	vertical-align: top !important;
	font-size: 1em !important;
}

div#content div.guia_remision table thead {
	height: 10px !important;
}

div#content div.guia_remision table thead tr {
		height: 10px !important;
	
}

.hide {
	display: none !important;


}


}