/*
primary: #006BA6
grey: #607d8b
*/


/* latin-ext */
@font-face {
	font-family: 'Muli';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(../fonts/muli_latin_ext.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
	font-family: 'Muli';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(../fonts/muli_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
	font-family: 'Muli';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/muli_latin_ext.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
	font-family: 'Muli';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/muli_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
	font-family: 'Muli';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/muli_latin_ext.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
	font-family: 'Muli';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/muli_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
	font-family: 'Muli';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/muli_latin_ext.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
	font-family: 'Muli';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/muli_latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

#kc-header {
	white-space: unset;
}

#kc-content {
	padding: 50px 40px 30px 40px;
}

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

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	padding-inline: 26px;
}


.header-container {
	max-width: 800px;
	margin-inline: auto;

	text-transform: none;

	color: rgb(96, 125, 139);

	.header-title {
		font-size: 40px;
	}

}

.login-pf-page .login-pf-page-header p {
	font-size: 16px;
	line-height: 1.5;
	color: rgb(96, 125, 139)

}

#kc-header-wrapper {
	letter-spacing: normal;
}

@media (max-width: 767px) {
	#kc-header-wrapper{
		font-weight: 500;
		padding: 62px 10px 20px;
	}
}

.login-pf {
	background-image: none;
	background: #eceff1;
	height: auto;
}

.login-pf body {
	background: transparent;
	font-family: 'Muli', Helvetica, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.login-pf-page .login-pf-header {
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0px;
	padding: 10px 40px;
	background-color: #006BA6;
	color: #fff;
}

.login-pf-page .login-pf-header h1 {
	text-align: left;
}

.login-pf-page .login-pf-page-header {
	text-align: left;
}

.footer {
	margin: 0 50px;
	padding-top: 2em;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.footer-text {
	text-align: center;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 400;
	color: #6c757d;
}

.footer-text .footer-text-academy {
	margin-bottom: 0px;
}

.background {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: -1;
	overflow: hidden;
}

.bg-logo {
	position: absolute;
	right: -30px;
	bottom: -220px;
	width: 870px;
	fill: #B3D3E4;
}


.logo-dfp {
	fill: #fff;
}

.logo-dfp svg {
	max-width: 50px;
	width: 100%;
}

.logo-akademie svg {
	max-width: 150px;
	width: 100%;
}

.login-pf-page .login-pf-header .h4 {
	font-size: 1.5em;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}

@keyframes fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.card-pf {
	border-radius: 2px;
	border-top: 0;
	box-shadow: 0 0.125rem 0.3125rem 0 rgba(0, 0, 0, 0.16), 0 0.125rem 0.625rem 0 rgba(0, 0, 0, 0.12);

}

.card-pf,
.footer {
	animation-name: fade-in;
	animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
	animation-duration: 1s;
}

.login-btn-row {
	display: flex;
	flex-direction: row-reverse;
}

.control-label {
	color: #78919c;
	font-size: 1em;
	font-weight: 600;
}

.form-control {
	border-radius: 2px;
}

.password-reveal-field {
	position: relative;
}

.form-control:hover {
	border-color: #006BA6;
}

.login-pf .card-pf {
	padding: 0 0 0 0;
	max-width: 500px;
	margin: 0 auto;
}

.login-pf .card-pf.login-card {
	min-width: 500px;
	max-width: 800px;
}

.btn {
	border-radius: 2px;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	padding: .75em 1.5em;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	box-shadow: none;
}

/* !important is needed to overwrite patternfly styling*/
.btn:disabled {
	background-color: #80b5d3 !important;
	border-color: #80b5d3 !important;
	color: #FFFFFF !important;
}

.btn-primary,
.login-pf-page a.btn-primary {
	background-image: none;
	background-color: #006BA6;
	border-color: #006ba6;
	color: #fff;
}

.btn-primary:hover,
.login-pf-page a.btn-primary:hover {
	color: #fff;
	background-color: #005280;
	border-color: #004a73;
}

.btn-default {
	background-image: none;
	color: #fff;
    background-color: #607d8b;
    border-color: #607d8b;

	&:hover {
		background-image: none;
		color: #fff;
    	background-color: #506974;
    	border-color: #4b626d;
	}

	&:active, &:focus, &:active:hover {
		box-shadow: inset 0 3px 5px #00000020;
		background-image: none;
		color: #fff;
		background-color: #607d8b;
		border-color: #607d8b;
	}
}

.form-options-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

#kc-form-buttons {
	margin-top: 30px;
	/* display: flex;
	justify-content: flex-end;
	column-gap: 1em; */
}

#kc-info-wrapper {
	padding: 0;
	background-color: inherit;
}

.password-reveal {
	color: rgb(96, 125, 139);
	background-color: white;
	font-size: 1.5em !important;
	position: absolute;
	right: 0.5em;
	top: 0.25em;
	opacity: 70%;
	cursor: pointer;

	&:hover {
		opacity: 100%;
	}
}

.password-reveal::before {
	content: url("../img/eye.svg");
}

.eye-slash::before {
	content: url("../img/eye-slash.svg");
}


.btn-row {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	column-gap: 1em;

	&.update-pw-row {
		flex-direction: row-reverse;
		justify-content: flex-start;
	}
}


/* START Styling for ÄK SSO */
#kc-social-providers {
	margin-top: 10px;
}

#kc-social-providers>h2 {
	margin-top: 0;
	color: #607D8B;
}

#kc-social-providers>svg {
	margin-block: 1rem 3rem;
	margin-inline: auto;
	width: 100%;
}

.sso-col {
	border-left: 1px solid;
}

/* END Styling for ÄK SSO */

@media (max-width: 767px) {
	.bg-logo {
		right: -70px;
		bottom: -110px;
		width: 500px;
	}
}

/* Smartphones */
@media (max-width: 575px) {
	#kc-header {
		padding-right: 0;
		padding-left: 0;
	}

	#kc-header-wrapper {
		padding-top: 0;
	}

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

	.login-pf-page {
		padding-top: 0;
	}

	.logo-akademie svg {
		max-width: 120px;
	}

	.footer-text {
		font-size: 12px;
	}

	.background {
		display: none;
	}
}

@media (max-width: 1199px) {
	.sso-col {
		border-style: none;
	}

	#kc-social-providers {
		margin-top: 4rem;
		padding-top: 4rem;
		border-top: 1px solid;
	}
}
