/*!*----------------------------------*!*/
/*!* BEGIN BSU CUSTOMIZATIONS *!*/
/*!*----------------------------------*!*/

/* Disabled due to CORS issues */
/*@import url("https://use.typekit.net/bri6akw.css");*/


@-ms-viewport {
	width: device-width;
}

@-moz-viewport {
	width: device-width;
}

@-o-viewport {
	width: device-width;
}

@-webkit-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}


:root {
	--primary-color: #ba0c2f;
	--dark-gray:#54585A;
	--medium-gray: #808080;
	--light-gray:#DADADA;
	--input-sibling-height:2rem;
	--form-horizontal-padding:4rem;
}

@media (max-width:549px), (max-height:599px){
	:root {
		--form-horizontal-padding:2rem;
	}
}


*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: inherit;
}

body {
	background:var(--primary-color);
	font-family: "open-sans", "Open Sans", sans-serif;
	font-weight: 400;
	font-style: normal;
}

@media (max-width:549px), (max-height:599px){
	body {
		background:white;
		overflow-x: hidden;
	}
}





/*--------- UTILITY ---------*/
.hidden {
	display: none;
}




/*--------- BRANDING ---------*/
/*Hide the built-in background branding*/
#brandingWrapper {
	display: none;
}

.illustrationClass {
	background:none !important;
}





/*--------- LOGIN BOX ---------*/
#content {
	background:white;
	width:530px;
	position: fixed;
	top:50%;
	left:50%;
	transform: translate(-50%, -60%);
}

@media (max-width:549px), (max-height:599px){
	#contentWrapper {
		padding-bottom: 3rem; /*padding for fixed footer*/
	}
	#content {
		position:static;
		transform:none;
		width:100%;
	}
}

#content #header {
	padding:4rem var(--form-horizontal-padding) 0;
	width:100%;
	height:auto;
	box-sizing:border-box;
}

#header img {
	position:static;
	top:0;
	height:90px;
	user-select: none;
}

@media (max-width:549px), (max-height:599px){
	#header img {
		height:60px;
	}
}

#content main {
	padding: 0 var(--form-horizontal-padding) 3rem;
}

@media (max-width:549px), (max-height:599px){
	#content main {
		padding-bottom: 1rem;
	}
}

#loginMessage {
	font-family: "ivypresto-display", "Playfair Display", "Times New Roman", Times, serif;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	font-size: 2rem;
	margin: 1.5rem 0;

	/*
		needs a height to prevent layout shift
		the password page has the back arrow
		which is shorter than this, so explicitly
		define an equal height so they are the same
	*/
	height: var(--input-sibling-height);
}

#introduction {
	display: none;
}







/*--------- FORM ---------*/
#nextButton,
#submitButton{
	background: var(--primary-color);
	color:white;
	width:max-content;
	display: block;
	margin-left: auto;
	border:none;
	padding: .75em 2.5em;
	font-weight: bold;
	font-family: "Open Sans", "open-sans", sans-serif !important;
	cursor: pointer;
	user-select: none;
}

@media (prefers-reduced-motion: no-preference) {
	#nextButton:hover,
	#submitButton:hover {
		scale:1.05;
	}
}

form input {
	border: none;
	border-bottom:1px solid var(--dark-gray);
	width: 100%;
	display: block;
	padding: .5rem 1rem;
	font-size: 1.15rem;
	letter-spacing: .03em;
	outline:none;
	font-weight: 300;
}

form input:focus-visible {
	outline: initial;
}

form input::placeholder {
	color: var(--medium-gray);
}

#nextButtonArea,
#submitButton {
	margin-top: 4rem;
}

#passwordBannerContainer {
	display: flex;
	align-items: center;
	gap:.5rem;
	margin: 1.5rem 0;

	/*
		needs a height to prevent layout shift
		the username page has the SIGN IN text
		which is taller than this, so explicitly
		define an equal height so they are the same
	*/
	height: var(--input-sibling-height);
}

#backButton {
	cursor: pointer;
}

#passwordArea {
	/*margin-top: 1.5rem;*/
}







/*--------- LOGIN BOX FOOTER ---------*/

#bsu-sso-footer {
	background-color: #DADADA;
}

@media (max-width:549px), (max-height:599px){
	#bsu-sso-footer {
		background-color: white;
	}
}


#bsu-sso-footer ul {
	list-style: none;
	display: flex;
	gap:.5rem;
	justify-content: center;
	padding: .75em 2em;
}

@media (max-width:549px), (max-height:599px){
	#bsu-sso-footer ul {
		flex-direction: column;
		gap:0;
		padding-bottom: 0;
	}
}


#bsu-sso-footer li {

}

@media (max-width:549px), (max-height:599px){
	#bsu-sso-footer li {
		border:none;
		border-bottom: 1px solid var(--light-gray);
	}
}

#bsu-sso-footer li + li {
	border-left: .5px solid #787878;
	padding-left: .5rem;
}

