@charset "UTF-8";
/*
  teacher-nav.css - mobile-first site header for teacher.ubsi.com.
  Desktop (min-width: 901px) shows horizontal links. Phone uses hamburger.
*/

html {
	scroll-padding-top: 72px;
}

.sr-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.teacher-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 2000;
	background: #13294B;
	color: #ffffff;
	padding: 8px 16px;
	font-weight: 700;
	text-decoration: none;
}
.teacher-skip-link:focus {
	left: 8px;
	top: 8px;
}

.ctu-top-banner .banner-copy-mobile { display: none; }

.ctu-nav {
	position: sticky;
	top: 0;
	z-index: 1035;
	background: #ffffff;
	border-bottom: 3px solid #2B4C7E;
	padding: 10px 16px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 12px;
}
.teacher-aff-logo {
	justify-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	max-width: 100%;
}
.teacher-aff-logo-img {
	display: block;
	width: 40px;
	height: 40px;
	max-width: 40px;
	max-height: 40px;
	flex-shrink: 0;
	object-fit: contain;
}
.teacher-nav-end {
	display: flex;
	align-items: center;
	justify-self: end;
	gap: 12px;
	min-width: 0;
}
.ctu-nav .brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	text-decoration: none;
	color: #2B4C7E;
	font-size: 18px;
	font-weight: 700;
}
.ctu-nav .brand img {
	width: 40px;
	height: 40px;
	max-width: 40px;
	max-height: 40px;
	flex-shrink: 0;
	display: block;
	object-fit: contain;
}
.ctu-nav .brand-text { display: none; }

.teacher-nav-desktop { display: none; }

.mobile-nav-backdrop,
.mobile-nav-panel {
	display: none;
}

.mobile-header-nav-trigger {
	position: relative;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	flex-shrink: 0;
	margin-left: 0;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	color: #003a70;
	font-size: 26px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.mobile-header-nav-trigger:hover,
.mobile-header-nav-trigger:focus-visible {
	background: #f8f9fa;
	outline: 2px solid #2b4c7e;
	outline-offset: 2px;
}

body.mobile-nav-open .mobile-header-nav-trigger .js-nav-icon-open { display: none; }
body.mobile-nav-open .mobile-header-nav-trigger .js-nav-icon-close { display: inline-block; }
.mobile-header-nav-trigger .js-nav-icon-close { display: none; }

.mobile-nav-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(13, 27, 64, 0.45);
	z-index: 1034;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.mobile-nav-panel {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1036;
	background: #ffffff;
	border-bottom: 3px solid #2b4c7e;
	padding: 0 0 12px;
	flex-direction: column;
	max-height: 100vh;
	overflow-y: auto;
	color: #212529;
}

.mobile-nav-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	border-bottom: 1px solid #cbd5e1;
}
.mobile-nav-panel-head .mobile-nav-logo {
	display: flex;
	align-items: center;
	padding: 0;
	border-bottom: 0;
}
.mobile-nav-panel-head .mobile-nav-logo img {
	width: 36px;
	height: 36px;
	max-width: 36px;
	max-height: 36px;
	display: block;
	object-fit: contain;
}
.mobile-nav-panel-head .js-mobile-nav-close { display: inline-flex; }

.mobile-nav-panel a {
	display: block;
	padding: 14px 20px;
	min-height: 44px;
	color: #212529;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 1px solid #cbd5e1;
}
.mobile-nav-panel a:last-child { border-bottom: 0; }
.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible {
	background: #f8f9fa;
	color: #003a70;
}
.mobile-nav-panel a i { margin-right: 8px; color: #2b4c7e; }
.mobile-nav-panel-head .mobile-nav-logo:hover,
.mobile-nav-panel-head .mobile-nav-logo:focus-visible { background: transparent; }

body.mobile-nav-open { overflow: hidden; }
body.mobile-nav-open .mobile-nav-backdrop { display: block; }
body.mobile-nav-open .mobile-nav-panel { display: flex; }

#benefits,
#who-qualifies,
#faq,
#ctu-hero-section,
#teacher_lead_form {
	scroll-margin-top: 72px;
}

@media (max-width: 480px) {
	.ctu-top-banner {
		font-size: 11px;
		letter-spacing: 0;
		line-height: 1.4;
		padding: 6px 10px;
	}
	.ctu-top-banner .banner-copy-desktop { display: none; }
	.ctu-top-banner .banner-copy-mobile { display: inline; }
}

@media (min-width: 901px) {
	.ctu-nav {
		padding: 14px 24px;
		grid-template-columns: 1fr auto 1fr;
	}
	.ctu-nav .brand-text { display: inline; }
	.ctu-nav .mobile-header-nav-trigger { display: none; }

	.teacher-nav-desktop {
		display: flex;
		list-style: none;
		margin: 0;
		padding: 0;
		gap: 4px 16px;
		flex-wrap: wrap;
		align-items: center;
		flex: 0 1 auto;
		justify-content: flex-end;
	}
	.teacher-nav-desktop a {
		color: #13294B;
		font-weight: 600;
		font-size: 14px;
		text-decoration: none;
		padding: 8px 4px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
	.teacher-nav-desktop a:hover,
	.teacher-nav-desktop a:focus-visible,
	.teacher-nav-desktop a[aria-current="page"] {
		color: #003a70;
		text-decoration: underline;
	}
}
