﻿#device-indicator {
    position: absolute;
    top: -999em;
    left: -999em;
}

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
    #device-indicator:after {
        content: 'mobile';
    }
}

/* Extra Small Devices, Phones */
/*@media only screen and (min-width : 480px) {

    }*/

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    #device-indicator:after {
        content: 'tablet';
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    #device-indicator:after {
        content: 'desktop';
    }
}

/* Large Devices, Wide Screens */
/*@media only screen and (min-width : 1200px) {
}*/
/*** BEGIN: Loading GIF ***/
/* 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 */
.graspmodal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background:  rgba( 255, 255, 255, .8 )
                url('../img/ajax-loader.gif') 
                50% 50% 
                no-repeat;

    /*ajax-loader-trans*/
}

/* 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 .graspmodal {
    display: block;
}
/*** END: Loading GIF ***/