/*! #######################################################################

	MeanMenu 2.0.7 - Modernized & Sleek Kivuli College Theme
	--------
	Colors Used:
	- Primary/Background: #002B49 (Deep Navy Blue)
	- Accent/Hover: #D4A276 (Muted Tan/Caramel)
	- Text: #FFFFFF (White)
	- Hamburger Icon (Default): #002B49 (Deep Navy Blue)
	- Hamburger Icon (Transparent Header): #FFFFFF (White)

####################################################################### */

/* === CORE SETUP === */
a.meanmenu-reveal {
	display: none; /* Hidden until mobile breakpoint */
}

/* The bar holding the hamburger icon */
.mean-container .mean-bar {
	background: transparent;
	float: left;
	position: relative;
	width: 100%;
	z-index: 999; /* Ensure it's on top */
}

/* === THE HAMBURGER ICON (REVEAL BUTTON) === */
.mean-container a.meanmenu-reveal {
	display: block;
	position: absolute;
	top: 50%; /* Vertically center relative to its container */
	right: 0;
	transform: translateY(-50%); /* Precise vertical centering */
	
	width: 22px;
	height: 22px;
	padding: 10px;
	cursor: pointer;
	
	color: #002B49; /* Color of the hamburger lines */
	border: 2px solid #002B49; /* Border around the icon */
	border-radius: 5px; /* Slightly rounded corners for a modern feel */
	text-decoration: none;

    /* REMOVED UNNECESSARY OLD STYLES: font-size, line-height, margin-top, etc. */
}

/* The three lines of the hamburger icon */
.mean-container a.meanmenu-reveal span {
	display: block;
	background: #002B49; /* Line color */
	height: 3px;
	margin-top: 4px; /* Space between lines */
	border-radius: 2px;
}

/* First line has no top margin */
.mean-container a.meanmenu-reveal span:first-child {
	margin-top: 0;
}


/* === THE DROPDOWN NAVIGATION PANEL === */
.mean-container .mean-nav {
	float: left;
	width: 100%;
	background: #002B49; /* **YOUR NEW PRIMARY COLOR** for the background */
	margin-top: 15px; /* Space between header and menu */
    box-shadow: 0 10px 25px rgba(0, 43, 73, 0.25); /* Softer, more modern shadow */
}

.mean-container .mean-nav ul {
	padding: 0;
	margin: 0;
	width: 100%;
	list-style-type: none;
}

.mean-container .mean-nav ul li {
	position: relative;
	float: left;
	width: 100%;
}


/* === MENU LINKS (LEVEL 1) === */
.mean-container .mean-nav ul li a {
	display: block;
	float: left;
	width: 90%; /* 100% width minus the expand button area */
	padding: 15px 5%; /* Increased padding for a more spacious, modern feel */
	margin: 0;
	text-align: left;
	color: #FFFFFF; /* White text for high contrast on navy background */
	border-top: none; /* **REMOVED** old 1px border for a cleaner look */
	text-decoration: none;
	text-transform: capitalize; /* Softer than uppercase */
	font-weight: 600;
	font-size: 16px;
	transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover transition */
}

/* HOVER STATE for menu links */
.mean-container .mean-nav ul li a:hover {
	background: #D4A276; /* **YOUR NEW ACCENT COLOR** on hover */
	color: #002B49; /* Text becomes navy on hover for a beautiful, inverted effect */
}

/* Last menu item has no bottom border (not needed, but good practice) */
.mean-container .mean-nav ul li.mean-last a {
	border-bottom: none;
	margin-bottom: 0;
}


/* === SUB-MENU LINKS (LEVEL 2+) === */
.mean-container .mean-nav ul li li a {
	width: 80%;
	padding: 12px 10%;
	/* A subtle line to separate main items from sub-items */
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	opacity: 0.9;
	font-weight: 500;
}

.mean-container .mean-nav ul li li li a {
	width: 70%;
	padding: 12px 15%;
}


/* === EXPAND/COLLAPSE BUTTON (+) === */
.mean-container .mean-nav ul li a.mean-expand {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 100%;
	
	/* Style the button as a simple text '+' */
	text-align: center;
	font-size: 24px;
	font-weight: 300;
	line-height: 51px; /* Vertically aligns the '+' (adjust if padding changes) */
	
	color: #D4A276; /* **YOUR ACCENT COLOR** makes it stand out */
	
	/* REMOVED all old border-based styles for a clean '+' sign */
	border: none;
	background: none;
}

/* Hover state for the expand button */
.mean-container .mean-nav ul li a.mean-expand:hover {
	background: rgba(255, 255, 255, 0.05); /* Very subtle hover effect */
}

/* When menu is expanded, JS changes the content to a minus sign */
/* Ensure this matches your JS implementation, default is usually fine */


/* === UTILITIES & FIXES === */
.mean-container .mean-push {
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
	clear: both;
}

.mean-nav .wrapper {
	width: 100%;
	padding: 0;
	margin: 0;
}

.mean-container .mean-bar,
.mean-container .mean-bar * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.mean-remove {
	display: none !important;
}


/* === STYLES FOR TRANSPARENT HEADERS === */
/* Use these classes on your header if the menu icon needs to appear over a hero image */
.transparent-header .mean-container a.meanmenu-reveal,
.header-2 .mean-container a.meanmenu-reveal {
    border-color: #FFFFFF; /* White border */
    color: #FFFFFF; /* White color for the lines inside */
}

.transparent-header .mean-container a.meanmenu-reveal span,
.header-2 .mean-container a.meanmenu-reveal span {
	background: #FFFFFF; /* White lines */
}