﻿/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modalProgress {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /*background: rgba( 255, 255, 255, .8 ) url('../gif/142.gif') 50% 50% no-repeat;*/
    background: rgba( 255, 255, 255, .8 ) url('../gif/2.gif') 50% 50% no-repeat;
    justify-content: center;
    align-items: center;
    
    font-size: 32px; /* Optional: Adjust font size */
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}


body.loading .modalProgress {
        display: flex;
}

