.sf-breadscrumb.breadcrumb li {
	font-size: 0.85rem !important;
}

/* Hide existing header */
.alert.alert-announcement.alert-dismissible.fade.show, nav.navigation-auxilliary.navbar.navbar-expand-md.navbar-light.bg-grey.d-sm-none.d-md-flex, .row.brand-navigation.pt-2.pb-2.align-i-center.navbar-light, .navbar-nav.mr-auto.nav-menu, nav.section-navigation.navbar.navbar-expand-md.navbar-light.d-flex.section-navigation-sticky, .main-navigation {
	display: none !important;
}

.sf-breadscrumb.breadcrumb li {
	font-size: 0.75rem;
	margin-top: 4px;
    margin-bottom: 4px;
}
.breadcrumb {
	border-bottom: 0 solid #ebeae8 !important;
}

/* Top Row */
.top-row {
	background-color: #586476;
}

.top-row-inner {
	max-width: 1250px;
	margin: 0 auto;
	display: flex;
	justify-content: flex-end;
	color: white;
}

.top-row .dark-link {
	color: white;
	transition-duration: 200ms;
	display: block;
}
.top-row .dark-link:hover {
	background-color: white;
	color: #586476;
}

.top-row .light-link {
	background-color: #ebeae8;
	color: #586476;
	transition-duration: 200ms;
}
.top-row .light-link:hover {
	background-color: #586476;
	color: white;
}

.top-row .green-link {
	background-color: var(--theme-color-primary) !important;
	color: white;
}

.white-link{
	width: 50px;
	height: 100%;
	background-color: white;
	position: relative;
}
.top-row .white-link::after {
	content: '\f002';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	width: 30px;
	height: 30px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	line-height: 30px;
	color: var(--theme-color-primary) !important;
	font-size: 1.25rem;
}

.dark-link, .light-link, .green-link, .white-link {
	padding: 5px 12px;
	display: grid;
	font-size: 0.8rem;
}

.dark-link, .light-link, .green-link, .white-link {
	text-decoration: none !important;
}

.top-row .dark-link.location::before {
  content: "\f3c5"; /* Unicode for fa-location-dot (Font Awesome Light) */
  font-family: "Font Awesome 6 Free";
  font-weight: 300; /* 300 = Light style */
  margin-right: 0.75em; /* Optional spacing */
}

/* Middle Row */
.middle-row {
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-left: 15px;
	padding-right: 15px;
}

.middle-row .logo {
    max-height: 50px; /* Keeps the logo within a consistent size */
    display: flex; /* Enables centering */
    align-items: center; /* Vertically aligns logo within the row */
    margin-right: 20px; /* Add spacing from the links if needed */
}

.middle-row .logo img {
    max-height: 100%; /* Ensures the image scales properly */
    height: 65px; /* Prevents distortion */
    width: auto; /* Keeps aspect ratio */
	margin-bottom: 0 !important;
}

.middle-row .links {
	display: flex;
	gap:  0;
}

.middle-row .links a {
	text-decoration: none;
	color: #4E586A;
	padding: 30px 15px;
	transition-duration: 200ms;
	border-bottom: 3px solid white;
}

.middle-row .links a:hover {
	background-color: #ebeae8  !important; 
	color: black;
	border-bottom: 3px solid var(--theme-color-primary);
}

.middle-row .contact {
	display: block;
	align-items: center;
	gap: 25px;
}

.middle-row .links a::after {
  content: "\f107"; /* Unicode for fa-angle-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Solid weight */
  margin-left: 0.5em;
  display: inline-flex;          /* Fix: inline-flex plays nice with flex parents */
  align-items: center;           /* Fix: vertically centers the icon */
  line-height: 1;                /* Prevent extra vertical space */
  font-size: 1em;              /* Optional: scale down if too large */
  color: var(--theme-color-primary);
}

.middle-row .links a:hover::after {
  color: #4E586A;           /* Example: change icon color on hover */
}

.middle-row .button {
	background-color: #3e7d3e;
	color: white;
	padding: 8px 15px;
	border: none;
	border-radius: 4px;
	text-decoration: none;
}

/*
.contact .phone:before {
	content: "\f095"; 
	font-family: "Font Awesome 6 Free"; 
	font-weight: 900; 
	display: inline-block;
	width: 30px;
	text-align: center;
	margin-right: 10px; 
	color: green;
}*/

.contact .phone {
	font-weight: 700;
	text-decoration: none !important;
}

@media(min-width: 1250px){
	.bottom-row{left: calc((100vw - 1265px) / 2);}
}

.bottom-row {
    display: none;
    position: absolute;
    top: 100%; /* Align below the .middle-row */
    width: 100%;
    background-color: #f0f0f0;
    z-index: 1000;
    padding: 0 50px 40px 55px;
    gap: 80px;
	max-width: 1250px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for visibility */
}

