div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display:none;
	float:none;
	position:relative;
	top:0px;
	right:0;
	margin:0;
	padding:0; 

}

div#gallery { position:relative;  }
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
	margin:0; 
	padding:0; 

		
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
	
		
}
div.controls {
	margin-top:0px;
	height:0;
	padding:0; 
	margin:0; 
	overflow:hidden;
	

		
}
div.controls a {
	padding: 5px;
	
	
}
div.ss-controls {	float: left; }
div.nav-controls { float: right; }
div.slideshow-container {
	background-color: rgba(255,255,255,0);
	border:2px solid #aec4d8;
	position: relative;
	clear: both;
	min-height:406px;
	width:542px;
	margin:0;
	padding:3px;
	float:left;
	overflow:hidden;
	 /* This should be set to be at least the height of the largest image in the slideshow */
	 
}
div.loader {
	background-color: rgba(255,255,255,0);
	position: relative;
	top: -4px;
	left: -5px;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 542px;
	height: 500px; 
	


		
		/* 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: 3px;
	left: 3px;
	
	
}
div.slideshow a.advance-link {
	display: block;
	width: 540px;
	height: 390px; 
	
	/* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 390px; /* 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: left;*/
	margin:0;
	padding:0;
	position:absolute;
	left:1px;
	top:1px;
	height:404px;
	width:538px;
	border:none !important; 
	outline:none !important;
	overflow:hidden;
}
div.download {
	float: right;
	
}
div.caption-container {
	position:relative;
	top:0px;
	left:0px;
	float:right;
	min-height:75px;
	min-width:300px;
	margin:0;
	padding:0;
	
	 
}
span.image-caption {
	display: block;
	position: static;
	max-width:300px;
	bottom:0;
	left:0px;
	margin:0;
	padding:0;
	 }
		


div.caption * { font-weight:normal; width:inherit; background-color:rgba(100,190,120,0);}
div.caption {
	clear:both;
	float:right;
	padding:0;
	margin:0 !important;
	background-color:rgba(255,255,255,0);
	font-weight:normal; 
	width:340px !important;
	min-height:80px;
	position:static; 
	overflow:visible;

	
}
div.caption p {
	margin:0;
	padding:0;
	text-align:left;
	width:340px !important; 
	font-weight:normal;
	position:static !important;  
	left:0 !important; 
	top:0 !important;
	
}
div.image-title {
	font-weight: normal;
	font-size: 14px;
	
}
div.image-desc {
	
	margin:0 !important; 
	padding:0 !important;
	line-height: 1.3em;
	font-weight:normal;
	position:relative; 
	left:-10px; 
	width:340px !important;
	
}
div.image-desc p, div.image-desc h2 { margin:0 !important; padding:0 !important; margin-left:0px !important; font-weight:normal !important; position:static !important; }
div.image-desc * { width:inherit; max-width:inherit; min-width:inherit; }
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
	

	width:340px !important;
	min-height:40px;
	position:static;
	top:0px;
	right:0px;
	margin:0 10px 0 58px;
	padding:0 0 10px 0;
	clear:right;
	overflow:visible;

	
}
ul.thumbs {
	clear: both;
	width:340px;
	margin: 0;
	padding: 0;
	position:static;
	top:-23px !important;
	left:0px !important;
	overflow:auto;


}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 0 20px 30px 0;
	list-style: none;
	/*width:144px;
	height:98px;
	*/position:relative;
	left:1px !important;
	top:1px !important;
		
}
a.thumb {
	margin:0 10px 5px;
	display: block;
		border:2px solid #fff;
			outline:1px solid #5595bc;
}
ul.thumbs li.selected a.thumb {
	background: #000;
		
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	
}
div.pagination {
	clear: both;
	overflow:auto;
	height:0; 
	
	
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
	
}
div.navigation div.bottom {
	margin-top: 0px;
	height:0; 
	overflow:hidden; 
	
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 0;
	

	
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
	
}
div.pagination span.current {
	font-weight: bold;

	color: #fff;
	
}
div.pagination span.ellipsis {
	border: none;
	padding: 0;
}


/*Horisontellt bildspel */

div.horisontal .caption  { background-color:rgba(225,65,98,0); position:relative !important;  height:396px; width:930px !important; margin:0 !important; padding:0 !important; top:0 !important; left:620px !important;   }
div.horisontal * { background-color:rgba(25,165,98,0); }
div.horisontal div.image-desc { 

	width:340px !important;
	overflow:visible !important;
	min-height:20px; 
	max-height:200px; 
	background-color: rgba(255,255,255,0.7); 
	padding:10px 5px 10px 10px !important;
	 }

div.horisontal .caption .bottom { position:absolute !important; bottom:20px !important; }
div.horisontal .caption .top { position:absolute !important; top:20px !important;  }
div.horisontal .caption .left { position:absolute !important; left:30px !important; }
div.horisontal .caption .right { position:absolute !important; left:575px !important; }

div.horisontal div.image-desc  p, div.horisontal div.image-desc  h2 {
	position:relative !important;
	left:0px !important;

	width:320px !important;
	clear:both !important;
}
	

div.horisontal div.slideshow-container {
	background-color:rgba(255,255,255,0);
	border:2px solid #aec4d8;
	position: relative !important;
	clear: both;
	min-height:400px;
	width:952px;
	margin:0;
	padding:2px !important;
	float:left;
	overflow:hidden;
	/* This should be set to be at least the height of the largest image in the slideshow */
	 
}

div.horisontal div.loader {
	background-color:rgba(255,255,255,0);
	position:relative;
	top:0;
	left:0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 952px;
	height: 600px; 
	min-height:600px; 
	max-height:600px;
	/* This should be set to be at least the height of the largest image in the slideshow */
}

div.horisontal div.slideshow a.advance-link {
	display: block;
	width: 948px;
	height: 390px; 
	
	/* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 390px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
	overflow:hidden;
}

div.horisontal div.slideshow img {
	/*vertical-align:left;*/
	margin:0;
	padding:0;
	position:absolute;
	left:1px !important;
	top:1px !important;
	height:396px;
	width:948px;
	border:none !important; 
	outline:none !important;
	overflow:hidden;
}

div.horisontal div.caption-container {
		
	position:absolute;
	top:0px;
	left:0px;
	float:right;
	min-height:75px;
	height:396px; 
	width:960px;
	margin:0;
	padding:10px;
	background-color:rgba(215,65,198,0);
	 
}

div.horisontal ul.thumbs {
	clear: both;
	width:942px;
	margin:0 auto;
	padding:0 10px 10px; 
	position:static;
	top:0 !important;
	left:2px;
	
}

div.horisontal div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
	
	width:952px !important;
	max-width:942px !important;
	min-width:942px !important;
	position:relative;
	top:0px;
	right:0;
	margin:0 auto;
	padding:0 10px 10px;
	clear:both;
}

div.horisontal ul.thumbs li {
	float: left;
	padding: 0;
	margin: 0 10px 10px 0;
	list-style: none;
	
		
}
