.spin-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.valign {
    display: table;
    height: 100%;
    width: 100%;
}

.loader span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: white;
    margin: 0 5px;
    animation: bounce 1.5s infinite ease-in-out;
}

    .loader span:nth-child(1) {
        animation-delay: -0.4s;
    }

    .loader span:nth-child(2) {
        animation-delay: -0.2s;
    }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}
