/*New styles 2026*/

/*Areas that have been commented out above in 2026
old skip links lines 19-42,                         .skiplinks not included
old header lines 357-833,                           .header not included
old footer lines 1467-1647,                         .footer not included
old sqa footer lines 5061-5225,                     .sqa-footer, .footer-left-border  not included      .footer-container is used
media queries for sqs footer lines 5581-5604        .bottom-footer-container, .sqa-footer not included               .footer-container is used
*
*/

/*Some styles that need overwritten below 2026*/
html,
button,
input,
select,
textarea {
  font-family: "Jost", Arial, sans-serif;
}

/* .default img {
  width: auto;
} */

.qs-rebrand-2026 {
    -webkit-font-smoothing: antialiased;
}

.qs-rebrand-2026 *:focus {
    outline: none !important;
    border: none !important;
}

.qs-rebrand-2026 *:focus * {
    outline: none !important;
    border: none !important;
}

.qs-rebrand-2026 .header__logo a:focus,
.qs-rebrand-2026 .footer-social a:focus,
.qs-rebrand-2026 .footer__logo a:focus{
    outline: auto !important;
}

.qs-rebrand-2026 .search-link:focus * {
    fill: #003366;
}
.qs-rebrand-2026 .nav-link:focus::after,
.qs-rebrand-2026 .search-link:focus .search-icon-container span {
    background-color: #003366;
    opacity: 1;
}

/*Background color change on left hand nav for brand change 2026 */
select.cfesubject {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: none;
  color: #000000;
  font-size: 110%;
  font-weight: bold;
  padding: 10px 0 10px 5px;
  /*width: 220px;*/
  background-color: #fdd24f !important;
  cursor: pointer;
}

/* a:focus {
  outline: 2px solid black !important;
  border-radius: 4px;
  border: 1px solid white;
} */

/*New sr only, skip and alert banner styling 2026*/
.header,
.footer {
  font-family: "Jost", sans-serif;
}

.page-content-width {
  max-width: 1152px;
  padding: 16px;
  width: 100%;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  visibility: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* Header styling 2026 */

.header-outer-new {
  padding-bottom: 2rem;
}

/* skip styling 2026 */
.skip {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  pointer-events: none;
  z-index: 99;
}

.skip__btn {
  color: #283031;
  background-color: #fdd24f;
  text-align: center;
  position: relative;
  left: -999em;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-size: 18px;
}

.skip__btn:focus {
  pointer-events: all;
  outline: 4px solid #fdd24f;
  position: fixed;
  height: auto;
  width: auto;
  margin: 0;
  display: block;
  left: 0;
  top: 0;
  text-align: center;
  border: 0 !important;
}

/* alert styling 2026 */
.alert-container {
  background-color: #fc9e9d;
  width: 100%;
  text-align: center;
}

.alert-banner {
  background-color: #fc9e9d;
  color: #283031;
  text-decoration: none;
  display: block;
  width: 100%;
}

.alert-banner__strapline {
  padding: 16px;
  text-align: center;
  font-size: 18px;
  line-height: 32px;
}

.alert-banner:hover {
  text-decoration: underline;
}

.alert-banner:focus,
.alert-banner:focus-visible {
  background-color: #fdd24f;
  color: #1e2a4c;
  text-decoration: underline;
  /* outline: none !important; */
  box-shadow: 0 0 0 2px #fdd24f;
}

.alert-banner:active {
  background-color: #fdd24f;
  color: #1e2a4c;
  text-decoration: underline;
  outline: none;
  box-shadow: none;
}

/* @media (max-width: 768px) {
  .alert-banner {
    height: 65px;
    align-content: center;
  }
  .alert-banner__strapline {
    padding: 0px 2.5rem;
    font-size: 14px;
  }
} */

/* New Footer styling 2026 */
.footer-container {
  clear: both;
  background-color: #1e2a4c;
  color: #ffffff;
  margin: 0 !important;
  /* STEVE: overwrite from main_2014 */
  border-bottom: none !important;
  /* STEVE: overwrite from main_2014 */
}

.footer-container a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-wrap {
  position: relative;
  padding-top: 32px;
  padding-bottom: 32px;
}

@media (max-width: 1024px) {
  .footer-wrap {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    /* stack into single column */
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .footer-contact {
    gap: 0px;
  }
}

.footer__telephone > p {
  color: #ffffff;
  font-size: 20px;
  margin: 0px !important;
  margin-bottom: 0px !important;
}

.footer__email > a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
}

.footer__strapline {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
  line-height: 1;
}

.footer-social {
  margin-top: 32px;
  margin-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  background: transparent !important;
  /* STEVE: overwrite from main_2014 */
  height: auto !important;
  /* STEVE: overwrite from main_2014 */
}

.footer-social__link {
  display: inline-block;
  outline: none;
}

@media (max-width: 768px) {
  .footer-columns {
    padding-top: 0px;
  }
}

.footer-title {
  font-weight: bold;
  padding-bottom: 16px;
  font-size: 18px;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-title {
    padding-bottom: 16px;
  }
}

.footer-nav {
  display: flex;
  flex-direction: column;
  line-height: calc(1.75 / 1.125);
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-nav {
    gap: 0px;
  }
}

.footer-nav__item a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px !important;
}

