html,
body {
	height: 100%;
}

body {
	font-family: "Gotham", sans-serif;
	color: var(--black);
}

.login-pf {
	background: var(--background);
}

.login-pf body {
	background: var(--background);
	color: var(--black);
	overflow: hidden;
}

.login-pf-page {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--background);
}

.alert-error {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	text-align: center;
	padding: 10px 0;
	color: var(--white);
	background: var(--error);
	border-color: var(--error);
}

.alert-warning {
	border-color: 0;
	padding: 10px 0;
	text-align: center;
	color: var(--white);
	background: var(--warning);
	border-color: var(--warning);
}

.radio,
.checkbox {
	position: relative;
	display: block;
}

.radio label,
.checkbox label {
	min-height: 20px;
	padding-left: 24px;
	margin-bottom: 0;
	cursor: pointer;
	position: relative;
	display: block;
	font-weight: 300;
}

.form-group {
	margin-bottom: 9px;
}

.interaction {
	display: flex;
	justify-content: space-between !important;
	margin-bottom: 8px !important;
	margin-top: 17px !important;
}

.buttons {
	display: flex;
	justify-content: flex-end;
	margin: 17px 0;
	align-items: center;
}

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

label {
	font-weight: 300;
	margin-bottom: 0;
}

#kc-locale ul {
	display: none;
	position: absolute;
	background-color: var(--white);
	list-style: none;
	right: 0;
	top: 20px;
	min-width: 100px;
	padding: 2px 0;
	border: solid 1px #bbb;
}

#kc-locale:hover ul {
	display: block;
	margin: 0;
}

#kc-username {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	margin-top: 20px;
	margin-bottom: 10px;
	justify-content: center;
}

#reset-login {
	text-decoration: none;
	color: var(--black);
	font-size: 18px;
	position: absolute;
	left: 10px;
}

#reset-login:hover .kc-tooltip-text {
	display: block;
	transform: rotate(-90deg);
	font-size: 10px;
	background-color: var(--limedSpruce);
	padding: 4px 6px;
	border-radius: 4px;
	color: var(--white);
	position: absolute;
	top: 0;
	right: 0;
	width: 80px;
}

.kc-tooltip-text::before {
	content: '';
	position: absolute;
	top: 24px;
	left: 30px;
	border-left: 8px solid transparent;
	border-top: 8px solid var(--limedSpruce);
	border-right: 8px solid transparent;
}

.kc-login-tooltip {
	transform: rotate(90deg);
	position: relative;
}

.icon-back::before {
	content: "\e764";
}

.icon-key::before {
	content: "\e006";
}

.icon-smart-phone::before {
	content: "\e008";
}

.icon-bubble::before {
	content: "\e009";
}

.kc-tooltip-text {
	display: none;
}

#kc-locale ul li a {
	display: block;
	padding: 5px 14px;
	color: var(--black) !important;
	text-decoration: none;
	line-height: 20px;
}

#kc-locale ul li a:hover {
	color: var(--abbey);
	background-color: #d4edfa;
}

#kc-locale-dropdown a {
	color: var(--abbey);
	background: 0 0;
	padding: 0 15px 0 0;
	font-weight: 300;
}

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

#input-error {
	color: var(--primary);
}

a#kc-current-locale-link {
	display: block;
	padding: 0 5px;
	text-decoration: none;
}

a#kc-current-locale-link::after {
	content: "\2c5";
	margin-left: 4px;
}

.login-pf .container {
	padding-top: 40px;
}

#kc-logo {
	width: 100%;
}

#kc-logo-wrapper {
	background-image: url(../img/keycloak-logo-2.png);
	background-repeat: no-repeat;
	height: 63px;
	width: 300px;
	margin: 62px auto 0;
}

div.kc-logo-text {
	background-image: url(../img/keycloak-logo-text.png);
	background-repeat: no-repeat;
	height: 63px;
	width: 300px;
	margin: 0 auto;
}

div.kc-logo-text span {
	display: none;
}

#kc-header {
	color: #ededed;
	overflow: visible;
	white-space: nowrap;
}

#kc-header-wrapper {
	font-size: 29px;
	text-transform: uppercase;
	letter-spacing: 3px;
	line-height: 1.2em;
	padding: 62px 10px 20px;
	white-space: normal;
}

#kc-content {
	width: 100%;
	margin: 10px 0;
	padding: 0 10px;
}

#kc-info {
	padding-bottom: 200px;
	margin-bottom: -200px;
}

