.spinner-bg {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: black;
    margin: 0 auto;
    opacity: 0.6;
}

.spinner-outer {
    position: relative;
    background-color: #000000;
    border: 5px solid #ffffff;
    opacity: .9;
    border-top: 5px solid rgba(0,0,0,0);
    border-left: 5px solid rgba(0,0,0,0);
    border-radius: 50px;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    top: -57px;
    -moz-animation: spin .8s infinite linear;
    -webkit-animation: spin .8s infinite linear;
}

.spinner-inner {
    position: relative;
    background-color: #000000;
    border: 5px solid #ffffff;
    opacity: .9;
    border-top: 5px solid rgba(0,0,0,0);
    border-left: 5px solid rgba(0,0,0,0);
    border-radius: 50px;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    top: -97px;
    -moz-animation: spinoff 1s infinite linear;
    -webkit-animation: spinoff 1s infinite linear;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

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

@-moz-keyframes spinoff {
    0% {
        -moz-transform: rotate(0deg);
    }

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

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

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

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

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