@font-face {
    font-family: 'SairaSemiCondensed';
    src: url('fonts/SairaSemiCondensed-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/OpenSans-Regular.ttf') format('truetype');
}

/* Globales Styling */
html, body {
    height: 100%;
}

body {
    font-family: 'OpenSans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
	display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'SairaSemiCondensed', sans-serif;
}

/* Admin-Header Link Styling */
h2 a {
    transition: color 0.2s ease-in-out;
}

h2 a:hover {
    color: #ffc107; /* Gelbe Farbe beim Hover (optional anpassbar) */
}


/* Timeline Styling */
.timeline {
    position: relative;
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 20px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.timeline-line {
    position: absolute;
    width: 3px;
    background-color: #ccc;
    left: 10px;
    top: 20px;
    bottom: 0;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-content {
    flex-grow: 1;
    transition: color 0.3s ease-in-out;
}

/* Statuspunkte einfärben */
.status-active .timeline-dot {
    background-color: #28a745; /* Grün für aktive Status */
}

.status-active .timeline-line {
    background-color: #28a745; /* Grün für Linie */
}

.status-active .timeline-content h5,
.status-active .timeline-content p {
    color: #000; /* Schwarzer Text für aktive Status */
}

/* Inaktive Statuspunkte grau einfärben */
.status-inactive .timeline-content h5,
.status-inactive .timeline-content p {
    color: #aaa; /* Grauer Text für inaktive Status */
}

/* Gelber Punkt für Status 4 */
.status-warning .timeline-dot {
    background-color: #ffc107; /* Bootstrap-Gelb */
}

.status-warning .timeline-line {
    background-color: #ffc107;
}

.status-warning .timeline-content h5,
.status-warning .timeline-content p {
    color: #856404; /* Dunklerer Gelbton für besseren Kontrast */
}

/* Styling für die Footer-Links */
main {
    flex: 1; /* Dehnt den Content-Bereich aus, damit der Footer unten bleibt */
}

footer {
    width: 100%;
    background-color: #f8f9fa; /* Optional: Farbe beibehalten */
}

.footer-link {
    font-size: 14px;  /* Kleinere Schriftgröße */
    text-decoration: none; /* Unterstreichung entfernen */
    color: #6c757d; /* Dezentes Grau */
}

.footer-link:hover {
    color: #000; /* Beim Hover Schwarz */
    text-decoration: none; /* Auch beim Hover keine Unterstreichung */
}


/* Bootstrap Fixes */
.card {
    margin-bottom: 20px;
}

