﻿/* Loading type 1 */
.spinner div {
    width: 20px;
    height: 20px;
    position: absolute;
    left: -20px;
    background-color: #003F87;
    border-radius: 50%;
    animation: move 2s infinite cubic-bezier(.2,.64,.81,.23);
}

    .spinner div:nth-child(2) {
        animation-delay: 150ms;
    }

    .spinner div:nth-child(3) {
        animation-delay: 300ms;
    }

    .spinner div:nth-child(4) {
        animation-delay: 450ms;
    }

@keyframes move {
    0% {
        left: 0%;
    }

    100% {
        left: 100%;
    }
}

/* Loading type 2*/
.spinnerCircle {
    height: 40px;
    width: 40px;
    animation: rotate 0.8s infinite linear;
    border: 8px solid transparent;
    border-right-color: #003F87;
    border-left-color: #F47C00;
    border-radius: 50%;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Loading type 3 */
.loadingWave {
    height: 40px;
    display: flex;
    align-items: center;
    margin-left: 50%;
}

.loadingWave .msg {
    display: block;
    font-weight: bold;
    position: absolute;
    margin-top: 30px;
    margin-left: 10px;
}

.spinnerWave {
    width: 6px;
    height: 40px;
    margin: 0 3px;
    border-radius: 10px;
    animation: loading_spinnerWave 0.8s infinite;
}

    .spinnerWave:nth-child(even) {
        background: #F47C00;
    }

    .spinnerWave:nth-child(odd) {
        background: #003F87;
    }

    .spinnerWave:nth-child(2) {
        animation-delay: 0.1s;
    }

    .spinnerWave:nth-child(3) {
        animation-delay: 0.1s;
    }

    .spinnerWave:nth-child(4) {
        animation-delay: 0.2s;
    }

    .spinnerWave:nth-child(5) {
        animation-delay: 0.3s;
    }

    .spinnerWave:nth-child(6) {
        animation-delay: 0.4s;
    }

    .spinnerWave:nth-child(7) {
        animation-delay: 0.5s;
    }

    .spinnerWave:nth-child(8) {
        animation-delay: 0.6s;
    }

@keyframes loading_spinnerWave {
    0% {
        height: 0;
    }
    50% {
        height: 40px;
    }
    100% {
        height: 0;
    }
}