header {
  max-width: 100vw;
}

.header-inner {
  max-width: 940px;
  height: 111px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

#logo,
.logo {
  width: 132px;
  height: 75px;
  display: block;
}

.NavMenu {
  position: relative;
}

.topnav {
  display: flex;
  align-items: flex-end;
}

.submenu {
  display: flex;
}

.nav-link {
  padding: 38px 10px 3px;
}

/* Nav links */
.topnav a {
  color: #292929;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

/* Gray underline (default) */
.topnav a span {
  display: inline-block;
  border-bottom: 2px solid #e7e7e7;
  padding-bottom: 2px;
}

/* Green Hover underline */
.topnav a:hover span {
  border-bottom-color: #439c49;
}

/* Active page — remove underline */
.topnav a.active span {
  border-bottom: none;
  position: relative;
}

/* Green UP arrow (correct size & direction) */
.topnav a.active span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid #439c49;
}

/* Hide hamburger on desktop */
.topnav .icon {
  display: none;
}

/* Full width title bar between header and body content */
.page-title {
  height: 79px;
  background: #0a1243 url("https://monzite.com/img/title/circuit_strip_bg.png") center / cover no-repeat;
}

.title-h1 {
  font-size: 19px;
  font-weight: 300;
  line-height: 54px;
}

.title-inner {
  max-width: 940px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-title h1 span {
  font-size: 19px;
  font-weight: 300;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 20px 15px 20px;
  text-shadow: 0px 2px 5px rgb(0 0 0 / 20%);
  border-radius: 2px;
  color: #fff;
}

.breadcrumb {
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  padding: 7px;
  border-radius: 2px;
}

.breadcrumb a {
  font-size: 10px;
  color: #fff;
  text-decoration: none;
}

.crumb-raquo {
  padding: 0px 5px 0px 5px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #9c9c9c;
  text-align: center;
  height: 50px;
  margin-top: auto;
  align-items: center;
  line-height: 50px;
}

.footer-p {
  font-size: 11px;
  margin: 0px;
  align-items: center;
}

/* DROPDOWN WRAPPER */
.has-dropdown {
  position: relative;
}

/* DROPDOWN PANEL */
.dropdown {
  display: none;
  position: absolute;
  top: 63px;
  left: 0;
  min-width: 290px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

/* DROPDOWN LINK */
.dropdown a {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #292929;
  /*border-bottom: 1px solid #eee;*/
}

/* HOVER STATES 
.dropdown a:hover {
  background: #f4f4f4;
}*/

/* SHOW DROPDOWN ON HOVER (DESKTOP) */
.has-dropdown:hover .dropdown {
  display: block;
}

/* Gray underline (default) */
.dropdown a span {
  display: inline-block;
  border-bottom: 2px solid #e7e7e7;
  padding-bottom: 2px;
}

/* Green Hover underline */
.dropdown a:hover span {
  border-bottom-color: #439c49;
}

.arrow {
  /*font-size: 0.55em;
  margin-left: 6px;
  vertical-align: middle;*/
  color: #292929;
}

.has-dropdown:hover > a .arrow {
  color: var(--green);
}

/* TABLET / MOBILE NAV */

@media screen and (max-width: 979px) {
  header {
    background: #ffffff;
    /*margin: 0px auto 0px;*/
    /*max-width: 700px;*/
    min-width: auto;
    height: 111px;
    position: relative;
    align-items: center;
  }

  .header-inner {
    max-width: 700px;
  }

  /* Nav Menu Button wrapper */
  .NavMenu {
    position: absolute;
    top: 52px;
    right: 0;
    width: 120px;
    z-index: 10;
  }

  /* NAV MENU BUTTON */
  .topnav .icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
    height: 45px;
    padding: 0 20px;
    background: rgba(50, 50, 50, 0.95);
    color: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  }

  /* Nav Menu Buttons's Text: "Menu" */
  #icon-menu {
    font-size: 11px;
    text-decoration: underline;
  }

  .hamburger {
    font-size: 22px;
    margin-top: 4px;
  }

  .submenu {
    display: none; /* Hide submenu until NavMenu is clicked */
    position: absolute;
    top: 59px;
    right: 0;
    width: 700px;
    background: rgba(50, 50, 50, 0.95);
  }

  /* SHOW DROPDOWN */
  .topnav.responsive .submenu {
    display: block;
  }

  /* DROPDOWN LINKS */
  .nav-link {
    padding: 0;
    float: none;
  }

  .topnav a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  /* ACTIVE GREEN ARROW — CENTERED */
  .topnav a.active span {
    position: relative;
    display: inline-block;
  }

  .topnav a.active span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #439c49;
  }

  /* MOBILE DROPDOWN */
  .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(40, 40, 40, 0.95);
  }

  .dropdown a {
    color: #fff;
    padding-left: 40px;
    font-size: 13px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  }

  /* Always show dropdown when menu is open */
  .topnav.responsive .dropdown {
    display: block;
  }
}

/* Mobile */

@media screen and (max-width: 767px) {
  header {
    height: 200px;
  }

  .header-inner {
    max-width: 100vw;
    flex-direction: column;
    height: 200px;
  }

  #logo {
    margin: 0 auto;
    position: relative;
    top: 85px;
  }

  /* Nav Menu Button wrapper */
  .NavMenu {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
  }

  /* NAV MENU BUTTON */
  .topnav .icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    border-radius: 0px;
  }

  .submenu {
    width: 100vw;
    top: 45px;
  }

  .topnav a {
    padding: 14px 20px 14px 40px;
  }

  .breadcrumb {
    display: none;
  }

  .page-title {
    height: 60px;
  }

  .title-inner {
    justify-content: center;
    height: 60px;
  }
}

/* MEDIA QUERY - 500 */
@media screen and (max-width: 500px) {
  .footer-p {
    font-size: 9px;
  }
}

/* MEDIA QUERY - 479 */
@media screen and (max-width: 479px) {
  .footer-p {
    font-size: 9px;
  }
}