
.burger-menu-container {
	display:flex;
	flex-direction:column;
	padding:10px;
	width:auto; /* can not be 100% */
	background-color: var(--bg3);
	z-index:10;   /* make sure it has the highest value. */
}
.burger-menu {
	display:flex;
	justify-content:center;	
	width:100%;
}	

.burger-menu ul li {
	color:#333;
	line-height: 150%;
	letter-spacing: 0.5pt;
	margin:0;
	padding:0;	
}	
.burger-menu ul li a{
	color:#333;
	text-decoration:none;	
}	
.burger-menu ul li a:hover{
	color:var(--bg-accent);
}

/*---------------- accordion -----------*/
.accord-just-label {
	display:flex;
	justify-content:center;
	color:#333;
	text-align:center; 
	text-transform:uppercase;
	letter-spacing: 0.5pt;
	padding:10px;
}
.accord-menu {
	display:flex;
	flex-direction:column;
	justify-content:center;	
	list-style-type:none;
	width:100%;
	margin:0;
	padding:0;
	background-color:var(--bg3);
}
@media (max-width: 575.98px) {
    .accord-menu {
		width:90%;
	}
}
.accord-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
	text-transform: uppercase;
	text-decoration: none;
 	font-weight: 400;
	font-size:0.85rem;
	line-height: 80%;
	letter-spacing: 0.5pt;
	width:95%;
	margin:10px auto;
	padding:7px;
    background-color: var(--bg3);
	border-bottom:1px solid var(--bg2);
    cursor: pointer;
}
.accord-item a{
	color: #333;
	text-decoration:none;
	width: 100%; 
	height: 100%;
}
.accord-item:hover {
    color:var(--bg-accent);
}

/*---------------- accordion +/- symbols -----------*/
.accord-icon {
	font-size: 1.1rem;
	font-weight: bold;
	padding-right: 8px;
}
.accord-icon2 {
	font-size: 1.1rem;
	font-weight: bold;
	padding-right: 8px;
}
/*-------  1st level submenu (shown upon + icon clicked -----*/
.submenu {
	display: none;
	list-style-type: none;
	font-size: 14px;  /* control both bullet size and the text size */
	margin:0 auto;
	margin-left:5px;
	padding: 0 0 7px 10px;
	background-color: var(--bg4);
	border: 1px solid var(--bg2);
	border-top:none;
}
.submenu li {
	color: var(--txt);
	text-decoration: none;
	margin: 6px;
	padding: 14px 3px;
	cursor: pointer; 
}
@media (max-width: 575.98px) {
    .submenu li {
		padding: 15px 10px;
	}
}
.submenu li:hover {
	color: orange;
}
.submenu li a {
	display: block; /* makes everywhere clickable */
	color: #444;
	text-decoration: none;
	width: 100%; 
	height: 100%;
}
.submenu li a:hover {
	color:var(--bg-accent);
	text-decoration: underline;
}

/* Burger Icon */
.burger-icon {
    display: none; /* Hidden by default, will show on smaller screens */
    cursor: pointer;
    position: absolute; /* stay on top while scrolling */
    top: 40px;
    right: 20px;
    z-index: 20;
}

.burger-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #333; /* Replace with your desired color */
    margin: 5px 0;
    transition: 0.4s;
}

@media (max-width: 992px) {
    .burger-icon {
        display: block; /* Show burger icon on smaller screens */
    }
    .burger-menu-container { /* default state to ensure the menu is hidden */
        display: none; 
        width: 100%;
        background-color: var(--bg-med);
        transition: max-height 0.3s ease-out; 
        overflow: hidden; /* Hide content when collapsed */
        max-height: 0; 
    }
    .burger-menu-container.active {		/* After clicking the burger icon */
        display: flex;
		padding-bottom:2rem;
    }
	.accord-just-label {
		display:none;
	}
	.accord-item {
		padding:2px 10px;
	}
	.submenu li {
		text-align:center;
	}
}