/* Keep the professor's page structure and visual styles. */
.activity-grid,
.research-grid {
  display: grid;
  width: 100%;
  align-items: start;
}
.activity-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.research-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid figure,
.concept-image {
  margin: 0;
  min-width: 0;
}
.grid img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}
.activity-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.research-grid img {
  aspect-ratio: 1.414 / 1;
  object-fit: contain;
  background: #fff;
}
figcaption {
  margin: 9px 0 16px;
  padding-right: 12px;
  font-size: 14px;
  line-height: 1.55;
}
.image-credit {
  display: inline-block;
  margin-top: 5px;
}
.concept-image img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}
.reference {
  margin-left: 1.5em;
  text-indent: -1.5em;
  overflow-wrap: anywhere;
}
img[role="button"]:focus-visible {
  outline: 3px solid #2196f3;
  outline-offset: 3px;
}
body.modal-open {
  overflow: hidden;
}
#modal01 {
  padding: 22px 20px;
  overflow-y: auto;
}
#closeModalButton {
  position: fixed;
  z-index: 5;
}
.modal-dialog {
  width: 100%;
  max-width: 1280px;
  padding: 24px 20px 18px;
  max-height: calc(100vh - 44px);
  max-height: calc(100dvh - 44px);
  overflow: auto;
}
#img01 {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 68vh;
  max-height: 68dvh;
  object-fit: contain;
  margin: 0 auto;
}
#caption {
  margin: 14px auto 0;
  max-width: 1050px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #111;
  overflow-wrap: anywhere;
}
@media (max-width: 992px) {
  .w3-main [id] {
    scroll-margin-top: 72px;
  }
}
@media (max-width: 600px) {
  h1.w3-jumbo {
    font-size: 48px !important;
  }
  h1.w3-xxxlarge {
    font-size: 36px !important;
  }
  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .research-grid {
    grid-template-columns: 1fr;
  }
  #modal01 {
    padding: 18px 8px;
  }
  .modal-dialog {
    padding: 25px 8px 16px;
    max-height: calc(100vh - 36px);
    max-height: calc(100dvh - 36px);
  }
  #img01 {
    max-height: 60vh;
    max-height: 60dvh;
  }
}
