/* --- THE GLASSMORPHISM ULTIMATE MOBILE OVERRIDE --- */
:root {
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-text: #1a1a1a;
  --glass-accent: #007bff; 
  --glass-blur: blur(20px) saturate(160%);
  --item-height: 64px;
}
@media (min-width: 1600px) {
  :root {
    --tme-size--240: -17.25rem; /* -276px */
    --tme-size--120: -8.625rem; /* -138px */
    --tme-size--96: -6.9rem; /* -110px */
    --tme-size--60: -4.3125rem; /* -69px */
    --tme-size--36: -2.625rem; /* -42px */

    --tme-size-10: 0.75rem; /* 12px */
    --tme-size-20: 1.4375rem; /* 23px */
    --tme-size-36: 2.625rem; /* 42px */
    --tme-size-60: 4.3125rem; /* 69px */
    --tme-size-96: 6.9rem; /* 110px */
    --tme-size-120: 8.625rem; /* 138px */
    --tme-size-180: 12.9375rem; /* 207px */
  }
}

@media (min-width: 1920px) {
  :root {
    --tme-size--240: -19.5rem; /* -312px */
    --tme-size--120: -9.75rem; /* -156px */
    --tme-size--96: -7.8rem; /* -125px */
    --tme-size--60: -4.875rem; /* -78px */
    --tme-size--36: -3rem; /* -48px */

    --tme-size-10: 0.875rem; /* 14px */
    --tme-size-20: 1.625rem; /* 26px */
    --tme-size-36: 3rem; /* 48px */
    --tme-size-60: 4.875rem; /* 78px */
    --tme-size-96: 7.8rem; /* 125px */
    --tme-size-120: 9.75rem; /* 156px */
    --tme-size-180: 14.625rem; /* 234px */
  }
  .homepage-header .c-page-banner-cta__heading-wrapper {
    min-height: 500px !important;
    max-height: 500px !important;
	}
}

@media (min-width: 2560px) {
  :root {
    --tme-size--240: -22.5rem; /* -360px */
    --tme-size--120: -11.25rem; /* -180px */
    --tme-size--96: -9rem; /* -144px */
    --tme-size--60: -5.625rem; /* -90px */
    --tme-size--36: -3.375rem; /* -54px */

    --tme-size-10: 1rem; /* 16px */
    --tme-size-20: 1.875rem; /* 30px */
    --tme-size-36: 3.375rem; /* 54px */
    --tme-size-60: 5.625rem; /* 90px */
    --tme-size-96: 9rem; /* 144px */
    --tme-size-120: 11.25rem; /* 180px */
    --tme-size-180: 16.875rem; /* 270px */
  }
}
.ssvec-search-api-results .views-row {
    border: 1px solid #eee;
    padding: 1rem;
    margin: 1rem auto;
    background: #fff;
}
form#views-exposed-form-private-site-search-block-1 {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    margin: 1rem auto;
    text-align: center;
    justify-content: center;
}
div#drupal-modal h1 {
    font-size: 150%;
}
.notification-messages * {
    color: #fff;
}
.sf-accordion-toggle.sf-style-default {
    display: none;
}
#superfish-main-accordion {
  position: -webkit-sticky; /* For Safari compatibility */
  position: sticky;
  top: 20px; /* Adjust this value for the gap from the top of the viewport */
  z-index: 100; /* Ensures it stays above other content */
}
/* 1. RESET THE 'SF-HIDDEN' STYLING ENTIRELY */
/* We force Superfish to stop using its 'off-screen' positioning */
#superfish-main-accordion .sf-hidden {
  display: none !important;
  visibility: hidden !important;
  position: relative !important; /* Forces it back into the layout flow */
  top: auto !important;
  left: auto !important;
  height: 0;
  overflow: hidden;
}

