
/* === ALLGEMEIN === */
:root {
    --main: #01315d; /* #003f78; */
    --mainActive: #006ac8;
    --mainOpacity4: rgba(0, 109, 254, 0.2);
    --mainOpacity4: rgba(0, 109, 254, 0.4);
    --mainOpacity6: rgba(0, 109, 254, 0.6);
    --passiveDark: rgb(140,140,140);
    --passive: rgb(220,220,220);
    --passiveLight: rgb(240,240,240);
    --alertRed: oklch(57.7% 0.245 27.325);
    --alertRedBg: oklch(0.94 0.04 17.56);
    --green: forestgreen;
    --greenBg: oklch(96.2% 0.044 156.743);
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    background-color: var(--passiveLight) !important;
}
main {
    padding: 0 30px 30px !important;
    box-sizing: border-box;
    width: 100%;
    box-sizing: border-box;
    padding-left: 280px !important;
}
main.pb-3 {
    padding: 0 30px 30px !important;
    padding-left: 280px !important;
}
div {
    display: inline-block;
    box-sizing: border-box;
}
i {
    transition: 0.3s;
}
i.ibutton:hover {
    color: var(--mainActive);
    cursor: pointer;
}
.dropdownItem.admin i {
    float: right;
    color: gray;
}
i.fa-solid.fa-arrow-right-arrow-left.fa-rotate-90 {
    font-size: 14px;
    color: #5c5c5c;
}
textarea:focus, input:focus {
    outline: none;
    border-color: black;
}
label {
    margin-top: 10px;
    font-size: 15px;
    font-weight: bold;
    color: var(--passiveDark);
    padding-left: 2px;
}
label > span {
    font-weight: 100;
    font-size: 13px;
}
label.form-check-label {
    margin-top: 4px;
}
.admin i {
    position: relative;
}

    .admin i::after {
        content: "Administrationsbereich";
        position: absolute;
        bottom: -20px;
        left: 30px;
        display: none; /* Standardmäßig verstecken */
        background-color: white;
        color: var(--main);
        padding: 10px;
        border-radius: 3px;
        border: 1px solid var(--main);
        font-family: Arial;
    }

i:hover::after {
    display: block; /* Beim Hover anzeigen */
}
.btn {
    border-radius: 6px!important;
}
.btn-main {
    width: 100%;
    height: 39px;
    background-color: var(--main);
    color: white;
    text-align: center;
    border: 1px solid var(--main);
    font-weight: bold;
    border-radius: 6px;
}
.btn-passive {
    width: 100%;
    height: 38px;
    background-color: white;
    color: var(--main);
    text-align: center;
    border: 1px solid var(--main);
    left: 0;
}
.btn-hover-red:hover {
    background-color: darkred!important;
    border-color: darkred!important;
    color: white;
}
button {
    margin-top: 10px;
    position: relative;
    left: 0;
    cursor: pointer;
    transition: 0.3s;
}
button:hover {
    background-color: var(--mainActive);
    color: white !important;
}
.button {
    padding: 6px 10px;
    background-color: var(--main);
    color: white;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    position: absolute;
    top: 0;
    right: 20px;
    transition: 0.3s;
}
.button:hover {
    cursor: pointer;
    padding: 6px 20px;
    right: 10px;
}
.buttons {
    position: absolute;
    top: 11px;
    right: 0;
    padding-right: 20px;
}
    .buttons button {
        width: auto;
        margin-top: 0;
        border-radius: 6px !important;
    }
.btn-inverted {
    border: 1px solid var(--main);
    padding: 2px;
    width: 100%;
    margin-top: 5px;
    color: var(--main);
    font-weight: bold;
    transition: 0.3s;
}
.btn-inverted:hover {
    color: white;
    background-color: var(--main);
}
input, select {
    width: 100%;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid var(--passiveDark);
    padding-left: 10px;
    box-sizing: border-box;
}
input[type="color"] {
    padding: 0 !important;
}
input[type="file"] {
    height: auto;
    padding-left: 0;
    border: none;
}
input[type='radio'], input[type='checkbox'] {
    display: inline-block;
    width: 20px !important;
    height: 20px;
}
textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid var(--passiveDark);
    padding: 10px;
    box-sizing: border-box;
}
.ui-datepicker-header {
    width: 100% !important;
}
label.smalllabel, .small {
    font-size: 12px;
    display: block;
    font-weight: normal;
    padding-left: 0;
}
div.leftline {
    border-left: 1px solid lightgray;
    margin-left: 10px;
    padding-left: 17px;
    padding-top: 2px;
    display: block;
    top: -3px;
    position: relative;
}

