

/* OVERALL */
* {
    position: relative;
    box-sizing: border-box;
}

:root {
    --blue: #1e2537;
    --blueActive: #323f5e;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 250px;
    background-color: var(--blue);
}

main {
    padding-left: 250px;
    padding-top: 15px;
}

main > *, main > .table th, main > .table td {
    padding-left: 20px;
}


/* FONTS */

h1 {
    font-size: 20px;
}


/* COLOR CLASSES */
.bg-lightgray {
    background-color: lightgray;
}


/* STATES */

div.state {
    padding: 2px 10px;
    padding-left: 8px;
    display: inline-block;
    border-radius: 6px;
    margin: 0;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    text-align: left;
    border: 1px solid lightgray;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

div.stateChanger {
    display: none;
    position: absolute;
    top: 25px;
    left: 0px;
    border: 1px solid lightgray;
    background-color: white;
    border-radius: 8px;
    padding: 5px 0;
    cursor: auto;
    z-index: 2;
}

div.stateChanger div {
    padding: 4px 10px;
    cursor: pointer;
    width: 150px;
}

div.stateChanger div:hover {
    background-color: rgb(230, 230, 230);
}

div.state_Neu {
    background-color: rgba(0,0,255, 0.25);
    border-color: rgb(0,0,255);
}

div.state_Kundenfreigabe {
    background-color: rgba(255, 255, 0, 0.25);
    border-color: rgb(231, 207, 0);
}

div.state_inArbeit {
    background-color: rgba(0,255,255, 0.2);
    border-color: rgb(0,255,255);
}

div.state_Erledigt {
    background-color: rgba(0,128,0, 0.25);
    border-color: rgb(0,128,0);
}

div.state_Abgebrochen {
    background-color: rgba(128, 128, 128, 0.25);
    border-color: rgb(128, 128, 128);
}

.state:hover .stateChanger {
    display: inline-block;
}

span.dot {
    display: inline-block;
    width: 6px;
    height: 20px;
    top: 3px;
    margin-right: 4px;
    border-radius: 4px;
}



.btn-secondary {
    border: 1px solid gray;
    border-radius: 10px;
    color: gray;
    background-color: white;
}
.btn-secondary:hover {
    border: 1px solid var(--blue);
    color: white;
    background-color: var(--blue);
}