/* 
 * MySchoolBucks Login Page Custom CSS
 * This file contains custom styles for the MySchoolBucks login page.
 * It includes responsive design adjustments and specific styling for various elements.
 */

/*
Vega sizes:
lg >=1200px
md >=992px
sm >=768px
xs <768px
*/

/* Background styling for a fixed image - pin div to the viewport and fill with the image starting with bottom left corner */
#background {
	background-image: url('../img/gradient-1920-25p.avif');
	background-size: cover;
	background-position: left bottom;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -1;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
}

#bottom-line {
	color: #5090C5;
}

input {
	height: 42px;
}

p {
	font-weight: 500;
}

.round-border {
	border-radius: 12px !important;
}

#kc-locale ul {
	display: none;
	position: absolute;
	background-color: #fff;
	list-style: none;
	right: 0;
	top: 30px;
	min-width: 100px;
	padding: 2px 0;
	border-radius: 4px;
	z-index: 9999;
}

#kc-locale:hover ul {
	display: block;
	margin: 28px 55px 0 0;
	padding: 0;
}

#kc-locale ul li a {
	display: block;
	padding: 5px 14px;
	color: #000 !important;
	text-decoration: none;
	line-height: 20px;
	white-space: nowrap;
}

#kc-locale ul li a:hover {
	color: #ffffff !important;
	background-color: #337ab7;
}

#kc-locale-dropdown a {
	color: #333;
	background: 0 0;
	padding: 0 15px 0 0;
	font-weight: 600;
}

#kc-locale-dropdown a:hover {
	text-decoration: none;
}

a#kc-current-locale-link {
	display: block;
	padding: 0 5px;
	font-family: 'Inter';
	font-size: 14px;
	font-weight: 700;
}

a#kc-current-locale-link::after {
	content: url("../img/down-arrow.svg");
	margin-left: 4px;
}

.light {
	opacity: 50%;
}

.navbar-fixed-bottom {
	right: auto;
	left: auto;
	z-index: auto;
}

.custom-center {
	margin: auto;
	width: 400px;
	padding: 10px;
}

.custom-center-multi-col {
	margin: auto;
	width: 40%;
	padding: 10px;
}

@media all and (max-width:1497px) {
	.custom-center-multi-col {
		margin: auto;
		width: 50%;
		padding: 10px;
	}
}

@media all and (max-width:1200px) {
	.custom-center-multi-col {
		margin: auto;
		width: 60%;
		padding: 10px;
	}
}

@media all and (max-width:992px) {
	.custom-center-multi-col {
		margin: auto;
		width: 85%;
		padding: 10px;
	}
}

@media all and (max-width:768px) {
	body {
		background-image: none;
	}

	.custom-center {
		margin: auto;
		width: 100%;
		padding: 10px;
	}

	.custom-center-multi-col {
		margin: auto;
		width: 100%;
		padding: 10px;
	}

	.login-container {
		padding: 0;
	}

	.layout .container {
		padding: 20px 15px;
		margin: 0;
		min-height: 20em;
	}

	.panel {
		border-width: 0;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	#kc-locale {
		position: relative;
		text-align: right;
	}

	#kc-locale ul {
		z-index: 9999;
		top: 15px;
	}
}

.msb-links {
	text-align: center;
}

.text-box {
	border-radius: 5px !important;
}

.btn-idp {
	width: 100% !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	font-family: inherit !important;
	text-shadow: none !important;
	border: 0 !important;
	background: #6ea9ae !important;
	line-height: 1.5 !important;
	border-radius: 5px !important;
	white-space: normal !important;
	padding-top: 5px !important;
	padding-right: 9px !important;
	padding-bottom: 5px !important;
	padding-left: 9px !important;
}

.center {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translateY(-50%);
	transform: translate(-50%, -50%);
}

.fa,
.fas {
	font-weight: 900;
}

/* 
The below settings pin the footer to the bottom of the page until it needs to scroll
*/
.login-outer {
	min-height: 100%;
}

.login-inner {
	padding-bottom: 120px;
}

.login-footer {
	height: 120px;
	margin-top: -120px;
}

/* Override the footer margins */
.msb-footer .custom-footer-banner {
	margin-top: 0px !important;
}

.vertical-center {
	position: relative;
	top: 50%;
}

.username-wrapper {
	position: relative;
}

.password-wrapper {
	position: relative;
}

i.fa-icon {
	position: absolute;
	top: 11px;
	left: 200px;
}

.forgot-password {
	text-align: center;
	margin-top: 15px;
	font-weight: 700;
	font-style: bold;
}

.appname {
	font-size: 13px;
	line-height: 16px;
	color: #8A92A5;
	word-wrap: break-word;
	/* To handle long application names */
}

.custom-padding {
	padding-left: 35px;
	padding-right: 35px;
}

#kc-select-mfa-login-form {
	padding: 0px 45px 0px 45px;
}

.mfaSelection {
	padding: 10px 0px 10px 0px;
	overflow-wrap: break-word;
}

.mfaSelection:hover {
	background: #E8E3E2;
	cursor: pointer;
}

.emailImage {
	padding: 8px 0px 8px 0px;
}

.smsImage {
	padding-left: 4px;
}

.pointerImage {
	padding: 10px 0px 10px 0px;
}

#otpCode {
	height: 45px;
	margin-top: 10px;
	margin-bottom: 5px;
}

#verifyButton {
	height: 45px;
}

#kc-select-mfa-login-form {
	padding: 0px 45px 0px 45px;
}

.icon {
	height: 28px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.col-xxs-app,
.col-xs-app,
.col-sm-app,
.col-md-app,
.col-lg-app {
	position: relative;
	height: 80px;
	text-align: center;
	margin-top: 15px;
}

.col-xxs-app {
	width: 50%;
	float: left;
}

@media (min-width: 318px) {
	.col-xs-app {
		width: 33.3%;
		float: left;
	}
}

@media (min-width: 376px) {
	.col-sm-app {
		width: 25%;
		float: left;
	}
}

@media (min-width: 540px) {
	.col-md-app {
		width: 20%;
		float: left;
	}
}

@media (min-width: 1200px) {
	.col-lg-app {
		width: 20%;
		float: left;
	}
}