/* Site-specific print rules layered on top of Gutenberg. */
/* Gutenberg pads <body> as a stand-in for page margins; we use real @page margins
   (set per paste in _print_head.html), so drop the padding to avoid doubling up. */
body { padding: 0 !important; margin: 0 !important; }
.site-header, .site-footer, .toolbar, .messages, .print-bar, .no-print { display: none !important; }

.container, .container-wide { max-width: none; margin: 0; padding: 0; }
.pages { display: none !important; }
.sheet, .sheet.paginated { display: block !important; width: auto; min-height: 0; margin: 0; padding: 0; box-shadow: none; border-radius: 0; background: transparent; }
.paper .no-print { display: none; }
.sheet::after { display: none; }

/* The frame table: thead/tfoot repeat on every page (Chromium, WebKit, Firefox). */
.print-frame { width: 100%; border-collapse: collapse; margin: 0; border: 0; page-break-inside: auto; break-inside: auto; }
.print-frame > thead, .print-frame > tbody, .print-frame > tfoot { border: 0; }
.print-frame > thead { display: table-header-group; }
.print-frame > tfoot { display: table-footer-group; }
.print-frame > * > tr { page-break-inside: auto; break-inside: auto; }
.print-frame > * > tr > td { border: 0; padding: 0; vertical-align: top; text-align: left; page-break-inside: auto; break-inside: auto; }
.print-header {
  font-family: Helvetica, Arial, sans-serif; font-size: 9pt; color: #555;
  border-bottom: .5pt solid #999 !important; padding-bottom: 1.5mm !important; margin-bottom: 0;
}
.print-page { padding-top: 6mm !important; padding-bottom: 6mm !important; }
.print-footer {
  font-family: Helvetica, Arial, sans-serif; font-size: 8pt; color: #666;
  border-top: .5pt solid #bbb !important; padding-top: 1.5mm !important;
}
.print-footer .branding { float: right; }

.paste-title { page-break-after: avoid; break-after: avoid; margin-top: 0; }
pre, .codehilite { white-space: pre-wrap; word-break: break-word; font-size: 9pt; }
.codehilite { background: #f4f4f4 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.codehilite .linenos { color: #888; }
.paste-body table { page-break-inside: auto; }
.paste-body tr, img, figure, blockquote { page-break-inside: avoid; break-inside: avoid; }
.paste-body thead { display: table-header-group; }
