@font-face {
    font-family: "bh-iconset";
    font-style: normal;
    font-display: swap;
    src: url("../../Fonts/frontend-iconset.woff2") format("woff2");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../../Fonts/open-sans/open-sans-v27-latin-300.woff2")
        format("woff2");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../../Fonts/open-sans/open-sans-v27-latin-regular.woff2")
        format("woff2");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../../Fonts/open-sans/open-sans-v27-latin-600.woff2")
        format("woff2");
}

body {
    font-family: "Open Sans" !important;
    font-feature-settings: "ss03" on;
}

/* Icon-Font Base */
.typo3-login .btn-login::after,
.card-mfa h2::before,
.typo3-login .card-footer .typo3-login-copyright-link::before,
.t3js-login-error .alert-danger::after {
    font-family: "bh-iconset" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    letter-spacing: 0;
    speak: never;
    font-feature-settings: "liga";
    font-variant-ligatures: discretionary-ligatures;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.typo3-login {
    background: none !important;
    z-index: 2;
}

.bhb-login-background {
    background-size: cover !important;
    position: fixed;
    inset: 0;
    filter: blur(10px);
}

.typo3-login .typo3-login-wrap {
    max-width: 580px;
}

.typo3-login .card-login {
    width: 580px;
    border: none;
    margin: 0 auto;
    background: rgba(48, 48, 48, 0.8);
    position: relative;
    border-radius: 15px;
    box-shadow: 0 20px 200px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.typo3-login .card-login .card-body {
    border: none;
    padding: 0;
}

.typo3-login-logo {
    background: url("../Editing/img/bakehouselogin.svg") center no-repeat;
    margin-bottom: 26px;
    height: 25px;
}

.typo3-login-logo svg {
    display: none !important;
}

/* Form */
.typo3-login-form,
.form-group {
    max-width: 338px;
    margin: 0 auto;
}

.typo3-login-form {
    max-width: 260px;
    padding: 0 0 35px;
}

.typo3-login .form-control-wrap,
.typo3-login .form-control-holder {
    margin: 0;
}

.typo3-login .form-label {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    text-align: left;
}

.form-group.t3js-login-username-section .form-label {
    margin-top: 20px;
}

.form-group.t3js-login-password-section .form-label {
    margin-top: 15px;
}

.typo3-login .input-login {
    height: 48px;
    border: 0;
    padding: 0 16px;
    line-height: 48px;
    font-size: 18px;
    font-weight: 100;
    color: #707070;
    background: white;
    border-radius: 3px;
    box-shadow: 0.5px 0 2px 0 rgba(0, 0, 0, 0.5);
}

.typo3-login .form-group input {
    box-shadow: none !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 3px;
}

.form-group.t3js-login-password-section {
    margin-bottom: 15px;
}

/* Password Toggle */
.t3js-login-password-section .input-group {
    position: relative;
}

.t3js-login-password-section .btn.t3js-login-toggle-password {
    position: absolute;
    right: 0;
    top: 0;
    height: 48px;
    background: transparent;
    border: 0;
    padding: 0 12px;
    color: #707070;
    cursor: pointer;
    display: flex;
    align-items: center;
    z-index: 10;
}

.t3js-login-password-section .btn.t3js-login-toggle-password:hover {
    color: #333;
}

/* Submit Button */
#t3-login-submit-section {
    margin-bottom: 0;
}

.typo3-login .btn-login {
    margin-top: 10px;
    box-shadow: 0.5px 0 2px 0 rgba(0, 0, 0, 0.5);
    text-transform: none;
    background-color: #bef64e !important;
    color: #262525 !important;
    appearance: none;
    outline: 0 !important;
    border: 0 !important;
    position: relative;
    overflow: hidden;
    padding-right: 0;
    transition: 0.3s ease all;
    font-size: 17px;
    font-weight: 400;
    line-height: 23px;
    text-align: left;
    border-radius: 4px;
}

.typo3-login .btn-login:hover {
    padding-right: 40px;
}

.typo3-login .btn-login::after {
    content: "\e902";
    display: flex;
    position: absolute;
    right: -40px;
    top: 0;
    bottom: 0;
    width: 40px;
    transition: 0.3s ease all;
    justify-content: center;
    align-items: center;
}

.typo3-login .btn-login:hover::after {
    right: 0;
}

/* MFA */
.card-mfa h2 {
    color: white;
    display: inline-block;
    padding-bottom: 10px;
    text-align: center;
    width: 100%;
    font-size: 0;
}

.card-mfa h2::before {
    content: "\e976";
    font-size: 22px;
    color: #bef64e;
    margin-right: 15px;
}

.card-mfa h2::after {
    content: "Zwei-Faktor-Authentifizierung";
    font-size: 20px;
}

.cancel-authentication {
    margin: 15px 0 20px;
    font-size: 15px;
    display: flex;
    justify-content: center;
}

.cancel-authentication a {
    color: white;
    text-align: center;
    font-size: 0;
}

.cancel-authentication a::before {
    content: "zurück";
    font-size: 14px;
}

.cancel-authentication .text-end a {
    color: white;
    text-decoration: none;
}

.cancel-authentication .text-end a:hover {
    text-decoration: underline;
}

/* Error Message */
.t3js-login-error .alert-danger {
    position: fixed;
    top: 5px;
    left: 5px;
    right: 5px;
    background: #ffc400;
    border-radius: 5px;
    border: 0 !important;
    color: #002525;
    box-shadow: none !important;
}

.t3js-login-error .alert-danger .alert-title,
.t3js-login-error .alert-danger .alert-message {
    display: none;
}

.t3js-login-error .alert-danger::before {
    content: "Anmeldeversuch fehlgeschlagen. Passwort und/oder Benutzer:innenname unbekannt.";
    text-align: center;
    padding: 0 40px;
    font-size: 14px;
    display: block;
}

.t3js-login-error .alert-danger::after {
    content: "\e9bc";
    font-size: 22px;
    display: flex;
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 40px;
    justify-content: center;
    align-items: center;
}

/* Footer / Copyright */
.typo3-login .typo3-login-links {
    margin: 0;
}

iframe.bhb-login-news {
    display: block;
    border-radius: 0 0 20px 20px;
}

.typo3-login .card-footer {
    display: block;
    position: fixed;
    right: 5px;
    bottom: 5px;
    border: 0 !important;
}

html .card-login .card-footer {
    padding: 5px;
    background: none;
}

.typo3-login .card-footer .typo3-login-copyright-link {
    background: none;
    border: none;
    cursor: pointer;
}

.typo3-login .card-footer .typo3-login-copyright-link span {
    font-size: 0;
}

.typo3-login-copyright-link > img,
.typo3-login-copyright-link > svg {
    display: none;
}

.typo3-login .card-footer .typo3-login-copyright-link::before {
    content: "\e9c1";
    font-size: 24px;
    display: flex;
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 24px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease all;
}

#loginCopyright {
    background: white;
    right: 5px;
    bottom: 30px;
    width: 280px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 20px 200px rgba(0, 0, 0, 0.6);
}

#loginCopyright::before {
    content: "";
    background: url("/_assets/081fa96a07de1dccb64a8a83e1567439/Images/typo3_logo_orange.svg")
        center/contain no-repeat;
    width: 35px;
    height: 35px;
    display: block;
}

#loginCopyright a {
    font-size: 10px;
}

.typo3-login-copyright-text {
    color: #333;
}

.typo3-login-copyright-text .list-unstyled {
    margin: 0;
    padding: 0;
}

.typo3-login-copyright-text a {
    color: #333;
    font-size: 12px;
}
