﻿/* 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
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.PleaseWait_Modal {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 38, 49, 92, 0.5 ) url('/images/ajax_loader.gif') 50% 50% no-repeat;
}




/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.PleaseWait_loading {
    overflow: hidden;
}

    /* Anytime the body has the loading class, our
       modal element will be visible */
    body.PleaseWait_loading .PleaseWait_Modal {
        display: block;
    }
