@page { margin: 0;
    @bottom-left {
            content: counter(page) "/" counter(pages);
        }
     }


body { margin: 0 }
.sheet {
  margin: 0;
  overflow: visible;
  position: relative;
  box-sizing: border-box;
  page-break-after: always;
  page-break-before: auto;
}

/** Paper sizes **/
body.A4               .sheet { width: 210mm }
body.A4.landscape     .sheet { width: 297mm; height: 209mm }
body.A5               .sheet { width: 148mm; height: 209mm }
body.A5.landscape     .sheet { width: 210mm; height: 147mm }
body.A6               .sheet { width: 105mm; height: 148mm }
body.A6.landscape     .sheet { width: 148mm; height: 105mm }


/** Padding area **/
.sheet.padding-10mm { padding: 10mm }
.sheet.padding-15mm { padding: 15mm }
.sheet.padding-20mm { padding: 20mm }
.sheet.padding-25mm { padding: 25mm }

/** For screen preview **/
@media screen {
  body { background: #e0e0e0 }
  .sheet {
    background: white;
    box-shadow: 0 .5mm 2mm rgba(0,0,0,.3);
    margin: 5mm auto;
  }
}

/** Fix for Chrome issue #273306 **/
@media print {
  body.A3, body.A4.landscape { width: 297mm }
  body.A4, body.A5.landscape { width: 210mm }
  body.A5, body.A6.landscape { width: 148mm }
  body.A6,                   { width: 105mm }
  .table-breaked {
    page-break-before: auto;
  }
  .no-border{
    border: none !important;
  }
  .footer-repeat {
    display: table-footer-group;
  }
}


html body { /* increased specificity! */
    font-size: 12px;
}

table {
    border-collapse: collapse;
    font-size: 12px;
}

table.lines {

}

table.lines td {
    border: 1px solid black;
    text-align: right;
}

table.lines th {
    border: 1px solid black;
    text-align: center;
}

table.lines td.noborder {
    border: none;
}


td.center {
    text-align: center;
}
