/* 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;
}








/* ==========================================================
   IOMA button styles for Wild Apricot
   Paste into your website's custom CSS and save.

   This restyles Wild Apricot's own five editor button styles:
     Button style 1  (buttonStyle001)  Dark green   main action on white/light sections
     Button style 2  (buttonStyle002)  Mint         main action on navy sections
     Button style 3  (buttonStyle003)  Light blue   second action on navy/green sections
     Button style 4  (buttonStyle004)  White        main action on green sections
     Button style 5  (buttonStyle005)  Navy         second action on white/light sections
   Every style has a solid background (no see-through buttons).

   The same looks are also available as classes for hand-written links:
     ioma-btn-primary, ioma-btn-accent, ioma-btn-outline-light,
     ioma-btn-white, ioma-btn-outline-dark

   !important is used so the theme's own button and link styles
   can't override these.
   ========================================================== */

/* ---------- 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;
  }
}