#header {
    position: fixed;
    left: 0; top: 0;
    z-index: 10000;
    height: 4.5rem; line-height: 4.5rem;
    padding: 0 0 0 1.5rem;
    width: 100%;
    -moz-transition: background-color 0.2s ease; -webkit-transition: background-color 0.2s ease; -ms-transition: background-color 0.2s ease; transition: background-color 0.2s ease;
    background-color: #f8f8f8;
    box-shadow: 0 0 1rem 0 rgba(144, 144, 144, 0.25);
}
#header .logo {
    display: block;
    font-weight: 700;
    height: inherit;
    letter-spacing: 0.07rem;
    line-height: inherit;
}


#header nav ul li a[href="#menu"] {
    text-decoration: none;
    padding-right: 3rem;
}
#header nav ul li a {
    display: inline-block;
    padding: 0 1.5rem 0 1.5rem;
    position: relative;
}
#header a {
    color: inherit;
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    border: 0;
}
#header nav ul li a[href="#menu"]:before {
    content: '\f0c9';
    display: block;
    height: 100%;
    position: absolute;
    right: 1.5rem;
    text-align: center;
    top: 0;
    width: 1rem;
}
#header nav ul li a[href="#menu"]:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}


/* .visible holt es rein  */
#menu.visible {
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.2);
    visibility: visible;
}

#menu {
    position: fixed; right: 0; top: 0;
    visibility: hidden;  overflow-y: auto;
    z-index: 10002;

    background-color: #1C66B0;
    color: #D3E2F3;

    max-width: 80%;
    width: 40rem;
       -moz-transform: translateX(40rem);
    -webkit-transform: translateX(40rem);
        -ms-transform: translateX(40rem);
            transform: translateX(40rem);

       -moz-transition: -moz-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
 -webkit-transition: -webkit-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
         -ms-transition: -ms-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
                 transition: transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;

    -webkit-overflow-scrolling: touch;
    height: 100%;
    padding: 6rem 4rem;
}
#menu > ul.links > li > a:not(.button) {
    border: 0;
    border-top: solid 1px rgba(255, 255, 255, 0.25);
    color: inherit;
    display: block;
    line-height: 3.5rem;
    text-decoration: none;
}

#menu .close {
    text-decoration: none;
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border: 0;
    color: #b9e3eb;
    cursor: pointer;
    display: block;
    height: 3.25rem;
    line-height: 3.25rem;
    padding-right: 1.25rem;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
    vertical-align: middle;
    width: 7rem;
}

@media screen and (max-width: 736px){
  #menu .close {height: 4rem; line-height: 4rem;}
}
