/*
 * Responsive overrides for the public site. Loaded after styles.css.
 * Desktop-first (max-width) on purpose: the legacy layout is a fixed 957px
 * float shell and the goal is to leave the desktop rendering byte-for-byte
 * unchanged, so these rules only engage below the breakpoints. Selectors
 * match the base specificity in styles.css (including div# qualifiers and the
 * one !important) so the overrides actually take effect.
 */

#navToggle {
	display: none;
	width: 100%;
	margin: 6px 0 0;
	padding: 10px 12px;
	background: #032140;
	color: #fff;
	border: 0;
	font-size: 11px;
	text-transform: uppercase;
	text-align: left;
	cursor: pointer;
}

#navToggle:hover {
	color: #FBC900;
}

@media (max-width: 1000px) {
	#header {
		height: auto;
	}

	#header #mastHead, #header #accountFunc {
		width: auto;
		max-width: 980px;
	}

	#header img {
		max-width: 100%;
		height: auto;
	}

	#header #mastHead #topNav div {
		width: auto;
		float: none;
	}

	#header #mastHead #topNav div#wrg {
		float: none;
		display: inline-block;
	}

	div#contentWrapper {
		width: auto;
		max-width: 957px;
	}

	#navToggle {
		display: block;
	}

	#contentWrapper #leftNavWrapper {
		display: none;
		float: none;
		width: auto;
		margin-left: 0;
	}

	#contentWrapper #leftNavWrapper.is-open {
		display: block;
	}

	#contentWrapper #content {
		float: none;
		width: auto;
		margin-left: 10px;
		margin-right: 10px;
	}

	#contentWrapper div.full {
		width: auto !important;
	}

	#contentWrapper #rightColWrapper {
		float: none;
		width: auto;
		margin-left: 0;
	}
}

@media (max-width: 600px) {
	#contentWrapper #content {
		overflow: visible;
	}

	#contentWrapper #content table {
		max-width: 100%;
	}

	#contentWrapper div#loginSplash,
	#contentWrapper div#signupSplash,
	#contentWrapper div#signupSplash2 {
		float: none;
		display: block;
		margin: 0 auto;
	}

	#accountFunc form.headerlogin {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
		align-items: center;
	}
}
