@charset "utf-8";

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #151515;
  background: #ffffff;
}

#wrapper {
  box-sizing: border-box;
  float: none;
  width: calc(100% - 24px);
  max-width: 1080px;
  margin: 18px auto;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

#wrapper::after {
  content: "";
  display: block;
  clear: both;
}

#wrapper > #footer,
#banner {
  display: none;
}

#title {
  margin: 0;
  padding: 18px 20px 8px;
  border-bottom: 1px solid #e7e7e7;
  color: #121212;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

#navigation {
  display: none;
}

.ohm-exhibits-bar {
  max-width: 1080px;
  margin-top: 14px;
  margin-bottom: 10px;
}

.ohm-exhibits-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.ohm-exhibits-title {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #121212;
}

.ohm-exhibits-search-link,
.ohm-exhibits-search-link:link,
.ohm-exhibits-search-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #1f1f1f;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
  text-align: right;
  white-space: nowrap;
}

.ohm-exhibits-search-link:hover,
.ohm-exhibits-search-link:focus,
.ohm-exhibits-search-link:focus-visible {
  color: #111111;
  background: #f3f3f3;
  border-color: #111111;
}

.ohm-exhibits-search-link::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: no-repeat center / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.65' y1='16.65' x2='21' y2='21'/%3E%3C/svg%3E");
}

.ohm-exhibits-search-link.is-no-icon {
  justify-content: center;
  text-align: center;
}

.ohm-exhibits-search-link.is-no-icon::before {
  display: none;
}

.ohm-exhibits-actions {
  margin: 1rem 0 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ohm-exhibits-action,
.ohm-exhibits-action:link,
.ohm-exhibits-action:visited {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #d2d2d2;
  background: #ffffff;
  color: #7d0f15;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.ohm-exhibits-action:hover,
.ohm-exhibits-action:focus,
.ohm-exhibits-action:focus-visible {
  color: #5f0a0f;
  border-color: #b03a3f;
  box-shadow: 0 0 0 2px rgba(176, 58, 63, 0.15);
}

.ohm-exhibits-action.is-disabled {
  color: #666666;
  background: #f3f3f3;
  border-color: #dddddd;
}

#navigation {
  background: #fafafa;
  border-bottom: 1px solid #ececec;
  padding: 10px 12px;
}

.navigationul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.navigationli {
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #d2d2d2;
  background: #ffffff;
  color: #353535;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.navigationli a {
  display: block;
  padding: 12px 16px;
  color: #7d0f15;
  text-decoration: none;
}

.navigationli a:hover,
.navigationli a:focus,
.navigationli a:focus-visible {
  color: #5f0a0f;
}

.navigationli:hover,
.navigationli:focus-within {
  background: #fff3f3;
  border-color: #b03a3f;
  box-shadow: 0 0 0 2px rgba(176, 58, 63, 0.15);
}

#content {
  padding: 18px;
}

img {
  max-width: 100%;
  height: auto;
}

#imageblock {
  margin: 0 auto 18px;
  max-width: 620px;
  color: #4b4b4b;
  font-size: 1rem;
  text-align: center;
}

#imageblock .mainimage {
  margin: 0;
}

#imageblock .subimages {
  margin-top: 12px;
}

#imageblock .subimages img {
  display: block;
}

#imageblock .mainimage img,
.imagefile img,
.toc li .image {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  border-radius: 8px;
  border: 0;
  box-shadow: none;
}

#datablock {
  margin: 0;
}

.datalabel {
  margin: 0;
  font-weight: 700;
  color: #212121;
}

.datatext {
  margin: 0 0 14px;
  color: #1c1c1c;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.startexhibit {
  display: inline-block;
  margin-top: 6px;
  background: #7d0f15;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 1rem;
}

a.startexhibit,
a.startexhibit:link,
a.startexhibit:visited,
a.startexhibit:hover,
a.startexhibit:focus,
a.startexhibit:focus-visible,
a.startexhibit:active {
  color: #ffffff;
  text-decoration: none;
}

.startexhibit:hover,
.startexhibit:focus,
.startexhibit:focus-visible {
  background: #650c11;
}

.toc {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc .imagefile {
  clear: both;
  float: left;
  width: 225px;
  margin: 14px 0 14px;
}

.toc .objname,
.toc .objectid,
.toc .title,
.toc .descrip {
  margin: 0 0 6px 245px;
  color: #222222;
}

.toc .objname,
.toc .title {
  font-weight: 700;
}

.toc .title {
  color: #b0141b;
  font-size: 1.25rem;
  line-height: 1.3;
}

.ohm-exhibit-title-link {
  color: inherit;
  text-decoration: none;
}

.ohm-exhibit-title-link:hover,
.ohm-exhibit-title-link:focus,
.ohm-exhibit-title-link:focus-visible {
  text-decoration: underline;
}

.toc .objectid {
  font-size: 1rem;
  color: #555555;
}

.toc .descrip {
  margin-bottom: 16px;
  padding-bottom: 16px;
  line-height: 1.6;
  border-bottom: 1px solid #ececec;
}

a,
a:link,
a:visited {
  color: #7d0f15;
  text-underline-offset: 2px;
}

a:hover,
a:focus,
a:focus-visible,
a:active {
  color: #5f0a0f;
}

.reclink {
  font-weight: 700;
}

a:focus,
a:focus-visible {
  outline: 3px solid #7d0f15;
  outline-offset: 2px;
}

@media (min-width: 860px) {
  #content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
  }

  #imageblock {
    flex: 1 1 48%;
    margin: 0;
  }

  #datablock {
    flex: 1 1 46%;
  }

  #content > .toc {
    flex: 0 0 100%;
  }
}

