.addLink {
   position: absolute;
   top: 0;
   right: 9px;
   width: 150px;
   z-index: 100;
   background-color: #fff;
   line-height: 150%;
   font-weight: bold;
}
#content div .content {
   /* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
   float: right;
   width: 415px; 
   margin: 0;
   padding: 0;
   display: block;
}
.addLink a,
.addLink a:link,
.addLink a:visited {
   position: absolute;
   right: 0;
   padding: 5px;
   text-decoration: none;
   background-color: #fff;
   color: #244a77;
   font-weight: bold;
}
.addLink a:focus,
.addLink a:hover,
.addLink a:active {
   text-decoration: underline;
}

/** Bildergalerie **/
#bildergalerie {
    position: relative;
    display: block;
    min-height: 500px;
}
div.content a, div.navigation a {
   text-decoration: none;
   color: #777;
}
div.content a:focus, div.content a:hover, div.content a:active {
   text-decoration: none;
}
div.controls {
   margin-top: 5px;
   height: 23px;
}
div.controls a {
   padding: 5px;
}
div.ss-controls {
   display: none;
}
div.nav-controls {
   float: right;
   position: relative;
}
div.galerie-slideshow-container {
   position: relative;
   clear: both;
   height:350px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
   position: absolute;
   top: 0;
   left: 0;
   background-image: url('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.galerie-slideshow span.image-wrapper {
   display: block;
   position: absolute;
   top: 0;
   left: 0;
}
div.galerie-slideshow a.advance-link {
   display: block;
   background-color: transparent !important;
   width: 415px;
   max-height: 350px; /* This should be set to be at least the height of the largest image in the slideshow */
   text-align: center;
   background-color: transparent!;
}
div.galerie-slideshow a.advance-link:hover, div.galerie-slideshow a.advance-link:active, div.galerie-slideshow a.advance-link:visited {
   text-decoration: none;
}
div.galerie-slideshow img {
   border: 0 none;
   position: relative;
   margin: 0 auto 0;
   max-height: 350px;
   max-width: 415px;
}
div.download {
   float: right;
}
div.caption-container {
   position: relative;
   clear: left;
   min-height: 40px;
}
span.image-caption {
   width: 430px;
   top: 0;
   left: 0;
}
div.caption {
   padding: 0;
}
div.image-title {
   font-size: 120%;
   font-weight: normal;
}
div.image-desc {
   line-height: 1.3em;
}

div.image-desc p {
   margin: 0 !important; 
}

ul.thumbs {
   clear: both;
   margin: 0 !important;
   overflow: hidden !important;
   padding: 0 !important;
}
#content ul.thumbs li {
   float: left;
   padding: 0 !important;
   margin: 2px 0 1px 0 !important;
   list-style: none;
}
ul.thumbs li a img {
   width: 89px;
   height: 67px;
}
a.thumb {
   padding: 2px !important;
   display: block;
   border: 1px solid #ccc;
}
ul.thumbs li.selected a.thumb {
    background: #000;
}
a.thumb:focus {
   outline: none;
}
ul.thumbs img {
   border: none;
   display: block;
}
#bildergalerie div.pagination {
   clear: both;
}
.galerie-slideshow {
   overflow: hidden;
}
div.navigation div.top {
   margin-bottom: 12px;
   height: 11px;
}
div.navigation div.bottom {
   margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
   display: block;
   float: left;
   margin-right: 2px;
   padding: 2px !important;
   border: 1px solid #ccc;
   background-color: #fff;
}
div.pagination a:hover {
   background-color: #eee;
   text-decoration: none;
}
div.pagination span.current {
   font-weight: bold;
   background-color: #000;
   border-color: #000;
   color: #fff;
}
div.pagination span.ellipsis {
   border: none;
   padding: 5px 0 3px 2px;
}
#thumbs {
   width: 96px !important;
}
#bildergalerie .nav-controls .next {
   padding: 0;
}
#bildergalerie .nav-controls .prev {
   padding: 0 10px 0 0;
   margin-right: 10px;
   border-right: 1px solid #777777;
}
#content .addPic {
   position: absolute;
   bottom: 0;
}
#content #gallery {
   width: 400px;
   float: right;
}
