.ngg-galleryoverview {
	overflow: hidden;
	margin-top: 10px;
	width: 100%;
	clear: both;
	display: block !important;
}

.ngg-gallery-thumbnail-box {
	float: left;
	max-width: 100% !important;
}

.ngg-gallery-thumbnail {
	text-align: center;
	max-width: 100% !important;
	background-color: #fff;
	border: 1px solid #a9a9a9;
	margin-right: 5px;
	margin: 5px;
}

.ngg-gallery-thumbnail a {
	display: block;
	margin: 4px;
	border: none;
	box-shadow: none;
}

.ngg-gallery-thumbnail img {
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
	max-width: 100% !important;
	height: auto;
}

.ngg-galleryoverview {
	margin-top: 40px;
	margin-bottom: 50px;
	-webkit-transition: width 1s, height 1s, background-color 1s, -webkit-transform 1s;
	transition: width 1s, height 1s, background-color 1s, transform 1s;
	min-height: 100px;
}

.ngg-galleryoverview.default-view {
	text-align: center;
	font-size: 0 !important;
	letter-spacing: 0 !important;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
	display: inline-block;
	float: none;
	vertical-align: middle;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail {
	background-color: transparent;
	border: none;
	margin: 0;
	margin-right: 0;
	position: relative;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail a {
	margin: 2px;
	box-shadow: none;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail img:hover {
	opacity: .8;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail img {
	margin: 0 auto;
	box-shadow: none;
	cursor: pointer;
}

.ngg-galleryoverview div.pic img {
	width: 100%;
	border: 0px;
	border-radius: 0px;
}

.ngg-gallery-list li img {
	height: 40px;
	width: 40px;
}

.ngg-galleryoverview.carousel-view .ngg-gallery-thumbnail img {
	max-width: 80px !important;
}