/* DATEI: style.css */
/* Standard-Stil-Vorgaben fuer G# */

body {
    background-color: #f4f0e0;
    margin: 10px auto;
    max-width: 80em;
    display: flex;
    flex-flow: row wrap;
    flex-direction: row;
}

* {
    font-size: 11pt;
    font-family: Arial,sans-serif;
    color: #101010;
    margin: 2px;
    padding: 0;
}

/* ----------- Haupt-Seitenelemente --------------------*/
header {
    flex: 1 100%;
    display: flex;
    flex-flow: row wrap;
    flex-direction: row;
    justify-content: space-between;
    background-color: #0068c0;
    box-shadow: 7px 7px 4px #aaa;
}
header * {
    color: #fff;
}
div.selection {
    margin-top: 0.3em;
    padding: 0.2em;
    color: #101010;
    background-color: #2890e0;
}
div.selection * {
    color: #101010;
}

aside {
    flex: 1 1 5em;
    margin-top: 10px;
    margin-right: 10px;
    padding: 5px;
    background-color: #fff;
    box-shadow: 7px 7px 4px #aaa;
}

main {
    flex: 5 5 25em;
    margin-top: 10px;
    padding: 5px;
    background-color: #fff;
    box-shadow: 7px 7px 4px #aaa;
}
main.relative {
    position: relative;
}

footer{
    flex: 1 100%;
    margin-top: 10px;
}

#dump {
    flex: 1 100%;
    font-family: monospace;
    font-size: 9px;
}

/* ----------- Standard-Elemente --------------------*/
h1 { font-size: 16pt; text-align: center; }
h2 { font-size: 14pt; text-align: center; }
h3 { font-size: 12pt; text-align: center; }
h4 { font-size: 11pt; text-align: center; }

a {
    color: #4040a0;
}
a.hell {
    color: #d0d8f0;
}
a.wichtig {
    color: #2890e0;
    font-size: 1.5em;
}
a.noul {
    text-decoration: none;
}
p.footer {
    font-size: 8pt;
    text-align: right;
    color: #888;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 3px;
}
p.footer a {
    font-size: 8pt;
    color: #ddd;
    background-color: #888;
    padding: 0;
}
p.message {
    color: #00D000;
    background-color: #000000;
    font-family: 'Courier New',Courier,monospace;
    font-weight: bold;
}
p.fett {
    font-weight: bold;
    padding-top: 5px;
    margin-bottom: 5px;
}
p.small {
    font-size: 10pt;
}
p.right {
    text-align: right;
}
p.hidden {
    display: none;
}
ul li {
    margin-left: 2em;
}
ul ul {
    margin-left: 2em;
}
span.warning {
    color: #e02020;
    font-weight: bold;
}
span.fussnote {
    vertical-align: super;
    font-size: 0.8em;
    margin-left: 2px;
}
span.highlight {
    background-color: gold;
}
span.mono {
    font-family: monospace;
    font-size: small;
    color: #206020;
}
span.boldgreen {
    font-weight: bold;
    color: #00D000;
}
button {
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
    background-color: #fcfcfc;
    color: #404040;
}
button.warning {
    background-color: #e06020;
}
button:hover {
    background-color: #606060;
    color: #e0e0e0;
}
tr.hidden {
    display: none;
}
canvas {
    border: 1px solid #808080;
}
canvas.chart {
    width: 100%;
    height: 30em;
}
div.toggle img {
    float: left;
}

/* ----------- Navi-Div's --------------------*/
div.menu {
    display: table;
    padding: 5px;
    cursor: pointer;
}
div.open {
    font-weight: bold;
    background-color: #f8f6e8;
}
div.subMenu {
    padding: 0;
    margin: 0;
}
div.menuItem {
    min-height: 20px;
    padding-left: 2em;
    padding-top: 2px;
    padding-bottom: 2px;
}
div.menuItem:hover {
    background-color: #faf8f0;
    cursor: pointer;
}
div.selected {
    font-weight: bold;
    background-color: #2890e0;
}
div.selected:hover {
    background-color: #0068c0;
}
div.menu p {
    display: table-cell;
    vertical-align: middle;
    padding-right: 1em;
    font-size: 1.2em;
    color: #666;
}
div.open p {
    color: #333;
}
div.item p {
    font-size: 1em;
}
div.dark {
    background-color: #808080;
    color: #606060;
}
div.selected p {
    color: #fff;
}
div.menu img {
    display: table-cell;
    float: left;
    margin-right: 0.5em;
}
div.subItem {
    display: none;
    padding-left: 2em;
    background-color: #f8f6e8;
}

/* ----------- User-Menü --------------------*/
div.userMenu {
    color: #e0e0e0;
    padding: 5px;
    border: 1px solid grey;
}
div.userMenu:hover {
    background-color: #2890e0;
    cursor: pointer;
}

/* -------------- Flex-Div ----------------*/
div.flex {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    flex-direction: row;
}
p.flex {
    flex: 1 1 30%;
}

