/* styles.css */

html,
body,
body > div,
body > div > div:last-of-type,
.maximized {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0 none;
	overflow: hidden;
	font-family: "Segoe UI", "Roboto", sans-serif;
	font-size: 1.5vh;
}

body {
	background: rgba(192, 192, 192, .6) url("../img/dark-bg.png") repeat top left;
}

body > div > div:last-of-type {
	display: grid;
	grid: 0 / 100%;
	background: rgba(192, 192, 192, .6) url("../img/dark-bg.png") repeat top left;
}

#kc-header {
	display: none;
}

#kc-content {
	position: relative;
	display: flex;
	width: 54vh;
	min-width: 320px;
	height: 81vh;
	min-height: 480px;
	margin: auto;
	padding: 23vh 0 0 0;
	border-radius: 0;
	overflow: hidden;
	align-self: center;
	justify-self: center;
	box-sizing: border-box;
	color: rgb(33, 37, 41);
	background-color: rgb(255, 255, 255);
	background-image: url("../img/orbit-logo.svg");
	background-repeat: no-repeat;
	background-position: 50% 2.3em;
	background-size: auto 16vh;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px .5vh 0px;
	text-align: left;
}

#kc-content-wrapper,
#kc-form,
#kc-form-wrapper {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0 none;
	box-sizing: border-box;
}

#kc-content-wrapper {
	flex-flow: column;
	justify-content: space-between;
	overflow-y: auto;
}

#kc-content-wrapper .alert-success,
#kc-content-wrapper .alert-warning {
	padding: 1rem 3rem;
	color: #333;
	font-size: 1rem;
	position: absolute;
	top: -5rem
}

#kc-form-login, #kc-reset-password-form, #kc-passwd-update-form {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: /* 40% 0 0 */0;
	border: 0 none;
	flex-flow: column nowrap;
	align-items: stretch;
	justify-content: end;
	box-sizing: border-box;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	color: rgb(33, 37, 41);
	background-color: transparent;
	background-image: none/* url("/resources/mjr4q/login/orbitlog-new/img/orbit-logo.svg");
	background-repeat: no-repeat;
	background-position: 50% 2.3em;
	background-size: auto 20% */;
}

.formGroup {
	display: flex;
	flex-flow: column nowrap;
	align-items: stretch;
	justify-items: stretch;
	padding: 2rem 10%;
}

.formGroup.formSettings,
form > .formGroup:last-of-type {
	padding: 0;
}

input {
	display: block;
	width: 100%;
	height: 5vh;
	margin: 0 0 0.5rem 0;
	padding: 0.3vh;
	background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4));
	border-color: transparent transparent #8c9fb0 transparent;
	border-style: none none solid none;
	border-width: 0 0 1px 0;
	border-radius: 0;
	outline: none;
	overflow: visible;
	font-size: 1.6rem;
	font-family: inherit;
	font-weight: 400;
	line-height: 3vh;
	color: #495057;
	box-shadow: none;
	box-sizing: border-box !important;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

input#password + button,
button[data-password-toggle] {
	position: absolute;
	display: none;
}

div[class=" "] { /* "kc-form-options" container */
	position: relative;
	flex-grow: 1;
}

#kc-form-options {
	position: relative;
	display: grid;
	width: auto;
	height: 100%;
}

.checkbox { /* "Remember me" container */
	width: auto;
	display: flex;
	flex-flow: row nowrap;
	align-self: center;
	justify-self: center;
}

.checkbox > label { /* "Remember me" label */
	font-size: 1.2rem;
	font-weight: 500;
}

label {
	font-weight: 600;
	color: #9a9ea7;
}

input[type="checkbox"] { /* "Remember me" checkbox */
	display: inline-block;
	width: 14px;
	height: 14px;
}

#kc-form-buttons,
.buttonBlock,
.button.buttonBlock {
	position: relative;
	left: 0;
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0 none;
	flex: 0 0 8vh;
	flex-flow: row nowrap;
	align-items: stretch;
	justify-content: stretch;
	margin-top: 4em;
}

.form-actions {
	display: flex;
}

.clearfix {
	display: none;
}

