#nav.fix {
    position: fixed;
    top: 0;
    color: #fff;
    padding: 1em 1em 0 1em;
    z-index: 10000;
    width: 1280px;
}


#nav,
#nav ul,
#nav ul li,
#nav ul li a,
#nav #menu-button {
    list-style: none;
    line-height: 1.1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#nav {
    font-family: inherit;
    background: #fff;
}

#nav ul {
    min-width: calc(100% - 2px);
    margin: 0;
}

#nav ul li {
    z-index: 100;
    padding: 0 0 1em 0;
}

#nav ul li ul {
    position: absolute;
    top: 1.8em;
}


#nav ul li a {
    font-size: 1.2em;
    letter-spacing: .4px;
    padding: 0 1em 0em 1em;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    color: #99cfed;
    border-right: 2px solid #99cfed;
}

#nav > ul > li:first-of-type a {
    padding: 0 1em 0 0;
}

#nav li:last-of-type a {
    border-right: none;
}



#nav:after,
#nav > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

#nav #menu-button {
    display: none;
}

#nav > ul > li {
    float: left;
}

#nav.align-center > ul {
    font-size: 0;
    text-align: center;
}

#nav.align-center > ul > li {
    display: inline-block;
    float: none;
}

#nav.align-center ul ul {
    text-align: left;
}

#nav.align-right > ul > li {
    float: right;
}

#nav > ul > li:hover > a {
    color: #2d3c8f;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#nav > ul > li.active > a {
    color: #2d3c8f;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#nav ul ul {
    position: absolute;
    left: -9999px;
}

#nav.align-right ul ul {
    text-align: right;
}

#nav ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

#nav li:hover > ul {
    left: auto;
}

#nav.align-right li:hover > ul {
    left: auto;
    right: 0;
}

#nav li:hover > ul > li {
    height: 35px;
}

#nav ul ul ul {
    margin-left: 100%;
    top: 0;
}

#nav.align-right ul ul ul {
    margin-left: 0;
    margin-right: 100%;
}

#nav ul ul li a {
    padding: 11px 15px;
    white-space: nowrap;
    color: #fff;
    background: #99cfed;
}

#nav ul ul li:last-child > a,
#nav ul ul li.last-item > a {
    border-bottom: 0;
}

#nav ul ul li:hover > a,
#nav ul ul li a:hover {
    color: #2d3c8f;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


/*--------------------------------------------------------*/
/*MEDIA QUERY*/
/*--------------------------------------------------------*/

@media all and (max-width: 1320px) {
    #nav {
        width: 100%;
        font-family: inherit;
        background: #99cfed;
    }

    #nav > ul > li > a {
        padding: 22px 17px 18px 17px;
    }

    #nav > ul > li:first-of-type a {
        padding: 17px;
    }

    #nav ul {
        width: 100%;
        display: none;
        padding: 0 0 0 0;
    }

    #nav.align-center > ul {
        text-align: left;
    }

    #nav ul li {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0;
    }

    #nav ul li ul {
        position: inherit;
        top: 0;
    }

    #nav ul ul li,
    #nav li:hover > ul > li {
        height: auto;
    }

    #nav ul li a,
    #nav ul ul li a {
        width: 100%;
        border-bottom: 0;
        color: #fff;
    }

    #nav > ul > li {
        float: none;
    }

    #nav ul ul li a {
        padding-left: 25px;
    }

    #nav ul ul ul li a {
        padding-left: 35px;
    }

    #nav ul ul li a {
        color: #fff;
        background: none;
    }

    #nav ul ul li:hover > a,
    #nav ul ul li.active > a {
        color: #2d3c8f;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }

    #nav ul ul,
    #nav ul ul ul,
    #nav.align-right ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }

    #nav > ul > li.has-sub > a:after,
    #nav > ul > li.has-sub > a:before,
    #nav ul ul > li.has-sub > a:after,
    #nav ul ul > li.has-sub > a:before {
        display: none;
    }

    #nav #menu-button {
        display: block;
        padding: 17px;
        color: #fff;
        cursor: pointer;
        font-size: 1.2em;
        letter-spacing: .4px;
        /*    font-size: 12px;*/
        text-transform: uppercase;
        /*    font-weight: 700;*/
    }

    #nav #menu-button:after {
        position: absolute;
        top: 28px;
        right: 17px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
        content: '';
    }

    #nav #menu-button:before {
        position: absolute;
        top: 22px;
        right: 17px;
        display: block;
        height: 2px;
        width: 20px;
        background: #fff;
        content: '';
    }

    #nav #menu-button.menu-opened:after {
        top: 27px;
        border: 0;
        height: 2px;
        /*    width: 15px;*/
        background: #ffffff;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #nav #menu-button.menu-opened:before {
        top: 27px;
        background: #ffffff;
        /*    width: 15px;*/
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #nav .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        display: block;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        height: 58px;
        width: 58px;
        cursor: pointer;
    }

    #nav .submenu-button.submenu-opened {
        background: rgba(255, 255, 255, 0.1);
    }

    #nav ul ul .submenu-button {
        height: 46px;
        width: 46px;
    }

    #nav .submenu-button:after { /*minus*/
        position: absolute;
        top: 29px;
        right: 24px;
        width: 10px;
        height: 2px;
        display: block;
        background: #fff;
        content: '';
    }

    #nav ul ul .submenu-button:after { /*minus*/
        top: 23px;
        right: 17px;
    }

    #nav .submenu-button.submenu-opened:after {
        background: #ffffff;
    }

    #nav .submenu-button:before { /*plus*/
        position: absolute;
        top: 25px;
        right: 28px;
        display: block;
        width: 2px;
        height: 10px;
        background: #fff;
        content: '';
    }

    #nav ul ul .submenu-button:before { /*plus*/
        top: 19px;
        right: 21px;
    }

    #nav .submenu-button.submenu-opened:before {
        display: none;
    }
}



