  

.galleryImg {
  -moz-column-width: 250px;
       column-width: 250px;
  -moz-column-gap: 10px;
       column-gap: 10px;
  padding: 5px;
  
}

.galleryImg img {
  width: 100%;
  cursor: pointer;
  margin-bottom: 10px;
  border-radius: 6px;
}

.lightbox {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  display: none;
  background: #7f8c8d;
  perspective: 1000;
  left:0px;
  z-index: 99999;
}

.filter {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: blur(20px);
  opacity: 0.5;
  background-position: center;
  background-size: cover;
}

.lightbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateY(0deg);
  max-height: 95vh;
  max-width: calc(95vw - 100px);
  transition: 0.8s cubic-bezier(0.7, 0, 0.4, 1);
  transform-style: preserve-3d;
  width: auto !important;
}


/*.lightbox:hover img{
  transform: translate(-50%, -50%) rotateY(180deg);
}*/

[class^="arrow"] {
  height:35px;
  width:35px;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
   border-radius:100px;
}

[class^="arrow"]:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 12px;
  height: 12px;
}

.arrowr {
  right:15px;
}

.arrowr:after {
  border-right: 1px solid white;
  border-bottom: 1px solid white;
}

.arrowl {
  left: 15px;
}

.arrowl:after {
  border-left: 1px solid white;
  border-top: 1px solid white;
}

.close {
  position: absolute;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.4);
  margin:20px 5px;
  cursor: pointer;
  
  color:#fff;
  background: url(../img/close-icon.svg) no-repeat;
}
/* 
.close:after,
.close:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 100%;
  background: #fff;
  
}

.close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.close:before {
  transform: translate(-50%, -50%) rotate(45deg);
} */


@media screen and (min-width:320px) and (max-width:767px) {

  .galleryImg {
    -moz-column-width: 130px;
         column-width: 130px;
    -moz-column-gap: 10px;
         column-gap: 10px;
    padding: 5px;
    
  }

}


@media screen and (min-width:768px) and (max-width:1024px) {
  .galleryImg {
    -moz-column-width: 200px;
         column-width: 200px;
    -moz-column-gap: 10px;
         column-gap: 10px;
    padding: 5px;
    
  }

}

