/*
 * Panic Button docs colours. Links use the app's action blue; the alarm red
 * is kept for the logo, so red on a page never means "click here".
 */

:root {
  --md-accent-fg-color: #1f4e8c;
  --md-typeset-a-color: #1f4e8c;
}

/*
 * Printing: the page content only, compact enough that the staff guide
 * fits on one A4 sheet to pin up by a desk (R57).
 */
@media print {
  .md-header,
  .md-tabs,
  .md-sidebar,
  .md-footer,
  .md-content__button,
  .md-source,
  .md-search {
    display: none !important;
  }

  .md-main__inner,
  .md-content__inner {
    margin: 0 !important;
    padding: 0 !important;
  }

  .md-typeset {
    font-size: 9.5pt;
    line-height: 1.3;
  }

  .md-typeset h1 {
    margin: 0 0 0.4em;
    font-size: 17pt;
  }

  .md-typeset h2 {
    margin: 0.55em 0 0.2em;
    font-size: 12pt;
  }

  .md-typeset ul li,
  .md-typeset ol li {
    margin-bottom: 0.1em;
  }

  .md-typeset p,
  .md-typeset ul,
  .md-typeset table {
    margin: 0.3em 0;
  }

  .md-typeset img {
    max-height: 1.8cm;
    width: auto;
  }

  .md-typeset table:not([class]) {
    font-size: 9pt;
    border: 0;
  }

  .md-typeset table:not([class]) th,
  .md-typeset table:not([class]) td {
    padding: 0.25em 0.6em;
  }

  .md-typeset a {
    color: inherit;
    text-decoration: none;
  }

  @page {
    size: A4;
    margin: 1cm;
  }
}
