@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Oswald:wght@200..700&display=swap');

:root {
  /* Brand */
  --color-primary: #00584d;
  --color-primary-dark: #003f37;
  --color-primary-light: #41797b;
  --color-secondary: #003764;
  --color-secondary-dark: #002544;

  /* Accent */
  --color-accent-lime: #80bd01;
  --color-accent-lime-dark: #698f01;
  --color-accent-teal: #02a99f;
  --color-accent-orange: #f37443;
  --color-accent-brick: #a03021;

  /* Neutrals */
  --color-cream: #f0f1e9;
  --color-white: #ffffff;
  --color-gray-100: #f0f0f0;
  --color-gray-200: #ececec;
  --color-gray-300: #d2d2d2;
  --color-gray-500: #959595;
  --color-gray-600: #777777;
  --color-black: #111111;

  /* Semantic aliases */
  --color-text: var(--color-black);
  --color-text-muted: var(--color-gray-600);
  --color-background: var(--color-white);
  --color-background-alt: var(--color-cream);
  --color-border: var(--color-gray-300);
  --color-link: var(--color-primary);
  /* Teal read too faintly on white (about 3:1), so hover darkens and adds a heavier underline */
  --color-link-hover: var(--color-primary-dark);

  /* Fonts. Oswald substitutes for NRPA's licensed "Realist Narrow" heading face */
  --font-heading: "Oswald", sans-serif;
  --font-body: "Figtree", sans-serif;

  /* Heading sizes */
  --font-size-h1: 3rem;
  --font-size-h2: 2.25rem;
  --font-size-h3: 1.75rem;
  --font-size-h4: 1.375rem;
  --font-size-h5: 1.125rem;
  --font-size-h6: 1rem;
  --line-height-heading: normal;
  --font-weight-heading: 700;
  --letter-spacing-heading: 0.01em;

  /* Body sizes */
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-sm: 0.875rem;
  --line-height-base: 1.6;
  --font-weight-regular: 400;
  --font-weight-bold: 700;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;

  /* Radius & shadow */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);

  --transition-fast: 150ms ease-in-out;

  /* Salesforce LWC/SLDS token overrides */

  --lwc-brandPrimary: var(--color-primary);
  --lwc-brandAccessible: var(--color-primary);
  --lwc-brandAccessibleActive: var(--color-primary-dark);
  --lwc-brandHeader: var(--color-primary);
  --lwc-colorBrand: var(--color-primary);
  --lwc-colorBrandDark: var(--color-primary-dark);
  --lwc-colorBrandDarker: var(--color-primary-dark);
  --lwc-colorTextBrand: var(--color-primary);
  --lwc-colorTextBrandHover: var(--color-primary-dark);
  --lwc-colorBorderBrand: var(--color-primary);
  --lwc-colorBorderBrandHover: var(--color-primary-dark);
  --lwc-dxpGBrand: var(--color-primary);
  --lwc-dxpGBrandContrast: var(--color-white);

  --slds-g-color-brand-base-50: var(--color-primary);
  --slds-g-color-brand-base-30: var(--color-primary-dark);
  --slds-g-color-brand-base-70: var(--color-primary-light);
  --slds-r-color-brand-50: var(--color-primary);
  --slds-r-color-brand-30: var(--color-primary-dark);

  /* Buttons — brand variant */
  --lwc-colorBackgroundButtonBrand: var(--color-primary);
  --lwc-colorBackgroundButtonBrandHover: var(--color-primary-dark);
  --lwc-colorBackgroundButtonBrandActive: var(--color-primary-dark);
  --lwc-colorBorderButtonBrand: var(--color-primary);
  --lwc-colorTextButtonBrand: var(--color-white);
  --lwc-colorBackgroundBrandPrimary: var(--color-primary);
  --lwc-colorBackgroundBrandPrimaryHover: var(--color-primary-dark);
  --lwc-colorBackgroundBrandPrimaryActive: var(--color-primary-dark);
  --lwc-buttonColorBorderBrandPrimary: var(--color-primary);
  --lwc-brandTextLink: var(--color-link) !important;
  --lwc-brandTextLinkActive: var(--color-link-hover) !important;
  /* Rich text components colour links with these instead, which the theme sets to lime */
  --lwc-colorTextLink: var(--color-link);
  --lwc-colorTextLinkHover: var(--color-link-hover);
  --lwc-colorTextLinkActive: var(--color-link-hover);

  /* Buttons — default/neutral variant (was leaking SF's default blue) */
  --lwc-colorTextButtonDefault: var(--color-text);
  --lwc-colorTextButtonDefaultHover: var(--color-primary);
  --lwc-colorTextButtonDefaultActive: var(--color-primary-dark);
  --lwc-colorBorderButtonDefault: var(--color-border);

  --lwc-buttonBorderRadius: var(--radius-pill);

  /* Typography — Gotham/Arial aren't licensed for web use here */
  --lwc-fontFamily: var(--font-body);
  --lwc-fontFamilyBody: var(--font-body);
  --lwc-fontFamilyText: var(--font-body);
  --lwc-fontFamilyStrong: var(--font-body);
  --lwc-fontFamilyHeading: var(--font-heading);
  --lwc-fontFamilyHeader: var(--font-heading);
  --slds-g-font-family-base: var(--font-body);

  --lwc-fontSizeHeadingXLarge: var(--font-size-h1);
  --lwc-fontSizeHeadingLarge: var(--font-size-h2);
  --lwc-fontSizeHeadingMedium: var(--font-size-h3);
  --lwc-fontSizeHeadingSmall: var(--font-size-h4);
  --lwc-fontSizeHeadingXSmall: var(--font-size-h5);
  --lwc-fontSizeHeadingXxSmall: var(--font-size-h6);

  /* Navigation (currently unbranded "DarkGray" placeholder) */
  --lwc-brandNavigationBackgroundColor: var(--color-primary);
}