.footer-nav a:focus-visible,
.footer__email a:focus-visible,
.footer-legal__nav a:focus-visible {
  outline: none;
  background-color: #fdd24f;
  color: #1e2a4c;
  text-decoration: underline;

  box-shadow: 0 0 0 2px #1e2a4c,
    /* inner dark ring (same as text) */ 0 0 0 4px #ffffff;
  /* outer white ring */
  border-radius: 2px;
}

.footer-nav a:active,
.footer__email a:active,
.footer-legal__nav a:active {
  background-color: #fdd24f;
  color: #1e2a4c;
  text-decoration: underline;
}

.footer-nav__link:active {
  background-color: #fdd24f;
  color: #1e2a4c;
}

.footer-legal {
  border-top: 1px solid white;
  margin-top: 32px;
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
}

.footer-legal__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal__nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.footer__logo {
  height: auto;
}

.footer__logo a {
  display: inline-block;
}

.footer__logo-img {
  width: 180px;
  height: auto;
  max-width: 100%;
}

/*Commented out a:focus at line 5705 to avoid border shifting elements*/
a:focus {
  outline: none;
  border-radius: 4px;
  /* box-shadow: 0 0 0 2px black, 0 0 0 1px white inset;  */
}

/*Bluesky icon a bit bigger 2025 - no longer needed as used their svg 13.01.26*/
.footer-social__link img[alt="Bluesky"] {
  transform: scale(1.45);
  transform-origin: center;
}

/*New header styles css classnames to updated desing match static app 13.01.26*/
.section-container {
  position: relative;
}

.dropdown-container {
  position: relative;
}

.header-container {
  background-color: #1e2a4c;
  width: 100%;
}

.header-primary-container {
  max-width: 1152px;
  width: 100%;
  margin: 0 auto;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  list-style: none;
  margin: 0 auto;
}

.header-nav li {
  list-style: none;
  /* removes the bullet/marker */
}

.header__logo {
  padding: 20px 0;
  margin-right: 16px;
  width: auto;
  height: auto;
  flex: 0 0 auto;
}

@media (min-width: 1024px) {
  .header__logo {
    margin-right: 64px;
    /* lg:mr-16 */
  }
}

.header__logo a {
  display: inline-block;
}

.header__logo-img {
  width: 140px !important;
  height: 47px !important;
}

@media (min-width: 820px) {
  .header__logo-img {
    width: 180px !important;
    height: auto !important;
  }
}

/*Desktop styles*/

.nav-desktop__item {
  display: flex;
  align-self: stretch;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  padding-left: 0px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.nav-desktop__item-inner {
  display: none;
}

@media (min-width: 920px) {
  .nav-desktop__item-inner {
    position: relative;
    display: flex;
    align-self: stretch;
    align-items: center;
  }
}

.nav-desktop__item-inner::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-9px);
  width: 2px;
  height: 18px;
  background-color: #fff;
}

.nav-desktop__item-inner.active::after,
.nav-desktop__item-inner.focus::after,
.nav-desktop__item-inner.nav-btn:active::after {
  display: none;
  /* Hide divider when item is active */
}

