.modal {
  display: none;
  position: fixed;
  z-index: 9000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: black;
}
.modal .modal-content {
  margin: auto;
  padding: 0;
  width: 90%;
  height: 100%;
}
.modal .close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  line-height: 50px;
  font-size: 35px;
  font-weight: bold;
}
.modal .count {
  color: white;
  line-height: 50px;
  position: absolute;
  top: 10px;
  left: 25px;
  font-size: 18px;
  font-family: "Open Sans Condensed", serif;
}
.modal:hover, .modal:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
.modal .cursor {
  cursor: pointer;
}
.modal .prev,
.modal .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.modal .prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}
.modal .prev:hover,
.modal .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.modal img {
  object-position: 50% 50%;
  width: max-content;
  margin: auto;
  height: 100%;
  object-fit: contain;
}

.mySlides {
  display: none;
}

@media screen and (max-width: 768px) {
  .galleries .gallery {
    height: 100% !important;
  }
}
