.overlay--visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

.overlay--hidden {
    overflow: hidden;
    height: 100%;
    width: 100%
}

.overlay--wrapper {
    position: fixed;
    z-index: 10000;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0
}

.overlay--close {
    position: absolute;
    top: -20px;
    right: -20px;
    height: 40px;
    width: 40px;
    text-decoration: none;
    z-index: 3001;
    background-color: transparent;
    border: none;
    padding: 0;
}

.overlay--close:hover, .overlay--close:focus {
    color: #333;
    text-decoration: none;
}

#overlay {
    background-color: white;
    position: relative;
    top: 15%;
    height: 720px;
    width: 1280px;
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible
}
/* added in embed.js to make different lightbox aspect ratios possible and avoid cascade override
@media (max-height: 740px) and (min-aspect-ratio: 880/650) {
    #overlay {
        top: 2%;
    }
}
@media (max-width: 1280px) {
    #overlay {
        height: 56.25vw;
    }
    .overlay--close {
        right: -5px;
    }
}  */

#overlay video,
#overlay iframe {
    display: block;
    border: none;
    height: 100%;
    width: 100%
}

.overlay--caption {
    background-color: white;
    padding: 0.5em;
    position: relative;
    /*top: -6px;*/
    line-height: 1;
}

.overlay--caption p {
    padding: 0;
    margin: 0;
    font-size: 0.88em;
}

#overlay--frame {
    background-color: white;
}

#overlay--frame img {
    display: block;
}

#overlay--frame.images-wrap a {
    display: block;
}

/*avoid empty headlines*/
.tx-felogin-pi1 h3, .news h2{
    display: none;
}

.dates h2{
    display: block;
}