/*
Modified by Thomas Kaegi <https://www.metades.com>
*/

#lbOverlay {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    cursor: pointer;
}

#lbCenter, #lbBottomContainer {
    position: absolute;
    z-index: 9999;
    overflow: hidden;
    background-color: #fff;
}

.lbLoading {
    background: #fff url(loading.gif) no-repeat center;
}

#lbImage {
    position: absolute;
    left: 0;
    top: 0;
    border: 10px solid #fff;
    background-repeat: no-repeat;
}

#lbSlide {
    display: block;
    position: absolute;
    width: 100%;
}

#lbPrevLink, #lbNextLink {
    display: block;
    position: absolute;
    top: 0;
    width: 50%;
    outline: none;
    font-size: 100000px; /* Workaround needed for IE */
    overflow: hidden; /* Workaround needed for IE */
    color: #666;
    line-height: 9999px;
}

#lbPrevLink {
    left: 0;
}

#lbPrevLink:hover {
    background: transparent url(prevlabel.png) no-repeat 0 15%;
}

@media (hover: none) {
    #lbPrevLink {
        background: transparent url(prevlabel.png) no-repeat 0 15%;
    }
}

#lbNextLink {
    width: 100%;
    right: 0;
}

#lbNextLink:hover {
    background: transparent url(nextlabel.png) no-repeat 100% 15%;
}

@media (hover: none) {
    #lbNextLink {
        background: transparent url(nextlabel.png) no-repeat 100% 15%;
    }
}

#lbBottom {
    font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
    font-size: 10px;
    color: #666;
    line-height: 1.4em;
    text-align: left;
    border: 10px solid #fff;
    border-top-style: none;
}

#lbCloseLink {
    display: block;
    float: right;
    width: 66px;
    height: 22px;
    background: transparent url(closelabel.gif) no-repeat center;
    margin: 5px 0;
    outline: none;
}

html[lang=de] #lbCloseLink {
    background: transparent url(closelabel-de.gif) no-repeat center;
    width:120px;
}

html[lang=en] #lbCloseLink {
    background: transparent url(closelabel-en.gif) no-repeat center;
    width: 120px;
}

html[lang=fr] #lbCloseLink {
    background: transparent url(closelabel-fr.gif) no-repeat center;
    width: 120px;
}

html[lang=it] #lbCloseLink {
    background: transparent url(closelabel-it.gif) no-repeat center;
    width: 120px;
}

#lbCaption, #lbNumber {
    margin-right: 71px;
}

#lbCaption {
    font-weight: bold;
}
