@charset "UTF-8";
/* CSS Document */

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 4; /* Sit on top */
  padding-top: 60px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(117,130,190,0.09); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
	max-width: 85%;
max-height: 78vh;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 630px;
	max-height: 90vh;
  text-align: center;
  color: black;	
	font-style: oblique;
  padding: 10px 0;
  height: 120px;
	font-size: 19px;
}


/* The Close Button */
.close {
  position: absolute;
  top: 0px;
  right: 0px; z-index: 3;
  color: rgba(212,65,67,0.00);
  font-size: 90vh;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  text-decoration: none;
  font-style: sans-serif;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
} 