
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

header {
    background: #333;
    padding: 10px 0;
    color: #fff;
    display: flex;
    justify-content: space-between; /* Verteilt die Spalten über die gesamte Breite */
    align-items: center;}
/* Flex-Container für drei Spalten */
.header-container {
    display: flex; /*Das sorgt dafür, dass die Spalten nebeneinander stehen */
    width: 100%;
    align-items: center;
}

/* Linke Spalte (Logo) */
.header-left {
    display: flex;
    align-items: center;
    padding-left: 0; /* Kein zusätzlicher Abstand */
    margin-left: 0; /* Sicherstellen, dass es am Rand bleibt */
}
/* Logo im Header als Hintergrundbild */
#logo-link {
    display: block;
    width: 100px; /* Größe des Logos anpassen */
    height: 100px;
    background-image: url('../../logo/hwcLogo01.jpg'); /* Pfad zum Logo */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

/* Mittlere Spalte (zentrierter Text) */
.header-middle {
    flex: 1; /* Nimmt den verbleibenden Platz ein */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rechte Spalte (rechtsbündig) */
.header-right {
    width: 200px; /* Feste Breite */
    /*flex: 1;*/
    text-align: right;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


footer {
    background: #333;
    padding: 10px 0;
    color: #fff;
    display: flex;
    justify-content: space-between; /* Verteilt die Spalten über die gesamte Breite */
    align-items: center;}
/* Flex-Container für drei Spalten */
.footer-container {
    display: flex; /*Das sorgt dafür, dass die Spalten nebeneinander stehen */
    width: 100%;
    align-items: center;
}

/* Linke Spalte */
.footer-left {
    display: flex;
    align-items: center;
    padding-left: 0; /* Kein zusätzlicher Abstand */
    margin-left: 0; /* Sicherstellen, dass es am Rand bleibt */
}

/* Mittlere Spalte (zentrierter Text) */
.footer-middle {
    flex: 1; /* Nimmt den verbleibenden Platz ein */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rechte Spalte (rechtsbündig) */
.footer-right {
    width: 200px; /* Feste Breite */
    /*flex: 1;*/
    text-align: right;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

table {
	width: 100%;
	margin-top: 1em;
}

td {
	padding: 0.2em;
}

thead {
	color: white;
	background-color: #333;
}

tbody tr:nth-child(odd) {
	background-color: #eee;
}
tbody tr:nth-child(even) {
	background-color: #ccc;
}

tr:hover {
	background-color: #555 !important;
    color: white;
}

.titelinfo-tabelle {
    width: 60%;
    margin: 1em auto; /* Zentriert die Tabelle auf der Seite */
    border-collapse: collapse;
}

.titelinfo-tabelle th {
    background-color: #444; /* Dunklere Farbe für Blocküberschriften */
    color: white;
    text-align: center;
    padding: 0.5em;
    font-size: 1.1em;
}

.titelinfo-tabelle td {
    padding: 0.4em;
}

.titelinfo-tabelle td:first-child {
    background-color: #ddd; /* Linke Spalte farblich anders */
    font-weight: bold;
    width: 50%; /* Linke Spalte nimmt mehr Platz ein */
}

.titelinfo-tabelle td:last-child {
    background-color: #f9f9f9; /* Rechte Spalte heller */
    width: 50%;
}

.titelinfo-tabelle tr:hover {
    background-color: transparent !important; /* Stellt sicher, dass keine Farbe beim Hover erscheint */
    color: inherit !important; /* Falls die Schriftfarbe verändert wird, bleibt sie unverändert */
}


.container {
    width: 90%;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #fff;
    border-radius: 8px;
}

.instructions {
    margin-bottom: 20px;
    background: #e2e2e2;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 8px;
}

.content {
    display: flex;
    gap: 20px;
}

.left, .middle, .right {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fafafa;
    border-radius: 8px;
}

/*allgemeine Regel für alle div-Elemente innerhalb der Spalten rechts,links,mmitte*/
.left > div,
.middle > div,
.right > div {
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #ccc; /* Trennlinie zwischen Abschnitten */
    background-color: #f9f9f9; /* Leichte Hintergrundfarbe */
    border-radius: 5px;
}

.left > div:last-child,
.middle > div:last-child,
.right > div:last-child {
    border-bottom: none;
}


.left select {
    width: 100%;
    padding: 5px;
    font-size: 1em;
}

.middle form input[type="text"],
.middle form input[type="number"],
.middle form input[type="date"] {
    width: calc(100% - 10px);
    padding: 5px;
    margin-bottom: 10px;
}

.additional-content {
    margin-top: 20px; /* Abstand zum oberen Inhalt */
    padding: 10px;
    border-top: 1px solid #ccc; /* Trennungslinie */
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px; /* Einheitliche Schriftgröße */
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;   
}

.button, 
.button[type="submit"], 
.button[type="button"], 
.button a {
    font-size: 16px;
    font-family: inherit; /* Falls unterschiedliche Schriftarten verwendet werden */
}

.button:hover {
    background-color: #555;
}

.grid-container {
    display: grid;
    gap: 30px; /* Abstand zwischen den Zellen */
    align-items: center;
}

.form-buttons {
    margin-top: 20px;
}

.form-buttons button {
    padding: 10px 15px;
    margin-right: 10px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.form-buttons button:hover {
    background: #555;
}

#suggestions ul {
    list-style: none;
    padding: 0;
}

#suggestions li {
    padding: 5px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

#suggestions li:hover {
    background: #eee;
}

footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: #333;
    color: #fff;
}

