.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 100000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0.9);
}

/* Modal Content */
.modal-content {
  display:none;  
  position: fixed;
  top:0;
  left:5%;  
  height:100%;
  background: transparent;  
  width:90%;
  padding: 0;
  z-index: 100001;
}

/* The Close Button */
.close {
    padding-left:2px;
    padding-top:5px;
    z-index: 100002;
    color: white;
    position: fixed;
    top: 25px;
    width:80px;
    height:80px;
    border-radius: 50%;
    right: 25px;
    font-size: 55px;
    font-weight: bold;
    text-align:center;
}

.close:hover,
.close:focus {
  color: #CCCCCC;  
  text-decoration: none;
  cursor: pointer;
  background-color:rgba(0,0,0,0.6);
}

.mySlides {
  margin-top:5%;  
  display: none;
  width:90%;
  margin-left:5%;
  height:70%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  /*text-align: center;*/
}

.mySlides img{   
    max-width:100%;
    max-height:600px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 50px 16px;
  margin-top: -90px;
  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;
}

.prev{
    left:0;
    border-radius: 3px 0 0 3px;
}

/* 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 {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.caption-container {
  text-align: center;
  background-color: transparent;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s
}

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