body.featherlight-open {
    overflow: hidden;
    padding-inline-end:15px}

.featherlight {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    animation: featherlight-fadein 100ms linear;
    backdrop-filter: saturate(0%) blur(3px);
    backdrop-filter: blur(3px) grayscale(1);
    z-index: 999
}

.featherlight * {
    box-sizing: border-box
}

.featherlight.active {
    background: rgba(0,0,0,0.5)
}

.featherlight:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle
}

.featherlight .featherlight-content {
    position: relative;
    text-align: start;
    vertical-align: middle;
    display: inline-block;
    margin: 2em;
    border-radius: 8px;
    white-space: normal;
    animation: featherlight-fadein 250ms linear
}

.featherlight .featherlight-content:not(.featherlight-seamless) {
    padding: 2em;
    background: #fff;
    box-shadow: 0 5px 2em rgba(0,0,0,0.25)
}

.featherlight .featherlight-content.featherlight-seamless>* {
    margin: 0 !important
}

.featherlight .featherlight-close-icon {
    position: absolute;
    top: -.75em;
    right: -.75em;
    z-index: 9999;
    width: 2em;
    line-height: 2em;
    background: #1b3893;
    border-radius: 14px;
    border: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    font-family: Arial,sans-serif
}

.featherlight .featherlight-content>img {
    max-width: 100%;
    max-height: calc(100vh - 80px)
}

.featherlight .featherlight-content>iframe {
    width: 100%;
    height: 100%;
    border: none
}

.featherlight-loading .featherlight-loader {
    border: 2em solid #f3f3f3;
    border-top: 2em solid #c00;
    border-radius: 50%;
    width: 128px;
    height: 128px;
    animation: featherlight-spin 2s linear infinite;
    opacity: 0.25
}

.featherlight-loading .featherlight-content {
    background: none;
    box-shadow: none
}

.featherlight {
    perspective: 2048px
}

.featherlight .featherlight-content {
    transition: transform .25s linear,filter .25s linear;
    transform: -400px;
    transform: scale(.8) rotateY(45deg) translateZ(-400px);
    transform-style: preserve-3d;
    filter: blur(1.5px)
}

.featherlight.active .featherlight-content {
    transform: none !important;
    filter: none !important
}

@keyframes featherlight-fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes featherlight-spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}