/* Base elements */

body {
  font-family: var(--font-body) !important;
  font-size: var(--font-size-base) !important;
  font-weight: var(--font-weight-regular) !important;
  line-height: var(--line-height-base) !important;
  color: var(--color-text) !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading) !important;
  font-weight: var(--font-weight-heading) !important;
  line-height: var(--line-height-heading) !important;
  letter-spacing: var(--letter-spacing-heading) !important;
  color: var(--color-primary);
  margin: 0 0 var(--space-md);
}

h1, .h1 { font-size: var(--font-size-h1) !important; }
h2, .h2 { font-size: var(--font-size-h2); }
h3, .h3 { font-size: var(--font-size-h3); }
h4, .h4 { font-size: var(--font-size-h4); }
h5, .h5 { font-size: var(--font-size-h5); }
h6, .h6 { font-size: var(--font-size-h6); }

p {
  margin: 0 0 var(--space-md);
}

a:not(.btn) {
  color: var(--color-link);
  text-decoration: underline;
  transition: color var(--transition-fast);

  &:hover,
  &:focus {
    color: var(--color-link-hover);
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
}

/* "body" outranks the bare hr rules in SLDS (2rem margins) and Bootstrap, which load after this file */
body hr {
  margin: var(--space-lg) 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.text-lg { font-size: var(--font-size-lg); }
.text-sm { font-size: var(--font-size-sm); }
.text-muted { color: var(--color-text-muted); }

/* SLDS classes — for light-DOM/CMS markup; base LWCs (shadow DOM) pick up
   the NRPA look from the token overrides above instead of class selectors. */

.slds-button {
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast);

  &.slds-button_brand {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);

    &:hover,
    &:focus {
      background-color: var(--color-primary-dark);
      border-color: var(--color-primary-dark);
    }
  }

  &.slds-button_outline-brand {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);

    &:hover,
    &:focus {
      background-color: var(--color-primary);
      color: var(--color-white);
    }
  }

  &.slds-button_neutral {
    background-color: var(--color-white);
    border-color: var(--color-border);
    color: var(--color-text);

    &:hover,
    &:focus {
      border-color: var(--color-primary);
      color: var(--color-primary);
    }
  }

  &.slds-button_destructive,
  &.slds-button_text-destructive {
    background-color: var(--color-accent-brick);
    border-color: var(--color-accent-brick);
    color: var(--color-white);
  }

  &.slds-button_success {
    background-color: var(--color-accent-teal);
    border-color: var(--color-accent-teal);
    color: var(--color-white);
  }
}

.slds-text-heading_large {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: var(--font-size-h2) !important;
  color: var(--color-primary);
}

.slds-text-heading_medium {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: var(--font-size-h3) !important;
  color: var(--color-primary);
}

.slds-text-heading_small {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: var(--font-size-h4) !important;
  color: var(--color-primary);
}

.slds-text-title,
.slds-text-title_caps,
.slds-text-title_bold {
  font-family: var(--font-body);
  color: var(--color-text-muted);
}

/* Titles used as link text (e.g. the store's "You Might Also Like" carousel) take the link colour,
   not the muted title grey, so they read and hover like every other link. */
a .slds-text-title,
a .slds-text-title_caps,
a .slds-text-title_bold {
  color: inherit;
}