/* Show the active .bottom-row */
.bottom-row.`{
    display: flex;
}

.bottom-row .column {
	flex: 1;
}

.bottom-row .column h3 {
	font-size: 1.2em !important;
	margin-top: 35px;
	position: relative;
	color: #586476;
}

.bottom-row .column .btn.btn-primary.btn-default-color {
	display: inline-block;
	margin-top: 5px;
}

.bottom-row .column h2 {
	font-size: 1.75em !important;
	margin-top: 35px;
	position: relative;
	color: #586476;
	margin-bottom: 25px;
}

/*
.bottom-row .column h3:before {
	content: "";
	position: absolute;
	top: -15px;
	height: 4px;
	width: 33px;
	background-color: #83bf2b;
	display: block;
}
*/

.bottom-row .column a {
	display: block;
	text-decoration: none;
	color: #000;
	margin-bottom: 0;
	position: relative;
}

.bottom-row .column .child-links::after {
	content: '\f061';
	position: absolute;
	font-family: 'Font Awesome 6 Free'; 
	font-weight: 700;
	right: 0;
	color: var(--theme-color-primary) !important;
}


.bottom-row .column .cta {
	margin-top: 10px;
	display: inline-block;
	background-color: #3e7d3e;
	color: white;
	padding: 8px 15px;
	border-radius: 4px;
	text-decoration: none;
}
.bottom-row .child-links {
	border-bottom: 1px solid #d3d3d3;
	padding: 10px 0;
	color: #586476 !important;
	transition-duration: 200ms;
}
.bottom-row .child-links:hover {
	font-weight: 700;
}
.bottom-row .btn.btn-primary.btn-default-color {
	margin-top: 20px;
}
.middle-row .fa-brands, .middle-row .fab {
	color: white;
    font-size: 25px !important;
}
.middle-row .fa-whatsapp:before {
	color: green;
}
.menu-container {
    position: relative;
    transition: all 0.3s ease-in-out;
    z-index: 999; /* Keeps it above content */
    width: 100%;
	border-bottom: 1px solid #ebeae8;
}
.menu-container.sticky .middle-row {
    border-bottom: 0 solid white;
}
.menu-container.sticky {
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    box-shadow: 0px 5px 5px #ebebeb;
    transition: all 0.3s ease-in-out;
}
.menu-container-inner {
	max-width: 1250px;
	margin: 0 auto;
	transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* MOBILE */

/* Mobile menu default styling */
.mobile-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1000;
    background-color: white;
    transition: transform 0.3s ease-in-out;
}

.menu-list, .sub-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(0);
    margin-top: 20px;
}

.sub-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: white;
    transform: translateX(100%); /* Start off-screen to the right */
    transition: transform 0.3s ease-in-out; /* Smooth slide-in effect */
    z-index: 1000;
}

.mobile-menu a {
    text-decoration: none;
    color: #000;
    padding: 17px;
    border-bottom: 1px solid #ccc;
}

.back-to-main {
    font-weight: bold;
    color: var(--theme-color-primary);
}

.menu-item:hover {
    background-color: #f0f0f0;
}

/* Show mobile menu when triggered */
.mobile-menu.open {
    display: block;
}

/* Sub-menu animation */
.sub-menu.active {
    transform: translateX(0);
}
.menu-list.hidden {
    transform: translateX(-100%); /* Slide the main menu off-screen to the left */
    transition: transform 0.3s ease-in-out;
}

/* Hamburger menu styling */
.hamburger {
    display: none; /* Default: hidden */
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1100;
    color: var(--theme-color-primary);
}
/* Default hamburger menu icon */
.hamburger::after {
  content: "\f0c9"; /* Unicode for Font Awesome bars icon */
  font-family: "Font Awesome 6 Free";
  color: var(--theme-color-primary);
}

/* Change to close icon when mobile menu is open */
.hamburger.open::after {
  content: "\f00d"; /* Unicode for Font Awesome circle-xmark icon */
    border: 3px solid var(--theme-color-primary);
    border-radius: 50%;
    padding: 8px 10px;
}
.hamburger span {
	position: absolute;
    right: 55px;
    font-size: 15px;
    font-weight: 700;
}
.hamburger.open span {
	display: none;
}
.sub-menu span, .third-menu span {
    padding: 15px 15px 0px 5px;
    color: #83bf2b;
    font-style: italic;
}

/* Media query for max-width: 767px */
@media (max-width: 767px) {
	main {
		margin-top: 120px;
	}
	.mobile-call {
		display: block !important;
	}
	.mobile-header {
		display: flex !important;
	}
    /* Hide desktop menu */
    .top-row,
    .middle-row {
        display: none;
    }

    /* Show hamburger menu */
    .hamburger {
        display: contents;
    }

    /* Adjust mobile menu styles */
    .mobile-menu {
        position: fixed; /* Fixed to viewport */
        top: 80px;
        left: 0;
        height: 100%;
        background-color: white;
        z-index: 1000;
    }

    .mobile-menu a {
        font-size: 16px;
    }
}


/* Third Menu Styling */
.third-menu {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 17px;
    box-sizing: border-box;
    background-color: white;
    transform: translateX(100%); /* Hidden off-screen to the right */
    transition: transform 0.3s ease-in-out; /* Smooth slide-in effect */
    z-index: 1100; /* Higher than .sub-menu */
    display: flex;
    flex-direction: column;
}

.third-menu a {
    text-decoration: none;
    color: #000;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.third-menu a:hover {
    background-color: #f0f0f0;
}

/* Back button styling for third-level menus */
.back-to-parent {
    font-weight: bold;
    color: var(--theme-color-primary);
    display: block;
    padding: 15px;
}

/* Active state for third-level menus */
.third-menu.active {
    transform: translateX(0); /* Slide in from the right */
}

/* Hidden state for smooth sliding transitions */
.sub-menu.hidden,
.third-menu.hidden {
    transform: translateX(-100%); /* Slide out to the left */
    transition: transform 0.3s ease-in-out;
}



.hidden {
    display: none !important;
}

.active {
    display: flex;
}

/* Container for Logo and Hamburger */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1100;
	top: 50px
}

/* Logo Styling */
.mobile-header .logo img {
    max-height: 50px;
    height: auto;
    width: auto;
	margin: 0 !important;
}
.mobile-call {
	align-content: center;
	display: none;
	height: 50px;
    align-items: center;
    justify-content: space-between;
    background-color: #586476;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    z-index: 1100;
	top: 0;
}
.mobile-call a {
	font-size: 20px;
	font-weight: 700;
	color: white;
	text-decoration: none !important;
}
.fa-whatsapp:before {
	font-size: 20px;
	color: white;
	margin-right: 10px;
}
.parent-link:after {
	content: '\f061';
    font-family: 'Font Awesome 6 Free'; 
	font-size: 15px;
	position: absolute;
	right: 30px;
	color: var(--theme-color-primary) !important;
}
.back-to-main:before, .back-to-parent:before {
	content: '\f060';
    font-family: 'Font Awesome 6 Free'; 
	font-size: 15px;
	position: absolute;
	left: 40px;
	color: var(--theme-color-primary) !important;
}
a.menu-item.back-to-main, a.menu-item.back-to-parent {
	padding-left: 50px;
}
.menu-item.light-grey {
	background-color: #ebeae8;
	color: #586476;
}
.menu-item.dark-grey {
	background-color: #586476;
	color: white;
}
.menu-item.green {
	background-color: var(--theme-color-primary) !important;
	color: white;
}
.menu-item.search:after {
	content: '\f002';
    font-family: 'Font Awesome 6 Free';
	color: green;
	font-size: 20px;
	position: absolute;
	right: 30px;
}
body.no-scroll {
    overflow: hidden;
}
.menu-banner {
    background-color: green;
    display: flex;
    width: 100%;
    position: absolute;
    bottom: -115px;
    left: 0;
    color: white;
    align-items: center;
    height: 125px;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for visibility */
}
.menu-banner.disability {
    background-color: var(--theme-purple-secondary) !important;
}
.menu-banner-image, .menu-banner-title, .menu-banner-button {
	width: 20%;
}
.menu-banner-copy {
	width: 40%;
	font-size: .9rem;
}
.menu-banner-title, .menu-banner-button {
	align-items: center;
	text-align: center;
}
.menu-banner-title {
	font-weight: 700;
	font-size: 25px;
}
.menu-banner .btn:hover {
	color: #586476;
}
.sub-menu h3, .third-menu h3 {
	font-size: 1.5rem !important;
	color: #83bf2b;
}
.sub-menu .btn.btn-primary.btn-default-color, .third-menu .btn.btn-primary.btn-default-color{
	width: 50%;
	padding: 10px;
}
.sub-menu .container, .third-menu .container {
	padding: 25px;
	background-color: #ebeae8;
	margin-top: 20px;
}

.hamburger::after {
    content: "\f0c9";
    font-family: "Font Awesome 6 Free";
    color: var(--theme-color-primary);
    width: 42.5px;
    text-align: right;
}
.mobile-menu-back.back-to-main::before {
	display: none !important;
}

.back-to-parent {
	padding: 0;
}

.mobile-menu-back::after {
    content: "\f060";
    border: 3px solid var(--theme-color-primary);
    color: var(--theme-color-primary);
    border-radius: 50%;
    padding: 8px 8px;
    font-size: 24px;
    font-family: "Font Awesome 6 Free";
opacity: 0;
  transition: opacity .2s ease;
}

/* Show only when a sub-menu is active */
body:has(.sub-menu.active) .mobile-menu-back::after {
  opacity: 1;
}
.mobile-menu-back.back-to-parent::before {
  opacity: 0;
}

/* default hidden */
.mobile-menu-back::after {
  opacity: 0;
  transition: opacity .2s ease;
  content: "\f060";                 /* Font Awesome arrow-left */
  font-family: "Font Awesome 6 Free"; /* or "FontAwesome" for v4 */
  font-weight: 900;
}

/* visible whenever depth > 0 */
.mobile-menu-back.back-visible::after { opacity: 1; }
.sub-menu h2 {
    padding: 15px 15px 0px 5px;
    color: #83bf2b;
    font-style: italic;
    font-size: 14px;
	font-family: "Open Sans", sans-serif;
}