#nprogress {
  pointer-events: none;
  .bar {
    background: var(--AClr);
    position: fixed;
    z-index: 1031;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5em;
  }
  .peg {
    display: block;
    position: absolute;
    right: 0;
    width: 10ex;
    height: 100%;
    box-shadow: 0 0 1em var(--AClr), 0 0 0.5em var(--AClr);
    opacity: 1.0;
    transform: rotate(3deg) translate(0, -0.4em);
  }
  .spinner {
    display: block;
    position: fixed;
    z-index: 1031;
    top: 1.1em;
    right: 1.1em;
  }
  .spinner-icon {
    width: 1.5ex;
    height: 1.5em;
    box-sizing: border-box;
    border: solid 0.2em transparent;
    border-top-color: var(--AClr);
    border-left-color: var(--AClr);
    border-radius: 50%;
    animation: nprogress-spinner 400ms linear infinite;
  }
}

.nprogress-custom-parent {
  overflow: hidden;
  position: relative;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
  position: absolute;
}

@keyframes nprogress-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