a.slds-carousel__panel-action:hover,
a.slds-carousel__panel-action:focus {
  text-decoration: underline;
}

.slds-text-body_regular {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
}

.slds-text-body_small {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
}

.slds-text-link {
  color: var(--color-link);

  &:hover,
  &:focus {
    color: var(--color-link-hover);
  }
}

/* Salesforce Experience Cloud theme tweaks */

.siteforceThemeLayoutStarter {
  font-size: 100% !important;
}

.forceCommunityThemeNav {
  .mainNavItem {
    padding-left: 1.5rem;
  }
}

.forceCommunityThemeHeroStarter {
  .contentTitle,
  .contentSubtitle {
    margin-top: 0;
  }
}

/* The theme CSS hides Home (the first menu item) with .mainNavItem:first-child, but on phones
   the template's later ".forceCommunityThemeNav .mainNavItem { display: block }" has equal
   specificity and wins, so Home showed as an empty band at the top of the mobile menu. */
.forceCommunityThemeNav .mainNavItem:first-child {
  display: none;
}

/* The pinned header (which holds the mobile menu and its overlay) sits at z-index 5, below the
   store's z-40 sticky filter, so the filter slid over the header on scroll and covered the open
   mobile menu. 100 clears the store's Tailwind layers (max z-50) but stays under SLDS modals
   (9000+). The "div" outranks the template's own pinned-header selector. */
.siteforceThemeLayoutStarter.isHeaderPinned-true > .a11y-banner > div.header {
  z-index: 100;
}

/* The theme's header settings colour the menu green on the home page and black elsewhere, with a
   faint lime hover, all with !important. One extra element in the selector outranks them. */
.siteforceThemeLayoutStarter .forceCommunityThemeNav .mainNavItem a.linkBtn {
  color: var(--color-primary) !important;

  &:hover,
  &:focus {
    color: var(--color-link-hover) !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }

  /* The current page already has the theme's bar under it */
  &.comm-navigation__top-level-item-link--active {
    text-decoration: none;
  }
}

/* Log in and Log out live in the menu instead of the header's profile menu (themeUtils). Aura
   menus can't show Event items or limit an item to guests, so Login and Logout are URL items:
   Logout is members-only, and Login is hidden whenever Logout is shown. */
.siteforceThemeLayoutStarter .themeUtils {
  display: none;
}

.forceCommunityThemeNav:has(a[href*="logout.jsp"]) .mainNavItem:has(> a[href*="NC__Login"]) {
  display: none;
}

/* Store product cards put a <br> between the title and the divider, doubling the gap above it */
.slds-card .slds-text-heading_medium + br {
  display: none;
}

.nds-scope {
  font-family: var(--font-body) !important;
}

/* Site footer — full-width brand-green band. Uses existing tokens only;
   links go lime on hover to match the --lwc-brandTextLink convention. */

.nrpa-footer {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  padding: var(--space-xl) var(--space-lg);

  /* :not(.btn) outranks the theme's ".forceCommunityRichText a", which turned these lime */
  a:not(.btn) {
    color: var(--color-white);
    text-decoration: none;

    &:hover,
    &:focus {
      color: var(--color-accent-lime);
      text-decoration: underline;
    }

    &:focus-visible {
      outline: 2px solid var(--color-accent-lime);
      outline-offset: 2px;
    }
  }
}

.nrpa-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.nrpa-footer__org {
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-white);
  margin: 0 0 var(--space-lg);
}

/* auto-fit collapses the two mailing addresses to one column on narrow screens */
.nrpa-footer__addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);

  address {
    font-style: normal;
    margin: 0;
  }
}

.nrpa-footer__label {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-lime);
  margin-bottom: var(--space-xs);
}

.nrpa-footer__links {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.25);

  ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm) var(--space-md);
    list-style: none;
    margin: 0;
    padding: 0 !important;
  }

  li:first-child {
    padding-left: 0 !important;
  }

  li:first-child:before {
    display: none !important;
  }

  /* Separators live outside the <a>, so they aren't clickable or read aloud */
  li + li::before {
    content: "|" !important;
    color: rgba(255, 255, 255, 0.4);
    margin-right: var(--space-md);
  }
}

.animate:hover[namz-dynamicGrid_dynamicGrid] {
  transform: none !important;
}

.nds-scope .max-w-xs {
  max-width: 100% !important;
}

.comm-tile-menu__item-image {
  display: none !important;
}
.comm-tile-menu__item-title {
  border-radius: 0 !important;
}


