.sp-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    overflow-y: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1000;
}

.sp-wrapper .content {
    border-radius: 4px;
    min-height: 100px;
    max-width: 1200px;
    width: 95%;
    background-color: #fff;
    position: absolute;
    margin: 1em 0;
    overflow: hidden;
}

.sp-wrapper .content.into-view {
    top: 0;
}

.center-all {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.sp-source {
    display: none;
}

.sp-wrapper .sp-close-button {
    height: 30px;
    width: 30px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #eee;
    cursor: pointer;
}

.sp-wrapper .sp-close-button::before {
    content: 'x';
    height: auto;
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.sp-wrapper.fadeIn {
    -webkit-animation: fadeIn .25s both;
    animation: fadeIn .25s both
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.sp-wrapper.fadeOut {
    -webkit-animation: fadeOut .25s both;
    animation: fadeOut .25s both
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.sp-wrapper .fadeInDown {
    -webkit-animation: fadeInDown .35s both;
    animation: fadeInDown .35s both
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        margin-top: -20px
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        margin-top: -20px
    }

    100% {
        opacity: 1;
    }
}

.sp-wrapper .fadeOutUp {
    -webkit-animation: fadeOutUp .35s both;
    animation: fadeOutUp .35s both
}

@-webkit-keyframes fadeOutUp {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        margin-top: -20px
    }
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        margin-top: -20px
    }
}

.sp-wrapper .zoomIn {
    -webkit-animation: zoomIn .15s both;
    animation: zoomIn .15s both;
}

@-webkit-keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(.95);
        transform: scale(.95);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(.95);
        transform: scale(.95);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.sp-wrapper .zoomOut {
    -webkit-animation: zoomOut .15s both;
    animation: zoomOut .15s both;
}

@-webkit-keyframes zoomOut {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(.85);
        transform: scale(.85);
    }
}

@keyframes zoomOut {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(.85);
        transform: scale(.85);
    }
}