/* Druck und "PDF erstellen": Wasserzeichen auf jeder Seite (Herkunft), Bedienelemente aus.
 * position: fixed wiederholt das Element im Druck auf jeder Seite (Chromium). Bootstrap setzt
 * im Druck alle Farben hart auf Schwarz -> eigene Farben mit !important. */
@media print {
  body::after {
    content: "ACP IT Consulting GmbH \00B7  tiri.li";
    position: fixed;
    top: 48%;
    left: 0;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    transform: rotate(-30deg);
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
    color: rgba(61, 74, 82, 0.045) !important;
    z-index: 9999;
    pointer-events: none;
  }
  .navbar, .ui-toc, .ui-affix-toc, .ui-toc-dropdown, .ui-comment-container, #ui-toc-affix,
  .acp-copy, .ui-infobar .ui-edit, .ui-infobar .ui-status-online {
    display: none !important;
  }
  /* Tabellen auf Seitenbreite (HedgeDoc: display block mit Scrollbalken) */
  .markdown-body table { display: table !important; width: 100% !important; font-size: 0.82em; table-layout: auto; }
  .markdown-body table th, .markdown-body table td { padding: 3px 6px !important; word-break: normal; overflow-wrap: break-word; }
  /* Bootstrap druckt hinter jeden Link die Adresse (bei HedgeDoc /_link?url=...) */
  a[href]::after, abbr[title]::after { content: none !important; }
  .markdown-body pre, .markdown-body code { white-space: pre-wrap !important; word-break: break-word; }
  pre, blockquote, tr, img { page-break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; }
}
