﻿:root {
    --background-dark-blue: #10253F;
    --text-dark-blue: white;
   --link-hover-ORANGE: #E2800E;
    --border-grey: #808080;
    --text-white: white;
    --dropdown-link-color: #10253F; /* Angepasste Farbe bei bestimmten Breiten */
    --background-gray: #808080;
    --background-dark-blue: #10253F;
    --nav-link-color-responsive: #1F497D; /* Ergänzung für media queries */
    --text-color-responsive: white; /* Ergänzung für media queries */
}


.megamenu-wrapper {
    background-color: var(--background-dark-blue);
    margin-top: 2px;
    display:none;
}

.mega-menu-content {
    width: 1600px;
    max-width: 100%;
    background-color: var(--background-dark-blue);
    margin: 3px;
  
}

.megamenu-wrapper .col-4 {
    padding: 0;
    background-color: var(--background-dark-blue);
}

.close-mega-menu {
    position: absolute;
    top: 5px;
    right: 20px;
    border: none;
    background: none;
    font-size: 65px;
    cursor: pointer;
    color: var(--text-dark-blue);
}

.megamenu-wrapper a.custom-nav-link {
    display: block;
    width: 100%;
    background-color: var(--background-dark-blue);
    text-align: left;
    padding: 5px 10px;
    margin: 0;
    border: none;
    text-decoration: none;
    transition: background-color 0.3s ease;
    /*border-bottom: 1px solid var(--text-white);*/
    color: var(--text-white);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration:none;
}

    .megamenu-wrapper a.custom-nav-link:hover {
        background-color: var(  --link-hover-ORANGE);
        color: var(--text-white);
    }

.megamenu-wrapper .submenu-container {
    min-height: 100px;
    background-color: var(--background-dark-blue);
    border-left: #b6ff00;
    display: none;
}

    .megamenu-wrapper .submenu-container a {
        color: var(--text-dark-blue);
        font-family: Roboto;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        padding-left: 20px;
    }

/* CSS für die Einrückung von Sublinks */
.submenu-item {
    padding-left: 20px; /* Einrückung für die erste Ebene der Sublinks */
}

.grandkid-item a {
    color: #10253F !important; /* Setzt die Linkfarbe für beide Klassen */
}

.grandkid-item {
    padding-left: 40px; /* Weitere Einrückung für tiefer liegende Sublinks */
    background-color: #CEDCE7;
}

    .grandkid-item:hover {
        background-color: var(  --link-hover-ORANGE);
        color: #10253F;
    }

.custom-nav-link {
    text-decoration: none;  
}

.megamenu-wrapper .submenu-container a.custom-nav-link,
.megamenu-wrapper .grandkid-item a.custom-nav-link {
    text-decoration: none;
  
}