#kc-form-buttons input[type="button"],
#kc-form-buttons input[type="submit"],
#kc-form-buttons input[type="reset"],
#kc-form-buttons button,
.form-actions > input,
.button {
	display: flex;
	width: auto;
	height: 8vh;
	flex-grow: 1;
	flex-basis: auto;
	align-content: center;
	justify-content: center;
	margin: 0;
	border: 0 none;
	font-size: 2rem;
	font-weight: 500;
	text-transform: uppercase;
	color: #fff !important;
	background-color: #0f59a5 !important;
	cursor: pointer;
}
.button:active,
.button:focus,
.button:hover {
	outline: 1px inset #efefef85;
	outline-offset: -2px;
	box-shadow: inset .8rem .5rem 1rem rgba(150, 150, 150, .2), inset -.8rem -.5rem 1rem rgba(200, 200, 200, .2);
	text-shadow: 1px 2px 4px #009688, -1px -2px 4px #607d8b;
}
.button:active,
.button:focus {
	outline: 3px inset #efefefb5;
	outline-offset: -2px;
	box-shadow: inset 1.2rem 1rem 1.5rem rgba(150, 150, 150, .4), inset -1.2rem -1rem 1.5rem rgba(200, 200, 200, .4);
}

#kc-form-buttons::before {
	position: absolute;
	top: -1.5em;
	width: 100%;
	font-size: .9rem;
	text-align: center;
	color: #007bff;
	content: "© by ORBIT LOGISTICS Europe GmbH, Leverkusen";
}

.formButtonsWrapper {
	display: flex;
	flex-flow: row nowrap;
	width: 100%;
}

#kc-info {
	position: absolute;
	top: 3.5vh;
	display: block;
}

#kc-info-wrapper {
	font-size: 1rem;
	padding: .4vh 6vh;
}

.alert-error {
	position: absolute;
	width: auto;
	max-width: 100%;
	padding: 1vh 6vw;
	text-align: left;
}

/* larger password form element in login form to make the forgot password link fit [3.3.2024, MR] */
#kc-form-login > .formGroup:nth-child(2) {
	padding-bottom: 6rem;
}

/* forgot password link below password form element in login form [3.3.2024, MR] */
#kc-form-login .formOptionsWrapper { /* "Forgot password"-link container */
	position: absolute;
	bottom: 15rem;
	right: 10%;
}
#kc-form-login .formOptionsWrapper a { /* "Forgot password"-link */
	font-size: 1rem;
	text-decoration: none;
	color: #007bff;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

/* re-position email form element in reset password form [1.3.2024, MR] */
#kc-reset-password-form > .formGroup:first-child {
	top: -8rem;
	position: relative;
}

/* move "Back to application" container on "Reset login" page below email field [1.3.2024, MR] */
#kc-reset-password-form .formOptions {
	position: absolute;
	height: fit-content;	
	bottom: 17rem;
	right: 3.5rem;
}

#kc-error-message {
	font-size: 1.1rem;
	padding: 3.5rem;
}

/* language switch */

