:root {
    --primary-cd-color: #099C84; /* Originalfarbe */
    --primary-cd-color-light: #00e1bd; /*#0AB095;*/
    --primary-cd-color-dark: #088F79;

    --primary-cd-color-highlight: #0CC9AA; /* Originalfarbe */
    --primary-text-color: #E0BD1A;
    --table-header-bg-color: #616161; /*w3-css dark gray*/

    font-family: Verdana, Arial, Helvetica, sans-serif !important;
}

h2 {
    font-size: 24px;
    font-weight: 900;
}

h3 {
    font-size: 20px;
    font-weight: 700;
}

.corporate_design_blue {
    background-color: #0292b7 !important;
    color: #FFF;
}

.corporate_design_dark-gray {
    background-color: #616161 !important;
    color: #FFF;
}

.corporate_design_light_gray {
    background-color: #B1B1B1 !important;
    color: #F0F0F0;
}


.corporate_design_text_blue {
    color: #0292b7;
}

.corporate_design_green {
    background-color: #89a347 !important;
    color: #FFF;
}

.corporate_design_text_green {
    color: #89a347 !important;
}

.corporate_design_green_light {
    background-color: #bec9a4 !important;
    color: #616161 !important;
}

.corporate_design_orange {
    background-color: #d86213 !important;
    color: #FFF;
}

.corporate_design_orange_light {
    background-color: #db854a !important;
    color: #FFF !important;
}

.corporate_design_text_orange_light {
    color: #db854a !important;
    border-color: #db854a !important;
}

.corporate_design_text_orange {
    color: #d86213 !important;
    border-color: #d86213 !important;
}

.corporate_design_orange_light:hover {
    background-color: #bec9a4 !important;
    color: #313131 !important;
}

.corporate-design-bg-color {
    background-color:#fbf9f5 !important;
}

.tile-background {
    background-color: #fbf9f5  !important;
    color: #0292b7 !important;
}

.tile-background:hover {
    background-color: #db854a !important; /* Dunkleres Blau bei Hover */
    color: white !important;
}

/*.tile-background{
    /*background-color: #f4fff9;
    background-color: #c0ffd1;
}*/

/* Fester Header */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px; /* Fixe Höhe */
    z-index: 1000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Plaziert die Icons nach rechts */
    padding: 0;
}

/* Container für Firmenname und Slogan */
.flex-container {
    padding: 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt */
    flex: 1; /* Füllt den Container, so dass Platz für Icons bleibt */
}

/* Firmenname */
.company-name {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 500;
    margin-right: 8px; /* Kleiner Abstand zum Slogan */
    display: inline-block;/* Sicherstellen, dass der Firmenname als Inline-Block angezeigt wird */
}

/* Slogan */
.slogan {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    font-style: italic;
    display: inline-block; /* Sicherstellen, dass der Slogan als Inline-Block angezeigt wird */
}

/* Icons ganz rechts */
.icons {
    margin-left: auto; /* Drückt die Icons ganz nach rechts */
    padding: 8px !important;
}

#id-navigation-menu {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    top: 60px; /* Positioniert das Menü unterhalb des Headers */
    right: 0;
    width: 250px;
    z-index: 1001;
}

/* Styling des mobilen Menüs */
.menu-item {
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    color: white;
}

.menu-item:hover {
    background-color: #db854a !important;
}

.header-flex {
    display: flex;           /* Flexbox aktivieren */
    align-items: center;     /* Vertikale Zentrierung */
    justify-content: flex-start; /* Nebeneinander anordnen (links ausrichten) */
}

/* Optionales Styling für das Logo und den Text */
.header-flex img {
    height: 80px; /* Höhe des Logos */
}

.header-flex h2 {
    margin-left: 20px; /* Abstand zwischen Logo und Text */
    margin-bottom: 0;  /* Verhindert zusätzlichen unteren Rand */
}


.tile-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center; /* Erlaubt gleichmäßige Verteilung der Elemente */
    align-items: center;
    height: 100%;
    width: 100%;
    max-height: 200px;
    text-align: center;
    /*box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.15), 2px 2px 8px rgba(0, 0, 0, 0.15);*/
    /* background-color: #fffef4; */
}

.tile-row {
    display: flex;
    flex-wrap: wrap; /* Damit die Kacheln in mehreren Reihen angezeigt werden können */
    gap: 16px; /* Abstände zwischen den Kacheln, flexibel */
    max-width: 700px;
    justify-content: space-between;
}

.tile-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 135px;
    text-decoration: none;
}

.tile-caption {
    word-wrap: break-word; /* Erzwingt den Umbruch bei langen Wörtern */
    white-space: normal; /* Stellt sicher, dass der Text umbricht */
    font-size: 1rem; /* Schriftgröße der tile-caption */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    gap: 0.2em;
}

.tile-icon {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    font-size: 30px;
    /*color: teal;*/
}
