@media print {	

.barrauol,
div#navigation,
div#footer,
div#header,
h3,
#extra,
#extranav,
#main p,
a img,
.blocochapeu form,
.action,
th span,
.infofiscais #printPage,
.naoimprime {display: none;}

.infofiscais #main p, .infofiscais #main h3 {display:block;}

* {font-family: Arial, sans-serif;}
h1 {font-size: x-large;width: auto !important; overflow: visible !important;}
h2 {font-size: large;}
h3.blocochapeu {display: block !important;line-height: 1.1;padding:0;margin: 0;}
a {text-decoration: none;color: #999;font-weight: normal;}
.bloco {}
.bloco fieldset, .bloco table {font-size:0.9em;}
.bloco table {border-spacing: 0;width: 480pt;}
.bloco table * {border: 0;}
.bloco tbody td {border-bottom:0.5pt solid #999;}
.bloco tbody td, .bloco th {border-right:0.5pt solid #ccc;border-left:0.5pt solid #ccc;}
.bloco tfoot td {border-bottom: 0.5pt solid #000;}
.bloco .total td {font-weight: bold;}
.bloco th {border-bottom: 1pt solid #000;border-top: 1pt solid #000;}
.bloco th {text-align: left;}
.bloco .hasNumber, .bloco th.hasNumber {text-align: right;}

table, td, th {empty-cells: show;}
thead {display:table-header-group;}
tbody {display:table-row-group;}
tr {page-break-inside: avoid;}

* html td, * html th {border: 1px solid #999 !important;}
* html table {border-collapse: collapse;}

}
