

.photo-gallery {
	padding: 72px 0px 34px;
}

#gallery_wrapper {
	overflow: hidden;
	width: 1150px;
	padding: 0px 25px 0 25px;
	height: 590px;
	margin: 0 auto;
	border-radius: 10px !important;
	-webkit-border-radius: 10px !important;
	-moz-border-radius: 0px !important;
	border-radius-top-left: 0px !important;
	-webkit-border-radius-top-left: 0px !important;
	-moz-border-radius-top-left: 0px !important;
	position: relative;
}

#gallery {
	display: none;
	height:550px;
	width: 700px;
	float:right;
	background: #c0c0c0; /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgba(140,140,140,1) 0%, rgba(192,192,192,1) 43%, rgba(176,176,176,1) 50%, rgba(140,140,140,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(140,140,140,1)), color-stop(43%,rgba(192,192,192,1)), color-stop(50%,rgba(176,176,176,1)), color-stop(100%,rgba(140,140,140,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg, rgba(140,140,140,1) 0%,rgba(192,192,192,1) 43%,rgba(176,176,176,1) 50%,rgba(140,140,140,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg, rgba(140,140,140,1) 0%,rgba(192,192,192,1) 43%,rgba(176,176,176,1) 50%,rgba(140,140,140,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg, rgba(140,140,140,1) 0%,rgba(192,192,192,1) 43%,rgba(176,176,176,1) 50%,rgba(140,140,140,1) 100%); /* IE10+ */
	background: linear-gradient(70deg, rgba(140,140,140,1) 0%,rgba(192,192,192,1) 43%,rgba(176,176,176,1) 50%,rgba(140,140,140,1) 100%); /* W3C */
	padding: 10px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;	
	border: solid #333333 1px;
	box-shadow: 4px 4px 7px #555555;
}
.photo-gallery .content {
	padding: 0px;
}
.photo-gallery h1 {
	font-size: 30px;
	font-weight: bold;
	margin-left: 25px;
	margin-bottom: 7px;
	margin-top: 27px;
}
.photo-gallery h1 span {
	font-size: 14px;
	color: #000000;
	font-weight: normal;
}
#gallery a, div.navigation a {
	text-decoration: none;
}
#gallery a:focus, #gallery a:hover, #gallery a:active {
	text-decoration: underline;
}


#gallery .slideshow-container {
	position: relative;
	clear: both;
	height: 500px;
	
}
#gallery .loader {
	position: absolute;
	top: 22px;
	left: 60px;
	background-repeat: no-repeat;
	background-position: center;
	width: 550px;
	height: 502px;
	text-align: center;
}

.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;

}

#gallery .slideshow a.advance-link {
	display: block;
	text-align: center;
	width: 700px;
	height: 520px;

}
#gallery .slideshow a.advance-link:hover, #gallery .slideshow a.advance-link:active {
	text-decoration: none;
}
#gallery .previous img {
	max-width: 680px;
	max-height: 490px;
	display: block;
	margin: 8px auto 0 auto;

}

div.slideshow img  {
	display: block;
	max-width: 680px;
	max-height: 490px;
	vertical-align: middle;
	margin: 8px auto 0 auto;
	outline: solid #111111 2px;
}


#gallery .controls {
	margin-top: 5px;
	color: #000;
}
#gallery .controls a {
	padding: 10px 15px;
	color: #000000;
	font-weight: bold;
	line-height: 30px;
}
#gallery .ss-controls {
	float: left;
}
#gallery .nav-controls {
	display: inline;
	float:right;
	font-size: 12px;
}
.nav-controls a:first-child {
	border-right: solid #111111 1px;
}
.nav-controls a:nth-child(2) {
	border-left: solid #333333 1px;
}

.thumbs .selected {
	outline: solid #ffffff 2px;
}
#gallery #controls {
	font-size: 12px;
}

#thumbs {
	width: 370px;
	height: 459px;
	overflow: auto;
	display: block;
	margin: 0 auto;
	background-color:#555555;
	outline: solid #444444 1px;
	border: solid #111111 1px;
	
}
.thumbs {
	margin-left: 3px;
}
.scroller-bg {
	height: 507px;
	width:35px;
	position: absolute;
	right: 15px;
	top: 40px;

}
.scroller-bg span {
	width: 1px;
	height:507px;
	position: absolute;
	left: 0px;
	top:0px;

}
.thumbs-wrapper {
	float: left;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;	
	width: 410px;
	height: 570px;
	background: #c0c0c0; /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgba(140,140,140,1) 0%, rgba(192,192,192,1) 43%, rgba(176,176,176,1) 50%, rgba(140,140,140,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(140,140,140,1)), color-stop(43%,rgba(192,192,192,1)), color-stop(50%,rgba(176,176,176,1)), color-stop(100%,rgba(140,140,140,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg, rgba(140,140,140,1) 0%,rgba(192,192,192,1) 43%,rgba(176,176,176,1) 50%,rgba(140,140,140,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg, rgba(140,140,140,1) 0%,rgba(192,192,192,1) 43%,rgba(176,176,176,1) 50%,rgba(140,140,140,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg, rgba(140,140,140,1) 0%,rgba(192,192,192,1) 43%,rgba(176,176,176,1) 50%,rgba(140,140,140,1) 100%); /* IE10+ */
	background: linear-gradient(70deg, rgba(140,140,140,1) 0%,rgba(192,192,192,1) 43%,rgba(176,176,176,1) 50%,rgba(140,140,140,1) 100%); /* W3C */
	position: relative;
	border: solid #333333 1px;
	box-shadow: 4px 4px 7px #555555;
}
.ss-controls a {
	color: #ffffff;
	
}

ul.thumbs li {
	float: left;
	margin: 4px;
	list-style: none;
	width:79px;
	height:79px;
	overflow: hidden;
	outline: solid #000000 1px;
}
ul.thumbs li:first-child, ul.thumbs li:nth-child(2), ul.thumbs li:nth-child(3), ul.thumbs li:nth-child(4) {
	margin-top: 6px !important;
}


a.thumb {
	display: block;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	min-height: 79px;
	max-height: 100px;
	min-width: 79px;
	max-width:100px;
}

div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}

