/* Match the HCS2012 pinned archive notice without changing document typography. */
body.preGHS-archive .historicalArchiveNotice {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  width: min(74rem, calc(100% - 20px));
  margin: 0.75em auto 1.25em;
  padding: 0.65em 1em;
  border: 1px solid #b58a27;
  border-bottom-width: 3px;
  border-radius: 5px;
  background: #fff7d6;
  color: #4b3b00;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14);
  font: 14px/1.5 verdana, arial, helvetica, sans-serif;
}
body.preGHS-archive #pagecontent .historicalArchiveNotice p {
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
body.preGHS-archive #pagecontent .historicalArchiveNotice .historicalArchiveNoticeTitle {
  margin-bottom: 0.25em;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.01em;
}
body.preGHS-archive .historicalArchiveNotice a {
  color: #174f78;
  font-weight: bold;
}
body.preGHS-archive .historicalArchiveNotice a:focus,
body.preGHS-archive .historicalArchiveNotice a:hover {
  text-decoration-thickness: 2px;
}
body.preGHS-archive #pagecontent [id],
body.preGHS-archive #pagecontent a[name] {
  scroll-margin-top: 11rem;
}
@media screen and (max-width: 800px) {
  body.preGHS-archive .historicalArchiveNotice {
    position: static;
    width: calc(100% - 10px);
    padding: 0.55em 0.7em;
    font-size: 13px;
    line-height: 1.4;
  }
  body.preGHS-archive #pagecontent [id],
  body.preGHS-archive #pagecontent a[name] { scroll-margin-top: 0; }
}
@media print {
  body.preGHS-archive .historicalArchiveNotice {
    position: static;
    box-shadow: none;
  }
}
