:root {
    --main: #1a5e8e;
    --main-rgb: 26, 94, 142;
    --dark: #0b3554;
    --dark-rgb: 11, 52, 84;
    --light: #b3b3b3;
    --main2: var(--main);
    --dark2: var(--dark);
    --light2: #b3b3b3;
    --global-top-padding: 4rem;
    --shadow: 0 0.1em 1em rgba(0, 0, 0, 0.05),
        0 0.2em 1.5em rgba(0, 0, 0, 0.075),
        0.1em 0.125em 0.15em rgba(0, 0, 0, 0.02),
        0.4em 0.3em 1em rgba(0, 0, 0, 0.075),
        0.05em 0.05em 0.2em rgba(0, 0, 0, 0.05);
    --warn: #ab101d;
    --go: #5cbf00;
}
body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}
main p {
    font-size: 1.1em;
    max-width: 50em;
}

.form-item {
    box-sizing: border-box;
    clear: both;
    margin-bottom: 1em;
}

.form-item label {
    display: block;
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.form-item [type="text"],
.form-item [type="password"],
.form-item [type="email"],
.form-item [type="tel"],
.form-item [type="url"],
.form-item [type="number"],
.form-item [type="search"],
.form-item [type="date"],
.form-item textarea {
    border-radius: 0.15em;
    border: 1px solid #eaeaea;
    box-shadow: 0.05em 0.05em 0.2em rgba(0, 0, 0, 0.125) inset;
    background-color: #fff;
}

@media (min-width: 620px) {
    .form-item [type="text"],
    .form-item [type="password"],
    .form-item [type="email"],
    .form-item [type="tel"],
    .form-item [type="url"],
    .form-item [type="number"],
    .form-item [type="search"],
    .form-item [type="date"],
    .form-item textarea {
        min-width: 15em;
    }
}

.form-item.checkbox {
    margin-bottom: 0;
}

.form-item input:focus,
.form-item textarea:focus {
    outline: 0;
    border: 1px solid #33a4d4;
    box-shadow: 1px 1px 2px rgba(51, 164, 212, 0.35) inset;
}

.form-item input {
    line-height: 1em;
}

.form-item .error {
    background-color: #ab5033;
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 0.25em;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
    display: block;
}

.form-item.has-error input {
    border: 2px solid #ab5033;
}

.form-item.select {
    padding: 0;
    border-radius: 0.15em;
    position: relative;
    margin-bottom: 1em;
    box-sizing: border-box;
}

.form-item.select.multiple small {
    margin: 0 !important;
}

.form-item.select.multiple select {
    margin-bottom: 0.25em;
}

.form-item.select select {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1) inset;
    color: inherit;
    width: 100%;
    border: 1px solid #eaeaea;
    background-color: #fff;
    padding: 0.5em 1em;
    border-radius: 0.2em;
    appearance: none;
    line-height: 1.3em;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><path d="M26.297 12.625L14.703 24.203a.99.99 0 0 1-1.406 0L1.703 12.625a1.009 1.009 0 0 1 0-1.422l2.594-2.578a.99.99 0 0 1 1.406 0L14 16.922l8.297-8.297a.99.99 0 0 1 1.406 0l2.594 2.578a1.009 1.009 0 0 1 0 1.422z" fill="gray"/></svg>');
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: calc(100% - 0.75em) 0.65em;
    box-sizing: border-box;
}

.form-item.select select[multiple] {
    font-size: 1em;
    background-image: none;
    padding: 0;
    overflow: auto;
}

.form-item.select select[multiple] option {
    padding: 0.2em 0.5em;
}

.errors {
    color: #ab5033;
    font-weight: bold;
}

button {
    cursor: pointer;
}

select {
    box-sizing: border-box;
}

input,
select,
textarea,
button {
    box-sizing: border-box;
    padding: 0.5em 1em;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 6em;
    width: 100%;
}

.checkbox,
.radio {
    padding: 0 0 0.7em 0.2em;
    margin-left: -0.2em;
}
.form-item.radio,
.form-item.checkbox {
    display: flex;
    align-items: center;
}
.form-item.radio input,
.form-item.checkbox input {
    width: 1.5em;
    height: 1.5em;
    flex: 0 0 1.5em;
    margin-right: 0.5em;
}

.radio {
    padding-bottom: 0;
    position: relative;
}

.radio label {
    margin-right: 1em;
}

.required-info {
    color: #a1a1a1;
    font-size: 0.8em;
    margin-bottom: 2em;
}

.checkbox-group-label {
    display: block;
    position: relative;
    top: 0.5em;
    margin-bottom: 0.5em;
    clear: both;
    font-size: 1.3em;
    line-height: 1em;
}

.fb-link {
    padding-top: 2em;
}