#kc-info-wrapper {
	text-align: center;
	color: var(--black);
	font-size: 14px;
}

.kc-info-message {
	text-align: center;
}

#kc-form-options span {
	display: block;
	margin-top: 20px;
}

#kc-form-options a {
	display: inline-block;
	margin-top: 0;
	background-color: transparent;
	color: var(--black);
	background-image: none;
	border-radius: 5px;
	border: 1px solid var(--black);
	text-decoration: none;
	width: 100%;
	padding: 6px 10px;
	font-size: 14px;
	line-height: 1.3;
	text-align: center;
}

#kc-form-options .checkbox {
	margin-top: 0;
	color: var(--black);
}

#kc-terms-text {
	margin-bottom: 20px;
}

#kc-registration {
	margin-bottom: 15px;
}

/* TOTP */

ol#kc-totp-settings {
	margin: 0;
	padding: 0;
}

ol#kc-totp-settings p a {
	display: block;
	text-align: center;
	margin-top: 5px;
}

ol#kc-totp-settings li br {
	display: none;
}

ul#kc-totp-supported-apps {
	margin-bottom: 5px;
}

#kc-totp-secret-qr-code {
	max-width: 120px;
	max-height: 120px;
	display: flex;
	margin: 0 auto;
}

#kc-totp-secret-key {
	background-color: var(--white);
	color: #333333;
	font-size: 16px;
	padding: 10px 0;
}

/* OAuth */

#kc-oauth h3 {
	margin-top: 0;
}

#kc-oauth ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#kc-oauth ul li {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
	border-top: 0;
}

#kc-oauth .kc-role {
	display: inline-block;
	width: 50%;
}

/* Code */
#kc-code textarea {
	width: 100%;
	height: 8em;
}

/* Social */

#kc-social-providers ul {
	padding: 0;
}

#kc-social-providers li {
	display: block;
}

#kc-social-providers li:first-of-type {
	margin-top: 0;
}

#kc-attempted-username {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.1;
	max-width: 180px;
	word-wrap: break-word;
}

#form-help-text-after-trusted-device {
	text-align: center;
	margin-top: 20px;
}

#kcLabelWrapperClass {
	text-align: center;
}

.link a:focus {
	outline: none;
}

@media (min-width: 768px) {
	#kc-container-wrapper {
		position: absolute;
		width: 100%;
	}

	.login-pf .container {
		padding-right: 80px;
	}

	#kc-locale {
		display: none;
		position: absolute;
		text-align: right;
		z-index: 9999;
		top: -8px;
		right: 0;
	}
}

@media (max-width: 767px) {

	#kc-header {
		padding-left: 15px;
		padding-right: 15px;
		float: none;
		text-align: left;
	}

	#kc-header-wrapper {
		font-size: 16px;
		font-weight: bold;
		padding: 20px 60px 0 0;
		color: var(--rollingStone);
		letter-spacing: 0;
	}

	div.kc-logo-text {
		margin: 0;
		width: 150px;
		height: 32px;
		background-size: 100%;
	}

	#kc-form {
		float: none;
	}

	#kc-info-wrapper {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		margin-top: 15px;
		padding-top: 15px;
		padding-left: 0px;
		padding-right: 15px;
	}

	#kc-social-providers li {
		display: block;
		margin-right: 5px;
	}

	.login-pf .container {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	#kc-locale {
		display: none;
		position: absolute;
		width: 200px;
		top: 20px;
		right: 20px;
		text-align: right;
		z-index: 9999;
	}

	#kc-logo-wrapper {
		background-size: 100px 21px;
		height: 21px;
		width: 100px;
		margin: 20px 0 0 20px;
	}

}

@media (min-height: 646px) {
	#kc-container-wrapper {
		bottom: 12%;
	}
}

@media (max-height: 645px) {
	#kc-container-wrapper {
		padding-top: 50px;
		top: 20%;
	}
}

.card-pf form.form-actions .btn {
	float: right;
	margin-left: 10px;
}

.login-pf-page .login-pf-brand {
	margin-top: 20px;
	max-width: 360px;
	width: 40%;
}

.card-pf {
	margin: auto;
	padding: 20px;
	max-width: 320px;
	background: var(--background);
	z-index: 1;
	border-radius: 12px;
	box-shadow: 0 0 35px 5px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 0 35px 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0 35px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
	.login-pf-page {
		display: flex;
		flex-direction: column;
	}

	.card-pf.login-pf-accounts {
		max-width: none;
	}

	.card-pf {
		margin: 32px auto;
		box-shadow: none;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
	}
}

