/*
* {
  box-sizing: border-box;
}
*/

#photoGallery {
  margin-top: 15px;
  display: block;
  clear: both;
}

#photoGallery a {
  color: white;
}

#photoGallery .row > .thumbnail {
  padding: 0 8px;
}

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

#photoGallery .thumbnail {
  float: left;
  width: 25%;
}

#photoGallery .slides img,
#photoGallery .thumbnail img {
  width: 100%;
}

/* The Modal (background) */
#photoGallery .gmodal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #fff; /* #004797 #e4e4e42b */
}

/* Modal Content */
#photoGallery .gmodal-content {
  position: relative;
  background-color: white; /* #fefefe;*/
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
#photoGallery .close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

#photoGallery .close:hover,
#photoGallery .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

#photoGallery .slides {
  display: none;
}

#photoGallery .cursor {
  cursor: pointer;
}

/* Next & previous buttons */
#photoGallery .prev,
#photoGallery .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

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

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

/* Number text (1/3 etc) */
#photoGallery .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

#photoGallery img {
  /* margin-bottom: -4px; */
}

#photoGallery .caption-container {
  text-align: center;
  background-color: white; /* #e4e4e42b; */
  padding: 20px 16px 5px 16px;
  color: #004797; 
  font-weight: bold;
}

#photoGallery .demo {
  opacity: 0.6;
}

#photoGallery .active,
#photoGallery .demo:hover {
  opacity: 1;
}

#photoGallery img.hover-shadow {
  transition: 0.3s;
}

#photoGallery .hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#photoGallery .gallery-heading {
  text-align: center;  
  text-decoration: none; 
  color: #004797;
  font-weight: normal;  
  font-size: 1.3rem; 
  padding: 15px;
}

#photoGallery .gallery-heading a {
  text-decoration: none; 
  padding: 12px;
}

#photoGallery .text {
  position: relative;
  top: -8px;
}

.clear {
  clear: both;
}

.footer {
  display: block;
  clear: both;
}