



.GaleryRow {
  margin:0 6em;
  box-sizing: border-box;
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
  //border:1px solid red;
}

/* Create four equal columns that sits next to each other */
.GaleryColumn {
  box-sizing: border-box;
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
  overflow: hidden;
  //border:1px solid green;
}

.GaleryColumnImg {
  display:block;
  //margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  height:auto;
  border-radius: 5px;
  //border:1px solid blue;

  overflow: hidden;
  transition: transform .5s ease-in-out;
}
.GaleryColumnImg:hover {
  transform: scale(1.5);
}
.HoverDiv {
  overflow:hidden;
  //border:4px solid #fff;
  border:1px solid #fff;
  margin-top: 8px;
  border-radius: 8px;
}

.HoverDiv:hover {
  //box-shadow: 0px 2px 1px #000 inset, 0px -1px 2px #000 inset, -1px 0px 2px #000 inset, 1px 0px 2px #000 inset;
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .GaleryRow {
    margin:0 4em;
  }
  .GaleryColumn {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .GaleryRow {
    margin:0 2em;
  }
  .GaleryColumn {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

















.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 150; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  border-radius: 15px;
  margin: auto;
  display: block;
  //width: 80%;
  max-width: 90%;
  border: 2px solid #f90;
  //box-shadow: 0px 1px 50em #000, 0px -1px 100px #000, -1px 0px 100px #000, 1px 0px 100px #000;
}

/* Add Animation */
.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)}
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: fixed;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}