div.controls {
}
div.controls a {
}
div.ss-controls {
	display:none
}
div.nav-controls {
	float: right;
}
div.controls a.prev{text-indent:-999px;width:40px;height:40px;display:block!important;position:absolute;top:45%;right:12px;background:url(right.png) no-repeat;overflow:hidden;z-index:2}
div.controls a.prev:hover {background-image:url(rightHover.png.ashx)}
div.controls a.next{text-indent:-999px;width:40px;height:40px;display:block!important;position:absolute;top:45%;left:12px;background:url(left.png) no-repeat;overflow:hidden;z-index:2}
div.controls a.next:hover {background-image:url(leftHover.png.ashx)}

div.slideshow-container {
	width: 98%; /* This should be set to be at least the width of the largest image in the slideshow with padding */
    height:349px;
    position:relative; z-index:1;overflow:hidden;display:inline-block;
}

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

div.slideshow-container {
    z-index:2;
	clear: both;
    width:317px;
    border:1px solid #ddd;
}

div.loader {
	position: absolute;
    z-index:1;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
    z-index:1;
	top: 1px;
	left: -1px;
}
div.slideshow a.advance-link {
	/*display: block;  This should be set to be at least the height of the largest image in the slideshow with padding */
    /*width:100%;
    height:349px;*/
    
}
div.slideshow a.advance-link img{top:0px;max-width:}

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.caption-container {
display:none
}
span.image-caption {
	display: block;
	position: absolute;
    z-index:1;
	top: 0;
	left: 0;
}

div.caption-container, span.image-caption {
	
}

div.caption {
	padding: 0 12px;
}

div.photo-index {
	position: absolute;
    z-index:1;
	bottom: 0;
	left: 0;
	padding: 0 12px;
}
div.navigation-container {
	position: relative;
    z-index:1;
    width:300px; height:64px;overflow:hidden;clear:both;padding:14px 0px 0px 18px
}
div.navigation {
   
}
div.navigation a.pageLink {
	display: block !important;
	position: absolute;
    z-index:2;
    top:35px;
    left:0;
    width:8px;
    height:21px;
    opacity:1;
    -moz-opacity:1;
    filter:alpha(opacity=100);
    background:url(left.png) no-repeat left top;
}
div.navigation a.next 
{
    left:auto;
    right:0;
    background:url(right.png) no-repeat left top
}
div.navigation a.pageLink:hover{opacity:1;
    -moz-opacity:1;
    filter:alpha(opacity=100);}
div.navigation a.pageLink:focus {
	outline: none;
}

ul.thumbs {
	position: relative;
    z-index:1;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	padding: 0;
	list-style: none;float:left;
    width:83px; height:62px;
    border:1px solid #ddd;
    position:relative; z-index:1;overflow:hidden;display:inline-block;margin-right:15px
}
.selected a.thumb,
a.thumb:hover,
a.thumb:focus 
{
    border-color:#fff;
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
	position: relative;
    z-index:1;
	left: -50%;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	position: relative;
    z-index:1;
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
