#lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 9999;
    text-align: center;
    line-height: 0
}

#lightbox img {
    width: 100%;
    height: auto;
    top: 0;
    left: 0
}

#lightbox a img {
    border: none
}

#outerImageContainer {
    position: relative;
    background-color: #fff;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    font-size: 0!important
}

#imageContainer {
    padding: 10px
}

#loading {
    position: absolute;
    top: 40%;
    left: 0;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0
}

#loading img {
    width: 32px;
    height: 32px
}

#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%;
    display: block
}

#prevLink {
    left: 0;
    float: left
}

#nextLink {
    right: 0;
    float: right
}

#prevLink:after {
    border: 1px solid #fff;
    border-left: none;
    border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    -ms-border-radius: 0 5px 5px 0;
    -o-border-radius: 0 5px 5px 0;
    -webkit-border-radius: 0 5px 5px 0;
    content: 'Vorige';
    display: block;
    background: #000;
    padding: 15px 15px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 0
}

#nextLink:after {
    border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    -ms-border-radius: 5px 0 0 5px;
    -o-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border: 1px solid #fff;
    border-right: none;
    content: 'Volgende';
    display: block;
    background: #333;
    padding: 15px 15px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    right: 0
}

#imageDataContainer {
    font: 10px Verdana, Helvetica, sans-serif;
    background-color: #fff;
    margin: 0 auto;
    line-height: 1.4em;
    overflow: auto;
    width: 100%
}

#imageData {
    padding: 0 10px;
    color: #666
}

#imageData #imageDetails {
    width: 70%;
    float: left;
    text-align: left
}

#imageData #caption {
    font-weight: 700
}

#imageData #numberDisplay {
    display: block;
    clear: left;
    padding-bottom: 1em
}

#imageData #bottomNavClose {
    width: 66px;
    float: right;
    padding-bottom: .7em;
    outline: none;
    z-index: 9999;
    position: relative
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    min-width: 100%;
    height: 500px;
    background-color: #000
}

@media only screen and (max-width: 767px) {
    #outerImageContainer {
        position: relative;
        background-color: #fff;
        width: 100% !Important;
        height: auto !important;
        margin: 0 auto;
        font-size: 0!important;
    }
}