﻿.busySpinner {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    cursor: progress;
    z-index: 999999;
    padding: 20px;
}

.busySpinner-background {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 0.1;
}

.clickable {
    pointer-events: none; /* 👈 This makes the div invisible to clicks */
}

.hidden {
    display: none;
}

/*loading animation css:*/

.loading-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(243, 245, 246, 1);
    padding: 30px 27px;
    border-radius: 50%;
}

.loading-bar {
    display: inline-block;
    width: 4px;
    height: 18px;
    border-radius: 4px;
    animation: loading 1s ease-in-out infinite;
    margin: 2px;
}

    .loading-bar:nth-child(1) {
        background-color: #BA0C2F;
        animation-delay: 0;
    }

    .loading-bar:nth-child(2) {
        background-color: #BA0C2F;
        animation-delay: 0.09s;
    }

    .loading-bar:nth-child(3) {
        background-color: #BA0C2F;
        animation-delay: .18s;
    }

    .loading-bar:nth-child(4) {
        background-color: #BA0C2F;
        animation-delay: .27s;
    }

@keyframes loading {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1, 2.2);
    }

    40% {
        transform: scale(1);
    }
}
