/* Make clicks pass-through */
.nprogress-busy * {
  cursor: progress !important;
}

#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: #10C6BB;

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

  width: 100%;
  height: 5px;
}

/* Fancy blur effect */
#nprogress .peg {
  display: block;
  position: absolute;
  right: 0px;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #10C6BB, 0 0 5px #10C6BB;
  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 */

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

@media (max-width: 960px) {
  #nprogress {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.6);
  }

  #nprogress .spinner {
    display: block;
    position: absolute;
    z-index: 1031;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  #nprogress .spinner-icon {
    width: 60px;
    height: 60px;
    box-sizing: border-box;
  
    border: solid 5px transparent;
    border-top-color: #10C6BB;
    border-left-color: #10C6BB;
    border-radius: 50%;
  
    -webkit-animation: nprogress-spinner 800ms linear infinite;
            animation: nprogress-spinner 800ms linear infinite;
  }
  
  .nprogress-custom-parent {
    overflow: hidden;
    position: relative;
  }
  
  .nprogress-custom-parent #nprogress .spinner,
  .nprogress-custom-parent #nprogress .bar {
    position: absolute;
  }
}
