@font-face {
    font-family: 'soehne';
    src: url('/static/fonts/Soehne-Buch-9420a2afcff7db5d20c840d4acc14dda.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'soehne-breit';
    src: url('/static/fonts/SoehneBreit-Dreiviertelfett-e907e4464021de2f68e465a728a9509e.otf') format('opentype');
}

@font-face {
    font-family: 'soehne-halb';
    src: url('/static/fonts/Soehne-Halbfett-da8292b3455b47ccf732c829d47a7d0d.otf') format('opentype');
}


body {
    font-family: 'soehne', Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    overflow-y: scroll;
    color: #000;
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    background-image: url('/static/images/sp-bg-diamonds-4faee97d542bb75dfdf500d0b7013d58.svg');
    background-color: #DCF86E;
    background-position: calc(50% + 325px) calc(50% + 60px);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.login-box {
    width: 650px;
    background: #FFFFFF;
    margin: auto;
    border-radius: 24px;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.30);
    padding: 26px 30px;
    transform: translateY(-60px);
}

.error-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 25px;
    border-radius: 16px;
    border: 1px solid #F5C6CC;
    background: #F8D7DA;
}

.error-box .error-content {
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.error-img {
    margin-top: -5px;
}

.error {
    font-size: 16px;
    font-style: normal;
    font-family: 'soehne-halb', Arial, sans-serif;
    font-weight: 500;
    line-height: 130%;
}

.error .error-sub-text {
    font-family: 'soehne', Arial, sans-serif;
    font-weight: 400;
    display: inline-block;
    margin-top: 8px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0 20px 20px;
}

.header_portal {
    display: block;
    font-family: 'soehne-breit', Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0.48px;
    margin-right: 30px;

}

.headline-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.headline-main {
    font-family: 'soehne-breit', Arial, sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    margin: 0;
    letter-spacing: 0.56px;
}

.sp-btn {
    border-radius: 100px;
    background-color: #000;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-family: 'soehne-halb', Arial, sans-serif;
    font-weight: 500;
    line-height: 130%;
    padding: 10px 24px;
    cursor: pointer;
    border: none;
    /*box-shadow: rgba(0, 0, 0, 0.2) 0 3px 1px -2px, rgba(0, 0, 0, 0.14) 0 2px 2px 0, rgba(0, 0, 0, 0.12) 0 1px 5px 0;*/
}

.sp-btn:focus,
.sp-btn:hover {
    background: #757575;
    box-shadow: rgba(0, 0, 0, 0.2) 0 2px 4px -1px, rgba(0, 0, 0, 0.14) 0 4px 5px 0, rgba(0, 0, 0, 0.12) 0 1px 10px 0;
}

.text-field-container {
    position: relative;
    width: 100%;
    height: 56px;
    margin: 20px 0;
}

.text-field {
    position: relative;
    width: 100%;
    padding: 16px 12px;
    border: 1px solid #757575;
    border-radius: 4px;
    font-size: 16px;
    background-color: transparent;
    color: #757575;
    outline: none;
    transition: border-color 0.2s ease;
}

.text-field:focus {
    border: 3px solid #333
}

.text-field-label {
    position: absolute;
    left: 12px;
    top: 16px;
    color: #000;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s ease;
    background-color: white;
    padding: 0 4px;
}

/* Label wandert nach oben beim Fokussieren oder wenn Text vorhanden */
.text-field:focus ~ .text-field-label,
.text-field:not(:placeholder-shown) ~ .text-field-label,
.text-field:-webkit-autofill ~ .text-field-label {
    top: -7px;
    font-size: 12px;
    color: #757575;
    padding: 0 5px;
}

.text-field,
.text-field-container,
.login-box,
* {
    box-sizing: border-box;
}

.sp-label {
    margin: 5px 0 0 -12px !important;
}

.login-box .contentLink {
    color: #000;
}

.sp-link {
    color: #000 !important;
    font-size: 16px;
    font-style: normal;
    font-family: 'soehne-halb', Arial, sans-serif;
    font-weight: 500;
    line-height: 130%;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 100px;
}

.sp-link:hover {
    background: #F5FDD3;
}

.sp-link-footer {
    color: #FFF !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    cursor: pointer;
    text-decoration: underline;
}

.sp-link-footer:hover {
    text-decoration: none;
}

.button-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.link-area {
    display: flex;
    justify-content: start;
    align-items: center;
}

.no-uppercase {
    text-transform: unset !important;
}

.footer {
    width: 100%;
    background-color: #000;
    color: #FFF;
    padding: 32px
}

.footer-link-area {
    display: flex;
    justify-content: space-between;
}

.footer-support {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-text {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    color: #C7C9C7;
}

.footer-text-bold {
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-divider {
    border-color: #757575;
    margin: 16px 0;
}

.footer-copyright {
    display: flex;
    justify-content: flex-start;
}

.sp-button-link-center {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8px;
}

input:-webkit-autofill,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
    -webkit-box-shadow: inset 0 0 0 1000px #fff !important;
}

.content-link {
    mask-image: url("/static/icons/arrow-right-fee0ef47d9a57e582d538fd97e8fe39c.svg");
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #000;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    padding-left: 0;
    margin-left: -5px;
}

.sp-button-text {
    white-space: nowrap
}

.content-link-btn {
    border: 1px solid black;
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #fff;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    padding-left: 0;
    margin-left: -5px;
}

.mfa-paragraph {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.mfa-button-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 10px 0;
}

.mfa-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.mfa-checkbox-area {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.sp-label-checkbox {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    color: #333333;
    flex-wrap: nowrap;
    position: relative;
}

.sp-checkbox {
    width: 20px;
    height: 20px;
}

input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 20px;
    height: 20px;
    border: 2px solid #000000;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    flex-shrink: 0;
    min-width: 20px;
    min-height: 20px;
    position: relative;
    transition: all 0.2s ease;
}

input[type="checkbox"]::before {
    content: "";
    width: 0.75em;
    height: 0.75em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #FFFFFF;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:checked {
    background-color: #000000;
}

/*[type="checkbox"]+span:not(.lever) {
    line-height: 20px !important;
}

[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {
    border: 2px solid #000000 !important;
}

[type="checkbox"].filled-in:checked+span:not(.lever):after {
    background: #000000 !important;
    border: 2px solid #000000 !important;
}*/

.mfa-checkbox-area {
    margin-bottom: 20px;
}

@media screen and (max-width: 800px) {
    .sp-link-footer {
        margin-bottom: 20px;
    }

    .footer-link-area {
        flex-direction: column;
    }

    .footer-support {
        margin-bottom: 30px;
    }

    .footer-links {
        flex-direction: column;
        justify-content: center;
        align-items: start;
        width: 100%;
        min-width: 1px;
    }

    .footer-copyright {
        justify-content: start;
    }

    .login-box {
        transform: none !important;
    }
}

@media screen and (max-width: 650px) {

    .header img {
        width: 120px;
    }

    .login-container {
        width: 100%;
    }

    .login-box {
        margin: 20px 10px;
        width: 95%;
        transform: none !important;
       /* padding: 16px 20px;*/
       /* padding: 16px 20px;*/
    }

    .headline-box {
        align-items: flex-start;
    }

    .text-field-container {
        margin-top: 30px;
    }

    .button-area {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .link-area {
        margin-top: 10px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        align-self: flex-start;
    }

    .sp-link {
        margin: 8px 0;
    }

    .mfa-button-line {
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .mfa-buttons {
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
    }

    .error-box {
        padding: 8px 16px;
        border-radius: 16px;
        border: 1px solid #F5C6CC;
        background: #F8D7DA;
    }
}

@media screen and (max-width: 300px) {
    .error-box {
        flex-direction: column;
    }

}
