/* The fixed navbar means the first container needs a top margin.
   Let's apply that to the container for flashed messages. */
.container-flashed
{
    margin-top: 80px;
}

.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 248, 248, 248, .8)
                url('/static/loading.gif')
                50% 50%
                no-repeat;
}


/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}
