.rebelmouse-lightbox-window, .rebelmouse-lightbox-shadow {
    display: none;
    opacity: 0;
}

.rebelmouse-lightbox-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    z-index: 1;
}

.rebelmouse-lightbox-window {
    position: absolute;
    left: 20%;
    right: 20%;
    top: 10%;
    bottom: 10%;
    min-height: 500px;
    max-height: 75%;
    max-width: 75%;
    background-color: #FFFFFF;
    box-shadow: 0 0 4px #000;
    text-align: center;
}

.rebelmouse-lightbox-window .rebelmouse-lightbox-content {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: none;
}

.rebelmouse-lightbox-window .rebelmouse-lightbox-close {
    display: block;
    position: absolute;
    top: 8px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    line-height: 20px;
    box-shadow: 0 0 5px #000;
    opacity: .85;
    text-align: center;
}

.rebelmouse-lightbox-window .rebelmouse-lightbox-close:hover {
    opacity: 1;
    background-color: #fff;
    color: #000;
    -webkit-transition: all .10s ease-out;
       -moz-transition: all .10s ease-out;
        -ms-transition: all .10s ease-out;
         -o-transition: all .10s ease-out;
            transition: all .10s ease-out;
}

.rebelmouse-lightbox-window.rebelmouse-lightbox-open,
.rebelmouse-lightbox-shadow.rebelmouse-lightbox-open {
    display: block;
    opacity: 1;
}

.rebelmouse-lightbox-window .rebelmouse-lightbox-btn {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: auto;
    margin-top: 6px;
    background-color: #fff;
}

.rebelmouse-lightbox-window .rebelmouse-lightbox-btn.rebelmouse-lightbox-close-btn {
    background: url(/static/img/lightbox/close-btn.png) top left no-repeat;
}

.rebelmouse-lightbox-window .rebelmouse-lightbox-close:hover .rebelmouse-lightbox-btn.rebelmouse-lightbox-close-btn {
    background-position: bottom;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
    .rebelmouse-lightbox-window .rebelmouse-lightbox-btn {
        width: 24px;
        height: 24px;
    }

    .rebelmouse-lightbox-window .rebelmouse-lightbox-btn.rebelmouse-lightbox-close-btn {
        background: url(/static/img/lightbox/close-btn@2x.png) bottom left no-repeat;
    }

    .rebelmouse-lightbox-window .rebelmouse-lightbox-close:hover .rebelmouse-lightbox-btn.rebelmouse-lightbox-close-btn {
        background-position: top;
    }    
}