div#container {
	overflow: hidden;
}
div.slideshow-wrapper {
	display: none;
	float: left !important;
	display: inline;
	width: 500px;
	overflow: hidden;
	position: relative;
}

div.slideshow-wrapper a, div.navigation a {
	text-decoration: none;
}
div.slideshow-wrapper a:hover, div.slideshow-wrapper a:active {
	text-decoration: underline;
}

div.navigation a.pageLink {
	height: 77px;
	line-height: 77px;
}

div.controls {
	
}
div.controls a {
	
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}

div.slideshow-container,
div.loader,
div.slideshow a.advance-link {
	width: 500px; /* This should be set to be at least the width of the largest image in the slideshow with padding */
	height: 325px !important;
	background: #FFF;
	padding: 0 !important;
	position: relative;
}

.advance-link img {
	position: absolute;
	top: 0;
	left: 0;
}

#bespoke .slideshow-container,
#bespoke div.loader,
#bespoke div.slideshow a.advance-link {
	width: 500px; /* This should be set to be at least the width of the largest image in the slideshow with padding */
	height: 325px !important;
	background: #FFF;
	padding: 0 !important;
}

div.loader,
div.slideshow .advance-link {
	height: 325px; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
}

#bespoke div.loader,
#bespoke div.slideshow .advance-link {
	height: 325px; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
}

div.slideshow-container {
	position: relative;
	clear: both;
	float: left;
	text-align: center;
	width: 500px !important;
	height: 325px !important;
}

#bespoke div.slideshow-container {
	width: 500px !important;
	height: 325px !important;
}

div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('http://www.xperttaxis.com/assets/templates/xpert/includes/images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	width: 500px !important;
	padding: 0 !important;

}

#bespoke div.slideshow span.image-wrapper  {
	width: 890px;
}

div.slideshow .advance-link {
	display: block;
	text-align: center;
	padding: 0 !important;
}

div.slideshow a.advance-link:hover,
div.slideshow a.advance-link:active,
div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow a.advance-link:focus {
	outline: none;
}

div.slideshow img {
	/* IMAGE */
	margin: 0 !important;
}
div.caption-container {
	position: absolute;
	top: 275px;
	left: 0px;
	background: url('../i/caption-bg.png');
	height: 50px !important;
	width: 500px !important;
	font-size: 16px;
	color: #FFF;
	line-height: 50px;
	z-index: 999;
}

span.image-caption {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

div.caption {
	padding: 0 16px;
}

div.photo-index {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	display: none;
}
div.navigation-container {
	float: left;
	display: inline;
	position: static !important;
	width: 118px !important;
	overflow: hidden !important;
	
	position: relative;
	left: 50%;
	margin: 0;
}
div.navigation {
	float: left;
	position: relative !important;
	left: 0;
	overflow: hidden !important;
	background: #e8e1dc;
	margin: 0 0 0 0;
	width: 118px;
	height: 325px;
}
div.navigation a.pageLink {
	display: block;
	position: relative;
	float: left;
	margin: 2px;
	width: 16px;
	background-position:center center;
	background-repeat:no-repeat;
}
div.navigation a.pageLink:focus {
	outline: none;
}

ul.thumbs {
	position: relative;
	float: left;
	margin: 14px 0 0 15px;
	padding: 0;
	width: 90px;
}

ul.thumbs li {
	float: none !important;
	margin: 0 0 15px 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border: 1px solid #565656;
	width: 88px !important;
	height: 87px !important;
	overflow: hidden !important;
}
a.thumb {
	display: block;
}
a.thumb:focus {
	outline: none;
}

ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
	position: relative;
	left: -50%;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	position: relative;
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

div.gallery-gutter {
	clear: both;
	padding-bottom: 20px;
}

.nav-controls .prev {
	position: absolute;
	top: 292px;
	left: 435px;
	width: 14px;
	height: 21px;
	display: block;
	z-index: 9999;
	background: url('http://www.xperttaxis.com/assets/templates/xpert/i/prev.png') no-repeat 0 0;
}

.nav-controls .next {
	position: absolute;
	top: 292px;
	left: 465px;
	width: 14px;
	height: 21px;
	display: block;
	z-index: 9999;
	background: url('http://www.xperttaxis.com/assets/templates/xpert/i/next.png') no-repeat 0 0;
}

.navigation-container .prev {
	background: url('http://www.xperttaxis.com/assets/templates/xpert/i/prev.gif') no-repeat 0 0 !important;
	width: 29px !important;
	height: 26px !important;
	padding: 0 !important;
	position: relative;
	z-index: 999;
	margin: 30px 10px 0 0 !important;
	opacity: 1 !important;
}

.navigation-container .next {
	background: url('http://www.xperttaxis.com/assets/templates/xpert/i/next.gif') no-repeat 0 0 !important;
	width: 29px !important;
	height: 26px !important;
	padding: 0 !important;
	position: relative;
	z-index: 999;
	margin: 30px 0 0 0 !important;
	opacity: 1 !important;
}