
#lightbox {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    align-content: center;
    -webkit-align-content: center;
    -ms-align-content: center;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    z-index: 20000;
    justify-content: center;
}

@media only screen and (min-width: 320px) {
    #lightbox {
        height: 100%;
        top: 0px;
    }
}

#lightbox #lightbox-frame {
    position: relative;
    text-align: center;
}

@media only screen and (min-width: 320px) {
    #lightbox #lightbox-frame {
        width: 94%;
        margin-left: 3%;
        padding: 2em 0 0;
        height: 90%;
    }
}

@media only screen and (min-width: 768px) {
    #lightbox #lightbox-frame {
        height: 80%;
        margin-left: 10%;
        width: 80%;
        padding: 0;
        background: transparent;
    }
}

#lightbox #lightbox_wrap {
    width: 100%;
    height: 100%;
    margin: auto;
    text-align: center;
    position: relative;
    display: inline-block;
}

#lightbox #lightbox-close {
    background: url(/_assets/_innovations/Images/Icons/close.png) center no-repeat;
    height: 78px;
    width: 90px;
    transform: scale(0.75);
    z-index: 10;
    top: 0;
    position: absolute;
}

@media only screen and (min-width: 320px) {
    #lightbox #lightbox-close {
        top: -33px;
        right: -11px;
        transform: scale(0.5);
    }
}

#lightbox #lightbox-close:hover {
    cursor: pointer;
}

#lightbox.wera-innovationen-lb video {
    height: 100%;
    right: -100%;
    bottom: -100%;
    top: -100%;
    left: -100%;
    object-fit: contain;
    z-index: 1;
    max-width: 1920px;
}

#lightbox.wera-innovationen-lb #lightbox-frame {
    height: 90%;
    margin: auto;
    width: 70%;
}

@media screen and (max-width: 991px) {
    #lightbox.wera-innovationen-lb video {
        height: auto;
        width: 100%;
    }
}
