.progress-bar-container {
  position: fixed;
  top: calc(var(--lh-nav-height-sm) - var(--lh-progress-bar-height));
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 997;
  padding-left: var(--lh-sidebar-max-width);

  background-color: transparent;
}

.progress-bar-container .progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  max-width: 100%;

  background-color: var(--lh-scroll-background);

  -webkit-transition: width .6s ease;
  -o-transition: width .6s ease;
  transition: width .6s ease;
}

/*medium-and-up*/
@media only screen and (min-width: 601px) {
  .progress-bar-container {
    top: calc(var( --lh-nav-height-md) - var(--lh-progress-bar-height));
  }
}

/*medium-and-down*/
@media only screen and (max-width: 992px) {
  .progress-bar-container {
    padding-left: 0;
  }
}