/* Professional Development Portal Page */
.forceCommunityRichText {
  .card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);

    > h2,
    > h3 { margin-top: 0; }
    > h2 {
      font-size: var(--font-size-h2) !important;
    }
    >h3 {
      font-size: var(--font-size-h3) !important;
    }
  }
  .card__lead {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
  }
  /* Top row: My learning + CEUs & learning records */
  .portal-grid-2 {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-lg);
  }
  /* ---- Learning tiles (inside My learning) ---- */
  .learning-tiles {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-md);
  }
  .tile {
    display: block;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);

    &:hover,
    &:focus { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  }
  .tile__title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    font-size: var(--font-size-h5) !important;
    display: block;
    margin-bottom: var(--space-xs);
  }
  .tile__sub { font-size: var(--font-size-sm); }
  .tile--primary {
    background: var(--color-primary);
    color: var(--color-white);

    .tile__title { color: var(--color-white); }
    .tile__sub { color: rgba(255, 255, 255, 0.85); }
    &:hover { background: var(--color-primary-dark); }
  }
  .tile--muted {
    background: var(--color-gray-100);
    border: 1px solid var(--color-border);
    color: var(--color-text);

    .tile__title { color: var(--color-text); }
    .tile__sub { color: var(--color-text-muted); }
    &:hover { border-color: var(--color-primary); }
  }
  .card__footnote {
    margin: var(--space-lg) 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
  }
  /* ---- CEU record links ---- */
  .record-list {
    list-style: none;
    margin: 0;
    padding: 0;

    li {
      padding: var(--space-md) 0;

      & + li { border-top: 1px solid var(--color-border); }
      &:first-child { padding-top: 0; }
      &:before {display: none;}
    }
  }
  .record-list__title {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg) !important;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: var(--space-xs);

    &:hover,
    &:focus { color: var(--color-primary-dark); }
  }
  .record-list__sub {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
  }
    .portal-section__intro {
        color: var(--color-text-muted) !important;
    }
  /* ---- Explore grid ---- */
  .explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  .explore-card {
    display: flex;
    flex-direction: column;

    h3 {
      font-size: var(--font-size-h4) !important;
      margin: 0 0 var(--space-sm);
    }
    p {
      color: var(--color-text-muted);
      margin: 0 0 var(--space-lg);
    }
  }
  .portal-section h2 {
    font-size: var(--font-size-h2);
  }
  /* Link that pins to the bottom of each card so the arrows line up */
  .cta-link {
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    text-decoration: none;

    &:hover,
    &:focus { color: var(--color-primary-dark); }
    &::after { content: " \203A"; }
  }
  /* ---- Certificates strip ---- */
  .cert-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-lg);
    background: var(--color-gray-100);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
  }
  .cert-strip__title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    font-size: var(--font-size-h5);
    color: var(--color-primary);
  }
  .cert-strip__desc {
    color: var(--color-text-muted);
    flex: 1 1 240px;
  }
  /* ---- Wireframe caption ---- */
  .portal-caption {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl) var(--space-2xl);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
  }
  /* ---- Responsive ---- */
  @media (max-width: 900px) {
    .portal-grid-2 { grid-template-columns: 1fr; }
    .explore-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .portal-nav,
    .portal-header,
    .portal-tabs,
    .portal-main { padding-left: var(--space-lg); padding-right: var(--space-lg); }
    .learning-tiles { grid-template-columns: 1fr; }
    .explore-grid { grid-template-columns: 1fr; }
    .portal-tabs { gap: var(--space-lg); }
  }
}
    
section.forceCommunityHeadline {
  background: #01584d;
  padding: 2rem 1rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: -16px;
  text-align: center;
}

section.forceCommunityHeadline * {
  max-width: 960px
}

.forceCommunityHeadline .headlineTitle {
  color: #FFF !important;
  margin: 0 !important;
  padding: 0 !important;
}

.forceCommunityHeadline .headlineInfo {
  color: #FFF !important;
  font-size: 1.4rem;
  margin-left: auto !important;
  margin-right: auto !important;
}
    
.forceCommunityThemeNav ul.themeNav-align-center {
  justify-content: right !important;
}    
.forceCommunityThemeNav .mainNavItem {
  padding-left: 30px !important;
}
.forceCommunityThemeNav .mainNavItem a {
  font-weight: bold;
}


/* Community Hub (Visualforce) styling — the Nimble AMS Community Hub pages load this
   resource too. */

.page-header p {
  margin-top: 18px;
  font-size: 1.5rem;
}

.navbar {
	min-height: 60px;
}

.navbar-nav > li > a,
.list-group a {
    text-decoration: none;
    font-size: 16px !important;
}

.m-logo-retina {
    height: 45px;
}

