* {
  box-sizing: border-box;
}

.row{
   margin: 10px auto;
   vertical-align: top;
  height: auto;  
    text-align: center;
}

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


.column{
   width: 25%;
    height: auto;
    display: inline-block;
    margin: 12px auto;
}

.column img{
    width:100%;
    height: auto;
    vertical-align: top;
    margin: 20px;
    padding: 12px;
}


.column2{
   width: 100%;
    height: auto;
    display: block;
    margin: 12px auto;
}

.column2 img{
    width:100%;
    height: auto;
    vertical-align: top;
     margin: 20px;
     padding: 12px;
}

.column3{
   width: 30%;
    height: auto;
    display: inline-block;
    margin: 12px auto;
}

.column3 img{
    width:30%;
    height: auto;
    vertical-align: top;
     margin: 20px;
     padding: 12px;
}

.desc2 {
    width:100%;
    padding:12px;
    text-align: center;
    color: black;
    font-size: 12px;
}

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


/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0px;
  width: 100%;
  max-width: 100%;
}

/* The Close Button */
.close {
  color: black;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  z-index:5;
}

.close:hover,
.close:focus {
  color: #404040;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
  text-align: center;
    width:100%;
   height:auto;
}

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

.mySlides h2{
  color:transparent;
}


/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: lightgrey;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev{
    left: 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.2);
}

/* Number text (1/3 etc) */


img {
  margin-bottom: -4px;
}

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

.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)
}


@media (max-width: 600px) {

.modal {
height:auto;
}

/* The Close Button */
.close {
  color: #000000;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  z-index: 9999999;
}

.close:hover,
.close:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
}

#myModal img{
width:100%;
height:auto;
padding:12px;
margin:0 auto;
}

.mySlides h2{
  font-size:12px;
  color:black;
}

.column{
  width:100%;
  padding:7px;
  display: block;
   
}

.column img{
    padding:7px;
     margin: 0 auto;
}
    
.column2 img{
    padding:7px;
     margin: 0 auto;
}

.row{
   margin:0px;
}


.mySlides img{
width:100%;
padding:0px;
margin:0px;
}

.mySlides img.hover{
display:none;
}

.prev,
.next {
display:none;
}

.desc2 {
    width:100%;
    padding:12px;
    text-align: left;
    color: black;
    font-size: 12px;
}
    
.column3{
   width: 100%;
    height: auto;
    display: block;
    margin: 12px auto;
}

.column3 img{
    width:30%;
    height: auto;
    vertical-align: top;
     margin: 20px;
     padding: 12px;
}    
}