div.leftline p, div.leftline ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.leftline:after {
    content: '';
    width: 10px;
    height: 1px;
    background-color: lightgray;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* === NAVIGATION === */
li.nav-item {
    transition: 0.3s;
    position: relative;
}

    li.nav-item.activeNav > a, li.nav-item:hover a {
        background-color: #006ac8 !important;
        border-radius: 6px !important;
        color: white !important;
    }
.nav-link i {
    width: 25px;
    text-align: center;
    margin-right: 5px;
}
.logoFont {
    font-family: 'Kaushan Script', cursive !important;
}
div#logout {
    position: absolute;
    bottom: 50px;
    left: 40px;
    color: white;
    cursor: pointer;
}
div#logout i {
    width: 25px;
}


/* === HEADLINE === */
#headlineBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 5%;
    background-color: white;
    border-bottom: 1px solid var(--main);
    z-index: 9;
}
#headlineBar h1 {
    font-size: 40px;
    text-align: left;
    margin: 0;
    color: var(--main);
    display: inline-block;
}
header li {
    padding: 2px 20px;
}
header {
    padding-left: 5%;
    padding-right: 5%;
    background-color: var(--main);
    border-bottom: 1px solid white;
}
header nav {
    color: white;
}
header nav ul li a {
    color: white;
}
header .navbar-light .navbar-nav .nav-link {
    color: white;
    transition: 0.3s;
}
.navbar-brand {
    color: white !important;
}
.headline {
    background-color: white;
    width: calc(100% + 42px);
    margin-bottom: 30px;
    padding: 20px;
    position: relative;
    left: -42px;
    top: 0;
    padding-left: 60px;
    border-bottom-right-radius: 10px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    z-index: 6;
}
.headline .headlineTitle {
    font-size: 20px;
    color: var(--main);
}


/* === FOOTER === */
footer {
    background-color: var(--main);
    color: white !important;
    height: 35px;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9;
}
footer a {
    color: white !important;
    text-decoration: none;
}
footer #clock {
    position: absolute;
    right: 40px;
    top: 6px;
    color: white;
}
footer .container {
    color: white;
}


/* === GRID === */
.grid {
    display: grid;
    gap: 15px;
}
.grid .box {
    padding: 0 20px 20px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    border-radius: 8px;
    background-color: white;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}
    .grid .box h4 {
        border-bottom: 1px solid lightgray;
        border-top: 1px solid lightgray;
        padding-bottom: 20px;
        padding-top: 20px;
        padding-left: 20px;
        position: relative;
        left: -20px;
        width: calc(100% + 40px);
        margin-top: 20px;
        margin-bottom: 10px;
        background-color: rgba(245,245,245)
    }
    .grid .box h4:first-child {
        border-top: none;
        margin-top: 0;
    }
    .grid .box-splitter {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
.grid .box h3 {
    display: inline-block;
    position: relative;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin: 0;
}
.grid .box textarea {
    margin-top: 5px;
}
    .grid .box .erz h4 {
        left: -10px;
        width: calc(100% + 20px);
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .grid .box .erz {
        border-radius: 6px;
        overflow: hidden;
        padding: 10px;
        padding-top: 0;
    }






.beginn {
    z-index: 7;
}
.beginn p {
    color: white;
    width: 200px;
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 14px;
    overflow: hidden;
    height: 20px;
}


















/* === LOGIN === */
.loginBackground {
    width: 100%;
    height: 100%;
    
    background-position: center!important;
    background-size: cover!important;
}

.loginContainer {
    width: 400px;
    margin: auto;
    background-color: rgba(255,255,255,0.95);
    padding: 20px;
    margin-left: calc(50% - 200px);
    margin-top: calc(20vh);
    box-shadow: rgba(0, 0, 0, 0.85) 0px 5px 15px;
    border: 1px solid var(--main);
}

.loginContainer h3 {
    margin: 0;
    color: var(--main);
    text-align: center;
    font-size: 30px;
}

.loginContainer h4 {
    margin-top: 0;
    color: var(--passiveDark);
    text-align: center;
    text-transform: uppercase;
}

#loginerror {
    display: none;
    padding: 5px 10px;
    background-color: red;
    color: white;
    width: 100%;
    margin-top: 10px;
}

#loginerror p {
    margin: 0;
    font-size: 14px;
}







