div.ujapLightbox {
  font-family: "sans-serif";
}

img.lightboxImage {
    cursor: pointer;  
}
img.lightboxImage.thumbnail {
  height: 200px;
  padding: 2px;
}

div#lightboxModal {
  /* general appearance */
  background-color: rgba(127, 127, 127, 0.9); 
  width: 100%;
  height: 100%;
  /* show on fixed position */
  position: fixed;
  top: 0;
  left: 0;
  /* hide initially */
  display: none;
  z-index: 2;
}

div.mySlides {
  /* hide initially */
  display: none;
  width: 100%;
  height: 100%;
}

img.modal {
  width: 100%;
  height: 100%;
  /* make sure image is resized to max possible width/height without being distorted or cut: */
  object-fit: scale-down;  
}

div.caption {
  position: absolute;
  bottom: 0;
  z-index: 2;
  width: 100%;
  text-align: center;
}

a.innercaption {
  max-width: 21cm;
  font-size: 12pt;
  color: white; 
  background-color: rgba(127, 127, 127, 0.5);
  display: inline-block;
  padding: 5px;
}

/* buttons */

.button {
  cursor: pointer;
  display: block;
  position: absolute;
  /* font style */
  color: white;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
   
}
a.button:hover {
  background-color: rgba(88, 88, 88, 0.5);
}

/* prev/next buttons */

a.next, a.prev {
  top: 20%;
  height: 60%;
  /* other stuff */
}

a.next > div, a.prev > div {
  /* vertical centering: */
  position: relative;
  top: 50%;
  /* horizontal centering */
  padding: 16px;  
}

a.prev {
  left: 0;
  border-radius: 0 5px 5px 0;
}

a.next {
  right: 0;
  border-radius: 5px 0 0 5px;
}

 a.next > div {
 right: 0;
 }

/* close button */
 
a.close {
  right: 0;
  padding: 16px;
  border-radius: 0 0 0 5px;
}
 