header i {
    color: var(--digitalBlau);
}

header {
    justify-content: space-between;
    align-items: center;
    height: 70px;
    min-height: 70px;
    background-color: var(--lightgreySP);
    /* background-color: red; */
    color: var(--digitalBlau);
}

#logo {
    height: 40px;
    margin-left: 10px;
}

.btnLoginLogout {
    background-color: var(--digitalBlau);
    display: flex;
    color: white;
    height: 38px;
    text-align: center;
    width: 138px;
    border-radius: 24px;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

@media (min-width: 800px) {
    #logo {
        height: 55px;
        
    }

    .logoSignedIn{
        content: url('/img/Produkte_Logo_3_72.png');
    }
}

header>div {
    margin-left: 20px;
}

header>div:last-of-type {
    margin-right: 10px;
}

#user {
    justify-content: flex-start;
    align-items: center;
}

#user>div:first-of-type {
    width: 40px;
    height: 40px;
    background-color: lightgray;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--greySP);
    font-size: larger;
}

#user>a {
    margin-left: 10px;
}

#user>img {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
}

header label {
    margin-left: 10px;
}

#setup>button {
    background: transparent;
    border: none;
    cursor: pointer;
}

.projektauswahl a,
.formularauswahl a {
    align-items: center;
}

.projektauswahl label,
.formularauswahl label {
    cursor: pointer;
}

.projektauswahl img,
.formularauswahl img {
    width: 10px;
    margin-left: 8px;
    margin-top: 3px;
}

#ddProjektauswahl,
#ddFormularauswahl {
    position: absolute;
    margin-top: 15px;
    background-color: white;
    z-index: 1000;
    height: 200px;
    /* margin-left: 30px; */
    box-shadow: rgba(0, 0, 0, 0.133) 0px 3.2px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 1.8px 0px;
    border-radius: 5px;
    max-height: 200px;
    width: 235px;
    overflow-y: auto;
    overflow-x: hidden;
}

#ddProjektauswahl ul,
#ddFormularauswahl ul {
    list-style: none;
}

#ddProjektauswahl img,
#ddFormularauswahl img {
    width: 15px;
    height: 15px;
    margin: 0;
    margin-right: 5px;
}

#ddProjektauswahl li,
#ddFormularauswahl li {
    padding: 5px 5px 0 5px;
}

#ddProjektauswahl li:last-of-type,
#ddFormularauswahl li:last-of-type {
    margin-bottom: 15px;
}

#ddProjektauswahl li:not(:first-child):hover,
#ddFormularauswahl li:not(:first-child):hover {
    background-color: var(--lightgreySP);
    cursor: pointer;
}

#ddProjektauswahl li>div,
#ddFormularauswahl li>div {
    padding: 5px;
    border-bottom: var(--lightgreySP) solid 1px;

}

#ddProjektauswahl input,
#ddFormularauswahl input {
    border: none;
    border-bottom: var(--greySP) solid 1px;
    outline: none;
    border-radius: 3px;
}

#ddProjektauswahl input:hover,
#ddFormularauswahl input:hover {
    background-color: var(--lightgreySP);
}

.setupIcon {
    cursor: pointer;
}


.setupMenue {
    position: absolute;
    background-color: white;
    margin-top: 10px;
    /* margin-left: -50px; */
    /* border: 1px solid gray; */
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.133) 0px 3.2px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 1.8px 0px;
    color: white;
    z-index: 2;
}

.setupSubmenue {
    height: 2em;
    padding: 0.5em;
    vertical-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: var(--lightgreySP) solid 1px;
}

.setupSubmenue:hover {
    background-color: var(--lightgreySP);
    border-radius: 5px;
}

#headerTrennlinie {
    height: 80%;
    width: 2px;
    /* background: var(--digitalBlau); */
    margin-left: 10px;
}

.devTextausrichtung {
    display: flex;
    justify-content: center;
    font-weight: 900;
    font-size: x-large;
}

.restDaysHeader {
    text-align: center;
    color: var(--digitalRot);
}

/* Verkleinern der Icons bei kleinerem Bild */
@media (max-width: 800px) {

    #user,
    #home,
    #loginOut,
    #setupIcon {
        font-size: smaller;
    }

    #user>div:first-of-type {
        width: 35px;
        height: 35px;
    }

    header {
        height: 50px;
        min-height: 50px;
    }

    .projektauswahl {
        margin-left: 20px;
    }

    .formularauswahl {
        margin-left: 20px;
    }

    .btnLoginLogout {
        height: 33px;
        width: 98px;
        border-radius: 24px;
        font-size: 18px;
    }
}

/* Projektauswahl Label verschwinden, wenn zeile zu klein */
@media(max-width:1200px) {

    #btnProjektauswahl label,
    #btnFormularauswahl label {
        display: none;
    }
}

@media(max-width:1000px) {
    #labelName {
        display: none;
    }
}

@media(max-width:540px) {
    #user label {
        display: none;
    }
}