.nav-desktop__item-inner.active::after,
.nav-desktop__item-inner.focus::after,
.nav-desktop__item-inner.nav-btn:active::after {
  background: #003366;
}

.nav-desktop__item-inner.active {
  /*background-color: #fdd24f;*/
  background-color: #f8f8f8;
}

.nav-desktop__item-container {
  align-self: stretch;
}

/* Mobile nav items, hidden on desktop */
.nav-mobile-only {
  display: flex;
  align-self: stretch;
  align-items: center;
}

@media (min-width: 920px) {
  .nav-mobile-only {
    display: none;
  }
}

.nav-btn {
  height: 100%;
  cursor: pointer;
  padding: 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 28px;
  background-color: transparent;
}

@media (min-width: 820px) {
  .nav-btn {
    font-size: 20px;
  }
}

.nav-btn:focus {
  background-color: #fdd24f;
  color: #003366;
  border-radius: 0;
  border: none !important;
}

.chevron {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

/* rotate when active */
.nav-desktop__item-inner.active .chevron,
.nav-mobile-only.active .chevron {
  transform: rotate(180deg);
}

/* fill the path with default color */
.chevron path {
  fill: #ffffff;
  transition: fill 0.2s ease;
}

.nav-btn:focus .nav-desktop__underline-bar {
  background-color: #1e2a4c;
}

.nav-desktop__item-inner.active span {
  color: #1e2a4c;
}

.nav-desktop__item-inner.active .nav-desktop__underline-bar {
  background-color: #1e2a4c;
}

.nav-btn:focus .chevron path {
  fill: #1e2a4c;
}

.nav-desktop__item-inner.active .chevron path {
  fill: #1e2a4c;
}

/* Links in nav */

.nav li {
  list-style: none !important;
}

.nav-desktop__button-content {
  display: flex;
  flex-direction: column;
}

.button-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-desktop__underline {
  position: relative;
}

.nav-btn:focus .nav-desktop__underline-bar {
  background-color: #1e2a4c;
}

.indicator {
  visibility: hidden;
}

.nav-btn:hover .indicator,
.nav-btn:focus-visible .indicator,
.nav-btn[aria-expanded="true"] .indicator {
  visibility: visible;
}

/* underline styling */
.nav-desktop__underline-bar {
  position: absolute;
  top: 0.75rem;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
}

.nav-btn:focus .nav-desktop__underline .indicator span {
  background-color: #1e2a4c;
}

.nav-link:hover {
  text-decoration: none !important;
}

.nav-separator {
  height: 46px;
  width: 2px;
  background-color: white;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75rem;
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  bottom: 1.75rem;
  width: calc(100% - 2rem);
  height: 3px;
  background-color: #ffffff;
  opacity: 0;
}

.nav-link:hover::after {
  opacity: 1;
}

.nav-link:focus {
  outline: none !important;
  background-color: #fdd24f;
  color: #003366;
}

/* Click / active state → underline blue */
.nav-link:active::after {
  opacity: 1;
  background-color: #003366;
}

/* Optional: keyboard focus background */
.nav-link:focus,
.nav-link:active {
  background-color: #fdd24f;
  color: #003366;
  box-shadow: none;
}

.search-list__item {
  align-self: stretch;
}

.search-list-container {
  height: 100%;
}

.search-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  color: white;
}

.search-icon-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* The underline */
.search-icon-container span {
  display: none;
  position: absolute;
  top: 2.75rem;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: white;
}

/* Show underline on hover/focus of the link */
.search-link:hover .search-icon-container span,
.search-link:focus .search-icon-container span {
  display: block;
}

.search-link:focus-visible {
  background-color: #fdd24f;
}

/* Optional: focus outline for accessibility */
.search-link:focus {
  background-color: #fdd24f;
}

.search-icon {
  fill: white;
}

.search-link:focus .search-icon-container .search-icon {
  fill: 1e2a4c;
}

/* dropdown styles*/

/* Animate dropdown height */
.dropdown-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

/* Open state */
.dropdown-wrapper.open {
  background-color: #f8f8f8;
  max-height: 1000px;
  /* big enough for all items */
  opacity: 1;
}

