﻿:root{
    --main-color-loading:#039C9C;
    --main-sub-color-loading:#03509C;
}
.global-wait {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.08);
    z-index: 1000000;
    text-align: center;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /*s loading version 1*/
    .global-wait img {
        margin-top: 15%;
        -webkit-filter: drop-shadow(5px 5px 5px #222);
        filter: drop-shadow(5px 5px 5px #222);
        max-width: 350px;
        opacity: 0.7;
    }

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 40px;
    display: flex;
    align-items: center;
}

.obj {
    width: 6px;
    height: 40px;
    background: #00BCD4;
    margin: 0 3px;
    border-radius: 10px;
    animation: loading 0.8s infinite;
}

    .obj:nth-child(2) {
        animation-delay: 0.1s;
    }

    .obj:nth-child(3) {
        animation-delay: 0.2s;
    }

    .obj:nth-child(4) {
        animation-delay: 0.3s;
    }

    .obj:nth-child(5) {
        animation-delay: 0.4s;
    }

    .obj:nth-child(6) {
        animation-delay: 0.5s;
    }

    .obj:nth-child(7) {
        animation-delay: 0.6s;
    }

    .obj:nth-child(8) {
        animation-delay: 0.7s;
    }


@keyframes loading {
    0% {
        height: 0;
    }

    50% {
        height: 40px;
    }

    100% {
        height: 0;
    }
}
/*e loading version 1*/
/*s loading version 2*/
loader-container {
    border-radius: 50%;
    height: 22px;
    width: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: animation_rotate_with_scale 0.5s linear infinite;
}

    loader-container nav {
        display: flex;
        justify-content: space-between;
    }

        loader-container nav span {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        loader-container nav:nth-child(1) span:nth-child(1), loader-container nav:nth-child(2) span:nth-child(1), loader-container nav:nth-child(2) span:nth-child(2) {
            background: var(--ocs-primary-color);
        }

        loader-container nav:nth-child(1) span:nth-child(2) {
            background: var(--main-sub-color-loading);
        }

@keyframes animation_rotate_with_scale {
    0% {
        /*transform: rotate(0deg) scale(1);*/
        transform: rotate(0deg);
    }

    50% {
        /*transform: rotate(180deg) scale(0.8);*/
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg) scale(1);
        transform: rotate(360deg);
    }
}
/*e loading version 2*/
