﻿#loader-wrapper {
    position: fixed; /* SET TO FIXED */
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(40, 153, 192, 0.7);
    width: 100vw; /* USE VIEWPORT UNITS */
    height: 100vh; /* USE VIEWPORT UNITS */
    z-index: 1001; /* MOVE Z-INDEX HERE! */
}

#splash-wrapper {
    position: fixed; /* SET TO FIXED */
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(40, 153, 192, 0.7);
    width: 100vw; /* USE VIEWPORT UNITS */
    height: 100vh; /* USE VIEWPORT UNITS */
    z-index: 1001; /* MOVE Z-INDEX HERE! */
}

#splash {
    position: absolute;
    /*background-color: rgba(255,255,255,1);*/
    /*z-index: 9999;
    left: 50%;
    top: 50%;
    width: 8vmax;
    height: 8vmax;
    margin: -4vmax;*/ /* ADD THIS (half the W/H) */
    /*border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #FFFFFF;*/
    /*animation: spin 1s linear infinite;*/
    /*-webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;*/
}


.offline-wrapper {
    position: fixed; /* SET TO FIXED */
    z-index: 9999;
    top: 50px;
    left: 0;
    background-color: rgba(40, 153, 192, 0.7);
    width: 100vw; /* USE VIEWPORT UNITS */
    height: 100vh; /* USE VIEWPORT UNITS */
    z-index: 1001; /* MOVE Z-INDEX HERE! */
}

.LoaderCaption {
    position: absolute;
    text-align: center;
    top: 53%;
    font-size: 1.4em;
    color: white;
    /*background-color: rgba(255,255,255,1);*/
    z-index: 9999;
    left: 50%;
    width: 8vmax;
    height: 8vmax;
    margin: -4vmax; /* ADD THIS (half the W/H) 
   /* top: 50%;*/
    /*    width: 110px;*/
    /*height: 8vmax;
    margin: -4vmax;*/ /* ADD THIS (half the W/H) */
}

#loader {
    position: absolute;
    /*background-color: rgba(255,255,255,1);*/
    z-index: 9999;
    left: 50%;
    top: 50%;
    width: 8vmax;
    height: 8vmax;
    margin: -4vmax; /* ADD THIS (half the W/H) */
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #FFFFFF;
    /*animation: spin 1s linear infinite;*/
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 9999;
    display: none;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    width: 50%;
    margin: 0 auto;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: black;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}
