﻿.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fccc0321;
    z-index: 102000000;
    transition: opacity 0.4s;
    opacity: 0;
    pointer-events: none;
}

    .loader.contextual {
        z-index: initial;
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .loader.show {
        opacity: 1;
        pointer-events: initial;
        display: flex !important;
    }

    .loader .circle-container {
        --_size: 150px;
        height: var(--_size);
        width: var(--_size);
        position: relative;
    }

    .loader .inner-circle {
    height: 100%;
    width: 100%;
    border: 3px solid #1c7393;
    border-radius: 50%;
    animation: prapogate-wave 1s ease-in-out infinite;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    box-shadow: 5px 5px 10px #c54b61;
    }


        .loader .inner-circle:nth-child(1) {
            animation-delay: 0;
        }

        .loader .inner-circle:nth-child(2) {
    animation-delay: 200ms;
    border-color: #1c7393;
        }

        .loader .inner-circle:nth-child(3) {
            animation-delay: 400ms;
        }



    .loader .line-container {
        --_size: 25px;
        height: var(--_size);
        width: calc(var(--_size) * 1);
        position: relative;
        display: flex;
        justify-content: space-between;
    }

.line-container .line {
    height: 100%;
    width: 3px;
    background: #1c7393;
    border-radius: 13rem;
    animation: wave 0.3s ease-in-out infinite alternate;
}

.loader .line:nth-child(1) {
    animation-delay: 0;
}

.loader .line:nth-child(2) {
    animation-delay: 100ms;
    /*border-color: #067387;*/
}

.loader .line:nth-child(3) {
    animation-delay: 200ms;
}


.loader .line:nth-child(3) {
    animation-delay: 300ms;
}

@keyframes prapogate-wave {
    0% {
        transform: scale(0.2);
        border-color: #e3be11;
        opacity: 0.2;
    }

    50% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}


@keyframes wave {
    0% {
        transform: scaleY(0);
        /*opacity: 0.2;*/
        border-color: #e3be11;
    }

    50% {
        transform: scaleY(0.5);
        /*opacity: 1;*/
    }

    100% {
        transform: scaleY(1);
        /*opacity: 0;*/
    }
}