/* ----------- Message-Div (vue) -------------------*/
div.alert {
    background-color: #404040;
    padding: 5px;
    line-height: 1.2em;
}
div.alert-error {
    color: #f01010;
    font-weight: bold;
}
div.alert-warning {
    color: #c0c040;
}
div.alert-info {
    color: #10f010;
}
div.alert button.close {
    float: right;
    padding: 0;
    padding-left: 3px;
    padding-right: 3px;
    border: none;
    line-height: 1.0em;
}

/* ----------- allgemeine Formular-Tabelle --------------------*/
table.form {
    border: 1px solid #404040;
    border-radius: 5px;
    background-color: #d0d0d0;
    width: 100%;
}
table.form td {
    border: none;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
}
table.form td.bold {
    font-weight: bold;
}
table.form td.small {
    font-size: small;
}
table.form td.head {
    background-color: #2890e0;
    color: #fff;
    font-weight: bold;
}
table.form td.marked {
    background-color: #c07070;
}
table.form td.label {
    text-align: right;
    padding-left: 5px;
    font-weight: bold;
    vertical-align: top;
}
table.form td.center {
    text-align: center;
}
table.form td.right {
    text-align: right;
}
table.form td.top {
    vertical-align: top;
}
table.form th {
    padding: 2px;
    color: #fff;
    background-color: #2890e0;
    text-align: left;
    font-weight: bold;
}
table.form th.top {
    background-color: #2890e0;
    color: #fff;
    text-align: center;
}
table.form th img {
    float: right;
}
table.form tr:nth-child(even) {
    background-color: #f0f0f0;
}
table.form tr:nth-child(odd) {
    background-color: #f8f8f8;
}
table.form tr.selected td {
    background-color: #80d0f0;
}
table.form tr.dark {
    background-color: #808080;
}
table.form tr.failMessage td {
    text-align: center;
    color: #d00000;
}
table.form tr.personLink:hover {
    cursor: pointer;
    background-color: #38a0f0;
}
table.form tr.teamLink:hover {
    cursor: pointer;
    background-color: #38a0f0;
}
table.admin {
    background-color: #f0a000;
}

/* ----------- Planungs-Tabelle --------------------*/
table.plan {
    border: solid 1px #404040;
    border-collapse: collapse;
    background-color: #d0d0d0;
}
table.plan td {
    padding: 3px;
    border: solid 1px #404040;
    border-collapse: collapse;
    text-align: center;
}
table.plan th {
    padding: 3px;
    font-weight: bold;
    color: #202060;
    text-align: left;
    background-color: #e0e0e0;
    border: solid 1px #404040;
    border-collapse: collapse;
}
table.plan th.top {
    background-color: #e0e0e0;
    color: #606060;
    text-align: center;
}
table.plan td.yellow {
    background-color: yellow;
}
table.plan td.feiertag {
    background-color: #ff9920;
}
table.plan td.tdDienst span {
    display: block;
    margin: 0 auto;
}
button.dienst {
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 15px;
    white-space: nowrap;
}
button.dienstNV {
    background-color: #CC2828;
    color: #F7D827;
}
button.dienstNiN {
    background-color: #F7D827;
    color: #274df7;
}
button.dienstN {
    background-color: #FFED3A;
    color: #808080;
}
button.dienstP {
    background-color: #1D5FE4;
    color: #f0f0f0;
}
button.dienstA {
    background-color: #40B735;
    color: #f0f0f0;
}
button.dienstE {
    background-color: #F28424;
    color: #f0f0f0;
}
button.dienstS {
    background-color: #EDDED3;
    color: #F2A7A7;
}

/* ----------- Mail-Fenster (HTML-Edior) ------*/
td.mailtext {
    max-width: 20em;
}
td.mailtext ul li {
    margin-left: 1em;
}
td.mailtext ol li {
    margin-left: 1em;
}

/* ----------- Haupt-Menü ---------------------*/
div.mainMenu {
    color: #a0a0a0;
    background-color: #808080;
    margin-top:  10px;
    padding: 3px;
}

/* ----------- Meldungs-Box --------------------*/
div.message {
    color: #00D000;
    font-family: 'Courier New',Courier,monospace;
    font-weight: bold;
    background-color: #101010;
    padding: 5px;
    position: fixed;
    top: 3em;
    left: 3em;
    border-radius: 0.25em;
    box-shadow: 0.5em 0.5em 0.5em #808080;
    z-index: 1000;
}

/* ----------- Overlay-Formulare --------------------*/
div.shadow {
    display: block;
    position: fixed;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    background-color: rgba(64,64,64,0.6);
    z-index: 1000;
}
div.shadow img {
    float: right;
}
div.filter {
    display: block;
    position: absolute;
    height: auto;
    border-radius: 8px;
    background-color: rgba(64,64,64,0.6);
    z-index: 1000;
}
div.filter img {
    float: right;
}
div.scrollable {
    position: absolute;
}
div.dialog {
    background-color: #e0e0e0;
    margin: 10px;
    padding: 5px;
}
div.warning {
    padding: 20px;
    background-color: #e02020;
}

div.hidden {
    display: none;
}
/* ------------------- Spezial-Formatierungen -------------*/