.dropdown {
  /*
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  */
  display: flex;
  font-weight: 400;
  padding: 40px 16px;
  list-style: none;
  gap: 64px;
}

.dropdown-list {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* spacing between links inside each UL */
  line-height: 1.556;
}

.dropdown-list-item {
  color: #283031 !important;
  display: block;
}

.dropdown-list__link {
  text-decoration: none !important;
  color: #1e2a4c;
  /* padding: 10px 8px; */
  /* display: block; */
  font-size: 18px;
}

.dropdown-list__link:hover,
.dropdown-list__link:focus {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.dropdown-list__link:focus {
  background-color: #fdd24f;
}

/* mobile menu dropdown*/

.mobile-dropdown-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  background-color: #f8f8f8;
  list-style: none;
}

.mobile-dropdown-wrapper.open {
  background-color: #f8f8f8;
  max-height: 1000px;
  /* big enough for all items */
  opacity: 1;
  margin-top: 0.5rem;
  border-bottom: 1px solid #1e2a4c;
}

.mobile-dropdown {
  list-style: none;
  font-size: 16px;
  padding: 0px 16px;
}

.mobile-dropdown > li {
  border-bottom: 1px solid #afabbc;
  position: relative;
}

.mobile-dropdown > li:last-child {
  border-bottom: none;
}

.mobile-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  color: #283031;
  line-height: 1.556rem;
}

/* Mobile submenu */

.submenu-trigger {
  padding: 16px;
}

/*
.mobile-dropdown .has-submenu.open .submenu-trigger {
  background-color: #fdd24f;
}
*/

.submenu-trigger:active {
  background-color: #fdd24f;
}

.submenu {
  list-style: none;
}

.submenu > li {
  padding: 12px;
}

.submenu > li > a {
  font-size: 16px;
  display: inline-block;
}

.mobile-dropdown .has-submenu .submenu {
  display: none;
}

/* Show submenu when parent has 'open' class */
.mobile-dropdown .has-submenu.open .submenu {
  display: block;
  padding: 0.5rem 1rem;
}

.mobile-dropdown > li > a {
  color: #1e2a4c;
}

.mobile-dropdown > li > .submenu > li > a {
  color: #1e2a4c;
}

.mobile-dropdown .has-submenu .sub-chevron svg {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
  /* points right */
}

.mobile-dropdown .has-submenu.open .sub-chevron svg {
  transform: rotate(180deg);
  /* points down */
}

/*Bluesky icon a bit bigger 2025*/
.footer-social__link img[alt="Bluesky"] {
  transform: scale(1.45);
  transform-origin: center;
}

.qs-rebrand-2026 .nav-desktop__item-inner:focus-within::after {
    opacity: 0;
}
.qs-rebrand-2026 .nav-desktop__item-inner:has(+.nav-desktop__item-inner:focus-within):after,
.qs-rebrand-2026 .nav-desktop__item-inner:has(+.nav-desktop__item-inner.active):after {
    opacity: 0;
}
.qs-rebrand-2026 .nav-desktop:has(.search-list__item:focus-within) .nav-desktop__item-inner:nth-child(4):after {
    opacity: 0;
}
.qs-rebrand-2026 .mobile-dropdown a:focus {
    background-color: #fdd24f;
}
.qs-rebrand-2026 .nav-mobile-only:focus-within .nav-separator {
    opacity: 0;
}
.qs-rebrand-2026 .nav-desktop:has(.search-list__item:focus-within) .nav-mobile-only .nav-separator {
    opacity: 0;
}

.local-nav h4,
.local-nav h2 {
    background: #1e2a4c;
}

.local-nav ul li {
    background: #f8f8f8;
}

.qs-rebrand-2026 + .breadcrumb {
	margin-top: 0;
	padding-top: 0;
}
.qs-rebrand-2026 + .breadcrumb .trail > li.home {
	top: 0;
}

footer.qs-rebrand-2026 {margin-top: 1rem !important;}
footer.qs-rebrand-2026 .footer-social img {height: 40px !important}
footer.qs-rebrand-2026 .footer__strapline, footer.qs-rebrand-2026 .footer-title {color: white;}