    .gallery {
      list-style: none;
      overflow: hidden;
      padding: 0;
      margin: 0; 
    }
    .gallery li {
      float: left;
      margin:10px 10px 10px 0; height:194px;
    }
	.gallery li:hover { background:url(../images/zoom-hover.jpg) bottom right no-repeat; }

#lightbox {
	cursor: pointer;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgb(0, 0, 0); /* IE Fallback (Solid Colour) */
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIElEQVQ4T2NkYGDYDMRkA8ZRAxhGw4BhNAyA+WAYpAMAIFgLQfO9BoEAAAAASUVORK5CYII=);
	background: rgba(0, 0, 0, 0.7);
	-webkit-filter: none !important; z-index:100;
}
#lightbox img {
	display: block;
	position: absolute;
	border:none;
	box-shadow: 0 0 20px #000;
	border-radius: 1px;
}
body.blurred > * {
  -webkit-filter: blur(2px);
  -webkit-transform: translate3d(0, 0, 0);
}
.lightbox-loading {
	background: url(../images/loading.gif) center center no-repeat;
	width: 31px;
	height: 31px;
	margin: -16px 0 0 -16px;
	position: absolute;
	top: 50%;
	left: 50%;
}

.lightbox-close, .lightbox-next, .lightbox-previous {
	position: absolute;
	z-index: 9999;
	color: #fff;
	text-decoration: none;
	text-align: center;
	background: #000;
	padding: 1%;
}
.lightbox-close {
	right: 0;
	top: 0;
}
.lightbox-next {
	right: 0;
	top: 50%;
}
.lightbox-previous {
	left: 0;
	top: 50%;
}
a img {
    opacity: 1;
    outline: medium none;
    transition-duration: 1s;
    transition-timing-function: linear;
	border:none;
}
a img:hover {
    border:none; opacity:0.25;
}
@media(max-width:1024px){
 .gallery {
    list-style: none outside none;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    text-align: center;
}
    .gallery li {
      float: left;
      margin:0 20px 20px 0; width: 22%;
    }

	
	
}
@media(max-width:768px){
.gallery {
    list-style: none outside none;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    text-align: center;
}
    .gallery li {
      float: left;
      margin:0 20px 20px 0; width: 61%;
    }
	
}
@media(max-width:640px){
.gallery {
    list-style: none outside none;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    text-align: center;
}
.gallery li {
    float: left;
    margin: 0 auto 20px;
    width: 100%; height:auto;
}
.gallery li img{ max-width:100%; max-height:100%;}
.gallery li:first-child {
    margin: 0 auto 20px;
    text-align: center;
}
	
	
}