/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 0px;
    margin-top: 0px; /* DC added */
    margin-botton: 0px;
    left: 0px;
    top: 0;
    right: 0px;
    overflow: auto;
    background-color: rgba(50, 50, 50, 0.95);
    height: 100%;
}

/* Modal Content */
.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 100%; /* of the modal */
  height: 100%;
  /* max-width: 1000px;*/
  
}

.modal-content img{
  height: 100%;
  object-fit: scale-down;
}


/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 0;
  font-size: 50px;
  font-weight: bold;
  padding: 15px;
}

.close:hover,
.close:focus {
  text-decoration: none;
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  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: 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 */
.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:   lightgray;
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  top: 1%;
  left: 0;
  background-color:  dimgrey;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.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);
}