.main_block { margin: 0px; width: 183mm; }
.declar_block, .declar_block_blank { width: 85mm; height: 53mm; float: left; position: relative; margin: 0mm 0 17mm 0mm; }
.col_1 { margin-right: 10mm; }
.col_0 { margin-right: 0mm; }
.declar_block { border: 1px solid #fff; }

.barcode_ver, .barcode_hor, .dep_code, .rote, .type_serv, .block_adress, .rote_p , .quantity, .barcode_txt, .city, .format, .copyright, .api { position: absolute; }
.barcode_ver { top: 1mm; left: 80mm; overflow: hidden; width: 4mm; }
.barcode_ver img { height: 50mm; }
.barcode_hor { top: 38mm; left: 0mm; }
.barcode_hor img{ margin-left: 1mm; }
.dep_code { top: 0mm; left: 2mm; font-weight: bold; }
.type_serv { top: 0mm; left: 11mm; width: 50mm; text-align: center; }
.block_adress { width: 75mm; height: 16mm; top: 24mm; left: 2mm; padding-left: 1mm; border: 1px solid #000; z-index: 2; font-size: 3mm; line-height: 3mm; padding-left: 1mm;}
.rote { width: 13mm; top: 0; left: 65mm; border: 1px solid #000; border-top: 0; font-weight: bold; text-align: center; }
.rote_p { width: 13mm; height: 10mm; top: 6mm; left: 65mm; padding-top: 1mm; border: 1px solid #000; text-align: center; }
.rote_p_lbl { font-size: 2mm; line-height: 2mm; }
.rote_p_txt { font-weight: bold; }
.quantity { width: 20mm; height: 5mm; top: 18mm; left: 58mm; border: 1px solid #000; font-weight: bold; text-align: center; }
.barcode_txt { width: 57mm; top: 18mm; left: 2mm; font-size: 5mm; font-weight: bold; }
.city { width: 70mm; height: 12mm; left: 2mm; top: 6mm; font-size: 7mm; font-weight: bold; line-height: 6mm; text-transform: uppercase; overflow: hidden; }
.format { width: 13mm; left: 65mm; top: 25mm; font-size: 5mm; text-align: center; font-weight: bold; }
.adr_city { text-transform: uppercase; font-weight: bold; }
.adr_adr { font-weight: bold; }
.adr_rec_lbl { }
.adr_rec_txt { font-weight: bold; }
.adr_rec_phone {}
.new_page {page-break-after:always; width: 0mm; height: 0mm; clear: both; }
.copyright { left: 1mm; top: 50mm; font-size: 2mm; }


/* termoprint */
.termoprint { margin: 0; }
.termoprint .main_block { width: 86mm; }
.termoprint .declar_block  { margin: 2mm 2mm 7mm 2mm; page-break-after:always; float: none; }
.termoprint .col_1 { margin-right: 2mm; }
.termoprint .rote { left: 68mm }
.termoprint .quantity { left: 61mm; }
.termoprint .block_adress { width: 78mm; }
.termoprint .barcode_ver { left: 77mm; }
.termoprint .declar_block { width: 82mm; }
.termoprint .format { left: 68mm; }
.termoprint .new_page {page-break-after:auto; }
.termoprint .rote_p { left: 68mm; }

/* Firefox Only */
@-moz-document url-prefix() {
	.declar_block, .declar_block_blank {
		margin-bottom: 18mm;
	}
}

/* Safari 3.0 and Chrome only */
@media print and (-webkit-min-device-pixel-ratio:0) {
    body {
         margin: 5mm 0 0 10mm;
    }
}

@media print { .block_bottom { margin-bottom: 0; } }

/* Opera Only */
noindex:-o-prefocus, .block_bottom {
	margin-bottom: 17mm !important;
}
noindex:-o-prefocus, .barcode_ver { width: auto; }
noindex:-o-prefocus, .barcode_ver img { height: 50mm; width: 3mm; }