/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
 Raender OLUR 0,3,5,1
*/
/* 
    Created on : 20.02.2016, 21:52:17
    Author     : schoemi
*/

@font-face { 
    font-family: "calibri";
    src: url("/fonts/calibri.ttf") format("truetype");
}

@font-face {
    font-family: "ocrb10";
    src: url("/fonts/ocrb10.ttf") format("truetype");
}

@font-face {
    font-family: "clearread";
    src: url("/fonts/ClearReadMono_2.ttf") format("truetype");
}

@page (orientation: portrait) {
    width: 29.7cm;
    height: 21cm;
    margin: 0mm 0mm 0mm 0mm; /* change the margins as you want them to be. */
}


page[size="A4"] {
  background: white;
  width: 21cm;
  height: 29.5cm;
  display: block;
  margin: 15px 0 0 0 !important;
  padding:0px !important;
  size: portrait;
  page-break-after: always;
}

th.c10,
td.c10 {
    width:10mm;
    line-height: 8px;
}

th.c20,
td.c20 {
    width: 20mm;
    line-height: 8px;
}

th.c40,
td.c40 {
    width:30mm;
}

th.c120,
td.c120 {
    width: 120mm;
}

th.cauto,
td.cauto {
    width: auto;
    overflow: hidden;
}

td.ctotal {
    border-top: 2px solid #888 !important;
    font-weight: bold;
}

td.csum {
    border-bottom:double #888 !important;
}

@media print {
  body, page {
    margin: 0;
    box-shadow: 0;
    width: 21cm;
    height: 29.7cm;
  }
}

div.font-calibri {
    font-family: calibri;
    font-size: 10pt;
}

div.font-ocr {
    font-family: clearread;
}


div.page {
    margin: 0;
    width: 21cm;
    height: 29.7cm;
}

div.a4-recipient {
    page-break-after: always;
    margin-left: 24mm;
    margin-top: 40mm;
    width: 85mm;
    height: 30mm;
    position: absolute;
    overflow: hidden;
}

div.a4-date {
    margin-top: 70mm;
    margin-left: 134mm;
    height: 10mm;
    width: 60mm;
    position: absolute;
    overflow: hidden;
}

div.a4-subject {
    margin-top: 75mm;
    margin-left: 24mm;
    height: 10mm;
    width: 170mm;
    position: absolute;
    overflow: hidden;
    font-weight: bold;
}

div.a4-introhead {
    margin-top: 85mm;
    margin-left: 24mm;
    width: 170mm;
    height: 10mm;
    position: absolute;
    overflow: hidden;
}

div.a4-introbody {
    margin-top: 95mm;
    margin-left: 24mm;
    height: 17mm;
    width: 150mm;
    position: absolute;
    overflow: hidden;
}

div.a4-summary {
    margin-top: 105mm;
    margin-left: 24mm;
    height: 40mm;
    width: 160mm;
    position: absolute;
    overflow: hidden;
}

div.a4-summarynotes {
    margin-top: 137mm;
    margin-left: 24mm;
    height: 30mm;
    width: 170mm;
    position: absolute;
    overflow: hidden;
}

div.a4-greetings {
    margin-top: 160mm;
    margin-left: 24mm;
    height: 35mm;
    width: 170mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge {
    margin-top: 205mm;
    margin-left: 5mm;
    height: 80mm;
    width: 200mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-recipient-short {
    margin-top: 213mm;
    margin-left: 0mm;
    height: 10mm;
    width: 55mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-recipient-long {
    margin-top: 213mm;
    margin-left: 65mm;
    height: 10mm;
    width: 130mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-iban-left {
    margin-top: 222mm;
    margin-left: 0mm;
    height: 10mm;
    width: 55mm;
    position: absolute;
    overflow: hidden;
    font-size: 9.9pt;
}

div.a4-allonge-iban-right {
    margin-top: 222mm;
    margin-left: 65mm;
    height: 10mm;
    width: 100mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-iban-marker {
    margin-top: 222mm;
    margin-left: 203mm;
    height: 10mm;
    width: 5mm;
    position: absolute;
    overflow: hidden;
}


div.a4-allonge-bic-left {
    margin-top: 230mm;
    margin-left: 0mm;
    height: 10mm;
    width: 55mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-bic-right {
    margin-top: 230mm;
    margin-left: 65mm;
    height: 10mm;
    width: 100mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-value-right {
    margin-top: 230mm;
    margin-left: 158mm;
    height: 10mm;
    width: 50mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-value-left {
    margin-top: 239mm;
    margin-left: 10mm;
    height: 10mm;
    width: 46mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-refcode-right {
    margin-top: 236mm;
    margin-left: 65mm;
    height: 10mm;
    width: 80mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-refcode-marker {
    margin-top: 236mm;
    margin-left: 203mm;
    height: 10mm;
    width: 5mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-refcode-left {
    margin-top: 247mm;
    margin-left: 0mm;
    height: 10mm;
    width: 55mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-text-right {
    margin-top: 248mm;
    margin-left: 65mm;
    height: 20mm;
    width: 140mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-text-left {
    margin-top: 270mm;
    margin-left: 0mm;
    height: 30mm;
    width: 55mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-member {
    margin-top: 275mm;
    margin-left: 65mm;
    height: 10mm;
    width: 140mm;
    position: absolute;
    overflow: hidden;
}

div.a4-allonge-machine-read-value {
    margin-top: 290mm;
    margin-left: 136mm;
    height: 10mm;
    width: 70mm;
    position: absolute;
    overflow: hidden;
}

div.a4-fulllist {
    margin-top: 15mm;
    margin-left: 24mm;
    height: 160mm;
    width: 160mm;
    position: absolute;
    overflow: hidden;
}