/* Main navigation: the menu, its links and the mobile menu (button, overlay, open state set by assets/js/nav.js). */

/*
 * The menu icon: three bars, 1em square, in the text colour (white, blue when
 * the menu is open). The outline is that of Webflow's former icon font.
 */
.icon-menu {
  line-height: 1;
  display: block;
}

.icon-menu::before {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-color: currentcolor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath transform='matrix(1 0 0 -1 0 960)' d='M800 704H224Q211 704 201.5 694.5Q192 685 192 672V640Q192 627 201.5 617.5Q211 608 224 608H800Q813 608 822.5 617.5Q832 627 832 640V672Q832 685 822.5 694.5Q813 704 800 704ZM800 512H224Q211 512 201.5 502.5Q192 493 192 480V448Q192 435 201.5 425.5Q211 416 224 416H800Q813 416 822.5 425.5Q832 435 832 448V480Q832 493 822.5 502.5Q813 512 800 512ZM800 320H224Q211 320 201.5 310.5Q192 301 192 288V256Q192 243 201.5 233.5Q211 224 224 224H800Q813 224 822.5 233.5Q832 243 832 256V288Q832 301 822.5 310.5Q813 320 800 320Z'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}

.site-nav {
  z-index: 5;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  position: relative;
  display: flow-root;
}

.site-nav-brand {
  color: #333;
  text-decoration: none;
  position: relative;
}

.site-nav-menu {
  position: relative;
}

[data-nav-menu-open] {
  text-align: center;
  min-width: 200px;
  position: absolute;
  left: 0;
  right: 0;
  overflow: visible;
}

.site-nav-overlay {
  width: 100%;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
}

.site-nav-overlay [data-nav-menu-open] {
  top: 0;
}

.site-nav-button {
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: #0000;
  padding: 0;
  font-size: clamp(24px, 32.1127px - 0.5634vw, 30px);
  display: none;
  position: relative;
}

.site-nav-button:focus {
  outline: 0;
}

/* Keyboard focus: a white ring around the button. */
.site-nav-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 10px;
}

@media screen and (max-width: 991px) {
  .site-nav-menu {
    background-color: var(--theme-blue);
    height: 100svh;
    margin-left: var(--space-2);
    margin-right: var(--space-2);
  }

  .site-nav .site-nav-menu {
    display: none;
  }

  /* The open menu (nav.js sets the attribute). */
  .site-nav .site-nav-menu[data-nav-menu-open] {
    display: block;
  }

  .site-nav-button {
    color: var(--white);
  }

  .site-nav .site-nav-button {
    display: block;
  }

  .site-nav-button.is-open {
    background-color: var(--white);
    color: var(--theme-blue);
    border-radius: 10px;
  }
}

.nav-menu-list {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  display: flex;
}

.nav-link {
  opacity: 0.8;
  color: var(--white);
  margin-left: var(--space-3);
  margin-right: var(--space-1);
  padding: var(--space-1) var(--space-2);
  text-decoration: none;
  font-size: clamp(17px, 14.8873px + 0.5634vw, 23px);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:focus-visible {
  outline-offset: 0;
  color: var(--white);
  border-radius: 4px;
  outline: 2px solid var(--white);
}

.nav-link.is-current {
  opacity: 1;
  margin-left: var(--space-3);
  font-size: clamp(17px, 14.8873px + 0.5634vw, 23px);
}

@media screen and (min-width: 1280px) {
  .nav-link {
    margin-left: var(--space-4);
  }
}

@media screen and (min-width: 1440px) {
  .site-nav {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }

  .nav-link {
    margin-right: var(--space-4);
  }

  .nav-link.is-current {
    margin-left: var(--space-4);
  }
}

@media screen and (max-width: 991px) {
  .nav-menu-list {
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: var(--space-4);
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .nav-link {
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--space-1);
    padding-right: var(--space-1);
  }

  .nav-item {
    text-align: left;
    width: 100%;
    margin-bottom: var(--space-4);
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .site-nav {
    max-width: 100%;
  }

  .nav-menu-list {
    border-radius: var(--radius-md);
    flex-direction: column;
    padding-bottom: var(--space-6);
  }

  .nav-link {
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
    display: inline-block;
  }
}
