/* Saved section menus use the same controller in model and CMS pages. */

.cms-content__article--authored .sticky-anchor:not(.submenu) a {
  padding: var(--theme-section-nav-normal-padding, var(--theme-content-action-pretty-padding, var(--theme-content-action-padding, 20px)));
  margin: var(--theme-section-nav-normal-margin, 0);
  color: var(--theme-section-nav-normal-copy, var(--theme-content-action-pretty-copy, #fff)) !important;
  background: var(--theme-section-nav-normal-background, var(--theme-content-action-pretty-background, var(--primary))) !important;
  width: var(--theme-section-nav-normal-width, auto);
  height: var(--theme-section-nav-normal-height, var(--theme-content-action-pretty-height, auto));
  border-bottom: var(--theme-section-nav-normal-border, var(--theme-content-action-pretty-border, 0));
  border-radius: var(--theme-section-nav-normal-radius, var(--theme-content-action-pretty-radius, var(--theme-content-action-radius, 0)));
}

@media (min-width: 680px) {
  .cms-content__article--authored .sticky-anchor:not(.submenu) {
    transition: var(--theme-section-nav-transition, .3s ease-in-out);
    top: var(--theme-section-nav-top, 56px);
    z-index: 10;
  }

  .cms-content__article--authored .sticky-anchor.fixed {
    box-sizing: content-box;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: fixed;
    background: var(--theme-section-nav-background, #fff);
    width: 100%;
    left: 0;
    z-index: var(--theme-section-nav-layer, 600);
    transform: var(--theme-section-nav-hidden-transform, translateY(-200%));
    opacity: var(--theme-section-nav-hidden-opacity, 0);
    padding: var(--theme-section-nav-padding, 0);
    border-bottom: var(--theme-section-nav-border, 0);
  }

  .cms-content__article--authored .sticky-anchor.fixed.show {
    display: var(--theme-section-nav-shown-display, flex);
    top: var(--theme-section-nav-shown-top, var(--theme-section-nav-top, 56px));
    transform: var(--theme-section-nav-shown-transform, translateY(0%));
    opacity: 1;
  }

  .cms-content__article--authored .sticky-anchor.fixed a {
    color: var(--theme-section-nav-link-copy, #646464) !important;
    background: transparent !important;
    border: var(--theme-section-nav-link-outline, 0);
    border-bottom: var(--theme-section-nav-link-border, 4px solid transparent);
    margin: var(--theme-section-nav-link-margin, 0);
    padding: var(--theme-section-nav-link-padding, 12px 14px 8px);
    font: var(--theme-section-nav-link-font, var(--theme-content-action-pretty-font, var(--theme-content-action-font)));
    border-radius: var(--theme-section-nav-link-radius, var(--theme-content-action-pretty-radius, var(--theme-content-action-radius, 0)));
    min-height: var(--theme-section-nav-link-min-height, auto);
    height: var(--theme-section-nav-link-height, auto);
  }

  .cms-content__article--authored .sticky-anchor.fixed a:is(.active, :hover) {
    color: var(--theme-section-nav-link-active-copy, var(--primary)) !important;
    background: var(--theme-section-nav-link-active-background, #fff) !important;
    border-bottom: var(--theme-section-nav-link-active-border, 4px solid var(--primary));
  }

  .cms-content__article--authored .sticky-anchor.fixed a.active {
    font-weight: var(--theme-section-nav-link-active-weight, inherit);
  }

  .cms-content__article--authored .sticky-anchor.fixed a:hover:not(.active) {
    color: var(--theme-section-nav-link-hover-copy, var(--theme-section-nav-link-active-copy, var(--primary))) !important;
    background: var(--theme-section-nav-link-hover-background, var(--theme-section-nav-link-active-background, #fff)) !important;
  }
}

@media (max-width: 679.99px) {
  .cms-content__article--authored .sticky-anchor.fixed {
    position: static;
  }
}

body.has-high-contrast .cms-content__article--authored .sticky-anchor.fixed a {
  color: #ff0 !important;
}

body.has-high-contrast .cms-content__article--authored .sticky-anchor.fixed a.active {
  color: #000 !important;
  background: #ff0 !important;
}

@media (max-width: 680px) {
  .cms-content__article--authored .sticky-anchor:not(.submenu):not(.fixed) {
    display: var(--theme-section-nav-mobile-display, block);
    position: static;
  }

  .cms-content__article--authored .sticky-anchor.fixed {
    display: var(--theme-section-nav-mobile-fixed-display, none);
  }

  .cms-content__article--authored .sticky-anchor.fixed.show {
    display: var(--theme-section-nav-mobile-fixed-show-display, var(--theme-section-nav-mobile-fixed-display, none));
  }
}
