#lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 9999;
  text-align: center;
  line-height: 0;
}
#lightbox img {
  width: auto;
  height: auto;
}
#lightbox a img {
  border: none;
}

#outerImageContainer {
  position: relative;
  background-color: #fff;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}
#imageContainer {
  padding: 10px;
}

#loading {
  position: absolute;
  top: 40%;
  left: 0%;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}
#hoverNav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}
#imageContainer > #hoverNav {
  left: 0;
}
#hoverNav a {
  outline: none;
}

#prevLink,
#nextLink {
  width: 52px!important;
  height: 52px!important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px;
  background-color: rgba(231, 238, 237, 0.3);
  display: block;
  position: absolute;
  top: 48%;
}

#prevLink {
  left: 0;
  float: left;
  background-image: url(../img/science_po_right_arrow_dark.svg);
  transform: rotate(180deg);
}

#nextLink {
  right: 0;
  float: right;
  background-image: url(../img/science_po_right_arrow_dark.svg);
}
/*#prevLink:hover, #prevLink:visited:hover { background: url(/img/lightbox/prevlabel.gif) left 15% no-repeat; }*/
/*#nextLink:hover, #nextLink:visited:hover { background: url(/img/lightboxnextlabel.gif) right 15% no-repeat; }*/

#imageDataContainer {
  font: 10px Verdana, Helvetica, sans-serif;
  background-color: #fff;
  margin: 0 auto;
  line-height: 1.4em;
  overflow: auto;
  width: 100%;
}

#imageData {
  padding: 0 10px;
  color: #666;
}
#imageData #imageDetails {
  width: 70%;
  float: left;
  text-align: left;
  padding-bottom: 5px;
}
#imageData #caption {
  font-weight: bold;
}
#imageData #numberDisplay {
  display: block;
  clear: left;
  padding-bottom: 1em;
}

#imageData #bottomNavClose {
    display: flex;
    justify-content: center;
    column-gap: 0.6rem;
    width: max-content;
    float: right;
    padding: 0.5rem 0.8rem;
    background: none;
    margin-bottom: 0.2rem;
    background: none;
    background-color: transparent;
    border: #706f6f 1px solid;
    font-weight: 600;
    color: #666;
}

#imageData #bottomNavClose::after {
  content: ""; 
    display: inline-block; 
    width: 12px; 
    height: 12px;
    background-image: url('/img/lightbox/closelabel_fr.gif');
    background-size: cover; 
    background-position: center;
    margin-top: 0.1rem;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 500px;
  background-color: #000;
}
