/* use class wh_loading for the loading div, and add 8 empty span elements inside */
/* Ref: https://1stwebdesigner.com/pure-css-animated-page-loaders/ */
  
.wh_loading span {
  display: inline-block;
  vertical-align: middle;
  width: .6em;
  height: .6em;
  margin: .19em;
  background: #FFF;
  border-radius: .6em;
  animation: wh_loading 1s infinite alternate;
}

/*
 * Dots Colors
 * Smarter targeting vs nth-of-type?
 */
.wh_loading span:nth-of-type(2) {
  background: #111;
  animation-delay: 0.2s;
}
.wh_loading span:nth-of-type(3) {
  background: #111;
  animation-delay: 0.4s;
}
.wh_loading span:nth-of-type(4) {
  background: #111;
  animation-delay: 0.6s;
}
.wh_loading span:nth-of-type(5) {
  background: #111;
  animation-delay: 0.8s;
}
.wh_loading span:nth-of-type(6) {
  background: #111;
  animation-delay: 1.0s;
}
.wh_loading span:nth-of-type(7) {
  background: #111;
  animation-delay: 1.2s;
}

/*
 * Animation keyframes
 * Use transition opacity instead of keyframes?
 */
@keyframes wh_loading {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* \\ */
/*------------------------------------------------------*/

  #wh_overlay {
      background-color: rgba(255, 255, 255, 0.85);
      z-index: 999;
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      display: none;
      align-items: center;
      justify-content: center;
	}
  	#wh_modal {
      display: flex;      
      justify-content: center;
      align-items: baseline;      
      z-index: 1;
      color: #fff;      
  	}