#preloaderStatus {
    width: 100px;
    height: 200px;
    position: fixed;
    left: 50%;
    /* centers the loading animation horizontally one the screen */
    top: 260px;
    /* centers the loading animation vertically one the screen */
    background: url(loading.gif) no-repeat center;
    margin: -50px 0 0 -50px;
    /* is width and height divided by two */
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.8;
    background-color: #fff;
    /* change if the mask should have another color then white */
    z-index: 99;
    /* makes sure it stays on top */
    width: 100%;
    height: 100%;
}