/* Reserve room for the fixed trigger so page content stays clear of it. */
body.fp-sidebar-layout { padding-right: 120px !important; }

/* Keep the site's full-bleed footer inside the reserved content width. */
body.fp-sidebar-layout .footer-slim {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.fp-sidebar-trigger {
  position: fixed;
  z-index: 1999;
  top: 0;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: min(120px, 100vw);
  padding: 8px 0 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(110deg, rgb(6, 59, 104) 0%, rgb(7, 85, 138) 50%, rgb(7, 153, 208) 100%) !important;
  box-shadow: -2px 4px 14px rgb(0 0 0 / 14%);
  cursor: pointer;
  transform-origin: right center;
  transition: transform 140ms ease;
}

.fp-sidebar-trigger:hover { background: linear-gradient(110deg, rgb(6, 59, 104) 0%, rgb(7, 85, 138) 50%, rgb(7, 153, 208) 100%) !important; }
.fp-sidebar-trigger.is-activating { transform: scaleX(1.06); }
.fp-sidebar-trigger img { display: block; width: 75%; height: auto; margin: 0 auto; object-fit: contain; opacity: 1; }
.fp-sidebar-trigger:focus-visible { outline: 3px solid #113453; outline-offset: 3px; }

body.fp-sidebar-hovered .fp-sidebar-trigger,
body.fp-sidebar-scrolling-up .fp-sidebar-trigger,
.fp-sidebar-trigger:hover { background:linear-gradient(110deg, rgb(6, 59, 104) 0%, rgb(7, 85, 138) 50%, rgb(7, 153, 208) 100%) !important; }
body.fp-sidebar-scrolled .fp-sidebar-trigger { background: #fff !important; }
body.fp-sidebar-hovered .fp-sidebar-trigger img,
body.fp-sidebar-scrolling-up .fp-sidebar-trigger img,
.fp-sidebar-trigger:hover img { opacity: 1; }
body.fp-sidebar-scrolled .fp-sidebar-trigger img { opacity: 1; }
body.fp-sidebar-hovered .fp-sidebar-trigger,
body.fp-sidebar-scrolling-up .fp-sidebar-trigger,
body.fp-sidebar-scrolled .fp-sidebar-trigger:hover { background: linear-gradient(110deg, rgb(6, 59, 104) 0%, rgb(7, 85, 138) 50%, rgb(7, 153, 208) 100%) !important; }

.fp-sidebar-overlay {
  position: fixed;
  z-index: 3000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  visibility: hidden;
  pointer-events: none;
  background: rgb(3 16 30 / 0%);
  transition: background-color 260ms ease, visibility 260ms;
}

.fp-sidebar-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
  background: rgb(3 16 30 / 58%);
}

.fp-sidebar-panel {
  display: flex;
  flex-direction: column;
  width: min(360px, 100vw);
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  background: linear-gradient(110deg, rgb(6, 59, 104) 0%, rgb(7, 85, 138) 50%, rgb(7, 153, 208) 100%);
  color: #fff;
  box-shadow: -12px 0 34px rgb(0 0 0 / 22%);
  margin-left: auto;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(.2,.75,.25,1);
}

.fp-sidebar-overlay.is-open .fp-sidebar-panel { transform: translateX(0); }

.fp-sidebar-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px 22px;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.fp-sidebar-mark { display: block; width: 50px; height: 50px; object-fit: contain; }

.fp-sidebar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.fp-sidebar-close:hover,
.fp-sidebar-close:focus-visible { background: rgb(255 255 255 / 14%); }

.fp-sidebar-nav { flex: 1 1 auto; padding: 12px 0 28px; }

.fp-sidebar-menu {
  display: block;
  margin: 0;
  padding: 0 22px;
  list-style: none;
}

.fp-sidebar-menu > li { position: relative; display: block !important; border-bottom: 1px solid rgb(255 255 255 / 15%); }

.fp-sidebar-menu a {
  display: block;
  padding: 13px 4px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.fp-sidebar-menu > li > a,
.fp-sidebar-menu > li > .dropdown > a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.fp-sidebar-menu > li > a[aria-current="page"] { color: #b8d7ff; }
.fp-sidebar-menu a:hover,
.fp-sidebar-menu a:focus-visible { color: #d9e9ff; text-decoration: underline; text-underline-offset: 3px; }

.fp-sidebar-menu .dropdown {
  position: static;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  margin: 0 0 8px 12px;
  padding: 0 0 0 12px;
  border: 0;
  border-left: 1px solid rgb(255 255 255 / 30%);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  visibility: visible !important;
  opacity: 1 !important;
}

.fp-sidebar-overlay .fp-sidebar-menu .dropdown > a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 8px 4px;
  color: #fff !important;
  background: transparent !important;
  font-size: .94rem;
  font-weight: 400;
}

.fp-sidebar-overlay .fp-sidebar-menu .dropdown > a:hover,
.fp-sidebar-overlay .fp-sidebar-menu .dropdown > a:focus-visible {
  color: #d9e9ff !important;
}

.fp-sidebar-overlay :focus-visible { outline: 3px solid #86baff; outline-offset: 3px; }
body.fp-sidebar-open { overflow: hidden; }

@media (max-width: 900px) {
  body.fp-sidebar-layout { padding-right: 45px !important; }
  .fp-sidebar-trigger { right: 0; width: 45px !important; }
  .fp-sidebar-panel { width: min(360px, 100vw); }
  body.fp-sidebar-layout h1,
  body.fp-sidebar-layout h2,
  body.fp-sidebar-layout h3,
  body.fp-sidebar-layout h4,
  body.fp-sidebar-layout h5,
  body.fp-sidebar-layout h6 { text-align: center !important; }
  body.fp-sidebar-layout header.site .nav-white .menu {
    right: 0 !important;
    left: auto !important;
    width: calc(100vw - 123px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-sidebar-overlay, .fp-sidebar-panel, .fp-sidebar-trigger { transition-duration: .01ms; }
}
