/* breakpoints */
main div#content .anchor-nav {
  margin-bottom: 0;
}

.anchor-nav {
  --anchor-nav-link-height: 45px;
  --font-size-xsmall: 1.1rem;
  --font-size-small: 1.3rem;
  --font-size-medium: 1.4rem;
  --font-size-large: 1.6rem;
  --font-size-xlarge: 1.8rem;
  --font-size-xxlarge: 2rem;
}
.anchor-nav:after {
  display: none !important;
}
.anchor-nav:has(.cta-wrapper:not(:empty)) {
  --anchor-nav-link-height: 60px;
}

main:not(:has(.bswh-page-banner)) .anchor-nav[data-attop=false] {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
}

.anchor-nav {
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1098039216);
}
.anchor-nav .component-content {
  display: flex;
  justify-content: center;
  width: 100%;
}
.anchor-nav .link-flex-wrapper {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  align-items: center;
  height: var(--anchor-nav-link-height);
}
.anchor-nav .nav-flex {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-size-medium);
  margin: 0 var(--spacing-size-medium);
  padding: 0;
  width: 100%;
  max-width: 1440px;
  height: -moz-max-content;
  height: max-content;
}
.anchor-nav .nav-link-wrapper {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  flex-wrap: nowrap;
  margin: 0;
}
@media only screen and (min-width: 992px) {
  .anchor-nav .nav-link-wrapper {
    width: 100%;
  }
}
.anchor-nav .nav-links-wrapper {
  position: relative;
  width: 100%;
  height: var(--anchor-nav-link-height);
}
.anchor-nav .back-top-link-wrapper {
  display: none;
  margin-right: 0;
  min-width: unset;
  height: var(--anchor-nav-link-height);
}
.anchor-nav .right-boxshadow:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: unset;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.5);
  width: 34px;
  height: var(--anchor-nav-link-height);
  content: "";
}
.anchor-nav[data-attop=false] .back-top-link-wrapper {
  display: flex;
}

@media screen and (min-width: 992px) {
  .anchor-nav .nav-link-wrapper {
    gap: var(--spacing-size-medium);
  }
}
.anchor-nav .anchor-link {
  border-bottom: none !important;
  padding: 0;
}
.anchor-nav .anchor-link:before, .anchor-nav .anchor-link:after {
  display: none !important;
}
.anchor-nav .anchor-link-wrapper {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  align-items: center;
  height: var(--anchor-nav-link-height);
}
.anchor-nav .anchor-link-wrapper:has(a:hover) .anchor-link--marker, .anchor-nav .anchor-link-wrapper:has(a.active) .anchor-link--marker {
  display: block;
  transform: scaleX(1);
  z-index: 1;
}
.anchor-nav .anchor-link-wrapper:has(a:hover) .anchor-link--marker {
  background-color: var(--color-interaction-active-border);
}
.anchor-nav .anchor-link-wrapper:has(a.active) .anchor-link--marker {
  background-color: var(--color-primary-b2);
}
.anchor-nav .anchor-link {
  font-family: "sharpsans-semibold", sans-serif;
  height: 100%;
  font-size: var(--font-size-medium);
  text-decoration: none;
  white-space: nowrap;
}
@media only screen and (min-width: 768px) {
  .anchor-nav .anchor-link {
    font-size: var(--font-size-medium);
  }
}
.anchor-nav .anchor-link:hover {
  color: #007eb4;
}
.anchor-nav .anchor-link.active {
  color: #007eb4;
}
.anchor-nav .anchor-link--marker {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
  transition: transform 0.25s ease-in-out;
  background-color: var(--color-interaction-active-border);
  width: 100%;
  height: 4px;
}
@starting-style {
  .anchor-nav .anchor-link--marker {
    visibility: hidden;
    width: 0;
  }
}
.anchor-nav .back-top-link-wrapper .back-top-link {
  height: 100%;
  color: #007eb4;
  font-size: var(--font-size-medium);
  text-decoration: none;
  white-space: nowrap;
}
.anchor-nav .back-top-link-wrapper .back-top-link:hover {
  text-decoration: none;
}

/* Desktop Fix for when there are 6+ anchor links */
@media only screen and (min-width: 992px) {
  .anchor-nav:has(.nav-links-wrapper .nav-link-wrapper a.anchor-link:nth-of-type(6):not(:empty)) .nav-links-wrapper {
    flex: 1 1 auto;
    min-width: unset;
  }
  .anchor-nav:has(.nav-links-wrapper .nav-link-wrapper a.anchor-link:nth-of-type(6):not(:empty)) .nav-flex {
    gap: 10px;
    width: 100%;
    max-width: 100vw;
  }
  .anchor-nav:has(.nav-links-wrapper .nav-link-wrapper a.anchor-link:nth-of-type(6):not(:empty)) .nav-link-wrapper {
    gap: 20px;
    margin-left: 0;
  }
  .anchor-nav:has(.nav-links-wrapper .nav-link-wrapper a.anchor-link:nth-of-type(6):not(:empty)) .cta-wrapper.mob-fixed-bottom {
    flex: 0 0 auto;
  }
}