div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;

	/*
	float: right;
	width: 550px;
	*/ 
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
    height: 20px;
    margin: 0 0 16px;
}
div.controls a {
	padding: 0px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}

div.ncleft {
	/*float: left;*/
	position: absolute;
    right: 500px;	
}

div.ncright {
	float: right;	
}


#nav_prev {
   	background-image: url("pics/arrow_left.png");
    background-position: 0 center;
    background-repeat: no-repeat;
    padding: 0 0 0 16px;
}

#nav_next {
   	background-image: url("pics/arrow_right.png");
    background-position: right center;
    background-repeat: no-repeat;
    padding: 0 16px 0 0px;
}

div.slideshow-container {
	position: relative;
	clear: both;
	height: 100%;
	width: 100%;
	/*height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
	position: absolute;
	top: 40px;
	left: 0;
	background-image: url('pics/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 40%; /* This should be set to be at least the height of the largest image in the slideshow */
}

div.slideshow {
    background-color: #F5F5F5;
    border: 1px solid #C3C3C3;
    height: 100%;
}

div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 22px;
}

div.slideshow span.current {
	display: block;
	position: absolute;
	top: 22px;
	left: 0;	
}

div.slideshow a.advance-link {
	display: block;
	
	/*
	width: 550px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
	
	/*line-height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
	
	text-align: center;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
	max-height: 100%;
}


.slide-controls {
	position: absolute;
	top: 100px;
	width: 100%;
	z-index: 100;
} 

#slide_prev {
	padding: 50px 50px 50px 0;
}

.scleft {
    background-image: url("pics/buttonLeft.png");
    background-position: 0 center;
    background-repeat: no-repeat;
    height: 100px;
    left: 1px;
    position: absolute;
    width: 25px;
}

.scleft a {
    padding: 50px 0 50px 50px;
    position: absolute;
    left: 0;	
}

.scright {
    background-image: url("pics/buttonRight.png");
    background-position: 0 center;
    background-repeat: no-repeat;
    height: 100px;
    position: absolute;
    right: -1px;
    width: 25px;
}

.scright a {
    padding: 50px 0 50px 50px;
    position: absolute;
    right: 0;	
}


div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 550px;
	top: 0;
	left: 0;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
    /*height: 140px;*/
    /*
    padding-top: 60px;
    position: absolute;
    bottom: 40px;
    */
}

ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
    background-color: gray;
    float: left;
    list-style: none outside none;
    margin: 0 10px 5px 0;
    padding: 0;
    width: 20px;
}
a.thumb {
    border: 1px solid #CCCCCC;
    display: block;
    height: 3px;
    padding: 2px;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	/*
	display: block;
	max-height: 82px;
	max-width: 100px;
	*/
	display: none;
	height: 0px;
	width: 0px;
	visibility: hidden;	
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

#thumbs {
    float: left;
    max-height: 42px;
    max-width: 300px;
    position: absolute;
    right: 106px;
}