form small {
    display: block;
    opacity: 0.7;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
select,
textarea {
    font-size: 16px;
}

input[type="date"] {
    line-height: 1.2em;
}

input[type="file"] {
    background: #fff;
    padding: 1.2em 0.5em;
    width: 100%;
    border-radius: 0.3em;
    border: 2px dotted #e7e7e7;
    position: relative;
    -webkit-appearance: none;
}

@media (min-width: 620px) {
    .selects-wrapper {
        display: flex;
    }
}

.selects-wrapper .select {
    flex: 0 0 49%;
}

@media (min-width: 620px) {
    .selects-wrapper .select:first-child {
        margin-right: 2%;
    }
}

body {
    min-width: 320px;
    color: #616161;
    background-color: #dfe3e5;
    overflow-x: hidden;
    background-attachment: fixed;
    background-image: radial-gradient(
            circle at 20% 80%,
            rgba(255, 182, 153, 0.3) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 244, 214, 0.5) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(255, 182, 153, 0.1) 0%,
            transparent 50%
        );
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

p,
li {
    line-height: 1.7em;
}

input,
textarea,
button {
    font-family: inherit;
}

.inner {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-left: 5%;
    padding-right: 5%;
}

p,
li {
    line-height: 1.8em;
    font-size: 1.15em;
    font-weight: 400;
}

[v-show],
[v-if] {
    display: none;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

@media (min-width: 960px) {
    .logged-in main {
        flex: 0 0 calc(100% - 15rem);
    }
}

main {
    width: 100%;
}

.login-form {
    padding: 2em;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0.05em 0.05em 0.2em 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.2em;
    text-align: left;
}

.login-form input:not([type="checkbox"]) {
    width: 100%;
}

.login-form label {
    font-size: 0.9em;
    text-align: left;
}

@media (min-width: 620px) {
    .login-form {
        width: 25em;
    }
}

@media (min-width: 960px) {
    .login-form {
        width: 37em;
    }
}

.login-form button {
    margin-top: 1em;
}

.login-form small {
    text-align: left;
}

.button,
button[type="submit"],
.actions a {
    border: 0;
    background: linear-gradient(55deg, var(--dark), var(--main));
    color: #fff;
    border-radius: 0.2em;
    padding: 0.5em 1em;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

@media (min-width: 960px) {
    .button,
    button[type="submit"],
    .actions a {
        white-space: nowrap;
    }
}

.button.go,
button[type="submit"].go,
.actions a.go {
    background-image: linear-gradient(35deg, #779643, #9dbc69);
}

.button.warn,
button[type="submit"].warn,
.actions a.warn {
    background-image: linear-gradient(35deg, #ab5033, #ce785c);
}

.button.semiwarn,
button[type="submit"].semiwarn,
.actions a.semiwarn {
    background-image: linear-gradient(35deg, #ff8800, #ffac4d);
}

.button:hover,
.button:focus,
button[type="submit"]:hover,
button[type="submit"]:focus,
.actions a:hover,
.actions a:focus {
    transform: scale(1.05);
}

.button:hover[disabled],
.button:focus[disabled],
button[type="submit"]:hover[disabled],
button[type="submit"]:focus[disabled],
.actions a:hover[disabled],
.actions a:focus[disabled] {
    transform: none;
}

.button:active,
button[type="submit"]:active,
.actions a:active {
    transform: scale(0.95);
}

.button[disabled],
button[type="submit"][disabled],
.actions a[disabled] {
    opacity: 0.4;
}

.forgot-pw-link {
    font-size: 0.8em;
    margin-top: 2em;
    opacity: 0.75;
}

.forgot-pw-link a {
    text-decoration: none;
}

.errors,
.alert {
    background-color: #ab5033;
    color: #fff;
    padding: 1em;
    list-style-type: none;
}

header {
    padding: 2em 0;
    position: relative;
    margin-bottom: 4em;
    background-image: linear-gradient(35deg, #fff, rgba(255, 255, 255, 0.5));
}

.theme2 header {
    box-shadow: 0.1em 0.1em 0.5em rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(35deg, var(--dark), var(--light));
    color: #fff;
}

.page-home.not-logged-in header {
    margin-bottom: 1.7em;
}
.page-home.not-logged-in .image {
    width: 100%;
    margin-bottom: 3em;
    opacity: 0.85;
    max-height: 30em;
    overflow: hidden;
}
.page-home.not-logged-in .image img {
    width: 100%;
    max-height: 30em;
    object-fit: cover;
}
.page-home.not-logged-in .main-part-wrapper main {
    align-self: flex-start;
}
.page-home.not-logged-in .main-inner {
    padding-top: 0;
    margin-bottom: 2em;
}
.page-home.not-logged-in h1 {
    font-size: 3.5em;
}
@media (max-width: 699px) {
    .page-home.not-logged-in h1 {
        font-size: 2.25em;
    }
}
.page-home.not-logged-in .theme-toggle {
    opacity: 1;
}
.page-home.not-logged-in .user-actions {
    filter: invert(0.5) brightness(90%);
}
.not-logged-in .user-actions {
    right: 5%;
}
.orbit {
    position: absolute;
    top: 0;
}
footer {
    padding: 1em 0 2em;
}
footer a {
    text-decoration: none;
    padding: 0.2em 0.5em;
}

footer .innerst {
    display: flex;
    justify-content: center;
}

footer .part2 {
    align-self: flex-end;
}

footer .inner {
    padding: 2em 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    right: 0;
    text-align: right;
}
.dashboard h1 {
    font-size: 2.5em;
}
h1 {
    text-transform: uppercase;
    font-size: 2.25em;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5em;
    margin-top: 0;
    font-family: "Poppins";
}
.dashboard h1 {
    color: var(--main);
}
h1 span {
    background: none;
    font-weight: 300;
    opacity: 0.75;
}

h1 a {
    text-decoration: none;
}

.card-wrapper .meta {
    padding: 2em;
    box-sizing: border-box;
}

.card-wrapper .meta h2,
.card-wrapper .meta .lead {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
}

.card-wrapper .meta .lead {
    opacity: 0.6;
}
h1,
h2,
h3,
h4 {
    hyphens: auto;
}
.card-wrapper .meta h2 {
    font-size: 1.4em;
    font-weight: normal;
    hyphens: auto;
}

.card-wrapper .info {
    float: left;
    padding: 10px 30px 10px 0;
}

.card-wrapper .info p {
    font-size: 11px;
    color: #aaa;
    font-weight: 300;
}
.infopage {
    text-align: left;
}

.card {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 0.2em;
    overflow: hidden;
    z-index: 2;
    display: block;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.75);
    height: 100%;
    border-top-right-radius: 2em;
}

.card #canvas,
.card #canvas2 {
    margin-bottom: 50px;
}

.legends {
    padding-top: 20px;
    overflow: hidden;
}

.legend {
    display: block;
    width: 8px;
    height: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.legend--this {
    background-color: #5555ff;
}

.legend--prev {
    background-color: #ff55b8;
}

.axis {
    position: absolute;
    color: #fff;
    z-index: 1;
    text-transform: uppercase;
    display: flex;
    width: 100%;
    bottom: 0;
}

.axis .tick {
    flex: 1;
    position: relative;
    font-size: 11px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 20px;
}

.axis .tick:after {
    content: "";
    position: absolute;
    display: block;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 325px;
    background: rgba(255, 255, 255, 0.2);
}

.axis .tick .value {
    transform: translateY(-240px);
    opacity: 0;
    transition: all 0.3s;
    position: absolute;
    top: 20px;
    left: 0;
    color: #fff;
    border-radius: 2px;
    width: 100%;
    line-height: 20px;
}

.axis .tick:hover .value.value--this {
    transform: translateY(-160px);
    display: block;
    opacity: 0.4;
}

.value.value--this {
    color: #fff;
    font-weight: bold;
}

.day-number {
    display: block;
}

.day-name {
    display: block;
    opacity: 0.4;
}

.card1,
.card2,
.card3 {
    color: #fff;
}

.card1 h2,
.card2 h2,
.card3 h2 {
    color: #fff;
}

.card-shadow {
    content: "";
    background-color: red;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: scale(0.98);
    top: 0.5em;
    right: 0.5em;
    filter: blur(0.5em);
    opacity: 0.5;
}

.card-wrapper {
    position: relative;
}

.card-wrapper.examination {
    /*    border-right: 10px solid var(--main2);*/
    text-align: right;
}
.card-wrapper.textblock.examination:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    opacity: 0.85;
    background: linear-gradient(
        to top,
        transparent,
        var(--main) 65%,
        transparent
    );
    transition: opacity 1s;
}

.card-wrapper.examination h2 {
    font-weight: bold;
    color: var(--main2);
}

.card-wrapper.textblock.vaccination {
    /*  border-left: 10px solid var(--main); */
}

.card-wrapper.textblock.vaccination:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    opacity: 0.85;
    background: linear-gradient(
        to top,
        transparent,
        var(--main) 65%,
        transparent
    );
    transition: opacity 1s;
}

.card-wrapper.textblock.vaccination h2 {
    font-weight: bold;
    color: var(--main);
}

.card1-shadow {
    background: var(--main);
}

.card2-shadow {
    background: linear-gradient(-45deg, var(--dark2), var(--main2));
}

.card1 {
    background: linear-gradient(-45deg, var(--main), var(--dark));
}

.card2 {
    background: linear-gradient(-45deg, var(--dark2), var(--main2));
}

.card3,
.card4 {
    margin-bottom: 5em;
    padding-bottom: 10em;
    background: linear-gradient(-45deg, var(--main), var(--dark));
}

.card3 canvas,
.card4 canvas {
    position: absolute;
    right: -1em;
    bottom: -1em;
}

#canvas,
#canvas2 {
    margin-left: 2.5%;
    margin-right: 5%;
}

.card4 {
    background: linear-gradient(-45deg, var(--dark2), var(--main2));
}

.card4 .meta {
    color: #fff;
}

.card4 .meta h2 {
    color: #fff;
}

@keyframes bg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1.5em;
    row-gap: 1.5em;
    margin-bottom: 4em;
}
@media (min-width: 1200px) {
    .grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.main-part-wrapper {
    flex: 1 0 auto;
    display: flex;
}
.not-logged-in .main-part-wrapper {
    flex-direction: column;
}
.not-logged-in .main-part-wrapper main {
    flex: 1;
}
.main-inner {
    padding-top: var(--global-top-padding);
    box-sizing: border-box;
    margin-bottom: 4rem;
}

@media (max-width: 959px) {
    .main-part-wrapper {
        padding-top: 4em;
    }
    .page-home .main-part-wrapper {
        padding-top: 0;
    }
}

.main-part-wrapper main {
    align-self: center;
}

.page-home .main-part-wrapper main {
    padding-top: 0;
}

.sidebar {
    flex: 0 0 15rem;
    transition: width 0.5s, padding 0.5s, flex-basis 0.5s;
    background-color: #fff;
    background-position: center 105%;
    background-repeat: no-repeat;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1), 0 5px 12px rgba(0, 0, 0, 0.15);
    z-index: 5;
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
    text-align: right;
    box-sizing: border-box;
    font-size: 0.9em;
}
@media (max-width: 959px) {
    .sidebar {
        position: fixed;
        transform: translateX(-300px);
        transition: transform 1s;
        top: 0;
        left: 0;
        max-height: 100vh;
        overflow: auto;
        z-index: 5;
        box-shadow: 1em -0.5em 3em rgba(0, 0, 0, 0.3);
    }
}

.sidebar.active-mobile {
    transform: translateX(0);
}

.sidebar:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    opacity: 0.5;
    background: linear-gradient(
        to top,
        transparent,
        var(--main) 65%,
        transparent
    );
    transition: opacity 1s;
}

@media (min-width: 960px) {
    .sidebar.closed {
        padding: 0;
        flex: 0 0;
        flex-basis: 3.15em;
        box-shadow: 0.1em 0.1em 1em rgba(0, 0, 0, 0.1);
    }

    .sidebar.closed:before {
        opacity: 1;
    }

    .sidebar.closed a svg {
        width: 0.8em;
    }

    .sidebar.closed h1 a svg path {
        fill: #616161;
        stroke: #616161;
    }

    .sidebar.closed h3 {
        color: transparent;
    }
    .dark .sidebar a {
        color: #fff;
    }

    .sidebar.closed a .text,
    .sidebar.closed a > div,
    .sidebar.closed .nav-item-toggler .text,
    .sidebar.closed .nav-item-toggler > div {
        display: none;
    }

    .sidebar.closed a img,
    .sidebar.closed a svg,
    .sidebar.closed .nav-item-toggler img,
    .sidebar.closed .nav-item-toggler svg {
        display: block;
    }
}

.sidebar h1 {
    font-size: 1.6em;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.sidebar h1 a svg {
    width: 1.3em;
    max-width: none;
    opacity: 0.5;
}

.sidebar h1 a path {
    fill: #fff;
}

.sidebar .logout-form {
    margin-top: auto;
}

.sidebar a {
    text-decoration: none;
}

.sidebar ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.sidebar a {
    padding-right: 3.25rem;
    padding-left: 1.5em;
}
.sidebar .subnav a {
    padding-right: 2rem;
}

.sidebar ul ul a {
    opacity: 0.8;
    font-size: 0.9em;
    padding-top: 1em;
    padding-bottom: 1em;
    line-height: 1.15em;
    display: block;
}

.sidebar .text {
    z-index: 5;
}

.sidebar .logo {
    padding: 1em 2em;
    padding-top: var(--global-top-padding);
    padding-right: 1.5em;
    box-sizing: border-box;
    width: 100%;
    color: #fff;
    filter: grayscale(1) invert(1);
    text-decoration: none;
    margin-bottom: 2em;
    z-index: 15;
    opacity: 0.55;
    position: relative;
    top: 0.4em;
    display: flex;
    justify-content: flex-end;
}

.sidebar .logo img,
.sidebar .logo svg {
    width: 2.5em;
    margin-bottom: 0.5em;
}

.sidebar .logo img path,
.sidebar .logo svg path {
    fill: var(--main);
}

.sidebar .logo .title {
    display: block;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 900;
    margin-right: -0.25em;
}

.sidebar nav {
    display: block;
    opacity: 0.85;
    font-size: 0.85em;
}
.sidebar a {
    color: #222;
}

.has-subnav > a {
    position: relative;
    z-index: 5;
    display: block;
}

.sidebar .legal {
    margin-top: auto;
    opacity: 0.6;
    margin-bottom: 4.5rem;
}
.sidebar .legal a {
    display: block;
    padding: 0.5em 2rem;
}

.intro {
    margin-bottom: 4em;
}

.user-actions {
    position: absolute;
    right: calc(5% - 1em);
    top: 0;
    padding-top: var(--global-top-padding);
    display: flex;
    z-index: 10;
}

.list-toggle,
.theme-toggle {
    width: 2em;
    height: 2em;
    opacity: 0.5;
    top: 0.1em;
    position: relative;
    cursor: pointer;
}

.theme-toggle svg {
    width: 100%;
}
.list-toggle {
    margin-right: 1em;
}
.list-actions {
    display: flex;
    margin-right: 1.25em;
}
.not-logged-in {
    text-align: center;
}

.not-logged-in .sidebar {
    display: none;
}

.dashboard {
    text-align: left;
}
.dashboard .card {
    transition: transform 0.5s;
}
.dashboard .card:hover {
    transform: scale(1.05);
}
.besser-nicht-fuellen {
    opacity: 0;
    position: absolute;
    height: 0;
    width: 0;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.user-actions-dropdown {
    position: relative;
}

.toggler {
    border: 0;
    background: none;
    width: 1.5em;
    position: relative;
    top: -0.1em;
    margin-right: 0.5em;
    padding: 0.5em;
    box-sizing: content-box;
    text-align: right;
    float: right;
    opacity: 0.4;
}

.user-actions-dropdown .logout-form button {
    border: 0;
    background: none;
}

.nav-user-actions {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid #eaeaea;
    border-radius: 0.2em;
    box-shadow: 0.1em 0.1em 0.5em rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 0;
    top: 2.5em;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.nav-user-actions a,
.nav-user-actions button {
    text-decoration: none;
    padding: 0.5em 1em;
    display: block;
    border-bottom: 1px solid #eaeaea;
    margin: 0;
    color: inherit;
}
.search-actions-dropdown {
    display: flex;
    align-items: flex-start;
}
.searchform {
    display: none;
    padding: 1em;
    border-radius: 0.5em;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(5px);
}

.login-link a {
    text-decoration: none;
    color: var(--main);
    font-weight: bold;
}

.password-visibility-toggler {
    position: absolute;
    right: 0;
    top: -0.3em;
    padding: 0.75em;
    box-sizing: border-box;
    width: 3em;
    opacity: 0.9;
    border-top-right-radius: 0.2em;
    border-bottom-right-radius: 0.2em;
    height: 100%;
    cursor: pointer;
}

.type-password {
    display: inline-block;
    position: relative;
}

.password-wrapper {
    position: relative;
    display: flex;
    border: 0;
}
.password-wrapper.active .show-password-icon {
    display: none;
}

.hide-password-icon {
    display: none;
}
.password-wrapper.active .hide-password-icon {
    display: block;
}
.global-error-messsages .errors {
    margin: 0;
    z-index: 2;
}

form.block {
    background-image: linear-gradient(-130deg, white, white);
    border: 1px solid #c4c4c4;
    border-radius: 0.4em;
    padding: 3% 5%;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1), 0 5px 12px rgba(0, 0, 0, 0.15);
}

form.block .content {
    display: flex;
    flex-wrap: wrap;
    width: 104%;
    margin-left: -2%;
}

form.block .content .form-item {
    margin-right: 2%;
    flex: 0 0 48%;
}

form.block .content input {
    width: 100%;
}

form.block small {
    display: block;
    margin-bottom: 0.3em;
}

.button-wrapper,
.clearer {
    flex: 0 0 100%;
}

.info-box {
    background: #779643;
    padding: 1em 2em;
    position: absolute;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    z-index: 20;
    font-size: 1.2em;
}
.info-box.warn {
    background: var(--warn);
}

.info-box .remover {
    position: absolute;
    top: 0;
    padding: 12px 20px 16px;
    cursor: pointer;
    font-size: 1.5em;
    right: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.25);
}
.global-error-messsages {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 12;
}
.global-error-messsages .remover {
    position: absolute;
    top: 1.5em;
    right: 1em;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em;
    box-sizing: border-box;
    width: 1.5em;
    height: 1.5em;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.25);
}
.success-info {
    background-color: var(--go);
    color: #fff;
    padding: 0.5em 1em;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1), 0 5px 12px rgba(0, 0, 0, 0.15);
}

