.shadowbox-overlay {
    opacity: 0;
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483647;
}

.shadowbox-overlay > div {
    position: relative;
    height: 100%;
    width: auto;
    max-width: 1000px;
    margin: auto;
    padding-top: 3rem;
}

.shadowbox-content {
    background: white;
    height: 100%;
    width: 100%;
    box-shadow: 0px 10px 30px 15px rgba(0,0,0,0.3);
}

.shadowbox-content iframe {
    opacity: 0;
    width: 100%;
    height: 100%;
}

.shadowbox-overlay.visible, .shadowbox-content iframe.visible {
    animation: fadein .4s forwards;
}

.shadowbox-close {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    cursor: pointer;
    font-size: 3rem;
    line-height: 1;
    padding: 0 0.55rem;
    margin-right: -0.55rem;
    letter-spacing: -0.1rem;
}

@media only screen and (max-width: 1000px) {
    .shadowbox-close {
        margin-right: 0;
    }
}


@keyframes fadein {
    from {
        opacity: 0.1;
    }
    to {
        opacity: 1;
    }
}