@media (max-width:549px), (max-height:599px){
	#bsu-sso-footer li + li {
		border-left: none;
		padding-left: 0;
	}
}


#bsu-sso-footer li:last-child::after {
	content:"";
}

#bsu-sso-footer a {
	display: block;
	text-decoration: none;
	color:#3F3F3F;
	font-weight: bold;
	font-size: .75rem;
	white-space: nowrap;
}

@media (max-width:549px), (max-height:599px){
	#bsu-sso-footer a {
		font-size: .9rem;
		padding:1rem 0;
		-webkit-tap-highlight-color: transparent;
	}
}


#bsu-sso-footer a:hover {
	color:#ba0c2f;
	text-decoration: underline;
}

@media (max-width:549px), (max-height:599px){
	#bsu-sso-footer a:hover {
		text-decoration: none;
	}
}







/*--------- ERROR ---------*/
.error {
	position: relative;
	color: black;
	font-weight: bold;
	font-style: italic;
	line-height: 1.3;
	margin: 1rem 0;
	font-family: 'Open Sans', sans-serif;
	border: 2px solid #ba0c2f;
	padding: .5rem 1rem;
	top:0;
	font-size: .9rem;
	align-items: center;
	justify-content: flex-start;
	gap:.5rem;
	display: flex;
	border-radius:8px;
}

.error #errorText {
	text-wrap: pretty;
}

.error:has(span:empty) {
	display: none;
}
.error:not(:has(span:empty))::before {
	content: "⚠️";
	font-size: 2rem;
	font-style: normal;
}

#errorText em {
	font-family: monospace;
	font-style: normal;
	background: var(--dark-gray);
	color:white;
	font-size: .75rem;
	border-radius:2px;
	padding: .15em .35em .05em;
}





/*--------- CREDENTIALS SUCCESS GREETING ---------*/
#mfaGreetingDescription {
	margin: 1rem 0;
	text-wrap: pretty;
}

#customAuthArea div {
	text-wrap: pretty;
}

#customAuthArea .noscript.btn-link {
	background:var(--primary-color);
	border:none;
	color:white;
	padding: 1rem 2rem;
	line-height: 1.3;
	max-width:70%;
	display: block;
	margin: 2rem auto 0;
	text-wrap: pretty;
	cursor: pointer;
	font-weight: bold;
}





/*--------- DISCLAIMER ---------*/
#bsu-sso-disclaimer {
	position: absolute;
	top: calc(100% + 1rem);
	left:5%;
	width:90%;
	text-align: center;
	color:white;
	font-style: italic;
	font-weight: 300;
	line-height: 1.2;
	font-size: .85rem;
	text-wrap: pretty;
}
#bsu-sso-disclaimer a {
	color:white;
	text-decoration: underline;
}

@media (max-width:549px), (max-height:599px){
	#bsu-sso-disclaimer {
		position:static;
		color:black;
		width:100%;
		padding:1rem var(--form-horizontal-padding);
		text-align:left;
	}
	#bsu-sso-disclaimer a {
		color:black;
	}
}





/*--------- FOOTER ---------*/
#footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: var(--dark-gray);
}

@media (max-width:549px), (max-height:599px) {
	#footer {

	}
}

#footerLinks div {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 1rem;
	padding:0 .5rem;
}

@media (max-width:549px), (max-height:599px){
	#footerLinks div {
		justify-content: center;
	}
}


#footer a {
	text-decoration: none;
	font-size: .75rem;
	color:white;
	padding:.5rem 0;
}

#footer a:first-child {
	font-weight: bold;
	font-size: .85rem;
}

@media (max-width:549px), (max-height:599px){
	#footer a:first-child {
		display: none;
	}
}

#footer a:hover {
	text-decoration: underline;
}





/*--------- DARK MODE ---------*/
/*
	I guess you guys aren't ready for that yet.
 	But your kids are gonna love it.
*/
/*
@media (prefers-color-scheme: dark) {
	body {
		background:#222222;
	}
	@media (max-width:549px), (max-height:599px){
		body {
			background:#333;
		}
	}
	#content {
		background: #333333;
	}
	#header img {
		filter: saturate(0) brightness(0) invert(1);
	}
	#loginMessage {
		color:white;
	}
	form input {
		background:transparent;
		color:white;
	}
	#bsu-sso-footer {
		background: var(--dark-gray);
	}
	@media (max-width:549px), (max-height:599px){
		#bsu-sso-footer {
			background:#333;
		}
	}
	#bsu-sso-footer a {
		color: white;
	}
	#bsu-sso-footer a:hover {
		color:white;
	}
	@media (max-width:549px), (max-height:599px){
		#bsu-sso-disclaimer {
			color:white;
		}
		#bsu-sso-disclaimer a {
			color:white;
		}
	}
	.errorText {
		color:white;
	}
	#backButton {
		filter:invert(1);
	}
	#identityBanner {
		color:white;
	}

	#mfaGreetingDescription {
		color:white;
	}

	#customAuthArea div {
		color:white;
	}
}
*/