#pslightbox {
  display: flex;
  flex-direction: row; 
  flex-wrap: nowrap;
  justify-content: center;
  margin: auto;
  max-width: 1030px;
}

#pslightbox .right {
  flex: 0 1 400px;
}

#pslightbox .left {
  flex: 0 1 630px;
}

#pslightbox .gallery {
  position: relative;  /* important so that overlayed lines can be placed absolute to this */
}

@media only screen and (max-width: 1024px) {
  span.desktop {
    display: none;
  }
}

@media only screen and (max-width: 639px) {
  #pslightbox .left,.right {
    width: 100%;
    height: auto;
    padding: 0;
  }
  #pslightbox {
    flex-wrap: wrap;
  }
}

div#tooltip {
  max-width: 1050px;
  text-align: center;
  margin: auto;
}

button.prevnext {
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 70%;
  box-shadow:  3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);
  color: white;
  border: 1px solid white;
  font-weight: 700;
  background: #4CAF50;
}

button.prevnext:hover {
  opacity: 1;
}

#nextbutton,
#prevbutton {
  position: absolute;
  bottom: 5px;
}

#prevbutton {
  left: 10px
}

#nextbutton {
  right: 10px
}


.gallery img {
  width: 100%;
  max-width: 630px;
  min-width: 360px;
  height: 100%; /* auto; */
}
