.directory-gallery {
	background: #333;
	padding: 10px;
}

.directory-gallery .main-image {
	position: relative;
	background: #000;
}

.directory-gallery .main-image  .image {
	position: absolute;
	left: 0;
	top: 0;
    position: absolute;
    text-align: center;
	display: none;
	width: 100%;
}

.directory-gallery .main-image .image img {
	margin: 0 auto;
}

.directory-gallery .thumbnails {
	padding-top: 10px;
	overflow: hidden;
	position: relative;
}

.directory-gallery .thumbnails .thumbnails-inner {
	white-space: nowrap;
	position: absolute;
}

.directory-gallery .thumb {
	display: inline-block;
	margin-left: 10px;
	cursor: pointer;
	opacity: 0.3;
}


.directory-gallery .thumb:first-child {
	margin-left: 0;
}

.directory-gallery .thumbnails img {
	margin: 0 !important;
}

.directory-gallery .controls {
	bottom: 30px;
    height: 65px;
    left: 50%;
    position: absolute;
    width: 250px;
	text-align: center;
	margin-left: -125px;
}


.directory-gallery .controls .btn {
	display: inline-block;
	margin: 0 3px;
	opacity: 0.3;
}

.directory-gallery .controls .btn:hover {
	opacity: 1;
}

.directory-gallery .controls .btn.prev {
	background: url(prev.png) no-repeat;
	width: 42px;
	height: 42px;
}

.directory-gallery .controls .btn.play {
	background: url(play-pause.png) top no-repeat;
	width: 62px;
	height: 62px;
}

.directory-gallery .controls .btn.play.pause {
	background: url(play-pause.png) bottom no-repeat;
}

.directory-gallery .controls .btn.next {
	background: url(next.png) no-repeat;
	width: 42px;
	height: 42px;
}
