/* ===========================================
   UNIVERSAL compact site chrome override
   Append this to the BOTTOM of /css/site_chrome.css.
   It is deliberately high-specificity because each page CSS
   currently has its own navbar/logo sizes.
   =========================================== */

html body .navbar.navbar {
  min-height: 46px !important;
  padding: 0.18rem 0.82rem !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid rgba(201, 223, 218, 0.72) !important;
  box-shadow: 0 5px 16px rgba(12, 79, 85, 0.038) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html body .navbar.navbar .navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin-right: 0.82rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
}

html body .navbar.navbar .navbar-brand img {
  display: block !important;
  width: auto !important;
  height: 38px !important;
  max-height: 38px !important;
}

html body .navbar.navbar .navbar-collapse {
  min-width: 0 !important;
}

html body .navbar.navbar .navbar-nav {
  align-items: center !important;
}

html body .navbar.navbar .navbar li,
html body .navbar.navbar .nav-item {
  padding-left: 0.08rem !important;
  padding-right: 0.08rem !important;
}

html body .navbar.navbar .nav-link {
  min-height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.36rem 0.46rem !important;
  color: var(--life-ink-soft, #23494f) !important;
  font-family: 'Montserrat', 'Montserrat-Bold', Arial, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.012em !important;
  white-space: nowrap !important;
}

html body .navbar.navbar .nav-link:hover,
html body .navbar.navbar .nav-link:focus,
html body .navbar.navbar .nav-item.active .nav-link {
  color: var(--life-deep, #0c4f55) !important;
}

html body .navbar.navbar .nav-item.active .nav-link::after {
  left: 0.46rem !important;
  right: 0.46rem !important;
  bottom: 0.18rem !important;
  height: 2px !important;
  border-radius: 999px !important;
}

html body .navbar.navbar .navbar-toggler {
  padding: 0.26rem 0.42rem !important;
  border-radius: 10px !important;
  transform: scale(0.92);
  transform-origin: center right;
}

html body .btn,
html body button.btn {
  min-height: 38px !important;
  padding: 0.56rem 0.9rem !important;
  font-size: 0.8rem !important;
  line-height: 1.08 !important;
}

@media (max-width: 991.98px) {
  html body .navbar.navbar {
    padding: 0.22rem 0.78rem !important;
  }

  html body .navbar.navbar .navbar-brand img {
    height: 36px !important;
    max-height: 36px !important;
  }

  html body .navbar.navbar .navbar-collapse {
    padding-top: 0.38rem !important;
  }

  html body .navbar.navbar .navbar-nav {
    align-items: flex-start !important;
  }

  html body .navbar.navbar .nav-link {
    min-height: 34px !important;
    padding: 0.36rem 0.2rem !important;
    font-size: 0.8rem !important;
  }

  html body .navbar.navbar .nav-item.active .nav-link::after {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  html body .navbar.navbar {
    min-height: 44px !important;
    padding: 0.18rem 0.68rem !important;
  }

  html body .navbar.navbar .navbar-brand img {
    height: 34px !important;
    max-height: 34px !important;
  }

  html body .navbar.navbar .nav-link {
    width: 100% !important;
    min-height: 34px !important;
    padding: 0.36rem 0 !important;
    font-size: 0.82rem !important;
  }

  html body .btn,
  html body button.btn {
    min-height: 38px !important;
    padding: 0.56rem 0.86rem !important;
    font-size: 0.8rem !important;
  }
}