/* Nimble's branding only shades the top nav links white on hover, so they gave no visible cue.
   ".navbar" outranks that inline rule; colours match the Experience site menu. */
.navbar.navbar-default .navbar-nav > li > a {
  color: var(--color-primary);

  &:hover,
  &:focus {
    color: var(--color-link-hover);
    background-color: transparent;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }
}

/* Sidebar menus: body text that turns green on a cream band when hovered, with the current page
   in brand green rather than Nimble's teal. */
.list-group a.list-group-item {
  color: var(--color-text);

  &:hover,
  &:focus {
    background-color: var(--color-cream);
    color: var(--color-primary);
  }

  &.active,
  &.active:hover,
  &.active:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
  }
}

/* Indents and shrinks Community Hub navigation items */
.nav-child {
    margin-left: 2em;
    font-size: .9em;
}
/* Mobile menu (off-canvas). Nimble's branding settings give the menu items a cream background
   but white text, and BoldCore leaves a teal panel and a 15px gray band under each list, so the
   links were unreadable. Nimble writes its branding as an inline <style> after this file, so each
   selector carries one class more than Nimble's to win without !important. */
.l-off-canvas.l-off-canvas-left {
  background: var(--color-cream);
  color: var(--color-primary);
}

.l-off-canvas.l-off-canvas-left .m-off-canvas-nav .list-group {
  background: var(--color-cream);
  border-bottom: 4px solid var(--color-primary);
  box-shadow: none;
}

.l-off-canvas.l-off-canvas-left .m-off-canvas-nav .list-group-item {
  background: var(--color-cream);
  color: var(--color-primary);
  border-bottom-color: var(--color-border);

  &:hover,
  &:focus,
  &.active {
    background: var(--color-primary);
    color: var(--color-white);
  }
}

/* Margin would expose the list's background as a white block beside each child link */
.l-off-canvas.l-off-canvas-left .m-off-canvas-nav .nav-child {
  margin-left: 0;
  padding-left: calc(15px + 2em);
}

/* BoldCore turns the MENU text white while the menu is open, but Nimble's branding keeps the
   button white, so the label vanished. */
.navbar-default .navbar-toggle.m-toggle-button.s-active .m-toggle-button-text {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/*CSS to control checkbox option display within flow on CH */
.nu-lightning-wrapper .uiBlock .bBody .slds-form-element__control .slds-checkbox {
    width: auto;
}

/*CSS to control text area label display within flow on CH */
.nu-lightning-wrapper .bBody .inputHeader .richTextLabel {
    display: inline-block;
    float: none;
    text-align: left;
	width: 100%;
}

/*CSS to control previous button display within flow on CH */
.slds-button.slds-button_neutral.uiButton--default.uiButton{
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    vertical-align: middle;
    border: 1px solid rgb(217, 219, 221);
    transition: border .15s linear;
    background-color: rgb(0, 112, 210);
    border-color: rgb(0, 112, 210);
    color: rgb(255, 255, 255);
}

/*CSS to allow Address lightning component country picklist to behave correctly within flow on CH */
.slds-scope .slds-form_compound .slds-form-element__group .slds-form-element__row{
	display: inherit;
}

/*CSS to relocate the required asterisk */
.nu-lightning-wrapper .uiBlock .bBody .inputHeader .required{
	margin-right: auto;
	margin-left: auto;
}

/*CSS to add padding to radio button inputs within a flow in Community Hub*/
.flowruntimeRadioButtonInput .bBody .slds-form-element__control{
    padding-top: 25px;
}

/* Capped so screens between 1200px and 1440px don't scroll sideways and clip the top nav. Nimble's
   Bootstrap build drops the container's right padding, so a full-width .row's -15px margin would
   still push the page 15px past the screen edge. */
@media (min-width: 1200px) {
  .container {
    width: 1440px;
    max-width: 100%;
    padding-right: 15px;
  }
}

.m-footer {
    color: #FFF !important;

    .container {
        font-family: var(--font-heading);
        font-size: var(--font-size-h4);
        font-weight: var(--font-weight-heading);
        letter-spacing: var(--letter-spacing-heading);
        color: var(--color-white);
    }

    p {
        font-size: 14px;
    }

    p:last-child {
        margin-top: var(--space-xl);
        padding-top: var(--space-md);
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--space-sm) var(--space-md);

        /* Same white-to-lime links as the Experience site's .nrpa-footer */
        a {
            color: var(--color-white);
            text-decoration: none;

            &:hover,
            &:focus {
                color: var(--color-accent-lime);
                text-decoration: underline;
            }
        }
    }
}
