.row > .lightbox-thumbnail {
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.lightbox-thumbnail {
  float: left;
  max-width: 5%;
}

.lightbox-thumbnails {
  max-height: 15vh;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* The Modal (background) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;	
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Content */
.lightbox-content {
  text-align: center;
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
}

.lightbox-content img {
	max-height: 85vh;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 12px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.close:hover,
.close:focus {
  cursor: pointer;
  opacity: 0.3;
}

/* Hide the slides by default */
.portfolio-lightbox {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
}

.prev {
	left: 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

img.demo {
  border-radius: 10px;
}

.active,
.demo:hover {
  opacity: 0.5;
  cursor: pointer;
}
