html {
  --archive-banner-height: 58px;
  --navbar-height: 56.5px;
}

html,
body {
  width: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  padding-top: var(--archive-banner-height);
}

#viewDiv {
  position: absolute;
  top: calc(var(--archive-banner-height) + var(--navbar-height));
  bottom: 0;
  height: calc(100vh - var(--archive-banner-height) - var(--navbar-height));
  margin-top: 0;
  width: 100%;
}

.navbar {
  position: fixed;
  top: var(--archive-banner-height);
  left: 0;
  right: 0;
  z-index: 1500;
  height: var(--navbar-height);  
}

.navbar-brand {
  padding: 0 15px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-light {
  background: #606060 !important;
  border-bottom: solid 2px black;
}

#archive-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  gap: 1em;
  box-sizing: border-box;
  padding: 0.75em 1.25em 0.7em;
  background-color: #d6e5ea;
  border-bottom: 1px solid #9eb8c2;
  color: #1c1c1c;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.archive-banner-icon {
  flex: 0 0 auto;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  background-color: #005a7a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75em;
  text-align: center;
}

.archive-banner-content {
  min-width: 0;
}

.archive-banner-title,
.archive-banner-text {
  margin: 0;
}

.archive-banner-title {
  font-size: 1.05em;
  font-weight: 700;
}

.archive-banner-text {
  margin-top: 0.2em;
  line-height: 1.4;
}

.archive-banner-text a {
  color: #005073;
  font-weight: 700;
  word-break: break-word;
}

#openseadragon1 {
  width: 100%;
  height: 450px;
}

#imageModal .modal-content {    
  height: 500px;
  margin:0 auto;
}

 
#infoModal .modal-dialog{
  overflow-y: initial !important
}
#infoModal .modal-body{
  height: 80vh;
  overflow-y: auto;
}

.responsive {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 767px) {
  html {
    --archive-banner-height: 92px;
  }

  #archive-banner {
    padding: 0.9em 1em;
  }

  .archive-banner-title {
    font-size: 1em;
  }

  .archive-banner-text {
    font-size: 0.95em;
  }
}

@media only screen and (min-width: 992px) {
  #imageModal .modal-content {
    width: 1000px;
    height: 700px;
    margin:0 auto;
  }

  .navbar-brand {
    font-size: 1.7rem;
    padding: 0 15px;
  }

  #openseadragon1 {
    width: 100%;
    height: 620px;
  }  
}

