/* MAPSA_HEADER_FIT_LOGO_V4_START */
/* Header-only correction layered AFTER the installed v3 stylesheet.
   No changes to global .wrap, content, colors, or the approved logo image. */
html body header.header,
html body header.header > .wrap.nav,
html body header.header > .nav {
  box-sizing: border-box !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
html body header.header > .wrap.nav,
html body header.header > .nav {
  align-items: center !important;
}
html body header.header a.brand {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  width: 244px !important;
  min-width: 244px !important;
  max-width: 244px !important;
  flex: 0 0 244px !important;
  overflow: visible !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
html body header.header a.brand::before {
  box-sizing: border-box !important;
  content: '' !important;
  display: block !important;
  width: 244px !important;
  height: 64px !important;
  min-width: 244px !important;
  min-height: 64px !important;
  max-width: 244px !important;
  max-height: 64px !important;
  flex: 0 0 244px !important;
  background: url('../assets/images/mapsa-logo-tight-v3.png') center center / contain no-repeat !important;
  transform: none !important;
}
html body header.header nav#nav,
html body header.header .nav-tools {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  align-items: center !important;
}
html body header.header nav#nav > a {
  height: 100% !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
@media (max-width: 700px) {
  html body header.header,
  html body header.header > .wrap.nav,
  html body header.header > .nav {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
  }
  html body header.header a.brand {
    width: 206px !important;
    min-width: 206px !important;
    max-width: 206px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    flex: 0 0 206px !important;
  }
  html body header.header a.brand::before {
    width: 206px !important;
    min-width: 206px !important;
    max-width: 206px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    flex: 0 0 206px !important;
  }
  html body header.header nav#nav {
    position: absolute !important;
    top: 64px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-items: stretch !important;
  }
  html body header.header nav#nav > a {
    height: auto !important;
    display: block !important;
    padding: 9px !important;
  }
}
@media (max-width: 390px) {
  html body header.header a.brand {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    flex: 0 0 170px !important;
  }
  html body header.header a.brand::before {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    flex: 0 0 170px !important;
  }
}
/* MAPSA_HEADER_FIT_LOGO_V4_END */