h4 {
    font-size: 16px;
    color: var(--main);
    font-weight: bold;
    margin-bottom: 0;
    padding-top: 20px;
}

select.form-select {
    height: 38px;
}

header nav {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

#confirmContainer, #modalContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    z-index: 3;
}

#confirm, #modal {
    position: fixed;
    top: 30dvh;
    width: 400px;
    left: calc(250px + 50vw - 330px);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    display: flex;
    flex-direction: row;
}
    #confirm i, #modal i {
        color: oklch(57.7% 0.245 27.325);
        background-color: oklch(0.94 0.04 17.56);
        border: 1px solid oklch(57.7% 0.245 27.325);
        padding: 8px 9px 10px;
        border-radius: 50%;
        position: absolute;
        top: -15px;
        left: -15px;
        z-index: 2;
    }

    #confirm div ~ div, #modal div ~ div {
        width: 100%;
    }

    #confirm i.green, #modal i.green {
        color: var(--green);
        background-color: var(--greenBg);
        border: 1px solid var(--green);
    }

    #confirm h3, #modal h3 {
        font-size: 18px;
        text-align: left;
        position: relative;
        top: -20px;
        left: -20px;
        width: calc(100% + 40px);
        padding: 20px;
        background-color: rgb(245, 245, 245);
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    #confirm p, #modal p {
        text-align: left;
        font-size: 14px;
    }

.btn-cancel {
    border: 1px solid lightgray;
    font-size: 14px;
}

.btn-delete {
    font-size: 14px;
    background-color: oklch(57.7% 0.245 27.325);
    color: white;
}

.btn-success:hover {
    background-color: #13633e;
}

    .btn-delete:hover {
        background-color: oklch(44.4% 0.177 26.899);
    }

    #confirm .split, #modal .split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    #modal #closeButton {
        position: absolute;
        top: -5px;
        right: 5px;
        left: auto;
        padding: 0;
        width: 25px;
        border-radius: 4px !important;
    }


header {
    width: 250px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    height: 100%;
    padding-top: 10px;
}

    header .container-fluid {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    header nav {
        flex-wrap: wrap !important;
    }

        header nav div.navbar-collapse ul {
            margin-top: 20px;
        }

        header nav div.navbar-collapse, header nav ul, header nav div ul li {
            width: 100% !important;
            display: inline-block !important;
        }


ul li:hover .comingSoon {
    transform: scale(1.1);
    top: 10px;
}

.comingSoon {
    position: absolute;
    top: 28px;
    left: 20px;
    color: red;
    border: 2px solid red;
    border-radius: 6px;
    font-size: 12px;
    background-color: white;
    padding: 0 5px;
    transform: rotateZ(7deg);
    transition: 0.3s;
}

.menu:hover .submenu {
    display: inline-block !important;
}

.menu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: -1px;
    left: 250px;
    background-color: white;
    padding: 5px;
    z-index: 4;
    border: 1px solid var(--main);
    border-left: none;
    color: var(--main);
    box-shadow: rgba(0, 0, 0, 0.16) 5px 3px 6px, rgba(0, 0, 0, 0.23) 5px 3px 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.box .submenu {
    border-radius: 6px;
}

.dropdownItem {
    padding: 4px 10px;
    transition: 0.3s;
    border-radius: 8px;
    width: 100%;
    transition: 0.3s;
}

    .dropdownItem:hover {
        cursor: pointer;
        color: white;
        background-color: var(--mainActive);
    }


/* === PLZ CONTAINER === */
.col-2 {
    position: relative;
}

div.plzContainer {
    position: absolute;
    top: 75px;
    left: 12px;
    padding: 4px 0;
    background-color: white;
    border: 1px solid var(--main);
    width: calc(100% - var(--bs-gutter-x));
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

div.plzContainer div {
    padding: 2px 10px;
    width: 100%;
    overflow: hidden;
}

div.plzContainer div:hover {
    background-color: var(--main);
    color: white;
    transition: 0.3s;
    cursor: pointer;
}









.toastify {
    color: var(--main)!important;
    border: 1px solid var(--main);
}
.toast-close {
    display: none!important;
}
