#overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 190;
    width: 100%;
    height: auto;
    background-color: #151410;
}

#lightbox {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 200;
    text-align: center;
    color: white;
    line-height: 0;
}

    #lightbox a, #lightbox a:hover {
        border-bottom: none;
        color: white;
        /*text-decoration:underline;*/
    }

        #lightbox a:hover {
            color: black !important;
        }

        #lightbox a img {
            border: none;
        }

#outerImageContainer {
    width: auto;
    height: auto; /* without this line error in IE8 detected */
    margin: 0 auto;
    margin-top: 8px;
    position: relative;
}

#lightboxImage {
    width: 100%;
    height: 100%;
}

#imageContainerMain {
    margin: 0 auto;
    overflow: visible;
    position: relative;
    font-size: 0; /* ie fix - big info bar*/
}

#imageContainer {
    width: 10px;
    height: 10px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    font-size: 0; /* 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.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: 0;
    width: 48px;
    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 {
    left: 0;
}

#nextLinkImg {
    right: 0;
}

#prevLinkImg:hover, #prevLinkImg.hover, #prevLinkImg:visited:hover {
    background: url(images/prev.png) 5% center no-repeat;
    _background-image: url(images/prev_ie6.gif);
}

#nextLinkImg:hover, #nextLinkImg.hover, #nextLinkImg:visited:hover {
    background: url(images/next.png) 97% center no-repeat;
    _background-image: url(images/next_ie6.gif);
}


#imageDataContainer {
    font: 12px byekan, sans-serif;
    background-color: #fff;
    width: 100%;
	text-align:left;
}

#imageData {
    background-color: black;
    overflow: hidden;
    width: 100%;
}

#imageDetails {
    width: 70%;
    float: left;
    text-align: left;
    padding: 10px 10px 0 10px;
}

#caption {
    font-weight: bold;
    display: block;
}

#numberDisplay {
    display: block;
    float: left;
    padding-right: 10px;
}

#detailsNav {
    display: block;
    float: left;
    padding: 0;
}

#prevLinkDetails, #nextLinkDetails, #slideShowControl {
    background-repeat: no-repeat;
    outline-style: none;
    display: block;
    float: left;
}
    /*#prevLinkDetails { margin:3px; margin-top:1px; width:16px;height:16px; background:url(images/prevlabel.gif) left center;}*/
    /*#nextLinkDetails { margin:3px; margin-top:1px; width:16px;height:16px; background:url(images/nextlabel.gif) right center;}*/

    #slideShowControl.started {
        display: none;
        background-image: url(images/pause.gif);
    }

#slideShowControl {
    display: block;
    width: 17px;
    height: 17px;
    float: left;
    background: url(images/start.png);
    background-position: center center;
    background-repeat: no-repeat;
}

#close {
    padding: 10px 10px 0 0;
    float: right;
}

#closeLink {
    position: absolute;
    top: -15px;
    right: -13px;
    display: block;
    outline-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
    width: 33px;
    height: 35px;
    background: url(images/close.png) no-repeat;
}

#cclose {
    position: relative;
    width: 100%;
    height: 0;
    z-index: 10000;
}




.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;
}

    #outerImageContainer td {
        text-align: center;
        padding: 0;
    }

#lightboxFrameBody {
    background-color: #fff;
    border: solid 1px #fff; /* hack for opera table small cell width */
}

#outerImageContainer td, #outerImageContainer tr {
    font-size: 0;
    border: 0 none;
}
    /* frame style */
    #outerImageContainer td.tl, #outerImageContainer td.br {
        height: 15px;
        width: 15px;
    }

.vlb {
    display: none;
}

#outerImageContainer td.tl {
    background: url(images/sprite.png) -115px -55px no-repeat;
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='engine/images/borderTopLeft.png', sizingMethod='scale');
}

#outerImageContainer td.tc {
    background-image: url(images/contentPattern.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='engine/images/borderTopCenter.png', sizingMethod='scale');
}

#outerImageContainer td.ml {
    background-image: url(images/contentPattern.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='engine/images/borderMiddleLeft.png', sizingMethod='scale');
}

#outerImageContainer td.mr {
    background-image: url(images/contentPattern.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='engine/images/borderMiddleRight.png', sizingMethod='scale');
}

#outerImageContainer td.bc {
    background-image: url(images/contentPattern.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='engine/images/borderBottomCenter.png', sizingMethod='scale');
}


#outerImageContainer td.tr {
    background: url(images/sprite.png) -89px -55px no-repeat;
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='engine/images/borderTopRight.png', sizingMethod='scale');
}

#outerImageContainer td.bl {
    background: url(images/sprite.png) -115px -85px no-repeat;
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='engine/images/borderBottomLeft.png', sizingMethod='scale');
}

#outerImageContainer td.br {
    background: url(images/sprite.png) -89px -85px no-repeat;
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='engine/images/borderBottomRight.png', sizingMethod='scale');
}


#slideShowControl {
	display: none;
}