@media screen and (min-width:992px) {
  .menu__item--depth-1 > a.menu__link:hover,
  .menu__item--depth-1.menu__item--open > a.menu__link {
    color: var(--tertiary_color);
  }
}

.menu--mobile {
  display: none;
}

@media (max-width: 991px) {
  .menu--desktop {
    display: none;
  }

  .menu--mobile {
    display: block;
  }
}

/* Menu items */

.menu__item {
  position: relative;
}
.menu__item,
.menu__link {
  color: var(--menu-font-color);
}
.menu__item .menu-sub-text,
.menu__link .menu-sub-text {
  color: var(--menu-font-sub-text-color);
}
@media screen and (min-width:992px) {
  li.menu__item.menu__item--depth-1.menu__item--has-submenu {
    padding-right: 15px;
  }
  .non_mega.menu__submenu.menu__submenu--level-2  {
    left: 50%;
    transform: translateX(-50%);
  }
  .non_mega .menu-sub-text {
    padding-left: 1.3rem;
  }
}
.is_mega .non_mega .menu-sub-text {
  padding-left: 0rem;
}

.menu__link {
  font-size: 16px;
  line-height: 1.75;
  text-decoration: none;
}

.menu__link:hover,
.menu__link:focus,
.menu__link:active {
  text-decoration: none;
}

.menu__link--active-link,
.menu__link--active-branch {
  font-weight: bold;
}

@media (min-width: 992px) and (max-width: 1170px) {
  .menu__link {
    font-size: 0.833rem;
  }
  .header .button {
    font-size: 1rem; 
  }
  .menu__item--depth-1 {
    display: inline-block;
    padding: 0.7rem 0 !important;
  }
}

@media (max-width: 991px) {
  .menu__item {
    display: block;
    width: 100%;
  }
  /*   .header .button {
  display: none;
} */
  .menu__link {
    display: block;
    font-size: 1.083rem;
    position: relative;
  }
}

/* Menu items - top level */

.menu__item--depth-1 {
  display: inline-block;
  padding: 0.7rem 0;
  /* text-transform: uppercase; */
}

