
/* ==========================================================================
   Print styles.
   ========================================================================== */
/*@media print {
  * {
    outline: 1px solid red !important;
  }
  h1, h2, h3, h4, h5, h6 {
    outline: 2px solid blue !important;
  }
  p {
    outline: 1px solid green !important;
  }
}*/


@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html {
    font-size: 12pt;
  }

  body {
    margin: 0;
    padding: 0;
    line-height: 1.4;
    font-family: Georgia, "Times New Roman", serif;
  }

  /* Typography */

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
    font-weight: bold;
    line-height: 1.2;
  }

  h1 {
    font-size: 24pt;
  }

  h2 {
    font-size: 18pt;
  }

  h3 {
    font-size: 14pt;
  }

  h4,
  h5,
  h6 {
    font-size: 12pt;
  }

  p {
    orphans: 3;
    widows: 3;
  }
  
  blockquote,
  img,
  figure {
    page-break-inside: avoid;
  }

  /* Links */

  a,
  a:visited {
    text-decoration: underline;
    color: #000 !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  /* Images */

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Tables */

  table {
    border-collapse: collapse;
    width: 100% !important;
    table-layout: auto;
    font-size: 7pt;
  }

  table,
  th,
  td {
    border: 1px solid #000;
  }

  th,
  td {
    padding: 0.15em 0.2em;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 7pt;
    white-space: normal;
  }

  thead {
    display: table-header-group;
  }

  th {
    font-weight: bold;
  }

  /* Page Specific Adjustments - Content Page */
  .inner-banner .wrap{
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0;
  }

  .inner-banner .container{
    padding: 0 !important;
  }

  .top-block {
    margin: 0 !important;
    padding: 0 !important;
    page-break-after: avoid;
  }

  .top-block .text-block,
  .content-blocks>li>.oc-opener,
  .content-blocks .oc-slide {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide non-essential elements */

  nav,
  header,
  footer,
  aside,
  .buttons,
  .related-pages,
  .no-print {
    display: none !important;
  }

  /* open all accordion sections */
  .accordion .slide,
  .accordion-general .slide,
  .oc-slide,
  .faqs-accordion .slide {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    display: block !important;
    visibility: visible !important;
  }

    /* Ensure oc-slide with js-slide-hidden is open for print */
  .oc-slide.js-slide-hidden {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
  }

  /* Remove accordion opener icons/decorations */
  .content-blocks > li > .oc-opener::before,
  .oc-opener::before,
  .opener::before,
  .oc-opener::after,
  .opener::after {
    display: none !important;
    content: none !important;
  }

  /* Page setup */
  @page {
    size: A4 portrait;
    margin: 2cm;
  }
}