table tr {
    text-align: left;
}

table th {
    font-weight: bold;
    line-height: 1em;
}

table th,
table td {
    padding: 1rem;
    font-size: inherit;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.75);
}

table th {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}
table th:first-child {
    border-top-left-radius: 0.3em;
}
table th:last-child {
    border-top-right-radius: 0.3em;
}
.number {
    text-align: right;
}

table td {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9em;
}

table .actions {
    text-align: right;
}

.back {
    text-decoration: none;
    margin-right: 0.2em;
    position: relative;
    top: -0.1em;
}

.back img {
    width: 0.75em;
    height: 0.75em;
    opacity: 0.5;
}

[type="color"] {
    padding: 0;
    height: 3.3em;
    margin: -0.3em 0;
    background: transparent;
    border: 0;
}

.register-area .company-info {
    display: flex;
    flex-wrap: wrap;
    background-color: #bfbfbf;
    width: calc(100% + 4em);
    margin-left: -2em;
    padding: 2em;
    margin-bottom: 2em;
    margin-top: 2em;
}

.register-area .company-info .form-item {
    flex: 0 0 48%;
    margin: 1%;
    margin-bottom: 1em;
}

.register-area .company-info .company-name {
    flex: 0 0 100%;
}

.register-area .company-info input[type="file"] {
    padding: 0.6em;
    height: 2.7em;
}

