﻿
.container-loading {
    z-index: 9999999999 !important;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    opacity: 0.8;
    background: black;
}

    .container-loading div.center {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

        .container-loading div.center div.loader {
            display: flex;
            justify-content: space-between;
            width: 500px;
        }

        .container-loading div.center div.loader {
            height: 40px;
            width: 800px;
        }

.loader--dot {
    animation-name: loader;
    animation-timing-function: ease-in-out;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    height: 40px;
    width: 40px;
    border-radius: 100%;
    background-color: black;
    position: absolute;
    border: 2px solid white;
}

    .loader--dot:first-child {
        background-color: #0d6efd;
        animation-delay: 2s;
    }

    .loader--dot:nth-child(2) {
        background-color: #198754;
        animation-delay: 1.6s;
    }

    .loader--dot:nth-child(3) {
        background-color: #0dcaf0;
        animation-delay: 1.2s;
    }

    .loader--dot:nth-child(4) {
        background-color: #ffc107;
        animation-delay: 0.8s;
    }

    .loader--dot:nth-child(5) {
        background-color: #dc3545;
        animation-delay: 0.4s;
    }

    .loader--dot:nth-child(6) {
        background-color: #212529;
        animation-delay: 0s;
    }

@keyframes loader {
    15% {
        transform: translateX(0);
    }

    45% {
        transform: translateX(760px);
    }

    65% {
        transform: translateX(760px);
    }

    95% {
        transform: translateX(0);
    }
}
