/**
 * Navigation bar.
 */


/******************************************************************************************************************************//*
* Generalized menu styling
********************************************************************************************************************************/

.menu,
.menu .menu {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.menu .menu {
  margin-top: 0.5rem;
}

.menu .menu-item {
  font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
  padding-top: 0;
}

.menu .menu-item.with-divider-above {
  margin-top: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
}

.menu .menu-item.with-divider-below {
  margin-bottom: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.mega-menu .menu-item--expanded {
  list-style: none;
  list-style-image: none;
  margin-bottom: 1rem;
}
.mega-menu .menu-item--expanded > span { /* This is the header for the footer menus */
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.7rem;
  letter-spacing: .05rem;
  font-weight: 600;
  font-family: "Crimson Text", "Merriweather", Georgia, "Times New Roman", Times, serif;
}

.mega-menu a,
.mega-menu span {
  display: block;
  padding: 0.25rem 0;
}

.mega-menu .subscriber-login {
  background-image: url(../../images/person-teal.svg);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 14px;
  padding-left: 20px;
}

.mega-menu > .menu {
  margin: 0;
}

@media all and (min-width: 480px) {
  .mega-menu > .menu {
    display: grid;
    grid-template-columns: 50% 50%;
  }
  .mega-menu > .menu > li {
    width: 90%;
  }
}

@media all and (min-width: 640px) {
  .mega-menu > .menu {
    display: grid;
    grid-template-columns: 33% 33% 33%;
  }
}
