@-webkit-keyframes featherlightLoader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes featherlightLoader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.featherlight .featherlight-content{
    position: relative;
}
.featherlight-loading .featherlight-content{
    width: 96px;
    height: 120px;
    background: none;
    overflow: hidden;
    margin: 0;
}

.featherlight .featherlight-content:before {
    position: absolute;
    box-sizing: border-box;
    display: block;
    content:'';
    -webkit-animation: featherlightLoader 1s infinite linear;
    animation: featherlightLoader 1s infinite linear;
    background: transparent;
    border: 8px solid #8f8f8f;
    border-left-color: #fff;
    border-radius: 80px;
    width: 80px;
    height: 80px;
    min-width: 0;
    top: calc(50% - 40px);
    left:calc(50% - 40px);
    z-index: 0;
}

.featherlight .featherlight-content img {
    z-index: 1;
    position:relative;
}

.featherlight-previous,
.featherlight-next{
    z-index: 2;
}

.featherlight-loading .featherlight-content > * {
    display: none !important;
}

.featherlight-loading .featherlight-close,
.featherlight-loading .featherlight-inner {
    display: none;
}