/* dlgallery Lightbox – Optik nach Slimbox 2 (Original der Altseite) */

.dlb-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    opacity: 0.8;
    cursor: pointer;
}

.dlb-center {
    position: fixed;
    z-index: 10000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 80px);
}

.dlb-center img {
    display: block;
    max-width: calc(100vw - 60px);
    max-height: calc(100vh - 130px);
    width: auto;
    height: auto;
}

.dlb-nav {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    display: block;
    background: transparent no-repeat;
    outline: none;
}

.dlb-prev {
    left: 0;
}

.dlb-next {
    right: 0;
}

.dlb-prev:hover {
    background-image: url(prevlabel.gif);
    background-position: 0 center;
}

.dlb-next:hover {
    background-image: url(nextlabel.gif);
    background-position: 100% center;
}

.dlb-bottom {
    position: fixed;
    z-index: 10000;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 5px 10px 8px;
    font: 11px/1.4 Arial, Helvetica, sans-serif;
    color: #666;
    text-align: left;
    min-width: 220px;
    box-sizing: border-box;
}

.dlb-close {
    float: right;
    width: 66px;
    height: 22px;
    background: url(closelabel.gif) no-repeat center;
    border: 0;
    cursor: pointer;
}

.dlb-number {
    display: block;
    padding-top: 3px;
}

.dlb-loading .dlb-center {
    background: #fff url(loading.gif) no-repeat center;
    min-width: 100px;
    min-height: 100px;
}
