/*!
 * Minimal Featherlight-style lightbox.
 */
html.with-featherlight {
    overflow: hidden;
}

body.featherlight-open {
    overflow: hidden;
}

.featherlight {
    display: none;
    position: fixed;
    z-index: 2147483647;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
    cursor: zoom-out;
}

.featherlight:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.featherlight-content {
    position: relative;
    display: inline-block;
    max-width: 92vw;
    max-height: 92vh;
    vertical-align: middle;
    cursor: default;
}

.featherlight-image {
    display: block;
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

.featherlight-close-icon,
.featherlight-previous,
.featherlight-next {
    position: absolute;
    z-index: 2;
    border: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.featherlight-close-icon {
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 28px;
}

.featherlight-previous,
.featherlight-next {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 64px;
    font-size: 52px;
}

.featherlight-previous {
    left: -58px;
}

.featherlight-next {
    right: -58px;
}

@media (max-width: 700px) {
    .featherlight-previous {
        left: 8px;
    }

    .featherlight-next {
        right: 8px;
    }

    .featherlight-close-icon {
        top: 8px;
        right: 8px;
    }
}
