


/*_header*/
header, header a, header img, header li {
    transition: all .05s;
    -moz-transition: all .05s;
    /* Firefox 4 */
    -webkit-transition: all .05s;
    /* Safari and Chrome */
    -o-transition: all .05s;
    /* Opera */
}
header{float: left;
  width: 100%;
  position: fixed;
  z-index: 2000;
  background: rgba(255, 255, 255, 0);
  float: left;
  width: 100%;
  max-width: 1920px;
  }
/*________________MENU*/


.trans{
display: none !important;
}
nav {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
nav #header_right {
    width: 80%;
    float: right;
    padding: 0;
    margin: 0;
}



header.large #menu li.active a, header.small #menu li.active a, header.large #menu li a:hover, header.small #menu li a:hover {
    color: #004D4D;
}

header  #menu ul {
    list-style-type: none;
    float: right;
}

header #menu  ul:nth-of-type(2) {
    margin: 0;
}

header  #menu li {
    display: inline-block;
}

header img.logo {
    float: left;
}



/* _____________________large language */

header #language a {
    margin: 0  0 0 1.2em !important;
}
header.large #language {
    padding: 0 ;
    margin: 2.5em 0 0 1em;
    list-style-type: none;
    float: right;
    text-align: right;
    width:3em;
}
header.large #language img {
    width: 2em;
    height: auto;

    padding: 0;
  }

header.small #language {
    margin: 1.3em 0 0;
    float: right;
}
header.small #language img {
    width: 2em;
    height: auto;

    padding: 0;
  }

/* _____________________large menu */


header.large {
    height: 8em;
  background-color: rgba(255, 255, 255, 0.8);
}
header.large .logo {
    float: left;
    width: 10em;
    height: auto;
    margin: 0.5em 0 0 0;
    padding: 0.5em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-filter: drop-shadow( 2px 1px 1px rgba(0, 0, 0, 0.2));
    filter: drop-shadow( 2px 1px 1.3em rgba(0, 0, 0, 0.2));
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}


header.large .logo img {
    width: 100%;
    height: auto;
  }




header.large  #menu ul {
    padding: 0;
    margin: 1.4em 0 0;
    list-style-type: none;
    border-radius: 4px;
    float: right;
}

header.large  #menu li {
    margin: 0 0 0 2em;
    padding: 1em 0;
}



header.large  #menu ul .aktiv #menu ul {
    visibility: visible;
    display: block;
    position: relative;
    bottom: 0;
    z-index: 400;
    height: auto;
    text-align: left;
    list-style-type: none;
    background-image: none;
    margin: 0;
    padding-top: 1em;
}
header.large #menu ul a {
    color: #9A086F;
    text-decoration: none;
    font-size: 1em;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
}

header.large  #menu ul li :hover>a {
    color: #2f5c9c;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

header.large #menu ul li :hover>a:nth-of-type(1) {
    -webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

header.large  #menu ul ul {
    visibility: hidden;
    position: absolute;
    display: block;
    z-index: 400;
    height: auto;
    text-align: left;
    list-style-type: none;
    margin: 0 0 0 -0.8em !important;
    padding: 1.5em 0 1em 0em;



}

header.large  #menu ul li ul li {
    display: block;
    z-index: 3;
    float: none !important;
    border: 0px;
    padding: 0 0em 0.2em;
    margin: 0 1em 0.2em -0.4em;
    height: auto !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}

/* style the second level links */
header.large  #menu ul li ul li a {
    display: table-cell;
    width: 19em;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    font-size: 0.8em;
    font-weight: normal;
    text-align: left;
    vertical-align: middle;
    font-size: 1em;
    white-space: normal;
    outline: none;
    border: none !important;
    margin: 0em 0.2em 0.2em 0;
    height: 2em !important;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 1) !important;
    transition: none;
    background: rgba(333, 333, 333, 1);
    -webkit-box-shadow: -5px -6px 4px -5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -5px -6px 4px -5px rgba(0, 0, 0, 0.1);
    box-shadow: -2px -4px 2px -2px rgba(0, 0, 0, 0.1);
}

header.large  #menu ul li ul li span {
    display: block;
    padding: 0;
    margin: 0 0 0 1em;
}

header.large  #menu ul li ul li span a {
    display: block;
    color: #0073a7;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.4em 0 0 5em;
    margin: 0 0 0 0;
}

/* style the second level hover */

header.large  #menu ul ul li a:hover {
    color: #d11816 !important;
    background-color: rgba(255, 255, 255, 1) !important;
}

header.large  #menu ul ul li .active {
    color: #004D4D;
 
}

/* make the second level visible when hover on first level list OR link */
header.large  #menu ul li:hover ul, header.large  #menu ul a:hover ul {
    visibility: visible;
    display: block;
    z-index: 400;
    height: auto;
    text-align: left;
    list-style-type: none;
    margin: 0 0 0 -0.8em !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 1.5em 0 1em 0em;


}

