.mod-gallery-detail {
	position: relative;
	}
#media {
	overflow-x: hidden;
	padding-bottom: 10px;
	}	

.addthis_toolbox {
	position: absolute;
	top: -35px;
	right: 70px;
	}
.addthis_toolbox span {
	float: left;
	color: #999;
	}
.filter legend {
	display: none;
	}

.filter  {
	background: url(../library/bg-archivefilter.png) no-repeat bottom left;
	padding: 6px 10px 5px 15px;
	margin-bottom: 15px;
	}
.current-well .archive-filter {
	background-image: url(../library/bg-archivefilter700.png);
	}	
.filter span,
.filter label {
	float: left;
	display: block;
	padding-right: 4px;
	}	
.filter span.desc,
.filter label {
	padding: .2em .6em 0 0;
	color: #004475;
	}		
.btn-filter {
	background: transparent;
	margin: 1px 0 0 0;
	padding: 0;
	border: none;
	}
ul.gallery {
	padding: 0;
	width: 680px;
}
ul.gallery li {
	background: transparent url(../library/gallery-thumb-bg.png) no-repeat left top;
	padding: 5px 0 0 5px;
	width: 185px;
	height: 165px;
	position: relative;
	left: 0;
	top: 0;
	float: left;
	margin-right: 17px;
}
ul.gallery li a span.img {
	display: block;
	width: 178px;
	height: 124px;
	overflow: hidden;
}
ul.gallery li a span.desc {
	padding: 140px 0 0 3px;
	width: 187px;
	height: 50px;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	background: transparent url(../library/gallery-zoom.png) no-repeat -40px top;
	cursor: pointer;
}
ul.gallery li a:focus span.desc,
ul.gallery li a:hover span.desc,
ul.gallery li a:active span.desc {
	background-position: 164px 110px;
}

/* Gallery Rotator */

.mod-gallery-rotator {
	background: #acd7f1 !important;
}
.mod-gallery-rotator ul.rotator {
	width: 178px;
	height: 124px;
	overflow: hidden;
	border: 1px solid #d9e8f8;
	margin-top: 10px;
}