/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0px;
  top: 0%;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #E2EDF8;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #E2EDF8;
  left: 0px;
  margin: auto;
  padding: 0;
  height: 95vh;
  width: 95vh;

}

@media only screen and (max-width: 800px) {
.modal {
  display: none;
  }
}

@media only screen and (max-width: 1100px) {
.modal-content {
  height: 90vh;
  width: 90vh;
  }
}


@media only screen and (max-width: 1100px) {
.caption-container {
  display: none;
  }
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

.mySlides img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
}

.mySlides img.landscape {
  width: 100%;
  height: auto;
  Using object-fit: contain ;
  aspect-ratio: initial;
}


.imgsubdes {
  position: relative;
  left: 0px;
  top: 0px;
  background-color: #E2EDF8;
  padding: 2px 0px;
  font-size: 16px;
  color: #888;
  display: none;
}

@media only screen and (max-width: 1100px) {
.imgsubdes {
  display: block;
  }
}

.imgsubdes.landscape {
  display: block;
}

/* The Close Button */
.close {
  color: black;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}


.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: black;
  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 */
.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 {
  color: #999;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #888;
  font-size: 12px;
  padding: 0px 0px;
  position: absolute;
  top: 10px;
}

/* Caption text */
.caption-container {
  position: absolute;
  font-size: 16px;
  padding: 0px 10px 0px 0px;
  top: 90%;
  left: calc(50% + 48vh);
  background-color: #E2EDF8;
  color: #888;
}

/* Image Title */
.imgtitle {
  position: relative;
  left: 0px;
  top: 0px;
  text-align: center;
  background-color: #E2EDF8;
  padding: 2px 16px;
  font-size: 20px;
  color: #444;
}
