/**
 * @file loader.css
 *
 * 'loader.css' defines the style for the site loading screen.
 *
 * Author: H Paterson.
 * Copyright: Iris Data Science, 2020.
 */

#inz-loader-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1999; /* above everything (including leaflets 0-1000) */
    background-color: white;
}

#inz-loader-spinner {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;

    border: 10px solid #d0ecf2;
    border-top: 10px solid #2993b2;
    border-radius: 50%;
    width: 20em;
    height: 20em;
    animation: spin 2s linear infinite;
}

#inz-loader-text {
    color: #2993b2;
    font-size: 3em;
    font-weight: bold;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
