#loading {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: none;
  opacity: 0.7;
  background-color: #fff;
  z-index: 999;
  text-align: center;
}

#loading-image {
  display: block;
  margin-top: 50px; /* was 256px */
  margin-left: auto;
  margin-right: auto;
  z-index: 1000;
}

#mask {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: none;
  opacity: 0.9;
  background-color: #fff;
  z-index: 499;
  text-align: center;
}