/* 2. THE GLASS CONTAINER */
/*#superfish-main-accordion {*/
/*    background: var(--glass-bg) !important;*/
/*    backdrop-filter: var(--glass-blur);*/
/*    -webkit-backdrop-filter: var(--glass-blur);*/
/*    border: 1px solid var(--glass-border) !important;*/
/*    border-radius: 16px;*/
/*    box-shadow: 0 20px 50px rgba(0,0,0,0.1);*/
/*    padding: 8px 0 !important;*/
/*    margin-top: 15px;*/
/*    transition: all 0.4s ease;*/
/*    display: block !important;*/
/*}*/
#superfish-main-accordion {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    padding: 8px 0 !important;
    margin-top: 15px;
    transition: all 0.4s ease;
    display: block !important;
    position: relative !important;
    height: 100% !important;
    overflow: visible !important;
    clip: initial !important;
    width: 100% !important;
}
div.sf-accordion-toggle.sf-style-default a.sf-expanded, ul.sf-menu.sf-style-default.sf-accordion li.sf-expanded {
    background: var(--glass-bg) !important;
}
ul.sf-menu.sf-style-default li li, ul.sf-menu.sf-style-default.sf-navbar > li > ul {
    background: var(--glass-bg) !important;
}
/* 3. THE LINKS & BUTTONS (FLAWLESS ALIGNMENT) */
#superfish-main-accordion button.menuparent,
#superfish-main-accordion a {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  min-height: var(--item-height);
  padding: 0 24px !important;
  background: transparent !important;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  color: var(--glass-text);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

/* 4. THE ICON (MODERN CHEVRON) */
#superfish-main-accordion button.menuparent::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2.5px solid #aaa;
  border-bottom: 2.5px solid #aaa;
  transform: rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Icon rotation for Expanded or Active Trail */
#superfish-main-accordion li.sf-expanded > button::after,
#superfish-main-accordion li.active-trail > button::after {
  transform: rotate(-135deg);
  border-color: var(--glass-accent);
}

/* 5. THE ACTIVE TRAIL "FORCE OPEN" */
/* If an item is in the active trail, its sub-menu MUST show */
#superfish-main-accordion li.active-trail > ul,
#superfish-main-accordion li.sf-expanded > ul {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  opacity: 1 !important;
  background: rgba(0,0,0,0.02);
  width: 100% !important;
}

/* Deep nesting indent */
#superfish-main-accordion ul li a {
  padding-left: 50px !important;
  font-size: 15px;
}
ul.sf-menu.sf-accordion.sf-expanded, ul.sf-menu.sf-accordion li.sf-expanded > ul.sf-hidden {
    left: auto !important;
    position: relative;
    top: auto !important;
    width: 100% !important;
}

/* Hide the entire top-level LI if it is not the active trail */
#superfish-main-accordion li.sf-depth-1:not(.active-trail) {
  display: none !important;
}

/* Ensure the active trail is always visible */
#superfish-main-accordion li.sf-depth-1.active-trail {
  display: block !important;
}
object#pdf_reader {
    width: 100%;
}

