.container .gallery a img {
  float: left;
  width: 20%;
  height: auto;
  border: 2px solid #fff;
  -webkit-transition: -webkit-transform .15s ease;
  -moz-transition: -moz-transform .15s ease;
  -o-transition: -o-transform .15s ease;
  -ms-transition: -ms-transform .15s ease;
  transition: transform .15s ease;
  position: relative;
  width: 100% !important;
 height: auto !important;
}


.container .gallery a:hover img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 5;
}



.container .gallery{
  line-height: 0;
-webkit-column-count: 5;
-webkit-column-gap: 0px;
-moz-column-count: 5;
-moz-column-gap: 0px;
column-count: 5;
column-gap: 0px;
}



.container{
  margin: 15px;
}
.clear {
  clear: both;
  float: none;
  width: 100%;
}

@media screen and (max-width: 600px) {

  .container .gallery {
  -moz-column-count:    3;
  -webkit-column-count: 3;
  column-count:         3;
  }

}