@media (max-width: 760px) {
  #wrapper {
    width: calc(100% - 14px);
    margin: 12px auto;
    border-radius: 8px;
  }

  #title {
    font-size: 1.45rem;
    padding: 14px 14px 8px;
  }

  .ohm-exhibits-title {
    font-size: 1.72rem;
  }

  #navigation {
    padding: 8px;
  }

  .navigationli {
    width: 100%;
  }

  #content {
    padding: 12px;
  }

  .toc .imagefile {
    float: none;
    width: 100%;
    max-width: none;
    margin: 10px 0 12px;
  }

  .toc .imagefile img,
  .toc li .image {
    max-width: none;
  }

  .toc .objname,
  .toc .objectid,
  .toc .title,
  .toc .descrip {
    margin-left: 0;
  }

  .toc .title {
    text-align: center;
  }
}

@media (max-width: 860px) {
  .ohm-exhibits-meta {
    flex-wrap: wrap;
    align-items: center;
  }

  .ohm-exhibits-search-link,
  .ohm-exhibits-search-link:link,
  .ohm-exhibits-search-link:visited {
    margin-left: auto;
  }

  .ohm-exhibits-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .ohm-exhibits-action,
  .ohm-exhibits-action:link,
  .ohm-exhibits-action:visited {
    width: auto;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.94rem;
  }

  #imageblock {
    width: 100%;
    max-width: none;
  }

  #imageblock .mainimage,
  #imageblock .mainimage img {
    width: 100%;
    max-width: none;
  }

  #imageblock .subimages,
  #imageblock .subimages img,
  #imageblock .subimage {
    width: 100%;
    max-width: none;
  }

  .navigationli {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .ohm-exhibits-actions {
    grid-template-columns: 1fr;
  }
}

/* Exhibits home page list layout (index.htm) */
.ohm-exhibits-home .toc {
  --ohm-home-thumb-w: clamp(250px, 31vw, 360px);
  display: block;
}

.ohm-exhibits-home #title {
  font-size: 2.2rem;
}

.ohm-exhibits-home .toc .ohm-exhibit-row {
  display: grid;
  grid-template-columns: var(--ohm-home-thumb-w) minmax(0, 1fr);
  column-gap: 18px;
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid #ececec;
}

.ohm-exhibits-home .toc .ohm-exhibit-row-thumb {
  align-self: start;
}

.ohm-exhibits-home .toc .ohm-exhibit-row-thumb img {
  width: 100%;
  max-width: none;
}

.ohm-exhibits-home .toc .ohm-exhibit-row-copy {
  min-width: 0;
}

.ohm-exhibits-home .toc .ohm-exhibit-row-title {
  margin: 0;
  color: #b0141b;
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: 700;
}

.ohm-exhibits-home .toc .ohm-exhibit-row-desc {
  margin: 0;
  margin-top: 1rem;
  font-size: 1.12rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .ohm-exhibits-home .toc .ohm-exhibit-row {
    grid-template-columns: 1fr;
  }

  .ohm-exhibits-home .toc .ohm-exhibit-row-thumb {
    margin: 10px 0 12px;
  }

  .ohm-exhibits-home .toc .ohm-exhibit-row-title {
    text-align: center;
  }

  .ohm-exhibits-home .toc .ohm-exhibit-row-desc {
    margin-top: 1rem;
  }
}

/* TOC pages (for example: /exhibits/vex8/toc.htm) */
.ohm-exhibit-toc .toc {
  --ohm-toc-thumb-w: clamp(250px, 31vw, 360px);
  display: block;
}

.ohm-exhibit-toc .toc .imagefile {
  float: none;
  clear: none;
  width: var(--ohm-toc-thumb-w, clamp(250px, 31vw, 360px));
  max-width: none;
  margin: 0;
}

.ohm-exhibit-toc .toc .imagefile img,
.ohm-exhibit-toc .toc li .image {
  width: 100%;
  max-width: none;
}

.ohm-exhibit-toc .toc .ohm-toc-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 24px;
  padding: 0 0 24px;
  border-bottom: 1px solid #d0d0d0;
}

.ohm-exhibit-toc .ohm-toc-thumb {
  flex: 0 0 var(--ohm-toc-thumb-w, clamp(250px, 31vw, 360px));
  width: var(--ohm-toc-thumb-w, clamp(250px, 31vw, 360px));
}

.ohm-exhibit-toc .ohm-toc-thumb a {
  display: block;
  width: 100%;
  height: calc(var(--ohm-toc-thumb-w, clamp(250px, 31vw, 360px)) * 0.75);
  aspect-ratio: 4 / 3;
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
}

