.wrapper {
  height: $navHeight;
  flex-grow: 1;
  z-index: $zindex-navbar-fixed;
  display: block;
  //max-width: calc(100% - 22rem);
}

.navList {
    padding-right: 0;
  @include media-breakpoint-down(md) {
    position: absolute;
    left: 0;
    width: 100%;
    padding-left: 0;
    align-items: stretch;
    background-color: $brand-primary;
    line-height: $smallNavHeight;
    padding-top:1rem;
  }

  display: flex;
  text-align: left;
  font-weight: 200;
  text-transform: uppercase;
  height: 100%;
  min-height: 100vh;
  background-color: transparent;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0;
  margin-top: $navHeight;

  flex-grow: 1;
  font-size: 1rem;
  flex-direction: column;
  @include media-breakpoint-up($navBreak) {
    justify-content: space-between;
    text-align: center;

    padding-left: 2rem;
    height: 100%;
    flex-direction: row;
    padding-top: 0;
    opacity: 1;
    transform: none;
    margin-top: 0;
    min-height: 0;
    line-height: $navHeight;
  }
  list-style: none;
  transition: all .5s ease;
  opacity: 0;
  transform: scale(0, 0);
  transform-origin: right top;
}

.activeMobileNav {
  opacity: 1;
  transform: scale(1, 1);
  overflow-y: auto;
  max-height: calc(100vh - 12rem);
}