.form-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 102%;
    margin-left: -1%;
}

.form-items-wrapper .form-item {
    margin: 1%;
    flex: 0 0 48%;
}

.index h2 {
    float: left;
    margin: 0.25em 0 0.5em;
    font-size: 1.75em;
    color: #555;
}

.index h2 .button {
    padding: 0.25em 0.5em;
    font-size: 0.7em;
    line-height: 1em;
    margin-left: 0.5em;
    font-weight: normal;
    position: relative;
    top: -0.1em;
}

.index .search-form {
    float: right;
    display: flex;
    padding-bottom: 2em;
    margin-bottom: -1em;
    font-size: 0.9em;
}

.index .search-form .form-item {
    margin: 0;
}

.search-form button[type="submit"] {
    font-size: 0.7em;
    margin-left: -0.2em;
}

.search-form button[type="submit"] img {
    width: 1.5em;
}

.filter-info {
    clear: both;
    display: block;
    margin-bottom: 1em;
}

@media (min-width: 1200px) {
    canvas {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav-menu .has-subnav > a {
    position: relative;
    cursor: pointer;
}
/*.nav-menu .has-subnav > a:after {
    content:'';
    position: absolute;
    width:80%;
    left:10%;
    top:0;
    opacity: .5;
}*/
.nav-menu .has-subnav > a:before {
    content: "+";
    position: absolute;
    background-color: var(--main);
    color: #fff;
    right: 1.8em;
    top: 0.8em;
    width: 1.2em;
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.2em;
    font-size: 1.1em;
    cursor: pointer;
}
.nav-menu .has-subnav > a.active:before {
    content: "-";
}
.sidebar .subnav {
    margin-bottom: 2em;
    display: none;
    background-color: rgba(0, 0, 0, 0.1);
}
.nav-menu > li > a {
    padding-top: 0.7em;
    padding-bottom: 0.5em;
    display: block;
}
.sidebar .subnav a {
    color: #222;
}

td.characterisation {
    font-size: 0.8em;
    width: 15%;
}

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    box-shadow: var(--shadow);
}
th {
    padding-bottom: 0.3em;
    vertical-align: bottom;
    font-size: 0.85em;
    letter-spacing: -0.01em;
}
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17%, 1fr));
    grid-gap: 2em;
    grid-row-gap: 3em;
    border-radius: 0.2em;
}
.listview .info-cards {
    display: block;
    box-shadow: var(--shadow);
}
.listview .info-cards .card {
    display: flex;
    flex-direction: row;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.listview .info-cards .card > * {
    padding: 1rem;
    box-sizing: border-box;
    z-index: 1;
    position: relative;
}
.listview .info-cards .card .date {
    position: relative;
    flex: 0 0 10%;
    background: none;
    color: #333;
    top: 0;
}
.listview .info-cards .card .date-chip {
    font-size: 0.9em;
}
.info-cards .card.header {
    display: none;
}
.listview .card.header {
    align-items: center;
    display: flex;
    border-radius: 0.5em;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.listview .card.header > * {
    font-family: inherit;
    font-size: 1.15em;
    color: inherit;
    font-weight: bold;
    text-transform: none;
    letter-spacing: inherit;
    opacity: inherit;
    padding-top: 1.5em;
    padding-bottom: 1.2em;
    border-right: 0 !important;
}
.listview .info-cards .card .name {
    order: 1;
}
.listview .info-cards .card .business {
    order: 2;
}
.listview .info-cards .card .purpose {
    order: 3;
    margin: 0;
    hyphens: auto;
}
.listview .info-cards .card .actions {
    order: 6;
    width: 13em;
    border-right: 0 !important;
}
.listview .info-cards .card.data .purpose {
    opacity: 0.7;
}
.listview .info-cards .card .date {
    order: 4;
    left: 0;
    line-height: inherit;
    color: inherit;
}
.listview .info-cards .card .type {
    order: 5;
    border-right: 0;
}
.listview .info-cards .card:before {
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    border-radius: 50%;
    left: -0.75em;
    top: 0.75em;
    z-index: 3;
}
.listview .info-cards .card.data .name {
    margin-bottom: 0;
    font-size: 1em;
}
.listview .info-cards .card .name {
    padding-left: 1.5rem;
}
.listview .info-cards .card .type {
    margin-top: 0;
    background-color: transparent;
    border-top: 0;
    flex: 0 0 20%;
}
.listview .info-cards .card.data .type {
    background-color: rgba(0, 0, 0, 0.05);
}
.listview .info-cards .card > * {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.listview .info-cards .name {
    flex: 0 0 20%;
    font-size: 1.2em;
}
.listview .info-cards .business {
    flex: 0 0 15%;
}
.listview .info-cards .purpose {
    flex: 0 0 20%;
}
.gridview .info-cards .card {
    max-width: 45em;
}
.info-cards .card {
    font-size: 0.9em;
    border-bottom-left-radius: 0.2em;
}
.dashboard .card {
    overflow: hidden;
}
.card .name {
    font-size: 1.3em;
    padding: 2em 10% 0;
    font-weight: bold;
}
.card .purpose {
    padding: 0 10%;
    margin-bottom: 0.75rem;
}
.card .business {
    padding: 0 10%;
    opacity: 0.7;
    font-size: 0.8em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.card .type {
    display: block;
    padding: 10%;
}
.type {
    position: relative;
}
.type .description {
    display: block;
    opacity: 0.7;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
}
.type .description img {
    width: 1.5em;
    opacity: 0.5;
}

[role~="tooltip"][data-microtip-position="top"]:after {
    white-space: normal;
    width:300px;
}
.card {
    position: relative;
    overflow: visible;
}

.info-cards .card {
    display: flex;
    flex-direction: column;
}
.info-cards .card .type {
    display: block;
    margin-top: auto;
    background-color: rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    hyphens: auto;
}
.card::before {
    content: "";
    display: block;
    position: absolute;
    width: 0.5em;
    left: 0;
    top: 0;
    height: 100%;
    color: #fff;
    border-bottom-left-radius: 0.5em;
}
.card.red::before {
    background-image: linear-gradient(
        -65deg,
        rgba(215, 85, 85, 0.7) 0%,
        rgba(215, 85, 85, 1) 100%
    );
}
.card.yellow::before {
    background-image: linear-gradient(
        -65deg,
        rgba(220, 170, 60, 0.7) 0%,
        rgba(220, 170, 60, 1) 100%
    );
}
.card.green::before {
    background-image: linear-gradient(
        -65deg,
        rgba(85, 180, 95, 0.7) 0%,
        rgba(85, 180, 95, 1) 100%
    );
}
.card .date {
    position: absolute;
    top: -0.5em;
    left: -0.35em;
}
.card .date-chip {
    border-radius: 5px;
    padding: 0.4em 1em 0.3em;
    line-height: 1em;
    display: inline-block;
    color: #fff;
}
.card.red .date-chip {
    background-image: linear-gradient(
        -65deg,
        rgba(215, 85, 85, 0.7) 0%,
        rgba(215, 85, 85, 1) 100%
    );
}
.card.yellow .date-chip {
    background-image: linear-gradient(
        -65deg,
        rgba(220, 170, 60, 0.7) 0%,
        rgba(220, 170, 60, 1) 100%
    );
}
.card.green .date-chip {
    background-image: linear-gradient(
        -65deg,
        rgba(85, 180, 95, 0.7) 0%,
        rgba(85, 180, 95, 1) 100%
    );
}

.head-wrapper {
    margin-bottom: 1em;
}
.head-wrapper h1 {
    margin-bottom: 0.15em;
}
.head-wrapper .button {
    font-size: 0.6em;
    position: relative;
    top: -0.3em;
    padding: 0.2em 0.3em;
    font-weight: normal;
    line-height: 1em;
}
body.listview .list-toggle .list {
    display: none;
}
.list-toggle {
    opacity: 0.35;
}
.list-toggle .grid {
    display: none;
    padding: 0.3em;
    position: relative;
    top: 0.1em;
}
body.listview .list-toggle .grid {
    display: block;
}
.csv-icon {
    position: relative;
    top: 0.1em;
    right: -0.1em;
}

/* RANGE SLIDER */
.range-slider {
    position: relative;
    width: 100%;
    height: 3em;
    margin-top: 0;
    margin-bottom: 3.5em;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.range-slider.active {
    opacity: 1;
}
.range-slider-outer {
    width: 100%;
    padding: 2em;
    border: 1px solid rgba(var(--main-rgb), 0.5);
    margin-bottom: 1em;
    border-radius: 0.5em;
    background-color: rgba(var(--main-rgb), 0.1);
}
.range-slider-outer .subline {
    color: rgba(0, 0, 0, 0.5);
}
.range-slider-outer h3 {
    margin: 0;
}
.range-slider input {
    pointer-events: none;
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 15px;
    width: 100%;
    outline: none;
    height: 3em;
    margin: 0;
    padding: 0;
}

.range-slider input::-webkit-slider-thumb {
    pointer-events: all;
    position: relative;
    z-index: 1;
    outline: 0;
}

.range-slider input::-moz-range-thumb {
    pointer-events: all;
    position: relative;
    z-index: 10;
    -moz-appearance: none;
    width: 33em;
}

.range-slider input::-moz-range-track {
    position: relative;
    z-index: -1;
    background-color: rgba(0, 0, 0, 1);
    border: 0;
}

.range-slider input:last-of-type::-moz-range-track {
    -moz-appearance: none;
    background: none transparent;
    border: 0;
}

.range-slider input[type="range"]::-moz-focus-outer {
    border: 0;
}

.rangeValue {
    width: 30px;
}

.output {
    position: absolute;
    border: 1px solid rgba(var(--main-rgb), 0.5);
    width: 40px;
    height: 30px;
    text-align: center;
    color: rgba(var(--main-rgb), 0.8);
    border-radius: 4px;
    display: inline-block;
    line-height: 1.8em;
    font-weight: bold;
    top: 150%;
    left: 0%;
    transform: translate(-50%, 0);
    white-space: nowrap;
}

input[type="range"] {
    -webkit-appearance: none;
    background: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 5px;
    border: none;
    border-radius: 3px;
    background: transparent;
}

input[type="range"]::-ms-track {
    height: 5px;
    background: transparent;
    border: none;
    border-radius: 3px;
}

input[type="range"]::-moz-range-track {
    height: 5px;
    background: transparent;
    border: none;
    border-radius: 3px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0.1em 0.1em 0.5em rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

input[type="range"]::-ms-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0.1em 0.1em 0.5em rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0.1em 0.1em 0.5em rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10000;
}

input[type="range"]:focus {
    outline: none;
}

.full-range,
.incl-range {
    width: 100%;
    height: 2em;
    left: 0;
    top: 1em;
    position: absolute;
    background: #ddd;
}
.full-range {
    width: 100%;
    height: 40px;
    left: 0;
    top: 1.5em;
    position: absolute;
    border-radius: 0.3em;

    --l: 10%;
    --r: 90%;
    background: linear-gradient(
        to right,
        #e74c3c 0%,
        #e74c3c var(--l),
        gold var(--l),
        gold var(--r),
        #2ecc71 var(--r),
        #2ecc71 100%
    );
}

/* Der goldene Balken bleibt (dein bestehendes Element) */
.incl-range {
    position: absolute;
    height: 5px;
    top: 1.5em;
    border-radius: 3px;
    background: gold;
}

.incl-range {
    background: gold;
}
/* RANGE SLIDER END */

.cta-area p {
    margin: 0 auto;
    max-width: 35em;
}

.button .icon {
    filter: invert(1);
    width: 1.25em;
    height: 1.25em;
}
.gridview .inner:not(.due-view) .info-cards .date {
    color: #fff;
    background-color: #999;
    padding: 0.25em 1em;
    border-radius: 0.25em;
    top: -0.4em;
}

.gridview .info-cards .actions .button {
    position: relative;
    width: 100%;
}
.listview .due-view .card .name {
    flex-basis: 35%;
}

.header [data-sort] {
    cursor: pointer;
    user-select: none;
}
.header [data-sort]:after {
    content: "▼▲";
    opacity: 0.3;
    position: relative;
    top: -0.1em;
    font-size: 0.8em;
    margin-left: 0.5em;
    letter-spacing: -0.1em;
}
.header [data-sort].sorted-asc::after {
    content: "▲";
    opacity: 1;
}
.header [data-sort].sorted-desc::after {
    content: "▼";
    opacity: 1;
}

.logged-in .main-part-wrapper main {
    align-self: flex-start;
}
.searchform h3 {
    margin: 0;
}
.searchform input {
    outline: none;
    border-radius: 0.5em;
    border: none;
}
.dark .toggler .icon {
    filter: invert(1);
}
.dashboard-head-wrap h1,
.dashboard-head-wrap h2 {
    margin: 0;
}
.dashboard-head-wrap {
    margin-bottom: 2em;
}

.dashboard-head-wrap h2 {
    color: var(--main);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.2em;
}

.label-addition {
    opacity: 0.65;
}

label.required .fancy-label:after {
    content: "*";
    color: #ab5033;
}

.letters-filter {
    margin-bottom: 2em;
}
.letters-filter small {
    display: block;
    margin: 0.5em 0;
    opacity: 0.65;
}
.letters-filter a {
    padding: 0.5em 0.25em;
    text-decoration: none;
    text-transform: uppercase;
}
.letters-filter a.active {
    font-weight: bold;
}
.letters-filter a:hover,
.letters-filter a:focus {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.letters-filter a.remove-filter {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-transform: none;
    opacity: 1;
}
.letter-info {
    text-transform: uppercase;
}
.hidden {
    display: none;
}

.buttons-wrapper {
    display: flex;
    justify-content: space-between;
}
.client-items {
    border: 1px solid rgba(var(--main-rgb), 0.2);
    margin-bottom: 2em;
    border-radius: 0.3em;
    background-color: rgba(var(--main-rgb), 0.05);
}
.client-items .checkbox {
    padding-bottom: 0;
}
.client-items .checkbox label:before {
    border: 1px solid rgba(var(--main-rgb), 0.4);
}
.client-item,
.inner-wrapper .form-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid rgba(var(--main-rgb), 0.2);
    position: relative;
}
.client-item input {
    position: relative;
    z-index: 3;
}
.client-item:last-child,
.inner-wrapper .form-item:last-child {
    border-bottom: none;
}
.client-name {
    font-weight: bold;
}

.subclient .line {
    height: 50%;
    width: 0px;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    float: left;
    position: relative;
}
.client-item {
    display: block;
}
.client-item.subclient {
}
@media (min-width: 700px) {
    .companies-and-roles {
        display: flex;
    }
}
.companies-and-roles {
    width: 102%;
    margin-left: -1%;
}
.companies-and-roles .companies,
.companies-and-roles .roles {
    flex: 1;
    margin: 1%;
}
form.block .content .companies-and-roles .form-item {
    flex: 0 0 auto !important;
}
.companies-and-roles .roles .inner-wrapper {
    border: 1px solid rgba(var(--dark-rgb), 0.2);
    margin-bottom: 2em;
    border-radius: 0.3em;
    background-color: rgba(var(--dark-rgb), 0.05);
}
form .companies-and-roles .roles .inner-wrapper .form-item {
    text-align: left;
    justify-content: flex-start;
    box-sizing: border-box;
    margin-right: 0;
    margin-left: 0;
    padding-bottom: 0;
    padding-left: 0.65em;
}
.permission-checkbox-all {
    display: none;
}

.toggler-all {
    font-size: 0.8em;
    padding: 0.1em 0.2em;
}
.toggler-all .off {
    display: none;
}

input:checked ~ .toggler-all .on {
    display: none;
}
input:checked ~ .toggler-all .off {
    display: block;
}
.permissions-table input {
    width: 1.25em;
    height: 1.25em;
}
.area .ghost-button {
    border: 1px solid rgba(var(--main-rgb), 0.7);
    padding: 0.2em 0.5em;
    border-radius: 0.3em;
    display: inline-block;
    margin-top: 0.2em;
    line-height: 1.2em;
    color: var(--main);
    text-decoration: none;
}
@media (min-width: 620px) {
    .buttons-wrapper {
        display: flex;
        justify-content: space-between;
    }
}
.buttons-wrapper input {
    width: auto;
}
.delete-form {
    text-align: right;
    margin-bottom: 3.5em;
    margin-top: -5em;
    padding-right: 5%;
}
.delete-form button {
    background-image: linear-gradient(
        35deg,
        #ab5033,
        rgb(206.4121621622, 119.7162162162, 92.0878378378)
    );
}
.delete-form button img {
    width: 1em;
    opacity: 0.5;
    position: relative;
    top: -0.1em;
}

.examination-line {
    font-size: 0.9em;
    opacity: 0.8;
}

.companies-index .client-item  {
    display: flex;
    padding:.5em 1em;
}

.ghost-button {
    border: 1px solid rgba(0,0,0, 0.2);
    padding: 0.25em .5em;
    border-radius: 0.2em;
    display: inline-block;
    line-height: 1.2em;
    font-size: .9em;
    margin-bottom:.5em;
    text-decoration: none;
}
.ghost-button.active {
    background-color: rgba(0,0,0, 0.4);
    color:#fff;
}
