﻿
.loader {
    width: 40px;
    height: 40px;
    position: relative;
    margin:0 auto;
}

.modalloader {
    display: flex;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center
}
.contentloader {
    background: none;
    text-align: center;
}

    .loader div {
        position: absolute;
        width: 6px;
        height: 6px;
        background: black;
        border-radius: 50%;
        animation: fade 1.2s linear infinite;
    }

@keyframes fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
    }
}

.loader div:nth-child(1) {
    top: 0;
    left: 17px;
    animation-delay: 0s;
}

.loader div:nth-child(2) {
    top: 5px;
    left: 29px;
    animation-delay: 0.1s;
}

.loader div:nth-child(3) {
    top: 17px;
    left: 34px;
    animation-delay: 0.2s;
}

.loader div:nth-child(4) {
    top: 29px;
    left: 29px;
    animation-delay: 0.3s;
}

.loader div:nth-child(5) {
    top: 34px;
    left: 17px;
    animation-delay: 0.4s;
}

.loader div:nth-child(6) {
    top: 29px;
    left: 5px;
    animation-delay: 0.5s;
}

.loader div:nth-child(7) {
    top: 17px;
    left: 0;
    animation-delay: 0.6s;
}

.loader div:nth-child(8) {
    top: 5px;
    left: 5px;
    animation-delay: 0.7s;
}