/*
@media all and (min-width: 1200px) and (max-width: 1300px) {
    #nav.fix {
        width:calc(100% - 2em);
    }
} */


#nav ul li { margin-top: 10px; }
#nav ul li:nth-child(1) { z-index: 18!important; }
#nav ul li:nth-child(2) { z-index: 17!important; }
#nav ul li:nth-child(3) { z-index: 16!important; }
#nav ul li:nth-child(4) { z-index: 15!important; }
#nav ul li:nth-child(5) { z-index: 14!important; }
#nav ul li:nth-child(6) { z-index: 13!important; }
#nav ul li:nth-child(7) { z-index: 12!important; }
#nav ul li:nth-child(8) { z-index: 11!important; }






/*--------------------------------------------------------*/


.nav-container ul li a {
    font-size: 18px !important; 

}      
    
.head .logos img {
max-width: 90% !important;         
}

@media all and (max-width: 767px) {
    h1 {font-size: 1.2em;}   
}





.nav-container ul li a {
    font-size: 18px !important; 

}      
    
.head .logos img {
max-width: 90% !important;         
}

@media all and (max-width: 767px) {
    h1 {font-size: 1.2em;}   
}



@media all and (max-width: 1320px) {

    
.nav-container ul li a {
    font-size: 16px !important; 

}      

#nav ul li {
    margin-top: 0px;
}    

#nav .submenu-button:after {   
position: absolute;
    top: 30px;
    right: 24px;
    width: 10px;
    height: 2px;
    display: block;
    background: #fff;
    content: '';   
    }
    
#nav .submenu-button:before {
    position: absolute;
    top: 26px;
    right: 28px;
    display: block;
    width: 2px;
    height: 10px;
    background: #fff;
    content: '';
}      


.head {
Padding-left: 20px;

    
}

}


#nav li:hover > ul > li {
Height: 32px !important;
}




/*--------------------------------------------------------*/


.mapimage img {
 filter: saturate(0);
 max-width: 300px; 
 transition: all .3s;
}

.mapimage {
 padding-bottom: 40px;    
}    

.mapimage img:hover {
filter: saturate(1);
    transition: all .3s;
}

.mapimage:after  {
  content: "In Google Maps öffnen";
  display: block !important; 
  position: absolute !important;  
}




@media all and (min-width: 1321px) and (max-width: 1335px) {
.wrappernavi .nav-container ul {
    display: block !important; 
}
} 

@media all and (min-width: 1320px){
#nav ul {
margin: 0 20px; 
}
}


