.topnav p.motto-blog{
  font-family: Montserrat;
  font-weight: 500;
  font-size: .85rem;
}

#site-navigation {
  min-height: 3em;
  /* The overflow panel hangs from the bar. */
  position: relative;
}

#site-navigation .main-menu-img {
  max-height: 50px;
}

#site-navigation .row.main-menu .nav-item.main-menu a{
  font-family: Montserrat;
  text-transform: uppercase;
  text-decoration: none;
}


/* The items are sized on their label, so a menu with many voices wraps into
   balanced, centred rows instead of breaking the labels mid-phrase. */
#site-navigation .row.main-menu {
  row-gap: .25rem;
}

@media (min-width: 768px) {
  #site-navigation .row.main-menu .nav-item.main-menu a {
    white-space: nowrap;
  }

  /* One line only, and items that keep their width: that is what lets
     js/main-menu.js tell an overflow from a wrap. The class is added by the
     script, so without it the bar still wraps instead of cutting items off. */
  #site-navigation.has-menu-script .row.main-menu {
    flex-wrap: nowrap;
    /* Without this the row is a flex item that refuses to shrink below its
       own content, so it grows past the bar and nothing reads as an
       overflow. No overflow:hidden here: it would clip the hover underline. */
    min-width: 0;
  }

  #site-navigation.has-menu-script .row.main-menu > .nav-item {
    flex-shrink: 0;
  }
}

/* Overflow: the button at the right end of the bar, and the panel it opens. */
.syrus-menu-toggle {
  flex: 0 0 auto;
  margin-left: .5rem;
  padding: .25rem .5rem;
  border: 0;
  background: none;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.syrus-menu-toggle:focus-visible {
  outline: .125rem solid currentColor;
  outline-offset: .125rem;
}

.syrus-menu-toggle[hidden] {
  display: none;
}

.syrus-menu-overflow {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1030;
  min-width: 14rem;
  max-width: 22rem;
  max-height: 70vh;
  overflow-y: auto;
  padding: .5rem 0;
  /* The bar carries its colour inline, from the Customizer. */
  background-color: inherit;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .25);
}

.syrus-menu-overflow[hidden] {
  display: none;
}

.syrus-menu-overflow .nav-item.main-menu {
  width: 100%;
  max-width: none;
  padding: .5rem 1rem;
}

@media (max-width: 767.98px) {
  .syrus-menu-overflow {
    left: 0;
    right: 0;
    max-width: none;
  }
}

#site-navigation .main-menu .nav-item.main-menu::after{
  content: "";
  position: absolute;
  width: 0%;
  height: .1rem;
  background-color: orange;
  bottom: -.1rem;
  display: inline-block;
  transition: width .5s;
}

#site-navigation .main-menu .nav-item.main-menu:hover::after {
  width: 100%;
}

.main-menu-container {
  margin-bottom: 1.5em;
}

@keyframes hoverNavItem {
  0% {
    width: 0%;
  }
  50% {
    width: 50%;
  }
  100% {
    width: 100%;
  }
}


/* TOPNAV 2 */
