
  @page { size:8.0cm 5.4cm; }
  @page :left { margin-left:0cm; margin-right:0cm  }
  @page :right { margin-left:0cm; margin-right:0cm  }


@media screen {
    h1 {
      text-align: right;
      border-bottom: 3px dashed #00f;
      color: #008;
      background-color: inherit;
    }

    div.ausweis {
      position: relative;
      border-style: solid;
      border-width: 1px;
      border-radius: 2px;
    }
      div.seite{
        margin: 0px;
        padding: 0px;
          page-break-after:always;
      }
      div.eins{
        background: url("../images/seite1.png") no-repeat right top;
        background-size: 8.0cm 5.4cm;
        width: 8.0cm;
        height: 5.3cm;
        margin: 0px;
        padding: 0px;
      }

      div.zwei {
        background: url("../images/seite2.png") no-repeat right top;
        background-size: 8.0cm 5.4cm;
        width: 8.0cm;
        height: 5.3cm;
        margin: 0px;
        padding: 0px;
  }
      div.name {
        position: relative;
        top:2.5cm;
        left:0.5cm; 
      }
      img.qr{
        position: relative;
        top:0.7cm;
        left:5.5cm;
        width: 2.5cm;
      }
}    
  @media print {
    button {
      display: none;
    }
    h1 {
      color: #000;
      background-color: #fff;
    }
    div.seite {
        margin: 0px;
        padding: 0px;
        page-break-after:always;
    }
    div.eins {
        background: url("../images/seite1.png") no-repeat right top;
        background-size: 8.0cm 5.4cm;
        width: 8.0cm;
        height: 5.3cm;
        margin: 0px;
        padding: 0px;
        -webkit-print-color-adjust: exact !important; 
    }
    div.zwei {
        background: url("../images/seite2.png") no-repeat right top;
        background-size: 8.0cm 5.4cm;
        width: 8.0cm;
        height: 5.3cm;
        margin: 0px;
        padding: 0px;
        -webkit-print-color-adjust: exact !important; 
    }
    div.name {
      position: relative;
      top:2.5cm;
      left:0.5cm; 
    }
    img.qr{
      position: relative;
      top:0.7cm;
      left:5.5cm;
      width: 2.5cm;
    }
  }