/*
 -----------------------------
 Essential Educational Staffing
 Header, utility bar and full screen menu
 Replaces p7dmm/p7DMM01.css (PVII Drop Menu Magic) from 1 November 2026.
 The menu is plain HTML, this stylesheet and js/menu.js. No PVII script.
 -----------------------------
*/

/* =============================================
   UTILITY BAR: Current jobs button and the language switch
   ============================================= */

.righttablecell {
	width: 100%;
	background-color: #f0f0f0;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 5px 24px;
	box-sizing: border-box;
	line-height: 1;
}

.righttablecell > div {
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 0;
	margin: 0;
}

.righttablecell a {
	display: inline-block;
	color: #444444;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1;
	padding: 2px 5px;
	white-space: nowrap;
	transition: color 0.15s;
}

.righttablecell a:hover {
	color: #000000;
}

.righttablecell span {
	font-size: 12px;
	color: #aaaaaa;
	line-height: 1;
	padding: 0 2px;
}

/* Language switch: plain text, black */
.langswitch a {
	color: #111111;
	font-size: 13px;
	letter-spacing: 0.3px;
	padding: 2px 6px;
	text-decoration: none;
	font-weight: 600;
}

.langswitch a:hover {
	color: #058fff;
}

.langswitch span {
	color: #999999;
	font-size: 13px;
	padding: 0;
}


/* =============================================
   HEADER: logo left, menu button right
   ============================================= */

.toptable {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	background-color: #ffffff;
	position: relative;
}

.lefttablecell {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex: 1 1 auto;
	padding: 12px 24px;
	box-sizing: border-box;
}

.lefttablecell img {
	max-width: 280px;
	width: auto;
	height: auto;
	display: block;
}

.menucell {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex: 0 0 auto;
	padding: 12px 24px 12px 0;
	box-sizing: border-box;
}

/* The menu button: three lines and the word Menu */
.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	padding: 8px 0 8px 8px;
	margin: 0;
	cursor: pointer;
	color: #1b2733;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
	color: #058fff;
	outline: none;
}

.menu-toggle-lines {
	display: inline-block;
	width: 28px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -8px 0 currentColor, 0 8px 0 currentColor;
	flex-shrink: 0;
}


/* =============================================
   THE MENU PANEL: full screen, slides in from the right
   ============================================= */

html.menu-locked,
html.menu-locked body {
	overflow: hidden;
}

/* While the menu is open, the help tab and the scroll to top button stay out of the way */
html.menu-locked .SnapABug_Button,
html.menu-locked .p7STT {
	display: none !important;
}

.site-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	background: #f2f1ed;
	color: #1b2733;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.35s ease, visibility 0s linear 0.35s;
}

.site-menu.is-open {
	transform: none;
	visibility: visible;
	transition: transform 0.35s ease, visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
	.site-menu,
	.site-menu.is-open {
		transition: none;
	}
}

.site-menu-inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 24px 48px;
	box-sizing: border-box;
}

.site-menu-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	min-height: 69px;
	box-sizing: border-box;
}

.site-menu-top img {
	display: block;
	max-width: 280px;
	height: auto;
}

/* Close button: a thin cross */
.menu-close {
	position: relative;
	width: 44px;
	height: 44px;
	margin-right: -8px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: #1b2733;
	flex-shrink: 0;
}

.menu-close::before,
.menu-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-close:hover,
.menu-close:focus-visible {
	color: #058fff;
	outline: none;
}

.site-menu nav {
	max-width: 820px;
	padding-top: 36px;
}

.menu-level1,
.menu-sub {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-level1 > li {
	margin: 0 0 30px;
}

/* Top level: a group button or a plain link */
.menu-group,
.menu-level1 > li > a {
	display: inline-flex;
	align-items: center;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-align: left;
	font: inherit;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: #00283e;
	text-decoration: none;
}

.menu-group:hover,
.menu-group:focus-visible,
.menu-level1 > li > a:hover,
.menu-level1 > li > a:focus-visible {
	color: #058fff;
	outline: none;
}

.menu-level1 > li.is-open > .menu-group {
	color: #058fff;
}

/* The small triangle after a group label, points down closed and up open */
.menu-group::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 14px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 7px solid currentColor;
	transition: transform 0.2s ease;
}