.menu__item--depth-1 > .menu__link--active-link:before {
  bottom: -4px;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

@media (max-width: 991px) {
  .menu__item--depth-1 {
    padding: 0;
  }
  
  .menu__item--depth-1 > .menu__link {
    padding: 0.35rem 1.225rem;
  }

  .menu__item--depth-1 > .menu__link--active-link:before {
    content: none;
  }
}

/* Menu items - submenus */

.menu__submenu {
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  display: none;
  left: 0;
  position: absolute;
  text-align: left;
  text-transform: none;
  top: 100%;
  width: max-content;
  border-radius: var(--border-radius);
  z-index: 99;
}

.menu__item--open > .menu__submenu {
  display: block;
}

.menu__submenu--level-2 {
  transform: translateX(10%);
}
.non_mega.menu__submenu {
  background:var(--menu-submenu-bg-color)
}



.non_mega .menu__submenu .menu__item {
  padding: 0;
  width: 100%;
}
.non_mega .menu__submenu > .menu__item:last-child{
  border-bottom: 0px solid transparent;
}
.omega_mega .menu__submenu .menu__item {
  border-bottom: 0px solid transparent;
  padding: 0;
  width: inherit!important;
}
.omega_mega .menu__submenu {
  /* position: absolute; */
  /* display: none; */
  box-shadow: none;
  /*   border-radius: 0px; */
  left: 0;
  text-align: left;
  text-transform: none;
  top: 0%;
  width: inherit;
}
.menu__submenu .menu__link {
  display: block;
  padding: 0.7rem 1.05rem;
  transition: background-color 0.3s;
  width: 100%;
}

.menu__submenu--level-3 {
  left: 100%;
  top: 0;
}

/* Flyouts for the last two top level menu items go left to keep page responsive */

.menu__item--depth-1:nth-last-child(-n+2) .menu__submenu--level-3 {
  left: auto;
  right: 100%;
  top: 0;
}

/* Accounts for child toggle */

.non_mega .menu__submenu .menu__item--has-submenu > .menu__link {
  padding-right: 3rem;
}

/* Creates the triangle at the top of the submenu drop down */
@media (max-width: 991px) {
  .menu__submenu {
    border: none;
    /*     border-radius: 0; */
    box-shadow: none;
    position: static;
    transform: unset;
    width: 100%;
    /*     overflow: hidden; */
  }

  .non_mega   .menu__submenu .menu__item {
    border-bottom: none;
    padding: 0;
  }
  span.menu-sub-text {
    display: block;
    font-size: .9rem;
    text-transform: none;
  }
  .menu__submenu .menu__link {
    display: block;
    padding: 0.7rem 2rem;
    transition: none;
    width: 100%;
  }

  .non_mega .menu__submenu .menu__item .menu__link:hover,
  .non_mega .menu__submenu .menu__item .menu__link:focus {
    transition: none;
  }

  .menu__item--has-submenu > .menu__link {
    width: 70%;
  }

  .menu__submenu--level-3 .menu__item .menu__link {
    padding: 0.7rem 3rem;
  }
}

/* Menu icons */

@media(min-width: 992px) {
  .menu__submenu .menu__child-toggle {
    margin-left: auto;
    padding: 0 1.05rem;
  }

  .menu__item--depth-1 > .menu__child-toggle {
    position: relative;
    vertical-align: middle;
    left: calc(100% + 0.25em);
    /* top: -50%; */
    transition: transform 0.2s;
    transform: translateY(-130%);
  }
  .menu__item--depth-1:hover > .menu__child-toggle {
    transform: translateY(-140%) rotate(180deg);
  }
}
.menu--desktop .menu__item:not(.menu__item--depth-1) .menu__child-toggle.no-button {display:none;}

@media (max-width: 991px) {
  .menu__child-toggle {
    background-position: center right 30px;
    background-repeat: no-repeat;
    background-size: 20px;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    width: 42.5%;
    height: 100%; 
    transform: translateX(100%);
  }
  .menu__child-toggle:hover,
  .menu__child-toggle:focus {
    transform: translateX(100%);
  }

  .menu__child-toggle-icon {
    /* background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgc3Ryb2tlPSIjOTc5ODlGIiBzdHJva2Utd2lkdGg9IjIuNCIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB4PSIxLjIiIHk9IjkuNiIgd2lkdGg9IjE2LjgiIGhlaWdodD0iMSIgcng9Ii41Ii8+PHJlY3QgdHJhbnNmb3JtPSJyb3RhdGUoOTAgOS42IDkuNikiIHg9IjEuMiIgeT0iOS42IiB3aWR0aD0iMTYuOCIgaGVpZ2h0PSIxIiByeD0iLjUiLz48L2c+PC9zdmc+); */
    background-repeat: no-repeat;
    display: block;
    height: 20px;
    margin-left: auto;
    margin-right: 1.05rem;
    transition: transform 0.4s;
    width: 20px;
  }

  .menu__item--open > .menu__link > .menu__child-toggle .menu__child-toggle-icon {
    transform: rotate(180deg);
    transition: transform 0.2s;
  }
}
.menu-desktop .menu__submenu.omega_mega {background:transparent;box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0);!important;padding-bottom:1rem;}

ul.menu__submenu.menu__submenu--level-2.omega_mega {
  width:100%;
  top: 70px;
  box-shadow:none!important;
}
ul.menu__submenu.menu__submenu--level-2.omega_mega .omega_mega__container {
  background: var(--menu-dropdown-bg-color);
}

.menu--desktop .menu__item.is_mega {position:unset;}

.omega_mega .omega_mega__container {
  display:flex;
  margin:0 auto;
} 
.menu--mobile .omega_mega .omega_mega__container {
  flex-direction: column;
  width: 100%;
}

