#overlay{
        position:absolute;
        top:0px;  /* dimming unterhalb 150px; */
        left:0;
        z-index:90;
        width:100%;
        height:auto;
        background-color:#000000; /* #151410 */
}

#lightbox{
        position:absolute;
        top:20px;
        left:0;
        width:100%;
        z-index:100;
        text-align:center;
        color:#151410;
        line-height:0;
}

#lightbox a, #lightbox a:hover {
        border-bottom:none;
        color:#151410;
        text-decoration:underline;
}

#lightbox a img{ border:none; }

#outerImageContainer{
        width:auto;
        height:auto; /* without this line error in IE8 detected */
        margin:0 auto;
        position:relative;
        border:10px solid #000;
        border-radius:10px;
        border-bottom:none;
}

#lightboxImage{
        width:100%;
        height:100%;
}

#imageContainerMain{
        margin:0 auto;
        overflow:visible;
        position:relative;
        font-size:16px;/* ie fix - big info bar*/
}

#imageContainer{
        width:10px;
        height:10px;
        margin:0 auto;
        overflow:hidden;
        background-color:#000;
        position:relative;
        font-size:16px;/* ie fix - big info bar*/
}

#loading{
        position:absolute;
        top:40%;
        left:0%;
        height:25%;
        width:100%;
        text-align:center;
        font-size:10px;
        z-index:1;
}
#loadingLink {
        display:block;
        margin:0 auto;
        padding:0;
        width:32px;
        height:32px;
        background:url(../images/loading_black.gif) center center no-repeat;
        text-indent:-9999px;
}
#hoverNav{
        position:absolute;
        top:0;
        left:0;
        height:100%;
        width:100%;
        z-index:10;
}
#imageContainer>#hoverNav{ left:0;}
#prevLinkImg, #nextLinkImg{
        top:5px;
        width:49%;
        height:100%;
        position:absolute;
        z-index:20;
        outline-style:none;
        display:block;
        text-indent:-9999px;
        }
* html #prevLinkImg,* html #nextLinkImg{
        background-image:url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */
}
/*#prevLinkImg {position:absolute; left: -50px; background:url(../images/prev_b.gif) 3% center no-repeat; }
#nextLinkImg {position:absolute; right: -50px; background:url(../images/next_b.gif) 97% center no-repeat; }*/
#prevLinkImg { left: 0; }
#nextLinkImg { right: 0; }
#prevLinkImg:hover,#prevLinkImg.hover, #prevLinkImg:visited:hover {
        background:url(../images/prev.png) 3% center no-repeat;

}
#nextLinkImg:hover,#nextLinkImg.hover, #nextLinkImg:visited:hover {
        background:url(../images/next.png) 97% center no-repeat;

}


#imageDataContainer{
        font:16px Verdana, Helvetica, sans-serif;
        background-color:#000;
        width:100%;color:#fff;
        padding:0 10px;
}

#imageData{
        overflow:hidden;line-height:25px;
        width:100%;border:0px solid #000;
}
#imageDetails{ width:55%; float:left; text-align:left; padding:0px 0px 0 0px;border:0px solid #fff}
#caption{float:left; font-weight:normal;font-size:16px; display:block;width:auto;padding-top:5px;padding-bottom:0px;border:0px solid blue}
#numberDisplay{ display:none; float:left; padding-right:10px;border:0px solid blue}
#detailsNav{display:block; float:right;   padding-top:5px;border:0px solid red }
#prevLinkDetails, #nextLinkDetails, #slideShowControl{ background-repeat:no-repeat; outline-style:none; display:block; float:left;}
#prevLinkDetails {display:block; margin:5px; margin-right:8px;  width:27px;height:16px; background:url(../images/prev.jpg) left center;}
#nextLinkDetails {display:block; margin:5px;  width:27px;height:16px; background:url(../images/next.jpg) right center;}

#slideShowControl.started{
        background-image:url(../images/pause_b.png);
}

#slideShowControl{margin:5px 10px 0 10px;
        display:block;
        width:24px;
        height:24px;
        float:left;
        background:url(../images/play.png);
        background-position:bottom center;
        background-repeat:no-repeat;
        }

#close{
        padding:0;  /* 0px 10px 10px 0; wenn Data oben */
        float:right;position:relative;top:0px; right:0px;
}
#closeLink {
        display:block; outline-style:none; margin-bottom:0;margin-top:5px; padding-bottom:0; padding-top:5px; text-decoration:none;
        width:30px;
        height:30px;
        background:url(../images/close_r.png) no-repeat;
}




.clearfix:after { content:"."; display:block; height:0; clear:both; visibility:hidden;}
* html>body .clearfix {display:inline-block; width:100%;}

* html .clearfix {
        /* Hides from IE-mac \*/
        height:1%;
        /* End hide from IE-mac */
}


#outerImageFrame{
        border:solid 1px red;
        height:100%;
        width:100%;
        position:absolute;
}


#outerImageContainer{
        overflow:visible;
}

@media only screen and  (max-width: 900px) {
#imageDetails{ width:65%;}


}