#galleriffic {
	
}
#galleriffic div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: block;
	margin:0;
	height: 318px; /* This should be set to be at least the height of the largest image in the slideshow */

}
#galleriffic div.content a, #galleriffic div.navigation a {
	text-decoration: none;
	color: #777;
}
#galleriffic div.content a:focus, #galleriffic div.content a:hover, #galleriffic div.content a:active {
	text-decoration: underline;
}
#galleriffic div.controls {
	margin-top: 5px;
	height: 23px;
}
#galleriffic div.controls a {
	padding: 5px;
}
#galleriffic div.ss-controls {
	float: left;
}
#galleriffic div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
	width: 318px;
	float:left;
	margin-top:-2px;
	margin-left:-2px;
}
#galleriffic div.nav-controls {
	float: right;
}
#galleriffic div.slideshow-container {
	height: 318px; /* This should be set to be at least the height of the largest image in the slideshow */

}
#galleriffic div.loader {
	display:none;  /*hide if noscript*/
	position:absolute;
	background-image: url('/wp-content/themes/kub-a/images/loader.gif');
	background-repeat: no-repeat;
	background-position: right center;
	left:630px;
	width: 48px;
	height: 315px; /* This should be set to be at least the height of the largest image in the slideshow */
}

#galleriffic div.slideshow span.image-wrapper {
	position:absolute;
	display: block;
}
#galleriffic div.slideshow {
	float:left;
	display: block;
	text-align: center;
}
#galleriffic div.slideshow a.advance-link:hover, #galleriffic div.slideshow a.advance-link:active, #galleriffic div.slideshow a.advance-link:visited {
	text-decoration: none;
	display:block;
	outline: none;
}
#galleriffic div.slideshow img {

	vertical-align: top;
	border: 0;
}
#galleriffic div.caption-container {
	display:none;
}
#galleriffic span.image-caption {
	display: block;
}
#galleriffic div.caption {
	display:none;
	background-color: #000;
	color: #ccc;
}
#galleriffic div.caption a {
	color: #fff;
}
#galleriffic div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}

#galleriffic div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
#galleriffic ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
#galleriffic ul.thumbs li {
	float: left;
	padding: 0;
	margin: 0;
	list-style: none;
}
#galleriffic a.thumb {
	padding: 2px;
	display: block;
	margin: 0 11px 11px 0;
}
#galleriffic ul.thumbs li.selected a.thumb {
	background: #0CF;
}
#galleriffic a.thumb:focus {
	outline: none;
}
#galleriffic ul.thumbs img {
	border: none;
	display: block;
}
#galleriffic div.pagination {
	clear: both;
	display:none;
}
#galleriffic div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
#galleriffic div.pagination a, #galleriffic div.pagination span.current, #galleriffic div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
#galleriffic div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
#galleriffic div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
#galleriffic div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
#galleriffic #captionToggle a {
	float: right;
	display: block;
	background-image: url('caption.png');
	background-repeat: no-repeat;
	background-position: right;
	margin-top: 5px;
	padding: 5px 30px 5px 5px;
}