/* Make clicks pass-through */
#nprogress {
  /*pointer-events: none;*/
}

#nprogress .bar {
  background: rgba(230,230,230, 1);

  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;

  width: 100%;
  bottom: 0;
  transform: translate3d(0,0,0) !important;
}

/* Fancy blur effect */
#nprogress .peg {
  display: none;
  position: absolute;
  right: 0px;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #29d, 0 0 5px #29d;
  opacity: 1.0;

  -webkit-transform: rotate(3deg) translate(0px, -4px);
      -ms-transform: rotate(3deg) translate(0px, -4px);
          transform: rotate(3deg) translate(0px, -4px);
}

/* Remove these to get rid of the spinner */
#nprogress .spinner {
  display: block;
  position: fixed;
  z-index: 9999;
  top: 50%;
  margin-top: -20px;
  right: 50%;
  margin-right: -23px;
}

#nprogress .spinner-icon {
  box-sizing: border-box;

  -webkit-animation: feather 1s ease-in-out alternate infinite;
          animation: feather 1s ease-in-out alternate infinite;

  width: 50px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url('/static/images/icon-logo.svg');
  -webkit-transform-origin: top: center;
  transform-origin: top: center;
}

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

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

@-webkit-keyframes feather {
  0%   { -webkit-transform: rotate(50deg); }
  100% { -webkit-transform: rotate(-10deg); }
}

@keyframes feather {
  0%   { -webkit-transform: rotate(50deg); }
  100% { -webkit-transform: rotate(-10deg); }
}
