/* No burger, since we disabled JS and hence mobile menu here for security reasons */
.mod-navigation-head .logo a.burger {
	display: none !important;
}

/* Only small scale version of dropdown, since we disabled JS for security reasons */
.mod-navigation-head nav ul li.has-submenu:hover ul {
	display: block;
	opacity: 1;
	animation: fadeInMenuItem ease-in 0.15s;
}
header:has(.mod-navigation-head .has-submenu:hover) + main,
header:has(.mod-navigation-head .has-submenu:hover) + main + footer {
	opacity: 0.3;
	animation: fadeOutPage ease-in 0.15s;
}

.mod-navigation-head nav ul li {
    margin: 0 10px;
}

#main form .bt-module-row .container-fluid {
	max-width: 1170px;
}

.page-login-update-password #main .bt-module-row .container-fluid,
.page-login-update-password #main form .bt-module-row .container-fluid {
	max-width: 685px;
}

.mod-common-global-messages,
.mod-common-global-messages .mod-common-message {
	padding-bottom: 0;
}

.mod-common-global-messages {
	padding-top: 32px;
}

.mod-form-headline {
    margin-top: 32px;
}

.mod-common-headline {
    margin-top: 30px;
}

.mod-form-button {
    margin-bottom: 24px;
}

.mod-form-infotext.advice {
    margin-top: 12px;
    padding: 14px;
    background-color: #eee;
}

.mod-form-infotext.advice p {
    margin-bottom: 0;
}

footer {
	margin-top: 32px;
}

.page-login-update-password footer {
	margin-top: 0;
}



/* Small screen: Line separator at bottom */
.page-login.login-flow .mod-rfs-login-login {
    padding-bottom: 36px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 4px;
}
/* Large: Line separator at right */
@media (min-width: 992px) {
    .page-login.login-flow .mod-rfs-login-login {
        padding-bottom: 0;
        border-bottom: 0;
        margin-bottom: 0;
    	padding-right: 24px;
        border-right: 1px solid #ccc;
    }
}

/* Shift headline paddings to outside due to separator line */
.page-login.login-flow .mod-rfs-login-login,
.page-login.login-flow .mod-rfs-login-no-account,
.page-login.login-flow .mod-rfs-login-update-password {
    margin-top: 32px;
}
.page-login.login-flow .mod-rfs-login-login .mod-form-headline,
.page-login.login-flow .mod-rfs-login-no-account .mod-form-headline,
.page-login.login-flow mod-rfs-login-update-password .mod-form-headline {
    margin-top: 0;
}

/* PW reset for public users: Remove button background for consistent design in flow */
#main .bt-module-row.lg-module-row-no-bg.public-user {
	background-color: inherit;
}
#main .bt-module-row.lg-module-row-no-bg.public-user .mod-form-button-group-justified {
	padding-top: 0px;
	padding-bottom: 55px;
}

/* Authentication method selection */
.page-login-select-authenticator ul.buttons {
	list-style: none;
	padding: 0;
	margin: 24px 0;
}
.page-login-select-authenticator ul.buttons li {
	margin-top: 24px;
	
}

/* Passkey login page */
.page-login-webauthn-authenticate p {
	margin-bottom: 0;
}
.page-login-webauthn-authenticate .btn {
	margin-top: 24px;
}

/* Passkey login error page */
.page-login-webauthn-error .btn {
	margin-top: 24px;
}

/* Passkey pre registration page */
.page-login-webauthn-pre-register {
}

/* Passkey registration page */
.page-login-webauthn-register {
}

/* Reauth-Page for both password change and passkey registration */
.page-login-password {
	
}
.page-login-password .mod-common-global-messages {
	max-width: 570px;
	margin: 0 auto;
}