body {
  position: absolute;
  height: 90% !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.copy-protected {
  display: none !important;
}

.copy-protected:first-of-type {
    display: block !important;
    visibility: hidden;
}

.copy-protected:first-of-type:after {
    content: "The information on this page is sensitive; you have special access to it through your PSJD account. Please do not share it outside of the site--even with other users who have accounts on PSJD.";
    visibility: visible;
    position: absolute;
    top: 0;
    font-weight: bold;
}

body>div.row, main,article {
  height: 100% !important;
  width: 100% !important;
  max-width: 100%!important;
  position: relative;
  margin: 0;
  margin-bottom: 10em;
  break-after: always;
  background: white;
  z-index: 1000;
  padding: 0;
}

table {
  -webkit-column-break-inside: auto;
  page-break-inside: auto;
  break-inside: auto;
}

tr {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  -webkit-column-break-after: auto;
  page-break-after: auto;
  break-after: auto;
}

body>div.row, main, article {
  width: 100% !important;
  margin: 0;
  padding: 0;
  max-width: 100% !important;
  display: block;
  font-size: 1rem;
  line-height: 1.2rem;
}

a.backend {
  display: none;
}


header, .icon-links, aside {
  display: none !important;
}

main {
  margin-top: 3em;
}

.page-controls *[role='navigation']{
  display: none !important;
}

.tooltip,[role='tooltip']:not(.footnote) {
  display: none !important;
}

.print-footnotes {
  border-top: 1px solid;
  list-style-position: outside !important;
}

.print-footnotes.visually-hidden {
  height: auto;
  width: auto;
  position: inherit;
  margin: inherit;
  overflow: inherit;
  padding: inherit;
  clip: inherit;
}

.breadcrumb li:first-of-type {
  display: block;
}

.breadcrumb li:first-of-type a {
  -webkit-print-color-adjust: exact !important;   /* Chrome, Safari */
  color-adjust: exact !important;
  width: 1.4em !important;
  height: 1em !important;
}

.breadcrumb li:first-of-type a::after {
  display: none !important;
}

img {
  max-width: 100%;
}

article a[href^='mailto:']:not(.bareURL)::after {
  content: " ["attr(href) "]" !important;
}

a[href] {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break:break-all;
}

*[style^='display: none'],
*[style^='display:none']{
  display: none;
}

.toc-wrapper:not(:first-of-type) {
  page-break-before: always;
}

@page {
  size: auto;
  margin: 20mm;
}

.user-input {
  border-color: transparent !important;
}


.header-space {
  margin-bottom: 1em;
}

.header-space,.footer-space {
  background: red;
}

#print-header, .header-space {
  height: 3em !important;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

#print-footer, .footer-space {
  height: 5em;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  background: white;
}

#print-footer .vcard > .adr > div, #print-footer .vcard > div {
  display: inline;
}

#print-footer .vcard > .adr {
  clear: left !important;
  display: inline-block;
}

#print-footer .vcard > .adr + div {
  clear: left !important;
  display: inline-block;
}

#print-header {
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 99999;
}

#print-header > * {
  position: relative;
  top: .8em;
}

#print-footer {
  position: fixed;
  bottom: 0;
  z-index: 1000;
}

.no-print {
  display: none!important;
}
