.gallery {
	position: relative;
	float: left;
	width: 820px;
}

.gallery .img {
	/* height: 1500px;*/
	/* width: 500px;   */
	float: left;
	margin: 10px;
	text-align: center;
}

.gallery .img a {
	display: inline-block;
	border: 2px solid #ddd;
	padding: 1px;
}

.gallery .img a:hover {
	border-color: #999;
}

.gallery img {
	border: none;
}

.gallery .pagenavigation {
	height: 0; /*50px;*/
}

.gallery .prevpage a, .gallery .prevpage em {
	display: block;
	width: 50px;
	height: 39px;
	float: left;
	margin: 0;
	text-indent: -1000px;
	background: url(../../images/previous.png) transparent no-repeat 0 0;
}

.gallery .nextpage a, .gallery .nextpage em {
	display: block;
	width: 50px;
	height: 39px;
	float: left;
	margin: 0 6px 0 0;
	text-indent: -1000px;
	background: url(../../images/next.png) transparent no-repeat 0 0;
}

.gallery .parentlink a {
	display: block;
	width: 50px;
	height: 39px;
	float: left;
	text-indent: -1000px;
	background: url(../../images/uppage.png) transparent no-repeat 0 0;
}

.gallery .pagenavigation a:hover {
	background-position: 0 -40px;
}

.gallery .prevpage em, .gallery .nextpage em {
	background-position: 0 -80px;
}

.gallery .pagelinks {
	float: right;
	border-right: 2px solid #666;
}

.gallery .pagelinks a, .gallery .pagelinks em {
	margin-top: 6px;
	padding: 0 6px;
	border-left: 2px solid #666;
	text-align: center;
	font: bold 11px verdana; color: #666;
}

.gallery .pagelinks em {
	color: #000;
}

.galleryclear {
	clear: both;
}

/* GALLERIFFIC */

#galleriffic {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
position: relative;
	float: left;
margin-top: 0px; /*23px;*/
	width: 500px; /* 575px max/*220px;*/
}

/* Indsat 060612 */

.kommentar {
  position: relative;
  float: left;
  min-height: 300px;
  width: 295px;
  margin-left: 15px;
/*  background-color: blue;*/
}

.thumbholder {
  position: relative;
  float: left;
  min-height: 325px;
  width: 500px;
/*  background-color: green;*/
  margin: 5px 0 0 6px;
}

.lilletitel {
  font-size: 10px;
  margin-left: 5px;
  height: 15px;
}
/* Hertil */

#galleriffic a, div.navigation a {
	text-decoration: none;
	color: #777;

}
#galleriffic a:focus, #galleriffic a:hover, #galleriffic a:active {
	text-decoration: underline;
}
.gallery div.controls {
	margin-top: 5px;
	height: 23px;
width: 500px;
}
.gallery div.controls a {
	padding: 5px;
}
.gallery div.ss-controls {
	float: left;
}
.gallery div.nav-controls {
	float: right;
}
.gallery div.slideshow-container {
	position: relative;
	clear: both;
	height: 325px; /* This should be set to be at least the height of the largest image in the slideshow */
}

.gallery div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('../galleriffic/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 500px;
	height: 325px; /* This should be set to be at least the height of the largest image in the slideshow */
}
.gallery div.slideshow {

}
.gallery div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
.gallery div.slideshow a.advance-link {
	display: block;
	width: 510px;
	height: 325px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 325px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}
.gallery div.slideshow a.advance-link:hover, .gallery div.slideshow a.advance-link:active, .gallery div.slideshow a.advance-link:visited {
	text-decoration: none;
}
.gallery div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
        /*height: 400px;*/
}
.gallery div.download {
	float: right;
        width: 130px;
}

.gallery div.caption-container {
	position: relative;
	clear: left;
	min-height: 100px;  /* height: 75px; ændret */
}

.gallery span.image-caption {
	display: block;
	position: absolute;
	width: 500px; /*550px; ændret */
	top: 0;
	left: 0;
}
.gallery div.caption {
	padding: 5px; /* 12px; */
}
.gallery div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
.gallery div.image-desc {
/* Indsat 060612 */
height: 290px;
width: 291px;
overflow-y: auto;
/* hertil */
	line-height: 1.3em;
	padding-top: 12px;
}
.gallery div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}

.gallery ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
.gallery ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
.gallery a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
.gallery ul.thumbs li.selected a.thumb {
	background: #000;
}
.gallery a.thumb:focus {
	outline: none;
}
.gallery ul.thumbs img {
	border: none;
	display: block;
}
.gallery div.pagination {
	clear: both;
}
.gallery div.navigation div.top {

	margin-bottom: 12px;
	height: 11px;

}
.gallery div.navigation div.bottom {
	margin-top: 12px;
}
.gallery div.pagination a, .gallery div.pagination span.current, .gallery div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
.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;
}

