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

#lightbox a img {
    border: none;
}

#outerImageContainer {
    position: relative;
    background-color: #131B45;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border: solid 1px #986E18;
}

#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;
}
#prevLink, #nextLink {
    width: 49%;
    height: 100%;
    background: transparent url(http://www.tomoya.co.uk/images/blank.gif) no-repeat; /* Trick IE into showing hover */
    display: block;
}
#prevLink {
    left: 0;
    float: left;
}
#nextLink {
    right: 0;
    float: right;
}
#prevLink:link {
    background: url(http://www.tomoya.co.uk/images/prevlabel.gif) left 15% no-repeat;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
#nextLink:link {
    background: url(http://www.tomoya.co.uk/images/nextlabel.gif) right 15% no-repeat;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
#prevLink:hover,
#prevLink:visited:hover {
    background: url(http://www.tomoya.co.uk/images/prevlabel.gif) left 15% no-repeat;
    filter:alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
}
#nextLink:hover,
#nextLink:visited:hover {
    background: url(http://www.tomoya.co.uk/images/nextlabel.gif) right 15% no-repeat;
    filter:alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
}


#imageDataContainer {
    font: 10px Verdana, Helvetica, sans-serif;
    background-color: #131B45;
    color: #fff;
    margin: 0 auto;
    line-height: 1.4em;
    border-left: solid 1px #986E18;
    border-bottom: solid 1px #986E18;
    border-right: solid 1px #986E18;
}

#imageData {
    padding:0 10px;
}
#imageData #imageDetails {
    text-align: center;
    margin: 0; padding: 10px 0 0 0;
    width: 80%;
    float: left;
}
#imageData #caption {
    font-weight: bold;
}
#imageData #caption:before {
    content: "Title: ";
    background-color: transparent;
    color: #eee;
}
#imageData #numberDisplay {
    display: block;
    font-size: small;
    clear: left;
    padding: 10px 0 0 0;
    background-color: transparent;
    color: #fff;
}
#imageData #numberDisplay:after {
    content: "\A Press \"N\" key to next, and \"P\" key to previous";
    background-color: transparent;
    color: #eee;
}

#imageData #bottomNav {
    width: 20%;
    float: right;
    text-align: right;
    padding: 10px 0;
}    
#imageData #bottomNavClose {
}
#imageData #bottomNavClose img {
    border: solid 1px #131B45;
}
#imageDataContainer:hover #imageData #bottomNavClose img {
    border: solid 1px #986E18;
}
#imageDataContainer #imageData #bottomNavClose img:hover {
    border: solid 1px #fff;
}    
#overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 500px;
    background-color: #000;
    filter:alpha(opacity=60);
    -moz-opacity: 0.6;
    opacity: 0.6;
}


.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 */
}
