/* Match the existing navy backoffice navigation throughout the site header. */
body .fusion-header-wrapper .fusion-mobile-menu-icons a,
body .fusion-header-wrapper .fusion-mobile-menu-icons a::before,
body .fusion-mobile-nav-holder .fusion-open-submenu,
body .fusion-mobile-nav-holder .fusion-open-submenu::before {
  color: #183060 !important;
}
body .fusion-mobile-nav-holder li.fusion-mobile-current-nav-item > a,
body .fusion-mobile-nav-holder li:hover > a,
body .fusion-mobile-nav-holder li > a:focus-visible {
  background: #183060 !important;
  color: #fff !important;
}
body .fusion-mobile-nav-holder li.fusion-mobile-current-nav-item > .fusion-open-submenu,
body .fusion-mobile-nav-holder li.fusion-mobile-current-nav-item > .fusion-open-submenu::before,
body .fusion-mobile-nav-holder li:hover > .fusion-open-submenu,
body .fusion-mobile-nav-holder li:hover > .fusion-open-submenu::before {
  color: #fff !important;
}
body .fusion-mobile-nav-holder .fusion-open-submenu {
  min-width: 44px;
  min-height: 44px;
}
body .fusion-mobile-nav-holder .fusion-open-submenu:focus-visible,
body .fusion-mobile-nav-holder a:focus-visible,
body .fusion-main-menu a:focus-visible {
  outline: 2px solid #e8b830 !important;
  outline-offset: -3px;
}

/* The Avada page contains older inline styles. Keep these scoped to the
   portal and use #content so the shared rules also win over those styles. */
body #main #content .post-content .gw-portal-hero {
  align-items: center;
  margin: 0 0 18px;
  padding: 22px 24px;
  border-radius: 8px;
  background: #183060;
  box-shadow: none;
}
body #main #content .post-content .gw-portal-hero h1 {
  font-size: 34px !important;
  line-height: 1.1 !important;
}
body #main #content .post-content .gw-portal-hero__badge {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.3;
  white-space: normal;
}
body #main #content .post-content .gw-portal-card {
  padding: 0;
  border-radius: 8px;
  box-shadow: none;
}
body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs {
  margin: 0;
}
body #main #content .post-content .gigaweb-portal-tabs > .nav {
  box-sizing: border-box;
  display: block !important;
  flex: 0 0 205px;
  width: 205px !important;
  padding: 14px 10px;
}
body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs > .nav > .nav-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0;
  padding: 0;
}
body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs .nav-tabs > li {
  float: none;
  margin: 0 !important;
}
body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs .nav-tabs > li > a.tab-link,
body #main #content .post-content .gw-portal-account-menu a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px !important;
  padding: 8px 13px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #183060 !important;
  text-decoration: none !important;
}
body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs .nav-tabs > li > a.tab-link .fusion-tab-heading,
body #main #content .post-content .gw-portal-account-menu a {
  font: 800 14px/1.3 Arial, sans-serif !important;
}
body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs .nav-tabs > li > a.tab-link:hover,
body #main #content .post-content .gw-portal-account-menu a:hover {
  border-color: #e6eaf1 !important;
  background: #f8fafc !important;
}
body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs .nav-tabs > li.active > a.tab-link {
  border: 1px solid #183060 !important;
  background: #183060 !important;
  color: #fff !important;
}
body #main #content .post-content .gigaweb-portal-tabs a:focus-visible {
  outline: 2px solid #e8b830 !important;
  outline-offset: 2px;
}
body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs > .tab-content {
  box-sizing: border-box;
  padding: 22px 24px !important;
  border-left: 1px solid #e6eaf1;
}
body #main #content .post-content .gigaweb-portal-tabs .fusion-mobile-tab-nav {
  display: none !important;
}
body #main #content .post-content .gw-portal-overview h2 {
  margin-bottom: 24px !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
}

@media (max-width: 1024px) {
  /* All sections stay together above the content. The native Avada tab links
     retain click, keyboard, selection and deep-link behaviour. */
  body #main #content .post-content .gigaweb-portal-tabs > .nav {
    width: 100% !important;
    padding: 14px;
  }
  body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs > .nav > .nav-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body #main #content .post-content .gigaweb-portal-tabs > .nav > .nav-tabs::before,
  body #main #content .post-content .gigaweb-portal-tabs > .nav > .nav-tabs::after {
    display: none;
    content: none;
  }
  body #main #content .post-content .gigaweb-portal-tabs > .nav > .nav-tabs > li {
    width: auto !important;
    min-width: 0;
  }
  body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs .nav-tabs > li > a.tab-link {
    padding: 8px 10px !important;
  }
  body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs .nav-tabs > li > a.tab-link .fusion-tab-heading {
    font-size: 13px !important;
    overflow-wrap: normal;
  }
  body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs > .tab-content {
    margin-top: 0 !important;
    padding: 20px !important;
    border-top: 1px solid #e6eaf1;
    border-left: 0;
  }
  body #main #content .post-content .gigaweb-portal-tabs .tab-pane {
    min-height: 0 !important;
  }
}
@media (max-width: 359px) {
  body #main #content .post-content .fusion-tabs.gigaweb-portal-tabs.vertical-tabs > .nav > .nav-tabs {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  body #main #content .post-content .gw-portal-hero {
    padding: 20px;
  }
  body #main #content .post-content .gw-portal-hero h1 {
    font-size: 28px !important;
  }
  body #main #content .post-content .gw-portal-hero__badge {
    margin-top: 12px;
  }
}
