/* Motivational Magic shared navigation, approved white/navy style. */
/* Keep this file alongside each .htm file, and load it AFTER the page stylesheet. */
.site > header.topbar {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 58px;
  min-height: 58px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 17px;
  padding: 0 16px;
  margin: 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(1, 27, 90, 0.19);
}
.site > header.topbar > a.brand {
  display: block;
  flex: 0 0 28%;
  width: 28%;
  max-width: 395px;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.site > header.topbar > a.brand > img {
  display: block;
  width: 100%;
  max-width: 395px;
  height: auto;
  object-fit: contain;
}
.site > header.topbar > nav {
  display: flex;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}
.site > header.topbar > nav > a {
  display: inline-block;
  flex: 0 0 auto;
  font: normal 18px/1.1 Arial, Helvetica, sans-serif;
  color: #000b55;
  text-decoration: none;
  white-space: nowrap;
  padding: 17px 2px 12px;
  margin: 0;
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  text-shadow: none;
}
.site > header.topbar > nav > a.active,
.site > header.topbar > nav > a[aria-current="page"] {
  border-bottom-color: #ffca00;
}
.site > header.topbar > nav > a:hover,
.site > header.topbar > nav > a:focus-visible {
  color: #004caa;
}
@media (max-width: 1130px) {
  .site > header.topbar {height:auto; min-height:58px; flex-wrap:wrap; gap:4px; justify-content:center; padding:8px 12px;}
  .site > header.topbar > a.brand {flex:0 0 320px; width:320px; max-width:100%;}
  .site > header.topbar > nav {flex:1 0 100%; width:100%; justify-content:center; flex-wrap:wrap; gap:4px 18px;}
  .site > header.topbar > nav > a {font-size:16px; padding:7px 2px 6px;}
}
@media (max-width: 600px) {
  .site > header.topbar > nav {gap:2px 11px;}
  .site > header.topbar > nav > a {font-size:14px; padding:6px 1px 5px; border-bottom-width:3px;}
}
