header{
    background-color:var(--secondary-background);
    width:100%;
    color:var(--main-color);
    align-items:center;
    overflow:hidden;
    padding-right:0;
    position:fixed;
    z-index: 13;
}
header>.grid-container{
	display:inline-grid;
	grid-template-columns:auto auto;
	justify-content:left;
}
header>div>a>img{
    max-height:75px;
    padding-right:2%;
    margin:0px;
}
#logo{
    margin-top: 48px;
    margin-bottom:0;
}
header>div>a>#companyname{
    margin-top:10px;
    margin-bottom:5px;
    display:inline-block;
    overflow: hidden;
    padding: 16px 12px;
    text-decoration: none;
    text-overflow: ellipsis;
    
}
#logoandname{
    color:var(--main-color);
    text-decoration:none;
    background-color:var(--secondary-background);
    display:inline-grid;
	grid-template-columns:auto auto;
    align-items:center;
    transition: opacity .5s,padding-left .125s;
    white-space: nowrap;
    z-index: 20;
	justify-content:left;
	height:79px;
}
#logo{
    margin-top: 48px;
    margin-bottom:0;
}
#logo>img{
	max-width:200px;
}
.hambugermenu{
	background-color:inherit;
    display:flex;
    cursor:pointer;
    height:55px;
    outline:none;
	border:none;
    padding: 16px 12px;
    width:48px;
    font-size:16px;
	z-index:77;
	top:0;
    margin-left: 3px;
    margin-top: 3px;
    margin-left: 3px;
    border-radius: 10px;
    color: black;
}
.hambugermenu:focus-visible{
	box-shadow: none;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
}
.hambugermenu:hover{
    background-color: #e9e9e9;
}
.hambugermenu:active{
    box-shadow: none;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
}

/* === CHANGED: Targeted #navbar instead of generic nav === */
#navbar{
	display:block;
	width:285px;
	height:100%;
	position:fixed;
    z-index:70;
    overflow-y:auto;
	padding-top:56px;
	top:0;
}
#navbar>ul{
	list-style:none;
	padding:0;
    line-height: normal;
}
#navbar>ul>li{
	 margin-top:12px;
	 padding-left:36px;
	 padding-right:12px;
     line-height: normal;
}
#navbar>ul>li>ul, #navbar>ul>li>ul>li>ul{
    line-height: normal;
}
#navbar>ul>li>a{
    color:var(--main-color) !important;
    display: block;
    position: relative;
    text-decoration:none;
    text-overflow: ellipsis;
    font-size:12.0pt;
    overflow:hidden;
    cursor:pointer;
    margin-left: 12px;
}
#navbar>ul>li>a:hover{
    text-decoration:underline;
    text-decoration-color: var(--secondary-color) !important;
}

.navgroup{
    list-style:none;
}
.navgroup>li{
	transition: left 0.375s cubic-bezier(0.4,0,1,1),opacity 0.375s cubic-bezier(0.4,0,1,1);
    transition-delay: .125s;
    left: 0;
    opacity: 1;
    position:relative;
    display:block;
    padding-left:36px;
    padding-right:12px;
    margin-top:12px;
}
.navgroup>li>a{
    display: block;
    position: relative;
    text-decoration:none;
    overflow:hidden;
    cursor:pointer;
    text-overflow: ellipsis;
    font-size:12.0pt;
    color:var(--main-color) !important;
    
}
.navgroup>li>a:hover{
    text-decoration:underline;
    color:var(--main-color) !important;
}

/* Dark Mode Toggle Switch Styles */
.nav-dark-mode-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px; /* Space between label and switch */
    padding-right: 12px; /* Align with other nav items */
    padding-left: 36px;
    margin-top: 12px;
}

.dark-mode-label {
    cursor: default;
    color: var(--main-color);
    font-size: 12.0pt;
    white-space: nowrap;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-light-gray);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