/* Section Flex */
.sec-flex {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

/*Begin Standard Navigation*/
/*Remove cursor on button hover*/
.c-site-header__standard-navigation .menu[data-depth="1"] button.menu__link:hover {
    cursor: default;
    text-decoration: none !important;
}

/*2nd level menu padding*/
.c-site-header__standard-navigation .menu[data-depth="1"] {
    padding: 1rem;
}

/*Menu opens directly under the parent*/
.c-site-header__standard-navigation 
.menu[data-depth="0"] > .menu__item {
  position: relative;
}

/*Center the menu under the parent*/
.c-site-header__standard-navigation 
.menu[data-depth="1"] {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

/*This is the width for the column menu sections*/
.c-site-header__standard-navigation .menu[data-depth="1"]:has(button.menu__link) {
	width: auto;
	min-width: 900px;
	max-width: min(90vw, 1200px);
}

/*This is so that menu items with too many columns dont go off screen*/
@media (min-width: 1024px) {
  .c-site-header__standard-navigation
  .menu[data-depth="0"] > .menu__item:last-child
  .menu[data-depth="1"]:has(button.menu__link) {
    left: auto;
    right: 0;
    transform: none;
  }
}

/*Vertical menu widths.*/
.c-site-header__standard-navigation .menu[data-depth="1"]:not(:has(button.menu__link)) {
  width: max-content;
  min-width: 260px;
}

.c-site-header__standard-navigation .menu[data-depth="1"] > .menu__item {
    width: 100%;
}

/*Fix for menu items that go horizontal, this forces it to go vertical.*/
.c-site-header__standard-navigation .menu[data-depth="1"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/*This keeps it so that columns still work with the vertical menus.*/
.c-site-header__standard-navigation 
.menu[data-depth="1"]:has(button.menu__link) {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
}


@media (min-width: 1310px) {
	.c-site-header__standard-navigation .region__name--navigation-standard, .c-site-header__standard-navigation .site-header__navigation, .c-site-header__standard-navigation .site-header__menu-main, .c-site-header__standard-navigation .c-menu--navigation, .c-site-header__standard-navigation .menu--main[data-depth="0"], .c-site-header__standard-navigation .menu__item, .c-site-header__standard-navigation button.menu__link {
	 height: auto;
	}
}

/*Spacing for menu*/
.c-site-header__standard-navigation .menu[data-depth="2"] {
    display: none;
}
.c-site-header__standard-navigation .menu[data-depth="1"].open > li.menu__item--expanded:hover > ul, .c-site-header__standard-navigation .menu[data-depth="1"] ul.open {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
    visibility: visible;
    position: absolute;
    left: 93%;
    background: #fff;
    top: auto;
    right: 0;
    width: 100%;
    bottom: auto;
    border-radius: 0.65rem;
    padding: 1rem 1rem;
    box-shadow: 1px 2px 10px rgba(0,0,0,0.4);
    margin-top: -2.75rem;
    z-index: 1;
}
.c-site-header__standard-navigation .menu[data-depth="0"] > .menu__item.menu__item--expanded > .menu__link[aria-expanded=true]:after {
    top: calc(100% + 4rem);
}
/* Target the parent LI that has a submenu at the 2nd level */
.c-site-header__standard-navigation .menu[data-depth="1"] > li.menu__item--expanded > span span, .c-site-header__standard-navigation .menu[data-depth="1"] > li.menu__item--expanded > a span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Create the arrow using a pseudo-element */
.c-site-header__standard-navigation .menu[data-depth="1"] > li.menu__item--expanded > span span::after,
.c-site-header__standard-navigation .menu[data-depth="1"] > li.menu__item--expanded > a span::after {
    content: '';
    display: inline-block;
    margin-left: 1rem;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    margin-right: 1rem;
}
/* Optional: Rotate the arrow when the menu is open */
.c-site-header__standard-navigation .menu[data-depth="1"] > li.menu__item--expanded > ul.open ~ span span::after,
.c-site-header__standard-navigation .menu[data-depth="1"] > li.menu__item--expanded:hover > span span::after,
.c-site-header__standard-navigation .menu[data-depth="1"] > li.menu__item--expanded > ul.open ~ span a::after,
.c-site-header__standard-navigation .menu[data-depth="1"] > li.menu__item--expanded:hover > span a::after {
  transform: rotate(45deg); /* Points down or stays rotated based on preference */
}
/*Menu Font Weight*/
.c-site-header__standard-navigation .menu[data-depth="1"] > .menu__item > [tabindex="0"] > .text {
    font-weight: normal;
    margin-bottom: 0;
}

/*No Underline on Menu Hover*/
.c-site-header__standard-navigation a.menu__link:hover, .c-site-header__standard-navigation button.menu__link:hover, .c-site-header__standard-navigation a.menu__link, .c-site-header__standard-navigation button.menu__link {
    text-decoration: none;
}

/*Top level and column headers text weight*/
.c-site-header__standard-navigation .menu[data-depth="0"] > .menu__item > button.menu__link > .text, .c-mega-menu .menu[data-depth="0"] > .menu__item > button.menu__link, .c-site-header__standard-navigation .menu[data-depth="1"] button.menu__link, .c-site-header__standard-navigation .menu[data-depth="0"] > .menu__item > .menu__link > .text {
    font-weight: var(--tme-fw-bold);
    font-family: var(--tme-ff-body);
}

/*Column Title Underline*/
.c-site-header__standard-navigation .menu[data-depth="1"] button.menu__link {
    border-bottom: 3px solid var(--tme-color-primary-1);
    width: 100%;
    text-align: left;
}

/*Underline on Hover*/
.c-site-header__standard-navigation a.menu__link, .c-site-header__standard-navigation button.menu__link {
  position: relative;
}

/* Underline attached to the text width */
.c-site-header__standard-navigation a.menu__link:not(.is-active)::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--tme-color-primary-1);
    transition: width 0.5s ease-in-out;
}

/*Hover effect for top level menu items*/
.c-site-header__standard-navigation .menu[data-depth="0"] > .menu__item > a.menu__link:hover::before, .c-site-header__standard-navigation .menu[data-depth="0"] > .menu__item > button.menu__link:hover::before {
    width: 100%;
}
.c-site-header__standard-navigation .menu[data-depth="0"] > .menu__item > a.menu__link::before, .c-site-header__standard-navigation .menu[data-depth="0"] > .menu__item > button.menu__link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--tme-color-primary-1);
    border-radius: 0;
    transition: width 0.5s ease-in-out;
}

