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: left;
	width: 504px; 
	padding-right: 1px;
}
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 {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 270px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: center;
	width: 550px;
	height: 270px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	width: 507px;
	line-height: 0;
	height: 270px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: left;
}
div.slideshow a.advance-link img{
	width: 504px;
	height: 263px;
	border-right: 1px solid #fff;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
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. */
	border-left: 1px s
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
	border: 1px solid #E0E0E0;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	-moz-border-radius-topright: 8px;
	-moz-border-radius-bottomright: 8px;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}
.cont p b{
	line-height: 30px;
	font-size: 15px;
}
ul.thumbs li {
	display: block;
	padding: 0;
	list-style: none;
	background: url("../img/common/gal_both.png") 0 65px no-repeat;
	height: 64px;
	border-top: 1px solid #ccc;
	position: relative;
}
ul.thumbs li:first-child
{
	border-top: none;
}
#thumbs ul{
	background: url("../img/common/gal_grad.jpg") repeat-x;
}
.thumbs li:hover
{
	background: url("../img/common/gal_both.png") no-repeat;
}
.thumbs li:hover a p
{
	color: #fff;
}
a.thumb {
	padding: 1px 2px 2px;
	display: block;
	border-top: 1px solid #fff;
}
li:hover a.thumb, li.selected a.thumb{
	padding-top: 2px;
	border: none;
}
a.thumb p{
	color: #252525;
    	font-size: 17px;
}
a.thumb span{
	color: #777676;
    float: right;
    font-size: 14px;
    line-height: 21px;
    padding-right: 2px;
}
ul.thumbs li.selected {
	background: url("../img/common/gal_both.png") no-repeat;
}
ul.thumbs a p
{
    padding: 0 7px 0 13px;
	margin: 21px 0 0 7px;
}
a.view_all
{
	color: #f9f9f9 !important;
    left: 23px;
    font-size: 12px;
    position: absolute;
    top: 43px;
}
.selected a.view_all{
	color: #a9a9a9 !important;
}
a.view_all:hover
{
	color: #fff !important;	
}
#thumbs li:hover span
{
	color: #fff !important;
} 
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	display: none;
	margin-bottom: 12px;
	height: 11px;
}
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;
}
.selected p
{
	color: #fff !important;
	margin-top: 12px !important;
}
.selected span
{
	color: #fff !important;
}
.selected a.view_all
{
	top: 40px;
}
li:hover .view_all
{
	top: 40px;
}
ul.thumbs li:hover p
{
	margin-top: 12px !important;
}
ul.thumbs li:first-child
{
	height: 63px;
}
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;
}
