.pl-pdf-viewer {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.pl-pdf-viewer > a {
    padding: .5rem 0;
    font-size: 16px;
    text-align: center;
    width: auto;
    align-self: center
}
.pl-pdf-viewer > div {
    background-color: #FAFAFA;
    border: solid 2px #efefef;
    position: relative
}
.pl-pdf-viewer > div > picture {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}
.pl-pdf-viewer > div img {
    width: 100%;
}

.pdf-overlay {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s linear, visibility .3s linear;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,30%);
    z-index: 100000;
}
.pdf-overlay.active {
    visibility: visible;
    opacity: 1;
}

.pdf-overlay > .pdf-contents {
    padding: 1rem;
    position: relative;
    height: calc(100vh - 3rem);
    width: calc(100% - 5rem);
    max-width: 1140px;
    margin: 1.5rem auto;
    background: white;
}

.pdf-overlay > .pdf-contents > .close-button {
    position: absolute;
    top: 0;
    right: -2rem;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}
.pdf-overlay > .pdf-contents > .close-button:hover {
    opacity: .8;
}