#overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10004;
    width: 100%;
    height: auto;
    background-color: #999;
}

#lightbox {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 10005;
    text-align: center;
    color: #151410;
    line-height: 0px;
}

#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: 0px auto;
    padding: 0px auto;
    position: relative;
}

#lightboxImage {
    width: 100%;
    height: 100%;
}

#imageContainer {
    width: 10px;
    height: 10px;
    margin: 0px auto;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    font-size: 0px; /* ie fix - big info bar*/
}

#loading {
    position: absolute;
    top: 40%;
    left: 0%;
    height: 25%;
    width: 100%;
    text-align: center;
    font-size: 10px;
    z-index: 10008;
}

#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: 10000;
}

#imageContainer > #hoverNav {
    left: 0;
}

#prevLinkImg {
    width: 48px;
    height: 100%;
    position: absolute;
    z-index: 10000;
    outline-style: none; /* Trick IE into showing hover */
    display: block;
    text-indent: -9999px;
    background: url(images/prev.png) 97% center no-repeat;
}

#nextLinkImg {
    width: 48px;
    height: 100%;
    position: absolute;
    z-index: 10000;
    outline-style: none; /* Trick IE into showing hover */
    display: block;
    text-indent: -9999px;
    background: url(images/next.png) 97% center no-repeat;
}

#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-size: 10px;
    font-size: 12px;
    background-color: #fff;
    width: 100%;
}

#imageData {
    overflow: hidden;
    width: 100%;
}

#imageDetails {
    width: 80%;
    float: left;
    text-align: left;
    padding: 0px 10px 0 10px;
}

#caption {
    font-weight: bold;
    display: block;
    float: left;
    width: auto;
    height: 25px;
    line-height: 25px;
    padding: 0px 5px 0px 0px;
}

#Logo {
    display: block;
    width: 248px;
    float: left;
    height: 55px;
    background: url(images/s_logo.html);
    margin: 3px 20px 0px 0px;
}

#numberDisplay {
    display: block;
    float: left;
    width: auto;
    height: 25px;
    line-height: 25px;
    padding: 0px 5px 0px 0px;
}

#detailsNav {
    display: block;
    float: left;
    padding: 0;
    width: 100%;
}

#prevLinkDetails, #nextLinkDetails, #slideShowControl {
    background-repeat: no-repeat;
    outline-style: none;
    display: block;
    float: left;
}

#prevLinkDetails {
    margin: 3px;
    margin-top: 0px;
    width: 24px;
    height: 24px;
    background: url(images/prevlabel.gif) left center;
}

#nextLinkDetails {
    margin: 3px;
    margin-top: 0px;
    width: 24px;
    height: 24px;
    background: url(images/nextlabel.gif) right center;
}

#slideShowControl.started {
    background-image: url(images/pause.gif);
}

#slideShowControl {
    display: block;
    width: 24px;
    height: 24px;
    float: left;
    background: url(images/start.gif);
    background-position: center center;
    background-repeat: no-repeat;
}

#close {
    padding: 5px 0 0;
    float: right;
}

#closeLink {
    display: block;
    outline-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
    width: 32px;
    height: 32px;
    background: url(images/close.gif) 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;
}

#outerImageContainer td {
    text-align: center;
    padding: 0px;
    margin: 0px;
}

#lightboxFrameBody {
    background-color: #fff;
    border: solid 1px #fff; /* hack for opera table small cell width */
}

#outerImageContainer td {
    font-size: 0;
}
/* frame style */
#outerImageContainer td.tl, #outerImageContainer td.br {
    height: 29px;
    width: 29px;
}

#outerImageContainer td.tl {
    background-image: url(images/borderTopLeft.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/borderTopLeft.png', sizingMethod='scale');
}

#outerImageContainer td.tc {
    background-image: url(images/borderTopCenter.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/borderTopCenter.png', sizingMethod='scale');
}

#outerImageContainer td.tr {
    background-image: url(images/borderTopRight.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/borderTopRight.png', sizingMethod='scale');
}

#outerImageContainer td.ml {
    background-image: url(images/borderMiddleLeft.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/borderMiddleLeft.png', sizingMethod='scale');
}

#outerImageContainer td.mr {
    background-image: url(images/borderMiddleRight.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/borderMiddleRight.png', sizingMethod='scale');
}

#outerImageContainer td.bl {
    background-image: url(images/borderBottomLeft.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/borderBottomLeft.png', sizingMethod='scale');
}

#outerImageContainer td.bc {
    background-image: url(images/borderBottomCenter.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/borderBottomCenter.png', sizingMethod='scale');
}

#outerImageContainer td.br {
    background-image: url(images/borderBottomRight.png);
    _background-image: none;
    _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/borderBottomRight.png', sizingMethod='scale');
}