.ohm-exhibit-toc .ohm-toc-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.ohm-exhibit-toc .ohm-toc-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.ohm-exhibit-toc .ohm-toc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 12px;
  margin: 0 0 0.35rem;
  color: #555555;
  font-size: 0.96rem;
  text-align: left;
}

.ohm-exhibit-toc .ohm-toc-objname {
  font-weight: 600;
}

.ohm-exhibit-toc .ohm-toc-title {
  margin: 0;
  color: #b0141b;
  font-size: 1.25rem;
  line-height: 1.3;
}

.ohm-exhibit-toc .ohm-toc-desc {
  margin: 1rem 0 0;
  line-height: 1.6;
}

.ohm-exhibit-toc .reclink {
  display: none;
}

@media (max-width: 760px) {
  .ohm-exhibit-toc .toc .ohm-toc-row {
    display: block;
  }

  .ohm-exhibit-toc .ohm-toc-thumb {
    margin: 10px 0 12px;
    width: 100%;
  }

  .ohm-exhibit-toc .toc .imagefile {
    width: 100%;
    margin: 10px 0 12px;
  }

  .ohm-exhibit-toc .ohm-toc-thumb a {
    height: auto;
    aspect-ratio: auto;
  }

  .ohm-exhibit-toc .ohm-toc-thumb img {
    height: auto;
    object-fit: contain;
  }

  .ohm-exhibit-toc .ohm-toc-title {
    text-align: center;
  }

  .ohm-exhibit-toc .ohm-toc-meta {
    justify-content: center;
    text-align: center;
  }
}

#imageblock .mainimage a[href*="images/"],
#imageblock .subimages a[href*="images/"] {
  cursor: zoom-in;
}

body.ohm-lightbox-open {
  overflow: hidden;
}

.ohm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 3vw, 24px);
  background: rgba(8, 9, 12, 0.9);
}

.ohm-lightbox.is-open {
  display: flex;
}

.ohm-lightbox-shell {
  position: relative;
  width: min(96vw, 1400px);
  max-height: 96vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  color: #f3f3f3;
}

.ohm-lightbox-close,
.ohm-lightbox-nav {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
}

.ohm-lightbox-close {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + clamp(8px, 2.2vw, 22px));
  right: calc(env(safe-area-inset-right, 0px) + clamp(8px, 2.2vw, 22px));
  z-index: 4010;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1;
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  opacity: 0.74;
}

.ohm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(50px, 6.8vw, 70px);
  height: clamp(50px, 6.8vw, 70px);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  font-size: 0;
  line-height: 1;
}

.ohm-lightbox-nav::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  line-height: 1;
}

.ohm-lightbox-prev {
  left: 14px;
}

.ohm-lightbox-next {
  right: 14px;
}

.ohm-lightbox-prev::before {
  content: "\2039";
  transform: translate(-1px, -1px);
}

.ohm-lightbox-next::before {
  content: "\203A";
  transform: translate(1px, -1px);
}

.ohm-lightbox-nav:disabled,
.ohm-lightbox-nav:disabled:hover,
.ohm-lightbox-nav:disabled:focus,
.ohm-lightbox-nav:disabled:focus-visible {
  opacity: 0.35;
  cursor: default;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.ohm-lightbox-close:hover,
.ohm-lightbox-close:focus,
.ohm-lightbox-close:focus-visible {
  color: #ffffff;
  opacity: 1;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ohm-lightbox-nav:hover,
.ohm-lightbox-nav:focus,
.ohm-lightbox-nav:focus-visible {
  color: #ffffff;
}

.ohm-lightbox-close:focus,
.ohm-lightbox-nav:focus {
  outline: none;
}

.ohm-lightbox-figure {
  margin: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ohm-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 1100px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  background: #0a0a0a;
}

.ohm-lightbox.is-image-loading .ohm-lightbox-image {
  opacity: 0.7;
}

.ohm-lightbox-caption {
  margin: 0;
  max-width: min(92vw, 1100px);
  text-align: center;
  color: #f3f3f3;
  font-size: 1rem;
  line-height: 1.5;
}

.ohm-lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 14px;
  font-size: 0.92rem;
  color: #d8d8d8;
}

.ohm-lightbox-counter {
  font-weight: 700;
}

.ohm-lightbox-close:focus-visible {
  outline: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.ohm-lightbox-nav:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(176, 20, 27, 0.9), 0 0 0 5px rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

@media (max-width: 760px) {
  .ohm-lightbox-shell {
    width: 100%;
    max-height: 100%;
    gap: 8px;
  }

  .ohm-lightbox-close {
    padding: 0 6px;
  }

  .ohm-lightbox-nav {
    width: 58px;
    height: 58px;
  }

  .ohm-lightbox-prev {
    left: 8px;
  }

  .ohm-lightbox-next {
    right: 8px;
  }

  .ohm-lightbox-image {
    max-height: 72vh;
    border-radius: 8px;
  }

  .ohm-lightbox-caption {
    font-size: 0.95rem;
  }
}
