﻿/* ------------------- LOADER ---------------------------------------*/

.progress_modal {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: white;
    filter: alpha(opacity=70);
    opacity: 0.8;
    -moz-opacity: 0.9;
}

.progress_center {
    width: 200px;
    padding: 10px;
    background-color: White;
    border-radius: 10px;
    filter: alpha(opacity=100);
    opacity: 1;
    -moz-opacity: 1;
}

.loader {
    width: 100px;
    height: 100px;
    margin: 20px auto;
    transform: rotate(-45deg);
    font-size: 0;
    line-height: 0;
    animation: rotate-loader 5s infinite;
    padding: 25px;
    border: 1px solid #0f5e00;
}

    .loader .loader-inner {
        position: relative;
        display: inline-block;
        width: 50%;
        height: 50%;
    }

    .loader .loading {
        position: absolute;
        background: #0f5e00;
    }

    .loader .one {
        width: 100%;
        bottom: 0;
        height: 0;
        animation: loading-one 1s infinite;
    }

    .loader .two {
        width: 0;
        height: 100%;
        left: 0;
        animation: loading-two 1s infinite;
        animation-delay: 0.25s;
    }

    .loader .three {
        width: 0;
        height: 100%;
        right: 0;
        animation: loading-two 1s infinite;
        animation-delay: 0.75s;
    }

    .loader .four {
        width: 100%;
        top: 0;
        height: 0;
        animation: loading-one 1s infinite;
        animation-delay: 0.5s;
    }

@keyframes loading-one {
    0% {
        height: 0;
        opacity: 1;
    }

    12.5% {
        height: 100%;
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        height: 100%;
        opacity: 0;
    }
}

@keyframes loading-two {
    0% {
        width: 0;
        opacity: 1;
    }

    12.5% {
        width: 100%;
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 0;
    }
}

@keyframes rotate-loader {
    0% {
        transform: rotate(-45deg);
    }

    20% {
        transform: rotate(-45deg);
    }

    25% {
        transform: rotate(-135deg);
    }

    45% {
        transform: rotate(-135deg);
    }

    50% {
        transform: rotate(-225deg);
    }

    70% {
        transform: rotate(-225deg);
    }

    75% {
        transform: rotate(-315deg);
    }

    95% {
        transform: rotate(-315deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

/* ------------------- LOADER ---------------------------------------*/
.data_modal {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('/ASSETS/IMAGES/trans.png');
}

.data_center {
    width: 60%;
    padding: 10px;
    border-radius: 5px;
    background-color: #FFFFFF;
}
