/* Lightbox */

.ifgallery,
.gallery { margin: 5px 0; width: 100%; font-size: 11px; }
.gallery #cont { width: 100%; height: 400px; }
.gallery table.gTable { margin: 10px 0 0 5px; }
.gallery table.gTable td { vertical-align: middle; text-align: center; padding: 10px; }
.gallery .link { border: 4px solid #003F3F; height: 80px; width: 80px; overflow: hidden; }
#impressum .gallery .link { border: none; }
.gallery img { filter: none(); -moz-opacity: 1; /* margin: -15px 0 0 -15px; */}
.gallery .link a:hover img { filter: Gray(); -moz-opacity: 0.6; }

.gallery #trailimageid { position: absolute; visibility: hidden; left: 0; top: 0; height: 1px; z-index: 5000; } 
.gallery .gallery_detail { position: absolute; width: auto; top: auto; left: auto; z-index: 500; }
.gallery .gallery_detail div.cont { position: absolute; top: -300px; left: -100px; width: 650px; background: #000; border: 10px solid #F5F0DF; border-bottom: 0; z-index: 600; }
* html .gallery .gallery_detail div.cont { width: 700px; } 
.gallery .gallery_detail a { color: black; }
.gallery .gallery_detail a:hover { color: #ff8c00; }
.gallery .gallery_detail .image { text-align: center; margin-bottom: 5px; } 

.gallery .gallery_detail .image,
.gallery .gallery_detail .popup, .gallery .gallery_detail .download, 
.gallery .gallery_detail .download .size,
.gallery .gallery_detail a,
.gallery .gallery_detail a:hover {} 
.gallery .gallery_detail h3,
.gallery .gallery_detail p.description,
.gallery .gallery_detail .option,
.gallery .gallery_detail .back,
.gallery .gallery_detail table.galleryNav { text-align: left;/* Nicht entfernen */ width: 95%; } 
.gallery .gallery_detail h3 { margin: 10px auto 5px auto; color: white; text-align: left; } 
.gallery .gallery_detail p.description { margin: 0 auto; text-align: left; } 
.gallery .gallery_detail .option { text-align: left; margin: 10px auto; display: none; } 
.gallery .gallery_detail .gTop,
.gallery .gallery_detail .gBottom { width: 100%; background: white; text-align: left; padding: 2px 0; margin-top: 10px; }
.gallery .gTop a,
.gallery .gBottom a { margin-right: 10px; }
.gallery .gallery_detail .gTop { display: none; }
.gallery .gallery_detail .gTop table.galleryNav,
.gallery .gallery_detail .gBottom table.galleryNav { width: 95%; margin: 0 auto; }
.gallery .gallery_detail table.galleryNav td.next,
.gallery .gallery_detail table.galleryNav td.back,
.gallery .gallery_detail table.galleryNav td.prev { width: 33%; }
.gallery .gallery_detail table.galleryNav td.back { text-align: center; }
.gallery .gallery_detail table.galleryNav td.next { text-align: right; }

#lightbox { position: absolute; top: 40px; left: 0; width: 100%; z-index: 990; text-align: center; line-height: 0; }
#lightbox a img { border: none; }
#content div.gallery td.gallery_image div.link a img { background: none; padding: 0; }
#outerImageContainer { position: relative; background-color: #F5F0DF; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer { padding: 10px; }
#loading { position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 970; }
#imageContainer>#hoverNav { left: 0; } 
#hoverNav a { outline: none; }
#prevLink, #nextLink { width: 49%; height: 100%; background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left; } 
#nextLink { right: 0; float: right; }
#prevLink:hover, #prevLink:visited:hover { background: url(../upload/css_img/back.png) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../upload/css_img/next.png) right 15% no-repeat; }
#imageDataContainer { font: 10px Verdana, Helvetica, sans-serif; background-color: #F5F0DF; margin: 0 auto; line-height: 1.4em; }
#imageData { padding:0 10px; }
#imageData #imageDetails { width: 70%; float: left; text-align: left; }	
#imageData #caption { font-weight: bold; color: #5a5a5a; }
#imageData #caption a { color: #5a5a5a; text-decoration: underline; }
#imageData #numberDisplay { display: block; clear: left; padding-bottom: 1.0em; }			

#imageData #bottomNavClose { width: 26px; float: right;  padding-bottom: 0.7em; }	

.medianame { display: none; } 
#overlay { position: fixed; top: 0; left: 0; z-index: 980; width: 100%; height: 500px; background-color: #000; filter: alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6; }

