/* -------- loading -------- */

/* progress-bar */

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: all 1s ease;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #deecf4;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 4px;
  opacity: 1;
}


/* progress-bg */

#fade {
    width: 100%;
    height: 100%;
    display:block;
    background-color: #fff;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 50;
    opacity:1;
    transition: all 1.1s cubic-bezier(.86,0,.07,1);
}
body.pace-running #fade {
    background-color: #fff;
}

#fade .hidden {
  position: absolute;
  opacity: 0;
  top: 48.6%;
  left: 49.1%;
  transform:translate(-50%,-50%);
  transition:0.5s cubic-bezier(.6,0,.25,1); 
}
body.pace-running #fade .hidden {
  opacity: 1;
  top: 48.6%;
  transition:0.5s cubic-bezier(.6,0,.25,1); 
}

.pace-done #fade {
  opacity: 0;
  visibility: hidden;
  transition: all 1.1s cubic-bezier(.86,0,.07,1);
}


