.sticky-nav,
.dnd-section--sticky {
  position: sticky;
  top: var(--header-height, 0);
  transition: .2s all;
  z-index: 999;
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.05);
}

.dnd-section--sticky {
  padding-top: 0;
  padding-bottom: 0;
}

.dnd-section--sticky.dnd-section--full-width>.row-fluid {
  max-width: none;
}

.sticky-nav.js-inactive,
.dnd-section--sticky.js-inactive {
  opacity: 0;
  transform: translateY(-100%);
  visibility: hidden;
}

.sticky-nav:after {
  content: '';
  width: 2em;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(to right,rgba(var(--color-background, 255,255,255),0),rgba(var(--color-background, 255,255,255),1));
  pointer-events: none;
}

.sticky-nav__inner {
  overflow-x: auto;
  padding: 0 var(--site-gutter) !important;
}

.sticky-nav__items {
  display: flex;
  list-style: none !important;
  margin: 0 -0.6rem;
  transition: height 1s ease-in-out;
}

@media (max-width: 767px) {
  .sticky-nav__items {
    flex-direction: column;
    overflow: hidden;
    height: 0; /* collapsed by default on mobile */
  }
}

.show-nav {
  animation-name: slideDown;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
.hide-nav {
  animation-name: slideUp;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes slideDown {
  0% { height: 0; opacity: 0; }
  100% { height: auto; opacity: 1; }
}
@keyframes slideUp {
  0% { height: auto; opacity: 1; }
  100% { height: 0; opacity: 0; }
}

.nav-toggle {
  padding: 20px;
  text-align: center;
  cursor: pointer;
  display: none !important;
}
.nav-toggle span { margin-right: 10px; }
.nav-toggle .nav-icon { transition: .5s; }
.rotated { transform: rotate(180deg); }

@media (max-width: 767px) {
  .nav-toggle { display: block !important; }
}

.sticky-nav__item {
  display: inline-block;
  flex-shrink: 0;
}
.sticky-nav__item:last-child { padding-right: 2em; }

.sticky-nav__link {
  border-bottom: 3px solid transparent;
  display: block;
  font-size: 16px;
  font-weight: normal;
  padding: 1rem .6rem;
}

@media (min-width: 600px) {
  .sticky-nav__link { font-size: .85rem; }
}
@media (min-width: 900px) {
  .sticky-nav__link {
    align-items: center;
    display: flex;
    font-size: .95rem;
  }
}

.sticky-nav__link.js-active {
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: currentColor;
}
.sticky-nav__link.js-active,
.sticky-nav__link:hover { border-color: currentColor; }

.sticky-nav__icon {
  display: block;
  margin: 0 auto 0;
}
@media (min-width: 900px) {
  .sticky-nav__icon { margin: 0 var(--mh-sn-icon-gap, 10px) 0 0; }
}

/* Offsetting content below fixed header + sticky nav */
html:not(.hs-inline-edit) .dnd-page-section,
html:not(.hs-inline-edit) .dnd-section section.row-module--sectioned {
  margin-top: calc(calc(var(--header-height) + 2.85rem) * -1);
  padding-top: calc(var(--header-height) + 2.85rem);
}

@media (min-width: 768px) {
  .sticky-nav--jc-left\@tablet { justify-content: flex-start; }
  .sticky-nav--jc-center\@tablet { justify-content: center; }
  .sticky-nav--jc-right\@tablet { justify-content: flex-end; }

  .sticky-nav__items { margin: 0 -0.8rem; }
  .sticky-nav__item:last-child { padding-right: 0; }

  .sticky-nav__link {
    padding: 1.1rem calc(var(--mh-sn-link-gap, 40px) / 2);
  }

  html:not(.hs-inline-edit) .dnd-page-section,
  html:not(.hs-inline-edit) .dnd-section section.row-module--sectioned {
    margin-top: calc(calc(var(--header-height) + 3.05rem) * -1);
    padding-top: calc(var(--header-height) + 3.05rem);
  }
}

@media (min-width: 1200px) {
  .sticky-nav--jc-left\@desktop { justify-content: flex-start; }
  .sticky-nav--jc-center\@desktop { justify-content: center; }
  .sticky-nav--jc-right\@desktop { justify-content: flex-end; }
  .sticky-nav__items {
    justify-content: center;
    transform: translateX(-20px);
  }
}

 
}