#kc-locale {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 15rem;
	background-color: #fff;
}
#kc-locale:hover .localeList {
	display: block;
}
#kc-locale .localeList {
	display: none;
	margin: 0;
	padding: 0;
}
#kc-locale .localeListItem {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#kc-locale a.localeItem {
	display: block;
	margin: 0;
	padding: .75rem 1rem .75rem 3.5rem;
	font-size: 1rem;
	font-stretch: 100%;
	text-transform: uppercase;
	text-decoration: none;
	color: #333;
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: 1rem center;
	background-size: 2rem auto;
}
#kc-locale a.localeItem:hover {
	color: #fff;
	background-color: #0071b6;
}
#kc-locale a.localeItem[href$="kc_locale=de" i] { background-image: url("../img/flags/de.png"); }
#kc-locale a.localeItem[href$="kc_locale=pt-BR" i] { background-image: url("../img/flags/pt-BR.png"); }
#kc-locale a.localeItem[href$="kc_locale=en" i] { background-image: url("../img/flags/en.png"); }
#kc-locale a.localeItem[href$="kc_locale=es" i] { background-image: url("../img/flags/es.png"); }
#kc-locale a.localeItem[href$="kc_locale=fr" i] { background-image: url("../img/flags/fr.png"); }
#kc-locale a.localeItem[href$="kc_locale=it" i] { background-image: url("../img/flags/it.png"); }
html #kc-current-locale-link {
	padding: .75rem 1rem .75rem 3.5rem;
	border: 0 none;
	font-size: 1rem;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: #333;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 1rem center;
	background-size: 2rem auto;
}
html[lang="de"] #kc-current-locale-link { background-image: url("../img/flags/de.png"); }
html[lang="pt-BR"] #kc-current-locale-link { background-image: url("../img/flags/pt-BR.png"); }
html[lang="en"] #kc-current-locale-link { background-image: url("../img/flags/en.png"); }
html[lang="es"] #kc-current-locale-link { background-image: url("../img/flags/es.png"); }
html[lang="fr"] #kc-current-locale-link { background-image: url("../img/flags/fr.png"); }
html[lang="it"] #kc-current-locale-link { background-image: url("../img/flags/it.png"); }
html[lang="de"] #kc-locale a.localeItem[href$="kc_locale=de" i] { display: none; }
html[lang="pt-BR"] #kc-locale a.localeItem[href$="kc_locale=pt-BR" i] { display: none; }
html[lang="en"] #kc-locale a.localeItem[href$="kc_locale=en" i] { display: none; }
html[lang="es"] #kc-locale a.localeItem[href$="kc_locale=es" i] { display: none; }
html[lang="fr"] #kc-locale a.localeItem[href$="kc_locale=fr" i] { display: none; }
html[lang="it"] #kc-locale a.localeItem[href$="kc_locale=it" i] { display: none; }

/* consent message */

.content-area {
	display: flex;
	flex-flow: column;
	height: 100%;
}
.content-area ul {
	flex-grow: 1;
}
.content-area h3,
.content-area ul {
	margin: 1rem 2rem;
	color: #333;
	font-weight: 600;
}

#kc-page-title {
	display: none;
}

/* "Sign out from other devices" checkbox in "Update password" form */

#kc-passwd-update-form .formOptionsWrapper {
	display: grid;
}

/* Terms and conditions */

#kc-terms-text {
	margin: 1rem 3rem;
	color: #333;
	font-weight: 600;
}

/* TOTP Registration */

#kc-totp-settings {
	margin: 0 2rem;
}

#kc-totp-settings-form > .formGroup {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

#kc-totp-settings-form > .formGroup:last-of-type {
	display: grid;
	justify-content: center;
}

#kc-otp-login-form {
	display: flex;
	flex-flow: column;
  height: 100%;
}

#kc-otp-login-form > .formGroup {
	display: flex;
	flex-grow: 1;
	justify-items: center;
}

#kc-otp-login-form > .formGroup:first-of-type {
	padding-top: 14vh;
}

#saveTOTPBtn {
	margin-top: 1rem;
}

#kc-username {
	flex-flow: row;
	align-items: baseline;
	justify-content: space-between;
	position: absolute;
	top: 37vh;
	left: 29vw;
	z-index: 99;
}

#kc-attempted-username {
	font-size: 1.2rem;
	font-weight: 500;
	margin-left: .2rem;
	margin-right: 2rem;
}

#reset-login, #reset-login .kc-tooltip-text {
	font-size: 1rem;
	font-weight: 400;
	text-decoration: none;
	color: #007bff;
	cursor: pointer;
}

#input-error,
#input-error-password-confirm,
.alert-error {
	font-size: 1.2rem;
	font-weight: 600;
	color: red;
}

/* execute required actions */

#kc-info-message {
	padding: 2rem 10%;
}

#kc-info-message .instruction {
	font-size: 1.1em;
	font-weight: 600;
}

#kc-info-message .instruction b {
	display: list-item;
	list-style-type: disc;
	list-style-position: inside;
	margin: 1rem 1.5rem;
	font-size: 1em;
}

#kc-info-message a {
	display: block;
	padding: 2rem .5rem;
	opacity: .8;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 400;
	color: #007bff;
	cursor: pointer;
	text-align: right;
	transition: all .2s ease-in-out;
}
#kc-info-message a:active,
#kc-info-message a:focus,
#kc-info-message a:hover {
	text-decoration: none;
	text-shadow: 0 1px #007bff;
	opacity: 1;
}

#kc-social-providers {
	display: none;
}
