/* Button "Original" in the gallery lightbox, left of the close button:
   plain text like the close button, no box */
.mfp-figure .mfp-original {
    position: absolute;
    top: 10px;
    right: 44px;
    z-index: 1047; /* above the close button, which spans the whole width */
    padding: 0 6px;
    border: 0;
    background: none;
    color: #fff;
    opacity: 0.65;
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
}
.mfp-figure .mfp-original:hover,
.mfp-figure .mfp-original:focus {
    opacity: 1;
    outline: none;
}

/* While the original loads: pulse gently */
.mfp-figure .mfp-original.is-loading {
    cursor: default;
    animation: mfp-original-pulse 1s ease-in-out infinite;
}
@keyframes mfp-original-pulse {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 0.25; }
}

/* Original shown: white and bold, no longer clickable */
.mfp-figure .mfp-original.is-done {
    opacity: 1;
    font-weight: bold;
    cursor: default;
}

/* Reserve the width of the bold text, so nothing moves when it turns bold */
.mfp-figure .mfp-original::after {
    content: attr(data-label);
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    font-weight: bold;
}

/* Normal pointer on the close button instead of the zoom-out magnifier */
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: pointer;
}
