/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
div.content { display: none; float: left; width: 420px; }
div.content a, div.navigation a { text-decoration: none; color: #000; }
.thumbWraper {
	display:table-cell;
	width:110px;
	height:110px;
	vertical-align:middle;
}
ul.thumbs li label { }
#thumbs { margin-top:0; }
div.content a:focus, div.content a:hover, div.content a:active { text-decoration: underline; }

div.controls { height: 23px; margin-top: 5px; }
div.controls a { padding: 5px; }
div.ss-controls { float: left; }
div.nav-controls { float: right; }

div.slideshow-container {
	clear: both;
	position: relative;
	width:320px;/*420px;*/
	min-height: 267px; /*350px;  This should be set to be at least the height of the largest image in the slideshow */	
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
	div.slideshow-container { margin-top:0; }
}
div.slideshow-container .slideshow { width:320px; height:350px; }

div.loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 320px;
	height: 267px; /* This should be set to be at least the height of the largest image in the slideshow */
	background-image: url('galleriffic-loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}
div.slideshow { }
div.slideshow span.image-wrapper {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	width: 320px;
	height: 267px; /* This should be set to be at least the height of the largest image in the slideshow */
/*	line-height: 400px; /* 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 {
	max-width:320px;
	max-height:267px;
	vertical-align: middle;
	border: 1px solid #ccc;
	background: transparent;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */   
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */      
    zoom: 1;
}
div.download { float: right; }

div.caption-container {
	clear: left;
	position: relative;
	margin:7px 0;
	margin-top:-20px;
}
span.image-caption {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 420px;
}
div.caption { text-align:center; padding: 0px; }
div.image-title { font-size: 12px; text-align:center; font-weight: normal; }
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. */
}
div.navigation.display-2{
	width:350px !important;
}

ul.thumbs { clear: both; /*float:right;*/ height:auto; margin: 0; padding: 0; overflow:hidden; }
ul.thumbs li {
	float: left;
	height:110px;
	color:#000;
	font-weight:bold;
	list-style: none;
	margin: 5px 0 5px 10px;
	padding: 0;
	border:2px #ddd solid;
}
ul.thumbs li:hover {
	border:2px #aaa solid;
}
ul.thumbs li img{
	max-height:105px;
	max-width:105px;
	background: transparent;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */   
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */      
    zoom: 1;}
a.thumb { display: block; padding: 2px; /*border: 1px solid #ccc;*/ }
ul.thumbs li.selected a.thumb { /*background: #000;*/ }
a.thumb:focus { outline: none; }
ul.thumbs img { display: block; border: none; }

div.pagination { clear: both; }
div.navigation div.top { height: 11px; margin-bottom: 12px; }
div.navigation div.bottom { margin-top: 5px; float:right; }
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 2px 7px 2px 6px;
	border: 1px solid #584fb1;
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px; 	
	behavior: url(border-radius.htc);
	position:relative;
	z-index:1000;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */   
  /*  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */      
    zoom: 1;
	
}
div.pagination a:hover { text-decoration: none; background-color: #cce1f4; }
div.pagination span.current { color: #fff; font-weight: bold; border-color: #150D74; background: #150D74; }
div.pagination span.ellipsis { padding: 5px 0 3px 2px; border: none; }
