.gallery {
	margin: 0 auto;
	padding: 0;
	clear: both;
/*	width: 980px;
*width:982px;*/
	padding-bottom: 50px;
	*position:relative;
	*z-index:1;
	zoom: 1;
}
.gallery:after {
	content: '.';
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
// img-block is the outer/lower drop shadow behind the actual image container
.gallery .img-block {
	display: inline;
	float: left;
	position: relative;
	z-index: 1;
	margin-left: 11px;
	_margin-left: 9px;
	border-top: 1px solid #f2f2f2;
	-webkit-box-shadow: rgba(255,255,255,.15) 0 1px 3px;
	-moz-box-shadow: rgba(255,255,255,.15) 0 1px 3px;
	box-shadow: rgba(255,255,255,.15) 0 1px 3px;
	box-shadow: rgba(255,255,255,.15) 0 1px 6px \0/IE9;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.gallery .img-block.first-child {
	margin-left: 0;
}
.gallery .img-block.last-child {
	margin-left: 10px;
	_margin-left: 8px;
}
.gallery .img-block a {
	display: block;
	cursor: pointer;
	background: #f6f6f6;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, rgba(249,249,249,1)), color-stop(100%, rgba(240,240,240,1)));
	background: -webkit-linear-gradient(top, rgba(249,249,249,1) 50%, rgba(240,240,240,1) 100%);
	background: -moz-linear-gradient(top, rgba(249,249,249,1) 50%, rgba(240,240,240,1) 100%);
	background: -ms-linear-gradient(top, rgba(249,249,249,1) 50%, rgba(240,240,240,1) 100%);
	background: -o-linear-gradient(top, rgba(249,249,249,1) 50%, rgba(240,240,240,1) 100%);
	background: linear-gradient(top, rgba(249,249,249,1) 50%, rgba(240,240,240,1) 100%);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
/*	-webkit-box-shadow: 0 -3px 1px rgba(255,255,255,.6), inset 0 2px 1px rgba(255,255,255,.97), 0 0 3px -1px rgba(0,0,0,.7);
	-moz-box-shadow: 0 -3px 1px rgba(255,255,255,.6), inset 0 2px 1px rgba(255,255,255,.97), 0 0 3px -1px rgba(0,0,0,.7);
	box-shadow: 0 -3px 1px rgba(255,255,255,.6), inset 0 2px 1px rgba(255,255,255,.97), 0 0 3px -1px rgba(0,0,0,.7);*/
	-webkit-box-shadow: 0 -3px 1px rgba(255,255,255,.6), inset 0 2px 1px rgba(255,255,255,.07), 0 0 3px -1px rgba(0,0,0,.7);
	-moz-box-shadow: 0 -3px 1px rgba(255,255,255,.6), inset 0 2px 1px rgba(255,255,255,.07), 0 0 3px -1px rgba(0,0,0,.7);
	box-shadow: 0 -3px 1px rgba(255,255,255,.6), inset 0 2px 1px rgba(255,255,255,.07), 0 0 3px -1px rgba(0,0,0,.7);
	height: 100%;
}
.gallery .img-block a:nth-child(1n) {
	border-color: #fff;
}
.gallery .img-block a:hover {
	background: #f0f0f0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, rgba(249,249,249,1)), color-stop(100%, rgba(224,224,224,1)));
	background: -webkit-linear-gradient(top, rgba(249,249,249,1) 50%, rgba(224,224,224,1) 100%);
	background: -moz-linear-gradient(top, rgba(249,249,249,1) 50%, rgba(224,224,224,1) 100%);
	background: -ms-linear-gradient(top, rgba(249,249,249,1) 50%, rgba(224,224,224,1) 100%);
	background: -o-linear-gradient(top, rgba(249,249,249,1) 50%, rgba(224,224,224,1) 100%);
	background: linear-gradient(top, rgba(249,249,249,1) 50%, rgba(224,224,224,1) 100%);
}
.gallery .img-block .curve-down {
	display: inline-block;
	height: 100%;
	width: 100%;
	_display: inline;
	_zoom: 1;
	border: 1px solid #e0e0e0;
	border-top-color: #efefef;
	border-bottom-color: #ccc;
}
.gallery .img-block .curve-down:nth-child(1n) {
	border: none;
	-webkit-border-radius: 100% / 33px;
	-moz-border-radius: 100% / 33px;
	border-radius: 100% / 33px;
	-webkit-box-shadow: 0 8px 6px -5px rgba(0,0,0,.2);
	-moz-box-shadow: 0 8px 6px -5px rgba(0,0,0,.2);
	box-shadow: 0 8px 6px -5px rgba(0,0,0,.2);
}
.gallery .img-block a img {
	display: block;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 15px;
}
.gallery .pic {
	margin: 5px;
}