div.content_gallery {
	/* 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;*/
	
	width:70%;
	float:left;
	/*border:1px solid red;*/
	
	/*height:80%;*/
	overflow:hidden;
	height:400px;
}
div.content_gallery a, div.navigation a {
	text-decoration: none;
	color: #777;
	
	border-bottom:0;
}
div.content_gallery a:focus, div.content_gallery a:hover, div.content_gallery a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 0px;
	/*height: 23px;*/
	height: 20px;
	
	position:absolute;
	bottom:40px;
	width:100%;
	height: auto;
	
	
	bottom:auto;
	top:0;
	/*height:100%;
	z-index:1;*/
	
	width:50%;
	left:25%;
	
	/*border:1px solid red;*/
}
div.controls a {
	/*padding: 5px;*/
	border:none;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	/*float: right;*/
	
}
div.nav-controls a.prev {
	position:absolute;
	/*left:-17px;*/
	left:0px;
	
	width:45px;
	height:45px;
	background:#D17F4E;
	
	background-image: url('arrow-prev.png');
	background-repeat: no-repeat;
	background-position: center;
}
div.nav-controls a.next {
	position:absolute;
	/*right:-5px;*/
	right:0px;
	
	width:45px;
	height:45px;
	background:#D17F4E;
	
	background-image: url('arrow-next.png');
	background-repeat: no-repeat;
	background-position: center;
}




div.slideshow-container {
	position: relative;
	clear: both;
	
	/*
	height: 540px; /* This should be set to be at least the height of the largest image in the slideshow * /	
	height: 420px; /* 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-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	
	/*width: 550px;*/
	/*
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow * /
	*/
	
	/*
	width: 540px;
	height: 420px;
	*/
	
}
div.slideshow {
	line-height:0 !important;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	
	/*
	width: 540px;
	height: 420px; /* This should be set to be at least the height of the largest image in the slideshow * /
	line-height: 420px; /* 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;*/
	vertical-align: top;
	/*border: 1px solid #ccc;*/
	border:0;
	
	width:100%;
	
	/*width:270px;
	height:200px;*/
	
	/*
	width:535px;
	height:420px;
	*/
	
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
	color:#00B6C7;
	font-weight: bold;
	display:none;
}
span.image-caption {
	display: block;
	position: absolute;
	
	/*width: 550px;*/
	
	/*width: 280px;*/
	
	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. */
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
	margin-left: 25px;
	
	margin-top: 55px;
	
	/*border:1px solid red;*/
	
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 15px 5px 0;
	margin: 5px 5% 5px 0;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
ul.thumbs li.selected a.thumb {
	/*background: #000;*/
	background: #ff7510;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	
	width:77px;
	height:57px;
}
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;
}

/*========================================================================*/
@media only screen and (max-width: 959px) {

	div.slideshow-container {
		height:350px;
		overflow:hidden;
	}

	div.content_gallery {
		width:100%;
		float:none;
		height:auto;
		overflow:visible;
		display:block;
	}
	
	div.navigation {
		float:none;
		position:relative;
		display:block;
		width:100% !important;
	}

	/*ul.thumbs {display:none;}*/
	
}

/*========================================================================*/
@media only screen and (max-width: 600px) {

	div.slideshow-container {
		height:250px;
		overflow:hidden;
	}
}

/*========================================================================*/
@media only screen and (max-width: 478px) {

	div.slideshow-container {
		height:200px;
		overflow:hidden;
	}
}