* {
  box-sizing: border-box;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.gallery-thumbnail {
  padding: 1px;
  border: 1px solid white;
  background-color: black;
}

.gallery-image {
  max-height: 720px;
}

.gallery-pdf {
  height: 720px;
  width: 900px;
}

.gallery-slide {
  text-align: center;
  background-color: #c0c0c0c0;
}

.remove-slide, .remove-slide > a {
  float: right;
  color: #e0e0e0e0;
  
}

.gallery-caption {
  padding: 10px;
}

/* The Modal (background) */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;  /* needs to be higher than main menu bar */
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #0641A5;
}

/* Modal Content */
.gallery-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.gallery-close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.gallery-close:hover,
.gallery-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.gallery-prev,
.gallery-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #a4a4a4;
	font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.gallery-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.gallery-prev:hover,
.gallery-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.gallery-number {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.gallery-thumbnail:hover {
  border: 1px blue solid;
}

