/* Rounded Divider */
.rounded-divider {
    width: 70px;
    height: 7px;
    background-color: #246c21;
    border-radius: 999px;
    border: none;
    margin: 0;
}

/* Rounded Divider */
.rounded-divider-white {
    width: 70px;
    height: 7px;
    background-color: #ffffff;
    border-radius: 999px;
    border: none;
    margin: 0;
}

/* Rounded Divider */
.rounded-divider-darkblue {
    width: 70px;
    height: 7px;
    background-color: #1c475e;
    border-radius: 999px;
    border: none;
    margin: 0;
}

/* Rounded Content Gadget */
.rounded-content {
    border-radius: 16px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 24px;
}

/* Rounded Event Calendar Gadget */
.rounded-calendar {
    border-radius: 16px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 20px;
}
/* Rounded Event Calendar */
.rounded-calendar,
.rounded-calendar .WaGadgetEventsCalendar,
.rounded-calendar .WaGadgetEvents,
.rounded-calendar .generalFieldsContainer {
    border-radius: 16px;
    overflow: hidden;
}

/* Rounded Wild Apricot Buttons */
.WaGadget a.button,
.WaGadget input[type="submit"],
.WaGadget input[type="button"],
a.stylizedButton {
    border-radius: 999px;
}





/* Wipe the theme's own menu styling inside the strip */
.ioma-subnav *,
.ioma-subnav *::before,
.ioma-subnav *::after {
  box-sizing: border-box;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  float: none !important;
}
.ioma-subnav li::before,
.ioma-subnav li::after,
.ioma-subnav a::before,
.ioma-subnav a::after {
  content: none !important;
  display: none !important;
}

/* Centered row of links, same width as the rest of the page */
.ioma-subnav ul {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 4px 32px !important;
  max-width: 1200px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  list-style: none !important;
  border: 0 !important;
}

.ioma-subnav li,
.ioma-subnav li > div,
.ioma-subnav .item {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
  position: static !important;
}

/* Hide drop-down sub-levels: the strip shows one level only */
.ioma-subnav ul ul,
.ioma-subnav .secondLevel,
.ioma-subnav .thirdLevel {
  display: none !important;
}

