body,
html {
  margin: 0;
  padding: 0;
}
body a,
html a {
  text-decoration: none;
  margin: 0;
  padding: 0;
}
body .printPages,
html .printPages {
  position: fixed;
  z-index: -10000000;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: 0;
}
body .viewerPrint,
html .viewerPrint {
  z-index: 1;
  position: relative;
}
body >div .printMM,
html >div .printMM {
  margin: 0 auto;
}
body >div .printMM .pf,
html >div .printMM .pf {
  opacity: 1;
}
@media print {
  @page size A4;
  html,
  body {
    width: 210mm;
    height: 297mm;
    overflow: initial;
    position: initial;
    margin: 0 auto;
  }
  html > *,
  body > * {
    overflow: initial;
    position: initial;
  }
  html .emptyLayout,
  body .emptyLayout {
    position: initial;
  }
  html .sidebar,
  body .sidebar,
  html .toolbar,
  body .toolbar,
  html .viewer,
  body .viewer {
    display: none;
  }
  html .printPages,
  body .printPages {
    display: inline-block;
    z-index: 10000000;
  }
  html .viewerPrint,
  body .viewerPrint {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  html .viewerPrint >div,
  body .viewerPrint >div {
    margin: 0 auto;
  }
  html .viewerPrint >div .printMM,
  body .viewerPrint >div .printMM {
    height: auto;
  }
  html .viewerPrint >div .printMM .pf,
  body .viewerPrint >div .printMM .pf {
    opacity: 1;
  }
  html .viewerPrint >div .printMM #pdfPage,
  body .viewerPrint >div .printMM #pdfPage {
    margin: 0 auto;
    transform-origin: top;
  }
}
.pagebreak {
  page-break-before: always;
}