.omega_mega.menu__submenu--level-2 {
  transform: translateX(0);
}
.menu--desktop  .menu__item--open>.menu__submenu.omega_mega {
  display:flex!important;
  align-items:stretch;
  justify-content:stretch;
}
.menu--desktop .omega_mega__container {
  max-width:var( --site-container );
  display:flex;
  margin:0 auto;
  background :var(--menu-dropdown-bg-color);
  border-radius:var(--border-radius);
  overflow: hidden;
}
.menu--desktop .omega_mega_featured {
  width:calc( var( --site-container ) * .25 );
  display:flex;
}
.menu--desktop .mega_link_container {
  display: flex;
  width: calc(var(--site-container )*.75);
  justify-content: space-evenly;
  align-items: stretch;
  gap: 48px;
}
nav.menu span.menu-sub-text {
  display: block;
  text-transform: none!important;
  font-weight: 400;
  font-size: .875rem;
  line-height: 1.5rem;
  margin: 0 0px 0 1.5rem;
}
/* .menu--desktop .mega_link_container .menu__submenu .menu__link {
padding:0px;
} */
.menu--desktop .omega_mega_featured > div {width:100%;display:flex;align-items:stretch;padding:1.5rem;flex-direction:column;}
.menu--desktop .omega_mega_featured > div.omega_mega--cta {width:100%;display:flex;align-items:stretch;padding:0px;}
.menu--desktop .omega_mega li.menu__item.menu__item--depth-2.menu__item--has-submenu {
  width:100%;
  padding-top: 1rem;
}

.menu--desktop .omega_mega li.menu__item.menu__item--depth-2.menu__item--has-submenu ul.menu__submenu.menu__submenu--level-3.no-list.non_mega {
  position:relative;
  /*   border-radius: 0; */
  box-shadow: 0;
  left: 0;
  display: block;
  text-align: left;
  text-transform: none;
  top: 0;
  width: inherit;
  z-index: inherit;}
.menu--desktop .omega_mega .is_mega .menu__submenu {display:block!important;}

.menu--desktop .omega_mega .is_mega .menu__submenu.menu__submenu--level-3 {
  left: o;
  top: 0;
}


