img.ImgThumbnail {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  border-radius: 0px;
}

.ImgThumbnailText {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.ImgThumbnail {
  margin: 2px;
  border-radius: 0px;
  cursor: pointer;
  transition: 0.3s;
  height: auto;
  width: auto;  
}

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

.ImgThumbnail:nth-of-type(1) {
  /*margin-left: 2%;*/
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.8);
}

.modalImage {
  margin: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 600px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

@media only screen and (max-width: 700px) {
  .modalImage {
    width: 100%;
  }
}