* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

.thumbnail {
	padding: 5px;
}

.lft_arear {
	width: 450px;
	float: left;
}

.rt_area {
	width: 60%;
	float: right;
}

#gallery {
	width: 100% !important;
	height: auto !important;
	overflow: visible !important;
}

#thumbs-wrapper {
	display: table;
	width: 100%;
}

#wrapper {
	max-width: 1170px;
	margin: auto;
}


/* -------- Gallery -------- */


/*#thumbs-wrapper, #viewer-wrapper, #setup-wrapper {
	padding: 15px;
}*/

#gallery-viewer {
	height: 100%;
}

#gallery-viewer img {
	max-width: 100%;
	max-height: 100%;
	width: 100% height: auto;
}

#viewer-nav,
#thumbs-nav {
	height: 30px;
}

#viewer-nav {
	margin-top: 2px;
}

#thumbs-nav p {
	width: 50%;
	text-align: center;
	margin: 0 auto;
	line-height: 30px;
}

#gallery-next,
#gallery-viewer-next,
#gallery-prev,
#gallery-viewer-prev {
	text-indent: -9999px;
	margin: 6.5px 25px;
	height: 17px;
	width: 16px;
	background-image: url('../spt_arrows.png');
	background-repeat: no-repeat;
}

#gallery-next,
#gallery-viewer-next {
	background-position: -16px 0;
	float: right;
}

#gallery-prev,
#gallery-viewer-prev {
	float: left;
}

.thumbnail {
	float: left;
	width: 140px;
	height: 138px;
}

.gallery-labels {
	margin-left: 10px;
}