﻿@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(0deg);
    }
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(0deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@-webkit-keyframes loader {
    50% {
        opacity: 0.3;
        -webkit-transform: scale(0.4);
        transform: scale(0.4);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes loader {
    50% {
        opacity: 0.3;
        -webkit-transform: scale(0.4);
        transform: scale(0.4);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.loader-pre-div {
    box-sizing: border-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: inline-block;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-flex-basis: 25%;
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    max-width: 25%;
    height: 50px;
    width: 50px;
    margin-left: 40px;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    align-self: center;
    vertical-align: middle;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.loader {
    margin-top: 30px;
}

    .loader > div {
        width: 10px;
        height: 10px;
        font-size:7px;
        border-radius: 100%;
        margin: 2px;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        position: absolute;
        -webkit-animation: spin 0.5s linear infinite;
        -moz-animation: spin 0.5s linear infinite;
        animation: spin 0.5s linear infinite;
    }

.loader {
    position: relative;
    top: -10px;
    left: -10px;
    transform: scale(0.6);
}

    .loader > div:nth-child(1) {
        top: 25px;
        left: 0;
        -webkit-animation: loader 1.5s 0.84s infinite linear;
        animation: loader 1.5s 0.84s infinite linear;
    }

    .loader > div:nth-child(2) {
        top: 17.04545px;
        left: 17.04545px;
        -webkit-animation: loader 1.5s 0.72s infinite linear;
        animation: loader 1.5s 0.72s infinite linear;
    }

    .loader > div:nth-child(3) {
        top: 0;
        left: 25px;
        -webkit-animation: loader 1.5s 0.6s infinite linear;
        animation: loader 1.5s 0.6s infinite linear;
    }

    .loader > div:nth-child(4) {
        top: -17.04545px;
        left: 17.04545px;
        -webkit-animation: loader 1.5s 0.48s infinite linear;
        animation: loader 1.5s 0.48s infinite linear;
    }

    .loader > div:nth-child(5) {
        top: -25px;
        left: 0;
        -webkit-animation: loader 1.5s 0.36s infinite linear;
        animation: loader 1.5s 0.36s infinite linear;
    }

    .loader > div:nth-child(6) {
        top: -17.04545px;
        left: -17.04545px;
        -webkit-animation: loader 1.5s 0.24s infinite linear;
        animation: loader 1.5s 0.24s infinite linear;
    }

    .loader > div:nth-child(7) {
        top: 0;
        left: -25px;
        -webkit-animation: loader 1.5s 0.12s infinite linear;
        animation: loader 1.5s 0.12s infinite linear;
    }

    .loader > div:nth-child(8) {
        top: 17.04545px;
        left: -17.04545px;
        -webkit-animation: loader 1.5s 0s infinite linear;
        animation: loader 1.5s 0s infinite linear;
    }