/* ---------- The links ---------- */
.ioma-subnav a,
.ioma-subnav a:link,
.ioma-subnav a:visited {
  display: inline-block !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 18px 0 15px !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  color: #2d4f60 !important;
  font-family: 'Lato', system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

/* Text inside the link (some themes wrap it in a span) */
.ioma-subnav a * {
  color: inherit !important;
  font: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Hover: dark green text, light blue underline */
.ioma-subnav a:hover {
  color: #246c21 !important;
  border-bottom-color: #9fc2dc !important;
  text-decoration: none !important;
}

/* Keyboard focus */
.ioma-subnav a:focus-visible {
  outline: 3px solid #1c475e !important;
  outline-offset: 2px !important;
}

/* ---------- The page you're on ----------
   Covers the class names Wild Apricot themes use for the
   current menu item. */
.ioma-subnav li.sel > a,
.ioma-subnav li.sel > div > a,
.ioma-subnav li.sel > .item > a,
.ioma-subnav li.selected > a,
.ioma-subnav li.selected > div > a,
.ioma-subnav li.current > a,
.ioma-subnav li.current > div > a,
.ioma-subnav li.active > a,
.ioma-subnav li.active > div > a,
.ioma-subnav a.sel,
.ioma-subnav a.selected,
.ioma-subnav a.current,
.ioma-subnav a.active,
.ioma-subnav a[aria-current="page"] {
  color: #1c475e !important;
  border-bottom-color: #246c21 !important;
}

/* ---------- Phones ----------
   Keep the links visible (no hamburger button) and let them wrap. */
.ioma-subnav .menuButton,
.ioma-subnav .mobileMenuButton,
.ioma-subnav .menuToggle {
  display: none !important;
}
.ioma-subnav .menuInner,
.ioma-subnav nav,
.ioma-subnav .gadgetStyleBody {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
}
@media (max-width: 480px) {
  .ioma-subnav ul {
    gap: 0 22px !important;
    padding: 0 16px !important;
  }
  .ioma-subnav a,
  .ioma-subnav a:link,
  .ioma-subnav a:visited {
    font-size: 15px !important;
    padding: 14px 0 11px !important;
  }
}










/* ---------- Shared shape ---------- */
.stylizedButton.buttonStyle001,
a.stylizedButton.buttonStyle001,
a.ioma-btn-primary,
.stylizedButton.buttonStyle002,
a.stylizedButton.buttonStyle002,
a.ioma-btn-accent,
.stylizedButton.buttonStyle003,
a.stylizedButton.buttonStyle003,
a.ioma-btn-outline-light,
.stylizedButton.buttonStyle004,
a.stylizedButton.buttonStyle004,
a.ioma-btn-white,
.stylizedButton.buttonStyle005,
a.stylizedButton.buttonStyle005,
a.ioma-btn-outline-dark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  box-sizing: border-box !important;
  width: auto;
  min-height: 48px !important;
  height: auto !important;
  padding: 14px 28px !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-radius: 999px !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: 'Lato', system-ui, sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

/* Text or icons inside the button take the button's color */
.stylizedButton.buttonStyle001 *,
a.stylizedButton.buttonStyle001 *,
a.ioma-btn-primary *,
.stylizedButton.buttonStyle002 *,
a.stylizedButton.buttonStyle002 *,
a.ioma-btn-accent *,
.stylizedButton.buttonStyle003 *,
a.stylizedButton.buttonStyle003 *,
a.ioma-btn-outline-light *,
.stylizedButton.buttonStyle004 *,
a.stylizedButton.buttonStyle004 *,
a.ioma-btn-white *,
.stylizedButton.buttonStyle005 *,
a.stylizedButton.buttonStyle005 *,
a.ioma-btn-outline-dark * {
  color: inherit !important;
  background: none !important;
  font: inherit !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

.stylizedButton.buttonStyle001:hover,
a.stylizedButton.buttonStyle001:hover,
a.ioma-btn-primary:hover,
.stylizedButton.buttonStyle002:hover,
a.stylizedButton.buttonStyle002:hover,
a.ioma-btn-accent:hover,
.stylizedButton.buttonStyle003:hover,
a.stylizedButton.buttonStyle003:hover,
a.ioma-btn-outline-light:hover,
.stylizedButton.buttonStyle004:hover,
a.stylizedButton.buttonStyle004:hover,
a.ioma-btn-white:hover,
.stylizedButton.buttonStyle005:hover,
a.stylizedButton.buttonStyle005:hover,
a.ioma-btn-outline-dark:hover {
  text-decoration: none !important;
  transform: translateY(-1px);
}

.stylizedButton.buttonStyle001:focus-visible,
a.stylizedButton.buttonStyle001:focus-visible,
a.ioma-btn-primary:focus-visible,
.stylizedButton.buttonStyle002:focus-visible,
a.stylizedButton.buttonStyle002:focus-visible,
a.ioma-btn-accent:focus-visible,
.stylizedButton.buttonStyle003:focus-visible,
a.stylizedButton.buttonStyle003:focus-visible,
a.ioma-btn-outline-light:focus-visible,
.stylizedButton.buttonStyle004:focus-visible,
a.stylizedButton.buttonStyle004:focus-visible,
a.ioma-btn-white:focus-visible,
.stylizedButton.buttonStyle005:focus-visible,
a.stylizedButton.buttonStyle005:focus-visible,
a.ioma-btn-outline-dark:focus-visible {
  /* White inner ring + navy outer ring: visible on light AND dark sections */
  outline: none !important;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px #1c475e !important;
}

/* ---------- Style 1: Dark green: main action on white or light sections ---------- */
.stylizedButton.buttonStyle001,
a.stylizedButton.buttonStyle001,
a.ioma-btn-primary,
.stylizedButton.buttonStyle001:link,
a.stylizedButton.buttonStyle001:link,
a.ioma-btn-primary:link,
.stylizedButton.buttonStyle001:visited,
a.stylizedButton.buttonStyle001:visited,
a.ioma-btn-primary:visited {
  background-color: #246c21 !important;
  border-color: #246c21 !important;
  color: #ffffff !important;
}
.stylizedButton.buttonStyle001:hover,
a.stylizedButton.buttonStyle001:hover,
a.ioma-btn-primary:hover,
.stylizedButton.buttonStyle001:focus-visible,
a.stylizedButton.buttonStyle001:focus-visible,
a.ioma-btn-primary:focus-visible,
.stylizedButton.buttonStyle001:active,
a.stylizedButton.buttonStyle001:active,
a.ioma-btn-primary:active {
  background-color: #1c475e !important;
  border-color: #1c475e !important;
  color: #ffffff !important;
}

/* ---------- Style 2: Mint: main action on navy sections ---------- */
.stylizedButton.buttonStyle002,
a.stylizedButton.buttonStyle002,
a.ioma-btn-accent,
.stylizedButton.buttonStyle002:link,
a.stylizedButton.buttonStyle002:link,
a.ioma-btn-accent:link,
.stylizedButton.buttonStyle002:visited,
a.stylizedButton.buttonStyle002:visited,
a.ioma-btn-accent:visited {
  background-color: #b1d8b7 !important;
  border-color: #b1d8b7 !important;
  color: #1c475e !important;
}
.stylizedButton.buttonStyle002:hover,
a.stylizedButton.buttonStyle002:hover,
a.ioma-btn-accent:hover,
.stylizedButton.buttonStyle002:focus-visible,
a.stylizedButton.buttonStyle002:focus-visible,
a.ioma-btn-accent:focus-visible,
.stylizedButton.buttonStyle002:active,
a.stylizedButton.buttonStyle002:active,
a.ioma-btn-accent:active {
  background-color: #9fc2dc !important;
  border-color: #9fc2dc !important;
  color: #1c475e !important;
}

/* ---------- Style 3: Light blue: second action on navy or green sections ---------- */
.stylizedButton.buttonStyle003,
a.stylizedButton.buttonStyle003,
a.ioma-btn-outline-light,
.stylizedButton.buttonStyle003:link,
a.stylizedButton.buttonStyle003:link,
a.ioma-btn-outline-light:link,
.stylizedButton.buttonStyle003:visited,
a.stylizedButton.buttonStyle003:visited,
a.ioma-btn-outline-light:visited {
  background-color: #9fc2dc !important;
  border-color: #9fc2dc !important;
  color: #1c475e !important;
}
.stylizedButton.buttonStyle003:hover,
a.stylizedButton.buttonStyle003:hover,
a.ioma-btn-outline-light:hover,
.stylizedButton.buttonStyle003:focus-visible,
a.stylizedButton.buttonStyle003:focus-visible,
a.ioma-btn-outline-light:focus-visible,
.stylizedButton.buttonStyle003:active,
a.stylizedButton.buttonStyle003:active,
a.ioma-btn-outline-light:active {
  background-color: #b1d8b7 !important;
  border-color: #b1d8b7 !important;
  color: #1c475e !important;
}

/* ---------- Style 4: White: main action on green sections ---------- */
.stylizedButton.buttonStyle004,
a.stylizedButton.buttonStyle004,
a.ioma-btn-white,
.stylizedButton.buttonStyle004:link,
a.stylizedButton.buttonStyle004:link,
a.ioma-btn-white:link,
.stylizedButton.buttonStyle004:visited,
a.stylizedButton.buttonStyle004:visited,
a.ioma-btn-white:visited {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #246c21 !important;
}
.stylizedButton.buttonStyle004:hover,
a.stylizedButton.buttonStyle004:hover,
a.ioma-btn-white:hover,
.stylizedButton.buttonStyle004:focus-visible,
a.stylizedButton.buttonStyle004:focus-visible,
a.ioma-btn-white:focus-visible,
.stylizedButton.buttonStyle004:active,
a.stylizedButton.buttonStyle004:active,
a.ioma-btn-white:active {
  background-color: #b1d8b7 !important;
  border-color: #b1d8b7 !important;
  color: #1c475e !important;
}

/* ---------- Style 5: Navy: second action on white or light sections ---------- */
.stylizedButton.buttonStyle005,
a.stylizedButton.buttonStyle005,
a.ioma-btn-outline-dark,
.stylizedButton.buttonStyle005:link,
a.stylizedButton.buttonStyle005:link,
a.ioma-btn-outline-dark:link,
.stylizedButton.buttonStyle005:visited,
a.stylizedButton.buttonStyle005:visited,
a.ioma-btn-outline-dark:visited {
  background-color: #1c475e !important;
  border-color: #1c475e !important;
  color: #ffffff !important;
}
.stylizedButton.buttonStyle005:hover,
a.stylizedButton.buttonStyle005:hover,
a.ioma-btn-outline-dark:hover,
.stylizedButton.buttonStyle005:focus-visible,
a.stylizedButton.buttonStyle005:focus-visible,
a.ioma-btn-outline-dark:focus-visible,
.stylizedButton.buttonStyle005:active,
a.stylizedButton.buttonStyle005:active,
a.ioma-btn-outline-dark:active {
  background-color: #9fc2dc !important;
  border-color: #9fc2dc !important;
  color: #1c475e !important;
}

/* ---------- Phones: let long labels wrap ---------- */
@media (max-width: 480px) {
  .stylizedButton.buttonStyle001,
  a.stylizedButton.buttonStyle001,
  a.ioma-btn-primary,
  .stylizedButton.buttonStyle002,
  a.stylizedButton.buttonStyle002,
  a.ioma-btn-accent,
  .stylizedButton.buttonStyle003,
  a.stylizedButton.buttonStyle003,
  a.ioma-btn-outline-light,
  .stylizedButton.buttonStyle004,
  a.stylizedButton.buttonStyle004,
  a.ioma-btn-white,
  .stylizedButton.buttonStyle005,
  a.stylizedButton.buttonStyle005,
  a.ioma-btn-outline-dark {
    white-space: normal;
    font-size: 16px !important;
    padding: 13px 22px !important;
  }
}