﻿.loading-panel {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 9999; /* Specify a stack order in case you're using a different order for other elements */
    
}

    .loading-panel .loader {
        position: absolute;
        top: 50%;
        left: 50%;
        /*font-size: 50px;*/
        color: white;
        transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
    }

    .loading-panel .loader {
        border: 16px solid #f3f3f3; /* Light grey */
        border-top: 16px solid #aaa; /* Blue */
        border-radius: 50%;
        width: 6em;
        height: 6em;
        animation: spin 2s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}