div.gallery-content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	width: 600px;
	float:right; 
}

div.gallery-content a, 
div.navigation a {
	text-decoration: none;
	color: #777;
}

div.controls a {
	padding: 2px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.loader,
div.slideshow a.advance-link, 
div.slideshow-container {
	height: 500px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow-container {
	position: relative;
	clear: both; 
	padding:0;
	background-color:#444444;
	/*border: 1px solid #000000;*/
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('/assets/ext/galleriffic/img/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: auto;
}

div.slideshow span.image-wrapper img {
	display: block;
	margin: auto;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
}

div.slideshow a.advance-link {
	display: block;
	width: auto;
	text-align: center;
}

div.slideshow img {
	vertical-align: middle;
}


/* Caption specific */

.previous {
	display:none;
}

div#caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;

	background: rgba(0,0,0,0.5);
	text-align: left;
	color: #fff; 
}
div#caption p {
	margin:0;
	padding:0;
}

div.image-desc {
	line-height: 1.3em;
	margin: 5px 12px;
}




div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}

div.gallery-content,
div#thumbs {
	margin-top:10px;
}

ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px 2px 0 0;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.controls, 
div.navigation div.top {
	margin-bottom: 10px;
	height: 28px;
}

div.controls a,
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.controls a:hover,
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;
}