/* Prevent hover underline on active menu items */
.c-site-header__standard-navigation  a.menu__link.is-active::before, .c-site-header__standard-navigation  .menu__item--active-trail > a.menu__link::before, .c-site-header__standard-navigation .menu__item--active-trail > button.menu__link::before {
  width: 0 !important;
}

/* Animate on hover/focus */
.c-site-header__standard-navigation a.menu__link:hover::before, .c-site-header__standard-navigation a.menu__link:focus-visible::before, .c-site-header__standard-navigation button.menu__link:hover::before {
  width: 100%;
}

/*Background color for active pages on 2nd level menus*/
.c-site-header__standard-navigation .menu[data-depth="1"] a.menu__link.is-active {
  background-color: var(--tme-color-primary-1);
  color: #ffffff;
  padding: 5px;
  width: 100%;
}

/*Border bottom for active pages on top level menu*/
.c-site-header__standard-navigation .menu[data-depth="0"] a.menu__link.is-active {
  border-bottom: 3px solid var(--tme-color-primary-1);
  width: 100%;
}

/*Background color for hovering pages*/
.c-site-header__standard-navigation a.menu__link:hover, .c-site-header__standard-navigation a.menu__link:focus-visible {
  background-color: var(--tme-color-silver);
  width: 100%;
  color: #000000;
}

/*Top-level menu underline when a sub-page is active */
.c-site-header__standard-navigation .menu[data-depth="0"] > .menu__item.menu__item--active-trail > button.menu__link {
	border-bottom: 3px solid var(--tme-color-primary-1);
}
/*End Standard Navigation*/


/*Start Mega Menu Navigation*/

/*Tablet Bottom Padding*/
.c-mega-menu {
    padding-bottom: 24px;
}

/* Tab list styling */
.c-mega-menu .tab-list {
    justify-content: space-evenly;
    border: none;
}

/*Remove underlines on hover*/
.c-mega-menu a.menu__link, .c-mega-menu button.menu__link, .c-mega-menu a.menu__link:hover, .c-mega-menu button.menu__link:hover {
    text-decoration: none;
}

/*Font styling for headers*/
.c-mega-menu li.tab-item, .c-mega-menu .tab-list .menu__link, .c-mega-menu .menu[data-depth="1"] button.menu__link{
  font-size: var(--tme-fs-body-18);
  line-height: var(--tme-lh-body-18);
	font-family: var(--tme-ff-body);
  font-weight: var(--tme-fw-bold);
}

/*Font styling for menu items*/
.c-mega-menu .menu__link {
  font-size: var(--tme-fs-body-18) !important;
  line-height: var(--tme-lh-body-18) !important;
	font-family: var(--tme-ff-body) !important;
  color: var(--tme-color-gray-700) !important;
}

/*Column Title Underline*/
.c-mega-menu .menu[data-depth="1"] button.menu__link {
	border-bottom: 3px solid var(--tme-color-primary-1);
	width: 100%;
}

/*Menu item top spacing*/
.c-mega-menu .menu[data-depth="2"] {
  margin-top: 8px;
}

/*Mobile menu sub menu indent*/
@media(max-width: 767px){
.c-mega-menu .menu[data-depth="2"] {
  padding-left: 1rem;
	}
}

/*This is the tablet view so the non column menus go veritically.*/
.c-mega-menu .menu[data-depth="1"]:not(:has(button.menu__link)) {
	gap: 8px;
	flex-direction: column;
  align-items: flex-start;
  padding-left: 1rem;
}

/*Link hover effect*/
.c-mega-menu a.menu__link, .c-site-header__standard-navigation button.menu__link {
    position: relative;
}
.c-mega-menu .menu__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0 !important;
    width: 0;
    background-color: var(--tme-color-primary-1) !important;
    border-radius: 0;
    transition: width 0.5s ease-in-out;
}

/* Background color for active page*/
.c-mega-menu .menu__link.is-active {
  background-color: #eeeeee;
  padding: 5px !important;
  width: 100%;
}
/*End Mega Menu Navigation*/