.spinner {
  margin: 100px auto 0;
  width: 300px;
  text-align: center;
  position: absolute;
  top: 50%;
  z-index: 2147483647;
  left: 50%;
  margin-left: -150px;
  margin-top: -50px;
}

.spinner > div {
  width: 50px;
  height: 50px;
  background-color: #333;
  background: url(../images/favicon-large.png) no-repeat center;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
  0%, 80%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

#mask {
  width: 100%;
  height: 100%;
  /*background: url('../images/bg_mask.png') repeat;*/
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: none;
}