﻿/* reset */

.impressao *
{
	border: 0;
	box-sizing: content-box;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	line-height: inherit;
	list-style: none;
	margin: 0;
	padding: 0;
	text-decoration: none;
	vertical-align: top;
}

/* page */
.impressaoFontBig  { font: 24px 'Open Sans', sans-serif !important; }

.impressao { font: 16px/1 'Open Sans', sans-serif; overflow: auto; padding: 0.2in; }
.impressao { background: #999; cursor: default; }

.impressao { box-sizing: border-box;  margin: 0 auto; overflow: hidden; padding: 0.2in; width: 10in; } /*height: 11in;*/
.impressao { background: #FFF; border-radius: 1px; box-shadow: 0 0 1in -0.25in rgba(0, 0, 0, 0.5); }


/* heading */

.impressao h1 { font: bold 100% sans-serif; letter-spacing: 0.5em; text-align: center; text-transform: uppercase; }

/* table */

.impressao table { font-size: 85%; table-layout: fixed; width: 100%; }
.impressao table { border-collapse: separate; border-spacing: 2px; }
.impressao th, .impressao td { border-width: 1px; padding: 0.5em; position: relative; text-align: left; }
.impressao th, .impressao td { border-radius: 0.25em; border-style: solid; }
.impressao th { background: #EEE; border-color: #BBB; }
.impressao td { border-color: #DDD; }

/* header */

.impressao header { margin: 0 0 2em; }
.impressao header:after { clear: both; content: ""; display: table; }

.impressao header h1 { background: #000; border-radius: 0.25em; color: #FFF; margin: 0 0 1em; padding: 0.5em 0; }
.impressao header address { float: left; font-size: 85%; font-style: normal; line-height: 1.25; margin: 0 1em 1em 0; }
.impressao header address p { margin: 0 0 0.25em; }
.impressao header span, .impressao header .impressao img { display: block; float: right; }
.impressao header span { margin: 0 0 1em 1em; max-height: 25%; max-width: 60%; position: relative; }
.impressao header img { max-height: 100%; max-width: 100%; }
.impressao header input { cursor: pointer; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; height: 100%; left: 0; opacity: 0; position: absolute; top: 0; width: 100%; }

/* article */

.impressao article, .impressao article address, .impressao table.meta, .impressao table.inventory { margin: 0 0 1.4em; }
.impressao article:after { clear: both; content: ""; display: table; }

.impressao article addresses { float: left; width:74%; }
.impressao article addresses h1 { text-align: left; }
.impressao article address { float: left; width:100%; }
.impressao article address p { font-size: 85%; font-style: normal; line-height: 1.25; margin: 0.25em 0 0.25em 0; }

/* table meta & balance */

.impressao table.meta:after, .impressao table.balance:after { clear: both; content: ""; display: table; }

/* table meta */

.impressao table.meta { float: right; width: 30%; }
.impressao table.meta th { width: 45%; }
.impressao table.meta td { width: 55%; font-size: 100% !important }

/* table items */

.impressao table.inventory { clear: both; width: 100%; }
.impressao table.inventory th { font-weight: bold; text-align: center; }

/*.impressao table.inventory td:nth-child(1) { width: 62%; }
.impressao table.inventory td:nth-child(2) { width: 8%; }
.impressao table.inventory td:nth-child(3) { text-align: right; width: 10%; }
.impressao table.inventory td:nth-child(4) { text-align: right; width: 10%; }
.impressao table.inventory td:nth-child(5) { text-align: right; width: 10%; }*/

/* table balance */

.impressao table.balance { float: right; width: 35%; }
.impressao table.balance th, .impressao table.balance td { width: 50%; }
.impressao table.balance td { text-align: right; }

/* aside */

.impressao bottom h1 { border: none; border-width: 0 0 1px; margin: 0 0 1em; }
.impressao bottom h1 { border-color: #999; border-bottom-style: solid; }


/* print */

@media print {
	.impressao * { -webkit-print-color-adjust: exact; }
	.impressao html { background: none; padding: 0; }
	.impressao body { box-shadow: none; margin: 0; }
	.impressao span:empty { display: none; }	
}

/*@page { margin: 0; }*/