/* .menu--desktop  */
.menu__link--toggle:after {
  font-weight: bold;
}
.menu--desktop .menu__item.menu__item--depth-1 > a.menu__link.menu__link--toggle:after {
  content: "\f107";
  position: absolute;
  font-family: "Font Awesome 5 Free";
  top: -3px;
  left: calc(100% + 0.3rem);
  transform-origin: 50% 47%;
  transition: transform 0.2s;
}
span.menu__item__icon {
  font-size: 1rem;
}
span.menu__item__icon i {
  font-family: "Font Awesome 5 Free";
}
.menu--desktop .menu__item.menu__item--depth-1.menu__item--open a.menu__link.menu__link--toggle:after,
.menu--desktop .menu__item.menu__item--depth-1:hover a.menu__link.menu__link--toggle:after {
  transform: rotate(180deg);
}
/* .menu--desktop .menu__item.menu__item--depth-2 a.menu__link.menu__link--toggle {
min-height: 5rem;
display: block;
} */
.menu--desktop .menu__item.menu__item--depth-3 {
  padding-left: 2rem;
  padding-right:1.05rem;
  /* margin-bottom:2rem; */
}
.header_cta {
  padding:10px 15px;
  border-radius:var(--header-cta-border-radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
  text-transform: none;
  text-decoration:none;
  font-weight:700;
  line-height: 1.2;
  font-size: 1.25rem;
  padding: var(--header-cta-padding);

}
.header_cta:before, 
.header_cta:after {
  display: none;
}
.header_cta:hover, 
.header_cta:focus {
  transform: translate(0,0.1rem);
}
.header_cta--primary_color {background:var(--primary_color);color:var(--light_color);}
.header_cta--secondary_color {background:var(--secondary_color);color:var(--light_color);}
.header_cta--tertiary_color {background:var(--tertiary_color);color:var(--light_color);}
.header_cta--accent_color {background:var(--accent_color);color:var(--light_color);}

.header_cta--primary_color:hover {background:var(--primary_color-hover);color:var(--light_color);}
.header_cta--secondary_color:hover {background:var(--secondary_color-hover);color:var(--light_color);}
.header_cta--tertiary_color:hover {background:var(--tertiary_color-hover);color:var(--light_color);}
.header_cta--accent_color:hover {background:var(--accent_color-hover);color:var(--light_color);}


@media screen and (max-width:991px) {

}
img.omega_mega--featured-image {
  max-width: 100%;
  border-radius: var(--image-radius);
  margin: 0 0 1rem;
}
.omega-featured-inner {padding-top:1rem;padding-bottom:1rem;}
.omega-featured-inner h6 {color:var(--light_color)}
.omega_mega--featured-link {color:var(--light_color);padding-bottom:.7rem;font-weight:bold;text-decoration:none;}
.menu--desktop ul.menu__submenu.menu__submenu--level-2.omega_mega .menu__item.menu__item--depth-3 > .menu__link {
  padding: 1rem 0 1rem 1rem !important;
}

.menu--desktop .menu__wrapper {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 992px) {
  /* Top level Layout */
  .menu--desktop .menu__wrapper {
    flex-direction: row
  }
  .menu--desktop .menu__wrapper .menu__item .menu__link {
    position: relative;
  }
  /* Top level Hover */
  /* .menu--desktop .menu__wrapper .menu__item--depth-1 > .menu__link:hover:before,
  .menu--desktop .menu__wrapper .menu__item--depth-1 > .menu__link.menu__link--active-link:before {
  content: "";
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 0;
  width: 100%;
  border-bottom: 3px solid var(--menu-top-level-underline-color);
} */
}
.menu__item.menu__item--depth-1 > .menu__link > .menu__item__wrapper .menu__item__text {
  font-weight: normal;
}
@media screen and (max-width:991px) {
  .menu__item__wrapper ~ .menu-sub-text {
    margin-left: 1.5rem;
  }
}
.menu__item__wrapper.menu__item__wrapper--has-sub {
  display: flex;
  align-items: flex-start;
}
.menu__item__wrapper.menu__item__wrapper--has-sub .menu__item__text {
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.25rem;
  margin: 0 0px 12px 0.5rem;
}
.omega_mega--cta .hs-cta-embed {
  width: 100%!important;
}
/* Featured Content */
/* Featured Content */
/* Featured Content */
img.omega_mega--featured-image {
  max-width: 100%;
}
.omega-featured-inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.omega-featured-inner h6 {
  color: var(--light_color);
}
.omega_mega--featured-link {
  color: var(--light_color);
  padding-bottom: 0.7rem;
  font-weight: bold;
  text-decoration: none;
  padding-top: 0.5rem;
}
.omega_mega--featured-link .ts__iconset svg {
  fill: var(--light_color);
  position: relative;
  top: -1px;
}
.omega_mega--featured-link:hover .ts__iconset svg {
  fill: var(--hyperlink_color-subtle);
}
.omega_mega_featured__title {
  font-size: 0.875rem;
  line-height: 1.75rem;
  margin: 0;
}
.omega_mega--img-wrapper {
  display: block;
  border-radius: var(--menu-feat-img-border-radius);
  margin-bottom: 1rem;
}
.omega_mega--img-wrapper img {
  border-radius: var(--menu-feat-img-border-radius);
}
.menu--mobile .omega_mega_featured__wrapper {
  padding: 1rem 2rem;
  position: relative;
  left: -20px;
  width: calc(100% + 40px);
  border-radius: 0;
}
.menu--mobile .omega_mega_featured__wrapper .omega_mega_featured__content {
  display: flex;
  flex-direction: row;
}
.menu--mobile .omega_mega_featured__wrapper > h6 {
  margin-bottom: 0.5rem;
}
.menu--mobile .omega_mega_featured__wrapper .omega_mega_featured__content > a {
  flex: 1 1 50%;
  margin-right: 0.5rem;
}
.menu--mobile .omega_mega_featured__wrapper .omega_mega_featured__content {
  flex-direction: column;
}
.omega_mega_featured__content__title {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: bold;
}
.omega_mega_featured__content p {
  font-size: 0.875rem;
}
/* Mobile Menu Toggle */
/* Mobile Menu Toggle */
/* Mobile Menu Toggle */
.main-menu-toggle {
  /* IN FLOW, inside the module's own box - CJ, 17/09/2026, task 50743404.

     Was `position: absolute; top: 0; right: 0`, which anchors to the nearest
     POSITIONED ancestor. The toggle is a sibling of the two <nav>s and the
     module wrapper is position:static, so nothing inside the module ever
     contained it: in the header it landed on the header, and on a page that
     drops this module into its own dnd area it flew to the page's top-right
     corner, detached from the menu it opens. On the CPD quiz page that put it
     under the site notice bar.

     margin-left:auto right-aligns it within whatever box the module occupies,
     which is the same visual position in a header and the correct one
     everywhere else.

     NO `display` HERE, deliberately. Visibility is owned by .h-hide-desktop
     (display:initial, then display:none from 768px up), which has the SAME
     specificity as .main-menu-toggle - so a display declared here would win on
     source order and put the hamburger on desktop too. The original rule
     declared no display for exactly this reason. The layout properties below
     are inert until something makes the element a block, which the media query
     after this rule does, at the width where the toggle is actually shown. */
  width: max-content;
  padding: 1rem;
  background: unset;
  font-size: 2rem;
  text-decoration: none;
}

/* Matches .h-hide-desktop's own 768px cut, so this rule is only ever in play
   where the toggle is already visible and can never fight it. */
@media screen and (max-width: 767px) {
  .main-menu-toggle {
    display: block;
    margin-left: auto;
  }
}
.main-menu-toggle .main-menu-toggle__icon--closed {
  display: initial;
}
.main-menu-toggle .main-menu-toggle__icon--open {
  display: none;
}
.main-menu-toggle.active .main-menu-toggle__icon--closed {
  display: none;
}
.main-menu-toggle.active .main-menu-toggle__icon--open {
  display: initial;
}
@media screen and (min-width: 992px) {
  .menu__item.menu__item--depth-3 .menu__link:hover {
    background: var(--light_color);
    border-radius: var(--border-radius)
  }
  .menu__item.menu__item--depth-2 .menu__item a.menu__link {
    display: block;
  }
  .menu__item.menu__item--depth-2 .menu__link {
    padding-left: 1.5rem;
    padding-right: 1.05rem;
  }
  a.menu__link.menu__link--toggle[href="#"],
  a.menu__link.menu__link--toggle[href=""] {
    cursor: default;
  }
}
.menu--mobile {
  height: auto;
  max-height: 0;
  overflow: hidden;
}
@media screen and (max-width:991px) {
  .menu--mobile.menu--mobile--open {
    position: relative;
    display: block;
    max-height: 10000px;

    overflow-y: auto;
    left: -20px;
    width: calc(100% + 40px);
    padding: 0 40px;
  }
  .omega_mega .menu__submenu {
    display: block !important;
    padding: 0 !important;
  }
  .omega-featured-inner {
    display: flex;
    gap: 1rem;
    padding: 0;
  }
  ul.menu__submenu.menu__submenu--level-2.omega_mega .omega_mega__container button.menu__child-toggle.no-button.h-hide-desktop {
    display: none;
  }
  img.omega_mega--featured-image {
    margin: 0;
  }
  .menu__child-toggle {
    display: block;
  }
  .body-wrapper--mobile-menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--dark_color-rgb), 0.64);
    z-index: 999;
  }
  .body-wrapper--mobile-menu-open header.header {
    position: relative;
    z-index: 9999;
  }
}

.menu__item.menu__item--depth-2.menu__item--has-submenu.menu__item--open .menu__submenu {
  display: initial;
}

.menu--desktop .menu__item--depth-3.non_mega {
  padding-left: 0;
  padding-right:0;
}
