aio-nav-menu.top-menu .vertical-menu-item  {
  background-color: $lightgray;
  text-transform: uppercase;
}

.mat-sidenav.sidenav {
  box-shadow: 6px 0 6px rgba(0,0,0,0.10);
  background-color: $offwhite;
  padding: 10px 0px 0px;
  min-width: 260px;
}

md-sidenav-container.sidenav-container {
    height: auto;
    transform: none;
  }

// md-sidenav.sidenav.mat-sidenav.mat-sidenav-side.mat-sidenav-opened {
//   position: fixed;
//   padding-top: 72px;
// }

md-sidenav-container div.mat-sidenav-content {
    height: auto;
}

.vertical-menu-item {
  box-sizing: border-box;
  color: $darkgray;
  cursor: pointer;
  display: block;
  max-width: 260px;
  overflow-wrap: break-word;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  text-decoration: none;
  text-align: left;
  transition-duration: 180ms;
  transition-property: background-color, color;
  transition-timing-function: ease-in-out;
  width: 100%;
  word-wrap: break-word;
  outline: none;

  &:hover {
    text-shadow: 0 0 5px #ffffff;
    background-color: $lightgray;
  }

  //icons _within_ nav
  .material-icons {
    position: absolute;
    top: 6px;
    margin-left: 10px;
  }

  @include bp(tiny) {
    padding-top: 10px;
    padding-bottom: 10px;
  }

}

.vertical-menu-item.selected {
  color: $blue;
}

.heading {
  color: #444;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  width: 100%;
}

.material-icons {
  display: inline-block;
  position: absolute;
  top: 6px;
  right: 8px;
}

.heading-children.expanded {
  visibility: visible;
  opacity: 1;
  max-height: 4000px; // Arbitrary max-height. Can increase if needed. Must have measurement to transition height.
  transition: visibility 500ms, opacity 500ms, max-height 500ms;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

.heading-children.collapsed {
  visibility: hidden;
  opacity: 0;
  max-height: 1px; // Must have measurement to transition height.
  transition: visibility 275ms, opacity 275ms, max-height 280ms;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

a.selected.level-1,
.heading.selected.level-1,
.heading-children.selected.level-1 {
  border-left: 3px $blue solid;
}

.level-1 {
  font-family: $main-font;
  font-size: 14px;
  font-weight: 400;
  padding-left: 10px;
  transition: background-color 0.2s;
}

.level-2 {
  font-family: $main-font;
  font-size: 14px;
  color: $mediumgray;
  font-weight: 400;
  padding-left: 20px;
  text-transform: none;
}

.level-3 {
  font-family: $main-font;
  font-size: 14px;
  color: $mediumgray;
  padding-left: 30px;
}

.level-1.expanded .material-icons, .level-2.expanded .material-icons {
  @include rotate(90deg);
}

.level-1:not(.expanded) .material-icons, .level-2:not(.expanded) .material-icons {
  @include rotate(0deg);
}

.promo-img-container img {
  max-width: 90%;
  @include bp(small) {
    max-width: 100%;
  }
}
