/* reset */
html,
body,
div,
p,
h1,
h2,
h3,
h4,
h5,
ol,
ul,
li,
img,
a,
table,
td,
blockquote,
figure,
figcaption,
audio,
header,
nav,
main,
footer,
article,
input,
textarea,
select,
span,
form {
  margin: 0;
  padding: 0;
  border: none;
  outline: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4rem;
  box-sizing: border-box;
}
#skipnav {
  display: none;
}
body {
  background-color: #fff;
}
/* site header */
.header-site {
  background-color: #563c8e;
  position: relative;
  height: 7rem;
  padding: 0.5rem 1rem;
}
.header-site img {
  position: absolute;
}
.header-site img.logo {
  top: 1rem;
  left: 2rem;
  height: calc(7rem - 2rem);
}
.header-site img.logo-exhibits {
  top: 2.5rem;
  right: 4rem;
  height: calc(7rem - 5rem);
}
@media (max-width: 50rem) {
  .header-site {
    height: 3.5rem;
  }
  .header-site img.logo {
    top: 0.5rem;
    left: 1rem;
    height: calc(3.5rem - 1rem);
  }
  .header-site img.logo-exhibits {
    top: 1.25rem;
    right: 1.5rem;
    height: calc(3.5rem - 2.5rem);
  }
}
/* exhibit header */
.header-exhibit {
  background: #f5f0eb;
  position: sticky;
  top: 0;
  z-index: 20;
  height: 7rem;
  box-shadow: 0 1px 2px #888;
}
.header-exhibit a.exhibit-logo {
  font-size: 1.75rem;
  position: absolute;
  left: 3rem;
  top: 1rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  width: auto;
  right: 0;
}
.header-exhibit ul {
  position: absolute;
  bottom: 0;
  right: 0;
  list-style: none;
  background-color: #f0edda;
  height: 3.5rem;
  margin: 0;
  width: 100%;
}
.header-exhibit ul li {
  display: inline-block;
  vertical-align: top;
  position: relative;
  width: 25%;
}
.header-exhibit ul li:nth-child(4n-3) {
  background-color: #74244b;
}
.header-exhibit ul li:nth-child(4n-2) {
  background-color: #250f35;
}
.header-exhibit ul li:nth-child(4n-1) {
  background-color: #996c81;
}
.header-exhibit ul li:nth-child(4n) {
  background-color: #680313;
}
.header-exhibit ul li:hover ul {
  display: block;
}
.header-exhibit ul a {
  color: #f5f0eb;
  display: flex;
  width: 100%;
  height: 3.5rem;
  padding: calc((3.5rem - 2.2rem) / 2) 1rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1rem;
  text-decoration: none;
  align-items: center;
  justify-content: center;
}
.header-exhibit ul a:hover {
  text-decoration: underline;
}
.header-exhibit ul ul {
  position: absolute;
  top: 3.5rem;
  left: 0;
  display: none;
}
.header-exhibit ul ul li {
  background-color: #aaa !important;
  border-bottom: solid 1px #ddd;
}
.header-exhibit ul ul li a {
  width: 100%;
  height: auto;
}
.header-exhibit ul li:last-child ul {
  left: inherit;
  right: 0;
}
@media (max-width: 60rem) {
  .header-exhibit a.exhibit-logo {
    left: 1rem;
    font-size: 1.25rem;
  }
}
@media (max-width: 50rem) {
  .header-exhibit {
    height: 7rem;
  }
  .header-exhibit a.exhibit-logo {
    left: 0;
    font-size: 1.15rem;
    width: 100%;
    text-align: center;
    font-weight: bold;
  }
  .header-exhibit ul {
    width: 100%;
  }
  .header-exhibit ul li {
    width: 25%;
  }
}
@media (max-width: 730px) {
  .header-exhibit {
    height: auto;
    min-height: auto;
  }
  .header-exhibit .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    padding: 0.45rem;
    background: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-tap-highlight-color: transparent;
  }
  .header-exhibit .menu-toggle:focus,
  .header-exhibit .menu-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
  }
  .header-exhibit .menu-toggle span {
    display: block;
    width: 1.3rem;
    height: 0.14rem;
    background-color: #000;
    transition: all 0.2s ease;
  }
  .header-exhibit .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .header-exhibit .menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg) translate(0.25rem, 0.25rem);
  }
  .header-exhibit .menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg) translate(0.25rem, -0.25rem);
  }
  .header-exhibit a.exhibit-logo {
    position: relative;
    top: 0.5rem;
    left: 0;
    display: block;
    padding: 0.5rem 3.25rem 0.75rem 1rem;
    margin-right: 2.5rem;
  }
  .header-exhibit nav {
    display: none;
  }
  .header-exhibit nav.open {
    display: block;
  }
  .header-exhibit nav > ul {
    position: relative;
    top: auto;
    bottom: auto;
    height: auto;
  }
  .header-exhibit nav > ul > li {
    display: block;
    width: 100%;
  }
}
/*  page structure */
article {
  background-color: #fff;
  min-height: calc(100vh - 13rem);
}
article .paper {
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  padding: 1rem 1.5rem 1rem 1.5rem;
  background-color: #fff;
}
article .paper p {
  max-width: 60rem;
}
article .sticky {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-bottom: 2rem;
}
article .col-left {
  width: 33%;
  flex: 0 0 33%;
  position: sticky;
  top: 7rem;
  left: 0;
  align-self: flex-start;
  margin-left: 1.5rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
}
article .col-left .box {
  position: relative;
  width: calc(100% - 1.25rem);
  margin-right: 1.25rem;
  z-index: 1;
}
article .col-left .box .spacer {
  width: 100%;
  height: 4rem;
}
article .col-left .box .content {
  background-color: #dcd9ef;
  padding: 1rem;
}
article .col-right {
  flex: 1 1 0;
  margin: 0 1.5rem 0 1.5rem;
  width: auto;
  padding-top: 2rem;
  min-width: 0;
}
@media (min-width: 50.0625rem) and (max-width: 75rem) {
  article .col-left {
    width: 35%;
    flex: 0 0 35%;
  }
  article .col-right {
    flex: 1 1 0;
  }
}
@media (max-width: 50rem) {
  article .paper {
    padding: 1rem;
  }
  article .sticky {
    display: block !important;
  }
  article .col-left,
  article .col-right {
    display: block !important;
    float: none !important;
    clear: both !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    padding: 1rem !important;
    height: auto !important;
    flex: none !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
  article .col-left .box,
  article .col-right .box {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    width: 100% !important;
    margin-right: 0 !important;
  }
  article .col-left .box .spacer,
  article .col-right .box .spacer {
    height: 0 !important;
  }
  article .col-left {
    margin-left: 0 !important;
  }
  article .col-right {
    padding-top: 0 !important;
  }
  article .layout-file-text .exhibit-items {
    max-width: none;
  }
}
/* update default exhibit page formatting */
article .exhibit-page {
  margin: 4rem 0 0 0;
}
article #exhibit-blocks .exhibit-block {
  margin-bottom: 0;
}
article #exhibit-blocks .exhibit-block:nth-child(2n) {
  background-color: #eef2fa;
}
article .exhibit-items img {
  box-shadow: 2px 2px 5px #888;
}
article .item-show {
  padding-bottom: 1rem;
  overflow: auto;
}
article .item-show h1 {
  margin: 2rem 0;
  border-bottom: solid 0.125rem #888;
  padding-bottom: 0.25rem;
}
article .item-show #item-files,
article .item-show .item-file {
  max-width: 40rem;
}
article .item-show iframe,
article .item-show object,
article .item-show embed,
article .item-show video,
article .item-show .video,
article .item-show .mediaelement,
article .item-show .mejs-container {
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}
article .item-show .element-set {
  margin: 0;
}
article .item-show .element-set h2 {
  display: none;
}
article .item-show .element-set h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
  margin-top: 1rem;
}
article .cbst-item-nav {
  list-style: none;
  border-top: solid 0.125rem #888;
  margin: 3rem 0 2rem 0;
  padding: 0.5rem;
}
article .cbst-item-nav li {
  display: inline-block;
  margin: 0;
}
/* page contents */
article h1 {
  font-size: 1.6rem;
  line-height: 2.4rem;
  margin: 0 0 0 3rem;
  color: #000;
}
article h2 {
  font-size: 1.4rem;
  line-height: 2rem;
  margin-bottom: 1rem;
}
article h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
article p {
  margin-bottom: 1rem;
}
article ul,
article ol {
  margin: 0 0 1rem 2rem;
}
article figure {
  display: block;
  margin-bottom: 1rem;
  color: #1a96b2;
}
article figure img {
  max-width: 100%;
}
article figure.right {
  float: right;
  width: 30rem;
  margin: 0 0 1rem 2rem;
}
article .next {
  float: right;
}
@media (max-width: 50rem) {
  article h1 {
    margin-left: 1rem;
  }
  article figure.right {
    float: none;
    width: 100%;
    margin: 0 0 1rem 0;
  }
}
/* Cover page */
body.exhibits.summary .exhibit-banner {
  display: block;
  width: 100%;
  height: auto;
}
body.exhibits.summary #contents h1,
body.exhibits.summary #contents #exhibit-pages {
  display: none;
}
body.exhibits.summary #contents .cbst-description {
  padding: 2rem 3rem;
  max-width: 60rem;
}
@media (max-width: 50rem) {
  body.exhibits.summary #contents .cbst-description {
    padding: 2rem 1rem;
  }
}
/* Table of Contents page */
h2.toc {
  clear: both;
}
ul.toc {
  list-style: none;
  margin-left: 0;
  overflow: auto;
}
ul.toc li {
  display: block;
  clear: both;
}
ul.toc li img {
  width: 15rem;
  float: left;
  margin: 0 2rem 1rem 0;
}
/* exhibit footer */
.footer-exhibit {
  padding: 2rem 3rem;
  background-color: #dddcf0;
}
.footer-exhibit .footer-exhibit-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: none;
  margin: 1rem 0 0;
  padding: 0;
}
.footer-exhibit .footer-exhibit-card {
  margin: 0;
  clear: none;
  background-color: #f6f2eb;
  border: solid 1.5rem #74244b;
  border-radius: 2rem;
  overflow: hidden;
}
.footer-exhibit .footer-exhibit-card:nth-child(2) {
  border-color: #250f35;
}
.footer-exhibit .footer-exhibit-card:nth-child(3) {
  border-color: #996c81;
}
.footer-exhibit .footer-exhibit-card:nth-child(4) {
  border-color: #680313;
}
.footer-exhibit .footer-exhibit-card a {
  display: block;
  text-decoration: none;
  color: #000;
}
.footer-exhibit .footer-exhibit-card a:hover {
  text-decoration: none;
}
.footer-exhibit .footer-exhibit-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.footer-exhibit .footer-exhibit-card .footer-exhibit-label {
  display: block;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.1rem;
  font-weight: 600;
}
@media (max-width: 50rem) {
  .footer-exhibit .footer-exhibit-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 576px) {
  .footer-exhibit {
    padding: 2rem 1rem;
  }
  .footer-exhibit .footer-exhibit-cards {
    grid-template-columns: 1fr;
  }
}
/* footer */
footer {
  position: relative;
  background-color: #563c8e;
  height: 6rem;
}
footer ul {
  list-style: none;
  position: absolute;
  top: 2.25rem;
  left: 1rem;
}
footer ul li {
  display: inline-block;
}
footer ul li a {
  color: #fff;
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  font-size: 0.9rem;
}
footer ul li a:hover {
  text-decoration: underline;
}
footer img {
  position: absolute;
  top: 1rem;
  right: 2rem;
  height: 4rem;
}
@media (max-width: 50rem) {
  footer {
    height: auto;
    overflow: auto;
  }
  footer img {
    position: relative;
    width: calc(100% - 2rem);
    height: auto;
    left: 0;
    margin: 0 1rem;
  }
  footer ul {
    position: relative;
    width: 60%;
    top: 0;
    margin: 2rem 2rem;
    columns: 2;
  }
  footer ul li {
    display: block;
  }
  footer ul li a {
    padding: 0;
  }
}