#dark-mode-checkbox:checked + .switch .slider {
    background-color: var(--main-color);
}

#dark-mode-checkbox:checked + .switch .slider:before {
    transform: translateX(26px);
}


.rotate{
    transform:rotate(90deg);
    z-index:90;
}
.rotate1{
    transform: rotate(45deg) translate(0,5px);
}
.rotate2{
    transform: rotate(135deg) translate(0,-5px);
}
.hidden {
  display: none !important;
}
.headerfornav{
	height:0px;
	background-color:var(--color-white);
	overflow:unset;
	display:unset !important;
}
.absolute{
	position:absolute;
	
}
.whitebackground{
	background-color:var(--color-white);
}
.parentgroup{
	align-items:center;
	justify-content:left;
}
.childgroup{
    padding-left: 0;
    margin-left: 0;
}
.arrow{
	background-color:inherit;
    left: 0px;
    cursor: pointer;
    display: inline-block;
    height: 24px;
    padding-left: 12px;
    position: absolute;
    width: 36px;
    color:var(--main-color);
	outline:none;
	border:none;
}
.arrow:focus-visible{
	border-color:var(--main-color);
	border-style:solid;
	border-width:2px;
}
.uparrow{
    color:var(--main-color);
    rotate: -0.5turn;
}
.background-overlay{
    z-index:11;
    position:fixed;
    display:block;
    width:100%;
    opacity:0.6;
    transition: opacity .5s;
    height:100%;
    left:0;
    position:fixed;
    top:0;
    background-color:black;
}
#icon{
  display:none;
}
/* Dark Mode Toggle Styles */
.nav-dark-mode-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 12px;
}

.nav-separator {
    border-top: 1px solid #e2e8f0;
    margin-top: 12px;
    padding-top: 12px;
    margin-left: 12px;
    margin-right: 12px;
}

.dark-mode-label {
    cursor: pointer;
    font-size: 12pt;
    color: var(--main-color);
    margin-left: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-light-gray);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--main-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* === GLOBAL BREADCRUMB STYLES === */
.global-breadcrumb-wrapper {
    /* Position & Background Logic */
    position: relative; 
    z-index: 1;         
    /* Ensure the breadcrumbs have the solid background color */
    background-color: var(--main-background); 
    
    /* Desktop Alignment */
    margin-left: 285px; 
    padding: 10px 16px;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 1rem;
    color: #333; /* Darker default text color */
}
.breadcrumb li {
    display: flex;
    align-items: center;
}
.breadcrumb li a {
    text-decoration: none;
    color: var(--main-color);
}
.breadcrumb li a:hover {
    text-decoration: underline;
}
.breadcrumb li span {
    margin: 0 0.5rem;
    color: #333; /* Darker color (was light-gray) for separators/current page */
    font-weight: 500;
}

@media screen and (min-width:1281px){
	#headernavgrid{
		display:none;
	}
	#logo>img{
		margin-top: 48px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
  }
    /* CHANGED: Specific #navbar selector */
	#navbar{
		padding-top:0px;
		background-color:var(--secondary-background);
	}
}

@media screen and (max-width:1280px){
	#logo{
		display:none;
	}
    /* CHANGED: Specific selector */
	#navbar>#companyname{
		display:none;
	}
  #headerwrapper{
    padding-bottom:74px;
  }
  /* === Mobile Breadcrumb Fix === */
  .global-breadcrumb-wrapper {
      margin-left: auto;
      margin-right: auto;
      /* Pushes breadcrumbs down below fixed header so they aren't hidden */
      margin-top: 80px; 
      max-width: 1280px;
  }
}

@media screen and (max-width: 451px){
	#icon{
    display:block;
  }
  #logoandname{
    display:none;
  }
}
footer{
  text-align:center;
  padding-top:32px !important;
  font-size: 10.0pt;
  font-style: italic;
  flex-shrink: 0;
  margin-top:auto;
  padding-bottom:32px;
}