.login-pf-page .login-pf-signup {
	font-size: 15px;
	color: var(--rollingStone);
}

.login-pf-settings {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

#kc-content-wrapper .row {
	margin-left: 0;
	margin-right: 0;
}

.instruction {
	text-align: center;
	margin-top: 20px;
}

.button {
	width: 100%;
	text-align: center;
	margin-top: 30px;
}

@media (min-width: 768px) {
	.login-pf-page .login-pf-social-section:first-of-type {
		padding-right: 39px;
		border-right: 1px solid #d1d1d1;
		margin-right: -1px;
	}

	.login-pf-page .login-pf-social-section:last-of-type {
		padding-left: 40px;
	}

	.login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
		margin-bottom: 0;
	}
}

.login-pf-page .login-pf-social-link {
	margin-bottom: 25px;
}

.login-pf-page .login-pf-social-link a {
	padding: 2px 0;
}

.login-pf-page.login-pf-page-accounts {
	margin-left: auto;
	margin-right: auto;
}

.login-pf-page .btn-primary {
	background-color: var(--primary);
	border-color: var(--primary);
	background-image: none;
	border-radius: 5px;
}

.login-pf-page .btn-primary:hover {
	background-color: var(--brightRed);
	border-color: var(--brightRed);
}

.btn:focus {
	outline: 0 !important;
}

.btn:focus .btn:active:focus {
	outline: 0 !important;
}

.login-pf-page .login-pf-header {
	display: flex;
	flex-direction: column;
	position: relative
}

.logo {
	width: 92px;
	height: 55px;
	display: block;
	margin: 0 auto;
	background-size: contain;
	background-image: url(../img/ed_logo.svg);
	background-repeat: no-repeat;
	background-position-x: center;
}

#kc-page-title {
	display: block;
	text-align: center;
}

#kc-header-wrapper {
	display: none;
}

a {
	text-decoration: none;
}

a:hover,
a:visited {
	text-decoration: underline;
}

.kc-background-link {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
}

.kc-background-link img {
	width: 1920px;
	height: auto;
	object-fit: cover;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-height: 100%;
}

@media (max-width: 767px) {


	.kc-background-link {
		height: auto;
		position: static;
	}

	.kc-background-link img {
		height: auto;
		width: 100%;
		aspect-ratio: 21 / 9;
		position: relative;
		top: 0;
		left: 0;
		transform: none;
	}
}


@-moz-keyframes check {
	0% {
		width: 0;
		height: 0;
	}

	25% {
		width: 5px;
		height: 0;
	}

	50% {
		width: 5px;
		height: 10px;
	}
}

@-webkit-keyframes check {
	0% {
		width: 0;
		height: 0;
	}

	25% {
		width: 5px;
		height: 0;
	}

	50% {
		width: 5px;
		height: 10px;
	}
}

@keyframes check {
	0% {
		width: 0;
		height: 0;
	}

	25% {
		width: 5px;
		height: 0;
	}

	50% {
		width: 5px;
		height: 10px;
	}
}

#kc-webauthn-settings-form {
	padding-top: 8px;
}

#kc-form-webauthn .select-auth-box-parent {
	pointer-events: none;
}

#kc-form-webauthn .select-auth-box-desc {
	color: var(--pf-global--palette--black-600);
}

#kc-form-webauthn .select-auth-box-headline {
	color: var(--pf-global--Color--300);
}

#kc-form-webauthn .select-auth-box-icon {
	flex: 0 0 3em;
}

#kc-form-webauthn .select-auth-box-icon-properties {
	margin-top: 10px;
	font-size: 1.8em;
}

#kc-form-webauthn .select-auth-box-icon-properties.unknown-transport-class {
	margin-top: 3px;
}

#kc-form-webauthn .pf-l-stack__item {
	margin: -1px 0;
}

.pf-l-split {
	display: flex
}

.select-auth-box-headline {
	font-weight: bold;
	text-align: left;
}

.select-auth-container .select-auth-box-icon {
	padding-right: 1em;
}

.select-auth-box-desc {
	text-align: left;
	line-height: 1.3;
}

.select-auth-box-parent {
	border: none;
	margin-bottom: 1em;
	cursor: pointer;
}

.select-auth-box-parent:hover {
	background-color: rgba(150, 150, 150, 0.1);
}

#kc-form-webauthn .select-auth-box-parent {
	margin-bottom: 1em;
}

#kc-error-message .reset-credentials {
	text-align: center;
    margin-block: 2em;
}