﻿.loader {
    width: 100%;
    height: 100%;
    min-height: 58px;
    z-index: 1000;
    background-color: var(--mas-claro);
    align-items: flex-start;
    display: flex;
    display: none;
    position: absolute;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 0 5px var(--mas-claro);
}

    .loader.mini {
        width: 100%;
        height: 100%;
        min-height: 30px;
        z-index: 100;
        background-color: var(--mas-claro);
        align-items: center;
        display: none;
        position: absolute;
        top: 0;
        padding: 0px;
    }

#MasterLoader.loader {
    background-color: var(--mas-claro);
    backdrop-filter: blur(1px);
    transition: all 300ms;
    width: calc(100% - 90px);
    height: calc(100% - 85px);
    margin-left: 75px;
    margin-top: 5px;
    border-radius: 6px;
}

.menu-opened #MasterLoader.loader {
    width: calc(100% - 259px);
    margin-left: 244px;
}

.loader .dots {
    height: 40px;
    position: absolute;
    top: 50px;
    left: 50%;
    margin: 0 0 0 -50px;
    z-index: 999999;
    width: auto;
}

    .loader .dots span {
        -webkit-transition: all 6000ms ease;
        transition: all 6000ms ease;
        background: rgb(215 219 226);
        height: 15px;
        width: 15px;
        margin: 0 10px 0 0;
        display: inline-block;
        border-radius: 50%;
        animation: wave 1.5s ease infinite;
        -webkit-animation: wave 1.5s ease infinite;
    }

        .loader .dots span:nth-child(1) {
            animation-delay: 0;
            -webkit-animation-delay: 0;
        }

        .loader .dots span:nth-child(2) {
            animation-delay: 100ms;
            -webkit-animation-delay: 100ms;
        }

        .loader .dots span:nth-child(3) {
            animation-delay: 200ms;
            -webkit-animation-delay: 200ms;
        }

.loader.mini .dots span {
    width: 10px;
    height: 10px;
}

#MasterLoader.loader .dots {
    height: 25px;
    width: 125px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0 0 0 -63px;
    margin-top: -13px;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #MasterLoader.loader .dots span {
        height: 25px;
        width: 25px;
        flex-shrink: 0;
        box-shadow: 0 1px 10px rgba(0,0,0,.1);
    }


@-webkit-keyframes wave {
    0%, 40%, 100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
        background-color: var(--secondary);
    }

    10% {
        -webkit-transform: translate(0, -15px);
        transform: translate(0, -15px);
        background-color: var(--primary);
    }
}

@keyframes wave {
    0%, 40%, 100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
        background-color: var(--secondary);
    }

    10% {
        -webkit-transform: translate(0, -15px);
        transform: translate(0, -15px);
        background-color: var(--primary);
    }
}

.loader.mini .dots {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    top: 0;
    left: 0;
    height: 100%;
    text-align: center;
    font-size: 10px;
}

.bloqueBody > .loader {
    padding: 0;
    left: 0;
    top: 10px;
    height: calc(100% - 10px);
    border-radius: 0 0 10px 10px;
    box-shadow: none;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}
