#lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
    line-height: 0;
}

#lightbox img {
    width: auto;
    height: auto;
}

#lightbox a img {
    border: none;
}

#outerImageContainer {
    position: relative;
    background-color: #fff;
    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: 10;
}

#imageContainer >#hoverNav {
    left: 0;
}

#hoverNav a {
    outline: none;
    font: 14px Verdana, Helvetica, sans-serif;
}

#prevLink, #nextLink {
    width: 49%;
    height: 85%;
    background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */
    display: block;
}

#prevLink {
    left: 0;
    float: left;
    text-align: left;
    background: url(../images/poprz_naktyw.gif) left 15% no-repeat;
}

#nextLink {
    right: 0;
    float: right;
    text-align: right;
    background: url(../images/nast_naktyw.gif) right 15% no-repeat;
}

#prevLink:hover, #prevLink:visited:hover {
    background: url(../images/poprz_aktyw.gif) left 15% no-repeat;
}

#nextLink:hover, #nextLink:visited:hover {
    background: url(../images/nast_aktyw.gif) right 15% no-repeat;
}

#prevLink2, #nextLink2 {
    float: left;
    height: 20px;
    width: 20px;
    background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */
    display: block;
    margin: 0;
    margin-left: 3px;
    margin-right: 3px;
}

#prevLink2 {
    background: url(../images/poprz.gif) no-repeat;
}

#nextLink2 {
    background: url(../images/nast.gif) no-repeat;
}

#imageDataContainer {
    font: 12px Verdana, Helvetica, sans-serif;
    background-color: #fff;
    margin: 0 auto;
    line-height: 1.4em;
    overflow: auto;
    width: 100%;
}

#imageData {
    padding: 10px;
    padding-bottom: 0;
    padding-top: 0;
    color: #666;
}

#imageData #imageDetails {
    width: 100%;
    float: left;
    text-align: left;
}

#imageData #caption {
    display: block;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    margin-right: 30px;
    color: #769F05;
    font-size: 14px;
}

#imageData #numberDisplay {
    float: left;
    height: 20px;
    display: block;
}

#imageData #bottomNavClose {
    float: right;
    height: 20px;
    display: block;
    background: url(../images/x.gif) no-repeat;
    padding-left: 21px;
}

#imageDetails {
    height: 57px;
    overflow: hidden;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 500px;
    background-color: #000;
}

