
.gallery {
	list-style: none;
	overflow: hidden;
	padding: 0;
	margin: 0;
	position: relative;
	
	float: left;
}
.gallery li {
	float: left;
	margin:3px;
	margin-bottom:7px;
}
.gallery li img {
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	margin-left:3px;
	border:5px solid #FFFFFF;
	box-shadow: 0 0 2px #aaaaaa;
}
.gallery2 {
	list-style: none;
	overflow: hidden;
	padding: 0;
	margin-left:10px;
	position: relative;
	width:100%;
}
.gallery2 li {
	float: left;
	margin:8px;
}
.gallery2 li img {
	width:200px;
	height:157px;
	margin-left:3px;
	border:5px solid #FFFFFF;
	box-shadow: 0 0 2px #aaaaaa;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}
.code {
	width:100%;
	font-size:14px;
	padding-left:5%;
	padding-bottom:10%;
}
@media only screen and ( max-width:1280px) {

.gallery li {
	float: left;
	margin:6px;
}
.gallery li img {
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	margin-left:5%;
	margin-right:5%;
	border:5px solid #FFFFFF;
	box-shadow: 0 0 2px #aaaaaa;
}
.gallery2 li {
	float: left;
	margin-left:3%;
}
.gallery2 li img {
	width:202px;
	height:157px;
	margin-left:4%;
	margin-right:3%;
	border:5px solid #FFFFFF;
	box-shadow: 0 0 2px #aaaaaa;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}
}
@media only screen and ( max-width:1280px) {

.gallery li {
	float: left;
	margin:6px;
}
.gallery li img {
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	margin-left:1%;
	margin-right:1%;
	border:5px solid #FFFFFF;
	box-shadow: 0 0 2px #aaaaaa;
}

}
 @media only screen and ( max-width: 767px) {
 .gallery li {
 float: left;
 margin:3px;
}
 .gallery li img {
 width:88px;
 height:66px;
 margin-left:2px;
 border: 3px solid #FFFFFF;
 box-shadow: 0 0 1px #aaaaaa;
}
 .gallery2 li {
 float: left;
 margin:3px;
}
 .gallery2 li img {
 width:88px;
 height:66px;
 margin-left:2px;
 border: 3px solid #FFFFFF;
 box-shadow: 0 0 1px #aaaaaa;
}
}
#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;
}
#lightbox img {
	display: block;
	position: absolute;
	border: 5px solid #fff;
	box-shadow: 0 0 20px #000;
	border-radius: 1px;
}
.img_responsive {
	max-width:100%;
	height:auto;
}
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: 48%;
	left: 50%;
}
.lightbox-caption {
	display: none;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	z-index: 1000;
	background: #000;
	background: rgba(0, 0, 0, 0.7);
}
.lightbox-caption p {
	margin: 0 auto;
	max-width: 70%;
	display: inline-block;
 *display: inline;
 *zoom: 1;
	padding: 10px;
	color: #fff;
	font-size: 12px;
	line-height: 18px;
}
.lightbox-button {
	position: absolute;
	z-index: 9999;
	background: no-repeat center center;
	width: 32px;
	height: 32px;
	opacity:0.4;
	-webkit-transition: all 0.3s;
	-moz-transition:    all 0.3s;
	-ms-transition:     all 0.3s;
	transition: 		all 0.3s;
}
.lightbox-button:hover, .lightbox-button:focus {
	opacity: 1;
	-webkit-transform: scale(1.4);
	-moz-transform: scale(1.4);
	-ms-transform: scale(1.4);
	transform: scale(1.4);
}
.lightbox-close {
	right: 10px;
	top: 10px;
	background-image:url(../../images/close.png);
}
.lightbox-next {
	right: 10px;
	top: 48%;
	background-image:url(../../images/next.png);
}
.lightbox-previous {
	left: 10px;
	top: 48%;
	background-image:url(../../images/previous.png);
}
@media only screen and ( max-width: 320px) {
.gallery {
 width:100%;
}
 .gallery li {
 float: left;
 margin:2px;
}
 .gallery li img {
 width:88px;
 height:66px;
 margin-left:2px;
 border: 3px solid #FFFFFF;
 box-shadow: 0 0 1px #aaaaaa;
}
 .gallery2 {
 width:100%;
}
 .gallery2 li {
 float: left;
 margin:2px;
}
 .gallery2 li img {
 width:88px;
 height:66px;
 margin-left:2px;
 border: 3px solid #FFFFFF;
 box-shadow: 0 0 1px #aaaaaa;
}
 .code {
width:100%;
font-size:10px;
padding-left:5%;
padding-bottom:10%;
}
}
