

* {
    margin: 0;
    padding: 0;
}

:root {
    --sp-blue-light: #eaf2fa;
    --sp-blue: #1462ae;
    --sp-blue-2: #333b78;
    --sp-blue-3: #0f4880;
    --sp-sidebar-width: 215px;
    --default-border: 1px solid #ddd;
}

html {
    font-family: Arial, Verdana, sans-serif;
    font-size: 14px;
    color: black;
}

body {
    font-family: Arial, Verdana, sans-serif;
}

h1, legend {
    color: var(--sp-blue);
    font-size: 2rem;
    margin-bottom: 12px;
}

h2 {
    color: var(--sp-blue);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

h3 {
    color: var(--sp-blue-2);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

h4 {
    font-size: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #333b78;
}

a:hover {
    color: var(--sp-blue);
    text-decoration: underline;
}

.content a {
    text-decoration: underline
}

p, ul {
    line-height: 1.2;
    margin: 0 0 14px;
}

p:last-child, ul:last-child {
    margin: 0;
}

.flex {
    display: flex;
}

.abstand {
    font-size: 1.2em;
    padding: 1em;
}

fieldset {
    border-style: hidden;
}

.nav {
    border: var(--default-border);
    border-radius: 4px;
}

.nav-item a:hover {
    text-decoration: underline;
}

.active {
    background-color: var(--sp-blue);
}

.active a, .active a:hover {
    color: var(--sp-blue-light);
}

/*##################################
        Style Starts Here
##################################*/
/*General*/
body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: baseline;
}


.container {
    flex-grow: 1;
}

ul {
    list-style-type: none;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form textarea {
    border-radius: 5px;
    border-style: none;
    box-shadow: inset 0 0 5px hsl(0, 0%, 70%);
    font-size: 1em;
    vertical-align: middle;
    box-sizing: border-box;
    margin: 0 0 1em;
    width: 100%;
    padding: 6px 12px;
}

form input[type="text"]:focus-visible,
form input[type="password"]:focus-visible,
form input[type="email"]:focus-visible,
form textarea:focus-visible {
    outline: none;
}

form button {
    box-shadow: 0 0 3px #969595;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    touch-action: manipulation;
    border-style: hidden;
    padding: 8px 12px;
    font-size: 1em;
    border-radius: 5px;
}

form button:hover, form button:focus {
    text-decoration: none;
}

form button:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.errorbox {
    border-radius: 5px;
    background-color: #f6343466;
    box-shadow: 0 0 9px 1px #919191;
    display: block;
    margin: 0 15px 15px;
    padding: 2em;
}

.errorbox li {
    line-height: 1.3
}

.content div .errorbox, .content form .errorbox {
    margin-left: 0;
    margin-right: 0;
    padding: 1em;
}

/*Header*/
header {
    background-color: #33337e;
    background-image: url(/idp/images/bg-wave.svg), linear-gradient(#1462ae, #1462ae), linear-gradient(to top, #eaf2fa 0, #eaf2fa 5px, #eaf2fa 75px, #fff 100%);
    background-repeat: no-repeat;
    background-size: auto 55px, 100% 50px, auto;
    background-position: 40% -3px, 0 0, 0 50px;
    width: 100%;
}

header form button {
    background-color: transparent;
    box-shadow: none;
    color: #fff;
    height: 25px;
    min-width: 30px;
    padding: 2px 5px;
    margin-left: 0;
    position: relative;
    top: 3px;
    z-index: 1;
}

header form button svg {
    width: 1em;
}

header .banner-content {
    padding: 8px 0 0;
}

header .banner-content h1 {
    color: #fff;
}

header .banner-content .logo {
    margin-left: 15px;
    margin-right: 64px;
    width: 150px;
}

/*Kontakt*/
.content .kontakt {
    padding: 2em;
    background-color: var(--sp-blue-light);
    border-radius: 5px;
    box-shadow: 0 0 9px 1px #919191;
}

.content .kontakt label {
    display: block;
}

.content .kontakt input[type="text"],
.content .kontakt input[type="passwort"],
.content .kontakt textarea {
    width: 100%;
}

/*Login*/
.content .login {
    padding: 1.5em;
    font-size: 1em;
    background-color: var(--sp-blue-light);
    border-radius: 5px;
    box-shadow: 0 0 9px 1px #919191;
    display: block;
}

.content .login label {
    display: block;
}

.content .login h1 {
    text-align: center;
}

.content .login h2 {
    text-align: center;
}

.content .login .loginform .buttons {
    justify-content: space-between;
}

.content .login .seperator {
    border-top: 2px solid var(--sp-blue-2);
    margin: 1em 0;
    padding: 12px 0 0;
}

.content .login .infotext {
    overflow-y: hidden;
    transition: max-height 500ms ease-in, max-width 500ms ease-in;
    max-width: 38ch;
    max-height: 0;
    margin-top: 2em;
}

.content .login .infotext.extend {
    max-height: 1000px;
    max-width: 80ch;
}

.content .login .icon.arrow_icon {
    width: 1em;
    height: 1em;
    color: var(--sp-blue-2);
    vertical-align: middle;
}

/*Footer*/
footer {
    padding: 2em 20px;
    width: 100%;
    box-shadow: inset 0 5px 5px -5px #c3c3c3;
    background-color: #f6f6f6;
}

footer h4 {
    margin-bottom: 10px;
    color: var(--sp-blue);
}

footer > div.container {
    margin: 0 auto;
    width: 100%;
}

footer .flex {
    display: block;
}

footer > div > div {
    margin-bottom: 5ch;
}

footer li {
    padding: 5px 0
}

footer .herausgeber ul:not(:first-of-type) {
    margin-top: 1em;
}

footer .herausgeber img {
    align-self: flex-start;
    margin-left: 1ch;
    margin-right: 2ch;
}

/*##################################
        Media Querys
##################################*/

@media (min-width: 576px) {
    body .container {
        max-width: none;
    }

    .content {
        margin: 0;
    }
}

@media (min-width: 700px) {
    header {
        background-position: 48% -3px, 0 0, 0 50px;
    }
}

@media screen and (min-width: 768px) {
    .content {
        margin-left: calc(var(--sp-sidebar-width) + 3%);
        display: flex;
        flex-direction: column;
    }

    .left-bar {
        flex-direction: column;
    }

    .left-bar, .sidebar {
        border-radius: 0;
        float: left;
        padding-right: 0;
        width: var(--sp-sidebar-width);
    }
}

@media (min-width: 960px) {
    header {
        background-position: 54% -3px, 0 0, 0 50px;
    }

    footer > div > div {
        margin-bottom: auto;
        margin-right: 5ch;
    }

    footer .flex {
        display: flex
    }
}

@media screen and (min-width: 1200px) {
    header {
        background-position: 60% -3px, 0 0, 0 50px;
    }

    .content .kontakt, .content .login, .content .initial-pw, .content .expired-pw, .content .warning-box {
        margin: 0 10em 0 0;
    }
}

@media screen and (min-width: 1400px) {
    .errorbox {
        max-width: 1400px;
    }

    header .banner-background, body .container {
        margin: 0 auto;
        width: 1400px;
        max-width: 1400px;
    }
}

@media (orientation: portrait) {
    footer {
        flex-direction: column;
    }

    footer > div {
        margin-bottom: 3em;
    }
}

.subline {
    margin: 0 auto;
    padding: 30px 0 12px;
    width: 100%;
}

.subline a {
    display: inline-block;
    font-size: 1.3rem;
    line-height: 1.2;
    padding: 0 15px;
}

.subline svg {
    width: 1em
}

.owneradress .adr {
    display: block;
}

.mitteilung {
    position: absolute;
    top: -1000px;
    z-index: 10;
}

ul.pwhelper li:before {
    content: url(/idp/images/vanstrich.gif);
    display: inline-block;
}

.toggle-password {
    margin-left: -32px;
    margin-top: 6px;
    cursor: pointer;
    width: 1.5em;
    height: 1.5em;
    position: absolute;
}

input::-ms-clear, input::-ms-reveal {
    display: none;
}

.fa-home {
    height: 1em;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Chrome & Chromium */
}

.alert-warning {
    color: black;
}

.text-important {
    color: #ff0000;
}

.text-important a {
    color: inherit;
}
