﻿#loading-overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
    cursor: pointer;
}

.dataloader {
    z-index:9999;
    width: 250px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: helvetica, arial, sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    color: #053365;
    letter-spacing: 0.2em;
}

    .dataloader::before, .dataloader::after {
        content: "";
        display: block;
        width: 15px;
        height: 15px;
        background: #053365;
        position: absolute;
        -webkit-animation: load 0.7s infinite alternate ease-in-out;
        animation: load 0.7s infinite alternate ease-in-out;
    }

    .dataloader::before {
        top: 0;
    }

    .dataloader::after {
        bottom: 0;
    }

@-webkit-keyframes load {
    0% {
        left: 0;
        height: 30px;
        width: 15px;
    }

    50% {
        height: 8px;
        width: 40px;
    }

    100% {
        left: 235px;
        height: 30px;
        width: 15px;
    }
}

@keyframes load {
    0% {
        left: 0;
        height: 30px;
        width: 15px;
    }

    50% {
        height: 8px;
        width: 40px;
    }

    100% {
        left: 235px;
        height: 30px;
        width: 15px;
    }
}


/*new Loader*/

.data-loader-new {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    border: 10px solid #d8e2e2;
    border-radius: 50%;
    border-top: 10px solid #053365;
    width: 75px;
    height: 75px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}