/* hide the checkbox and the label */

input#responsive-nav,
label.responsive-nav-label {
    display: none;
}

/* non-responsive Menue */

#menue {
    padding: 0px 3px;
    background: rgba(100,100,100,0.4);
    padding: 10px;
    text-align: left;
    color: #dddddd;
    font-weight: bold;
}

nav ul ul {
    display: none;
}

nav ul li:hover > ul {
    display: block;
}

nav ul {
    padding: 0px;
    list-style: none;
    position: relative;
    display: inline-table;
    z-index: 5;
}

nav ul:after {
    content: "";
    clear: both;
    display: block;
}

nav ul li {
    float: left;
}

nav ul li:hover {
    color: #999999;
}

nav ul li:hover a {
    color: #999999;
    background: #fff;
}

nav ul li a {
    display: block;
    padding: 2px 2px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;

}

nav ul li:hover ul li a {
    color: #fff;
    background: rgba(100,100,100,0.4);
}

nav ul li ul {
    background: rgba(100,100,100,0.4);
    position: absolute;
    top: 100%;
}

nav ul li ul li {
    float: none;
    position: relative;
    color: #fff;
    background: rgba(100,100,100,0.4);
}

nav ul li ul li a {
    padding: 2px 2px;
    color: #fff;
    background: rgba(100,100,100,0.4);
}

nav ul li ul li a:hover {
    color: #999999;
    background: #fff;
}

nav ul li ul li ul {
    position: absolute;
    left: 100%;
    top: 0;
}

.menue_aktiv {
    color: #999999;
    background: #ffffff;
}

/* Declarations for the responsive menu */

@media screen and (max-width: 800px) {

    * {
        font-size: 18px;
    }

    label.responsive-nav-label {
        position: relative;
        display: block;
        padding: 10px;
        background: rgba(100,100,100,0.4);
        cursor: pointer;
        color: #ffffff;
        text-align: left;
    }

    label.responsive-nav-label span {
        margin-right: 10px;
    }

    nav {
        position: absolute;
        top: -9999px;
        padding: 5px;
    }

    input#responsive-nav[type=checkbox]:checked ~ nav {
        position: relative;
        top: 0;
    }

    nav a:after {
        display: none;
    }

    nav li {
        float: none !important;
        width: 100% !important;
        border-bottom: none !important;
        background: none !important;
    }

    nav li a {
        margin-bottom: 10px !important;
        padding: 10px 20px !important;
        background: rgba(100,100,100,0.4);
        color: #ffffff;
    }

    nav ul li:hover {
        background: none;
        color: #222222;
    }

    nav ul li a:hover {
        background: #ffffff;
        color: #999999;
    }

    nav ul ul {
        position: relative !important;
        width: 100%;
        left: 0 !important;
        top: 0 !important;
        background: none !important;
        box-shadow: none;
        border: none;
        display: block;
    }

    nav ul ul li {
        padding-left: 20px;
        border: none;
    }
}