/*
**********************************************
***      created by Boris Schmakowski      ***
***          www.schmakowski.de            ***
**********************************************
*/


nav {
	background-color: transparent;
	/*position: absolute;
	bottom: 0;
	width: 100%;
	max-width: 980px;
	z-index: 999;*/
	top:-200px;
}
nav.fixed {
	width: 100%;
	position: fixed;
	bottom: inherit;
	top:0px;
	z-index: 1;
	-webkit-transition: top 2.25s ease;
       -moz-transition: top 2.25s ease;
        -ms-transition: top 2.25s ease;
         -o-transition: top 2.25s ease;
            transition: top 2.25s ease;
    background-color: rgba(255, 255, 255, 0.9);
}
body.m-start nav.fixed {
	background-color: rgba(243, 145, 24, 0.9);
}

body.navfixed header {
	margin-top: 47px;
}



nav ul.nav {
	position: relative;
	margin: 0;
	padding: 0;
	text-align: center;
}
nav ul.nav > li {
	display: inline-block;
	list-style: none;
	padding: 14px 15px 10px 15px;
	position: relative;
}


nav ul.nav li a {
	position: relative;
	z-index: 2;
	display: inline-block;
	padding: 0 2px 4px 2px;
	color: #F29018;
	font-size: 23px;
	line-height: 22px;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	letter-spacing: 0em;
	-webkit-transition: border 0.25s ease;
       -moz-transition: border 0.25s ease;
        -ms-transition: border 0.25s ease;
         -o-transition: border 0.25s ease;
            transition: border 0.25s ease;
}
nav ul.nav li:first-child {
	padding-left: 0px;
}
nav ul.nav li:last-child {
	padding-right: 0px;
}

body.m-start nav ul.nav li a {
	color: #ffffff;
}
body.m-start nav ul.nav li a:hover {
	border-color: #ffffff;
}


@media screen and (max-width: 870px) {
	nav ul.nav {
		padding-bottom: 10px;
	}
	nav ul.nav li {
		display: block;
	}
	nav ul.nav li a {
		display: block;
		padding: 5px 25px 4px 0px;
		border-right: 0px solid rgba(255, 255, 255, 0.5);
	}
}

nav ul.nav li a:hover {
	text-decoration: none;
	border-bottom: 2px solid #F29018;
	letter-spacing: 0em;
	-webkit-transition: border 0.55s ease;
       -moz-transition: border 0.55s ease;
        -ms-transition: border 0.55s ease;
         -o-transition: border 0.55s ease;
            transition: border 0.55s ease;
}

nav ul.nav li ul {
	position: absolute;
	margin: 12px 0 0 -20px;
	padding: 0 10px 10px 20px;
	background-color: rgba(255,255,255, 1);
	text-align: left;
	z-index: 1;
	opacity: 0;
    visibility: hidden;
    top: 2em;
    -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 ul.nav li:hover ul {
	opacity: 1;
    visibility: visible;
    top: 2.4em;
    -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 ul.nav li ul li {
	display: block;
	list-style: none;
	padding: 10px 15px 10px 0;
}
nav ul.nav li ul li a {
	padding: 0;
}

nav ul.nav > li.active > a {
	color: #555555;
	text-decoration: none;
	border: none;
}
nav ul li ul.nav-child li.active a {

}



div.nav-collapse.opened {
	
}
div.nav-collapse.opened ul li {
	display: block;
	padding: 3px 0px 3px 0;
}
div.nav-collapse.opened ul li ul {
	position: relative;
	display: block;
	top: auto;
	opacity: 1;
	visibility: visible;
	z-index:1 ;
}
div.nav-collapse.opened ul li ul li {
	display: block;
	padding-left: 10px;
}
div.nav-collapse.opened ul li a {
	display: inline-block;
	padding-left: 0;
	padding-right: 0;
}
/*
div.nav-collapse.opened ul li a:hover {
	border: none;
}
*/

/*! responsive-nav.js 1.0.32 by @viljamis */

/*.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
}*/

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  /*overflow: hidden;*/
  zoom: 1;
  
  -webkit-transition: max-height 2.25s ease;
       -moz-transition: max-height 2.25s ease;
        -ms-transition: max-height 2.25s ease;
         -o-transition: max-height 2.25s ease;
            transition: max-height 2.25s ease;
}

.js .nav-collapse.opened {
  max-height: 9999px;
  -webkit-transition: max-height 2.25s ease;
       -moz-transition: max-height 2.25s ease;
        -ms-transition: max-height 2.25s ease;
         -o-transition: max-height 2.25s ease;
            transition: max-height 2.25s ease;
}
html.js-nav-active .nav-collapse.opened {
  max-height: 9999px !important;
  -webkit-transition: max-height 2.25s ease;
       -moz-transition: max-height 2.25s ease;
        -ms-transition: max-height 2.25s ease;
         -o-transition: max-height 2.25s ease;
            transition: max-height 2.25s ease;
}

.disable-pointer-events {
  pointer-events: none !important;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  	text-align: right;
  	display: block;
	padding: 10px 0 10px 0;
	font-variant: small-caps;
	font-size: 16px;
	line-height: 1.6em;
	text-decoration: none !important;
	white-space: nowrap;
	color: #F29018;
	border: none;
}

.m-start .nav-toggle {
	color: #ffffff;
	border: none;
}

.nav-toggle:hover {
	border: none;
}

.nav-toggle span {
}
span.menutext {
	font-size: 22px;
}
span.icon-menu-3 {
	font-size: 14px;
	font-weight: 300;
	vertical-align: baseline;
	display: inline-block;
	width: 20px;
}
a.nav-toggle.active span.icon-menu-3 {
	display: none;
}
a.nav-toggle span.icon-cancel-2 {
	display: none;
}
a.nav-toggle.active span.icon-cancel-2 {
	font-size: 14px;
	vertical-align: baseline;
	display: inline-block;
	width: 20px;
}

@media screen and (min-width: 1080px) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}

