.wrapper {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 300px !important;
    text-align: center !important;
    transform: translateX(-50%) !important;
}

.spanner {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    height: 300px !important;
    color: #FFF !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    visibility: hidden !important;
}

.overlay {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    visibility: hidden !important;
    z-index: 9999 !important;
}

.loader,
.loader:before,
.loader:after {
    border-radius: 50% !important;
    width: 2.5em !important;
    height: 2.5em !important;
    -webkit-animation-fill-mode: both !important;
    animation-fill-mode: both !important;
    -webkit-animation: load7 1.8s infinite ease-in-out !important;
    animation: load7 1.8s infinite ease-in-out !important;
}

.loader {
    color: #ffffff !important;
    font-size: 10px !important;
    margin: 80px auto !important;
    position: relative !important;
    text-indent: -9999em !important;
    -webkit-transform: translateZ(0) !important;
    -ms-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    -webkit-animation-delay: -0.16s !important;
    animation-delay: -0.16s !important;
}

.loader:before,
.loader:after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
}

.loader:before {
    left: -3.5em !important;
    -webkit-animation-delay: -0.32s !important;
    animation-delay: -0.32s !important;
}

.loader:after {
    left: 3.5em !important;
}

@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em !important;
    }

    40% {
        box-shadow: 0 2.5em 0 0 !important;
    }
}

@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em !important;
    }

    40% {
        box-shadow: 0 2.5em 0 0 !important;
    }
}

.show {
    visibility: visible !important;
}

.spanner,
.overlay {
    opacity: 0 !important;
    -webkit-transition: all 0.3s !important;
    -moz-transition: all 0.3s !important;
    transition: all 0.3s !important;
}

.spanner.show,
.overlay.show {
    opacity: 1 !important;
}