.gallery {
	position: relative;
}

div.galleriffic-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: 81.5%;
	position: relative;
}
div.galleriffic-content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.galleriffic-content a:focus, div.galleriffic-content a:hover, div.galleriffic-content a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 15px;
	margin-left: 10px;
	height: 23px;
	position: absolute;
	z-index: 10000;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: right;
}
div.nav-controls {
	float: left;
}
div.slideshow-container {
	position: relative;
	clear: both;
	/*height: 502px; */ /* This should be set to be at least the height of the largest image in the slideshow */
}

.gallery img.spacer {
	width: 100%;
	height:auto;
	border: 0 !important;
	padding-bottom: 15px;
}

div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url(/extension/croplands/design/croplands/images/ajax-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 */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	width: 100%;
	/*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.ss-controls a {
    display: block;
    height: 20px;
    margin: 0;
    outline: 0 none;
    text-indent: -9999px;
    width: 30px;
}
div.ss-controls .play {
    background: url(/extension/croplands/design/croplands/images/image-gallery-play-pause.png) no-repeat scroll center -10% transparent;
}
div.ss-controls .pause {
    background: url(/extension/croplands/design/croplands/images/image-gallery-play-pause.png) no-repeat scroll center 110% transparent;
}
div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
	padding: 3px;
	width: 100%;
	height: auto;
	max-height: 428px;
}
div.download {
	float: right;
}
div.caption-container {
    position: absolute;
	clear: left;
   bottom: 4px;
    left: 4px;
    width: 100%;
	color: #FFF;
	height: 48px;
	overflow: hidden;
}
span.image-caption {
	display: block;
	height: 48px;
}

span.image-caption paragraph {
	display: block;
	background: url(/extension/croplands/design/croplands/images/bkgd-0-0-0-65.png);
	height: 48px;
    padding: 12px;

}

div.caption {
    font-size: 0.9em;
    line-height: 1em;
	}
div.image-desc {
	line-height: 1.3em;
}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
	position: absolute;
	top: 0;
	right: 0;
	width: 16.5% !important;
	height: 100%;
    overflow: hidden;
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 21px 0 0 0;
	}
ul.thumbs li {
	/*float: left;*/
	padding: 0;
	margin: 2% 0;
	list-style: none;
}
a.thumb {
	display: block;
	border: 1px solid #ccc;
}
ul.thumbs li.selected a.thumb {
	background: #FFF;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
    padding: 2%;
    width: 96%;
	display: block;
	height: auto;
}
.gallery div.pagination {
	clear: both;
	margin: 0 !important;
	padding: 0 !important;
	height: 20px;

}
div.navigation div.top {
	width: 100%;
	top: 0;
	position: absolute;
	left: 0;
	z-index: 10000;
	bottom: 0;
	background: url(/extension/croplands/design/croplands/images/slideshow-arrow-up-deactivated.png) 50% 0 no-repeat;
}

.gallery div.navigation div.pagination a,
.gallery div.navigation div.pagination span {
	display: none;
	text-indent: -999em;
	width: 100%;
	height: 100%;
}

div.navigation div.top a[title *= 'Prev']  {
	display: block;
	width: 100%;
	background: url(/extension/croplands/design/croplands/images/slideshow-arrow-up.png) 50% 0 no-repeat;
}

div.navigation div.bottom {
	background: url(/extension/croplands/design/croplands/images/slideshow-arrow-down-deactivated.png) 50% 50% no-repeat;
	border-top: 1px solid #FFF !important;
}

div.navigation div.bottom a[title *= 'Next']  {
	display: block;
	text-indent: -999em;
	background: url(/extension/croplands/design/croplands/images/slideshow-arrow-down.png) 50% 0 no-repeat;
}

.gallery div.pagination a, .gallery div.pagination span.current, .gallery div.pagination span.ellipsis {
	display: block;
	float: left;
	padding: 0;
}
.gallery div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
.gallery div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
.gallery div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