.menu-level1 > li.is-open > .menu-group::after {
	transform: rotate(180deg);
}

/* The group's pages: hidden until the group is opened */
.menu-sub {
	display: none;
	margin: 22px 0 10px 2px;
	padding: 4px 0 4px 58px;
	border-left: 1px solid #1b2733;
}

.menu-level1 > li.is-open > .menu-sub {
	display: block;
}

.menu-sub li {
	margin: 0 0 20px;
}

.menu-sub a {
	display: inline-block;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
	color: #1b2733;
	text-decoration: none;
}

.menu-sub a:hover,
.menu-sub a:focus-visible {
	color: #058fff;
	outline: none;
}

/* The first entry is the group's own page */
.menu-sub li.menu-parent {
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid #1b2733;
}

.menu-sub li.menu-parent a {
	font-size: 24px;
	font-weight: 700;
	color: #00283e;
}

/* The page you are on */
.site-menu .menu-level1 > li > a[aria-current="page"],
.site-menu .menu-sub li a[aria-current="page"] {
	color: #058fff;
}

/* Bottom of the panel: phone number and the language switch */
.site-menu-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 36px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid #d6d4ce;
	font-size: 15px;
	color: #1b2733;
}

.site-menu-foot a {
	color: #1b2733;
	text-decoration: none;
	font-weight: 600;
}

.site-menu-foot a:hover {
	color: #058fff;
}

.site-menu-foot .langswitch a {
	font-size: 15px;
}

.site-menu-foot .langswitch span {
	font-size: 15px;
	padding: 0 2px;
}


/* =============================================
   TABLET
   ============================================= */

@media only screen and (min-width: 701px) and (max-width: 1200px) {
	.lefttablecell img {
		max-width: 220px;
	}

	.lefttablecell {
		padding: 10px 18px;
	}

	.menucell {
		padding: 10px 18px 10px 0;
	}

	.righttablecell {
		padding: 5px 18px;
	}

	.site-menu-inner {
		padding: 0 18px 40px;
	}
}


/* =============================================
   PHONES
   ============================================= */

@media only screen and (max-width: 700px) {
	.toptable {
		flex-wrap: wrap;
	}

	.righttablecell {
		width: 100%;
		justify-content: center;
		order: -1;
	}

	.lefttablecell {
		padding: 10px 16px;
		flex: 1;
	}

	.lefttablecell img {
		max-width: 200px;
	}

	.menucell {
		padding: 10px 16px 10px 0;
	}

	.menu-toggle-text {
		display: none;
	}

	.site-menu-inner {
		padding: 0 16px 32px;
	}

	.site-menu-top {
		padding: 10px 0;
		min-height: 60px;
	}

	.site-menu-top img {
		max-width: 200px;
	}

	.site-menu nav {
		padding-top: 24px;
	}

	.menu-level1 > li {
		margin-bottom: 22px;
	}

	.menu-group,
	.menu-level1 > li > a {
		font-size: 22px;
	}

	.menu-sub {
		margin: 16px 0 6px 1px;
		padding-left: 22px;
	}

	.menu-sub li {
		margin-bottom: 14px;
	}

	.menu-sub a {
		font-size: 18px;
	}

	.menu-sub li.menu-parent {
		margin-bottom: 14px;
		padding-bottom: 14px;
	}

	.menu-sub li.menu-parent a {
		font-size: 19px;
	}
}

/* See also lists at the end of a page */
h2.see-also-title { margin-top: 1.4em; }
ul.see-also { margin: 0.5em 0 1.5em 1.2em; padding: 0; }
ul.see-also li { margin: 0 0 0.45em; }