/* __________________small menu */


header.small {
    height: 5em;
    background: rgba(255, 255, 255, 1);

}


header.small .logo {

    width: 5.6em;
    height: auto;
    margin: 0.6em 0 0 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position:fixed;
  
  }
  header.small .logo img {
    width: 100%;
    height: auto;
   
}




header.small  #menu ul {
    padding: 0;
    margin: 1.3em 1em 0 0;
    list-style-type: none;
    float: right;
    text-align: right;
}

header.small #menu li {
    margin: 0 0 0 2em;
}
header.small  #menu ul li a {
    color: #9A086F;
    text-decoration: none;
    font-size: 0.9em;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-transform: uppercase;
}


nav .topmenu {
    display: block;
}




header.small #menu ul .aktiv ul {
    visibility: visible;
    display: block;
    position: relative;
    bottom: 0;
    z-index: 400;
    height: auto;
    text-align: left;
    list-style-type: none;
    background-image: none;
    margin: 0;
    padding-top: 1em;
}

header.small #menu ul li :hover>a {
    color: #2f5c9c;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

header.small #menu ul li :hover>a:nth-of-type(1) {
    -webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

header.small #menu ul ul {
    visibility: hidden;
    position: absolute;
    display: block;
    z-index: 400;
    height: auto;
    text-align: left;
    list-style-type: none;
    margin: 0 0 0 -0.8em !important;
    padding: 1.5em 0 1em 0em;



}

header.small #menu ul li ul li {
    display: block;
    z-index: 3;
    float: none !important;
    border: 0px;
    padding: 0 0em 0.2em;
    margin: 0 1em 0.2em -0.5em;
    height: auto !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}

/* style the second level links */
header.small #menu ul li ul li a {
    display: table-cell;
    width: 21.4em;
    font-size: 0.8em;
    font-weight: normal;
    text-align: left;
    vertical-align: middle;
    font-size: 1em;
    white-space: normal;
    outline: none;
    border: none !important;
    margin: 0em 0.2em 0.2em 0;
    height: 2em !important;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 1) !important;
    transition: none;
    background: rgba(333, 333, 333, 1);
    -webkit-box-shadow: -5px -6px 4px -5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -5px -6px 4px -5px rgba(0, 0, 0, 0.1);
    box-shadow: -2px -4px 2px -2px rgba(0, 0, 0, 0.1);
}

header.small #menu ul li ul li span {
    display: block;
    padding: 0;
    margin: 0 0 0 1em;
}

header.small #menu ul li ul li span a {
    display: block;
    color: #0073a7;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.4em 0 0 5em;
    margin: 0 0 0 0;
}

/* style the second level hover */

header.small #menu  ul ul li a:hover {
    color: #d11816 !important;
    background-color: rgba(255, 255, 255, 1) !important;
}

header.small #menu ul ul li .active {
    color: #d11816 !important;
    background-color: rgba(255, 255, 255, 1) !important;
}

/* make the second level visible when hover on first level list OR link */
header.small #menu ul li:hover ul, header.small #menu ul a:hover ul {
    visibility: visible;
    display: block;
    z-index: 400;
    height: auto;
    text-align: left;
    list-style-type: none;
    margin: 0 0 0 -0.8em !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 1.5em 0 1em 0em;


}






@media only screen and (max-width:64em) {
    header.large {
        display:block;
        position: fixed;
        top: 0;
       
        height: 5em;
        background-color: rgba(255, 255, 255, 0.8);
      }
      header.small {
        position: fixed;
        top: 0;
        display:block;
        height: 4em;
        padding: 0 30px 0;
      }

    header.large .logo{
        position: fixed;
        top: 0.5em;
        left: 1em;
        width: 6.5em;
        z-index: 90;
        margin: 0;
        padding: 0;
    }
    header.small .logo{
    
        top: 0.5em;
        left:1em;
       width:4.8em;
       z-index:90;
       margin:0;
    }
    header.large .logo img, header.small .logo img{
    display:block;
       width:auto;
       height:100%;
       z-index:90;
    }
#header_right #menu{
        display: none;
    }
header.large #language, header.small #language {
    position:fixed;
       z-index:80;
       right:2em;
       margin:0;
       top:1.2em;
      }
 
}



@media only screen and (max-width:42em) {
    nav {
 
        padding: 0 ;
       
      }
    header.large,  header.small {
       
        height: 3.6em;
        background-color: rgba(255, 255, 255, 1);
      }
 
   
      header.large .logo, header.small .logo {
    
        width: 4em;
        margin: 0;
        padding:0;
        position:fixed;
        z-index:90;
     
      }
    header.large .logo img,  header.small .logo img{
     
     
        width: 100%;
        height:auto;
        margin: 0;
        padding:0;
      }

      header.large #language {
    
        right: 1.2em;
       
        top: 0.6em;
      }
       header.small #language {
    
        right: 1em;
       
        top: 0.6em;
      }

}


