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

nav {
	background-color: transparent;
	top:-200px;
	padding: 0;
	-webkit-transition: all .3s ease;
       -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
         -o-transition: all .3s ease;
            transition: all .3s ease;
    border-bottom: 1px solid transparent;
}
nav.fixed {
	width: 100%;
	position: fixed;
	bottom: inherit;
	top:0px;
	z-index: 100;
	padding: 0.5em 0;
	background-color: rgba(253, 251, 248, 1);
	-webkit-transition: all 2.25s ease;
       -moz-transition: all 2.25s ease;
        -ms-transition: all 2.25s ease;
         -o-transition: all 2.25s ease;
            transition: all 2.25s ease;
    border-bottom: 1px solid #ffffff;
}

body.navfixed header {
	margin-bottom: 36.2px;
}

nav ul.nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	justify-content: flex-end;
}
nav ul.nav li {
	padding: 0;
	margin: 0 0 0 2%;
	position: relative;
}
nav ul.nav li:first-child {
	margin: 0 0 0 0;
}



@media all and (max-width: 800px) {
	nav ul.nav {
		justify-content: space-between;
	}
}
@media all and (max-width: 630px) {
	nav ul.nav {
		flex-direction: column;
	}
	nav ul.nav li {
		margin: 10px 0 0 0 !important;
	}
}




nav ul.nav li a,
nav ul.nav li span {
	z-index: 2;
	display: block;
	padding: 0;
	color: #b27a54;
	text-decoration: none;
	white-space: nowrap;
	border: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 20px;
}
nav ul.nav li a:hover,
nav ul.nav li span:hover {
	text-decoration: none;
	color: #7e052f;
}

nav ul.nav li ul {
	/*display: none;*/
	position: absolute;
	margin: 12px 0 0 -20px;
	padding: 0 10px 10px 20px;
	background-color: rgba(155,255,255, 1);
	text-align: left;
	z-index: 1;
	opacity: 0;
    visibility: hidden;
/*     height: 0px; */
    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
nav ul.nav li ul li span {
	padding: 0;
}

nav ul.nav > li.active > a,
nav ul.nav > li.active > span {
	color: #7e052f;
}
nav ul li ul.nav-child li.active a,
nav ul li ul.nav-child li.active span {
	color: #7e052f;
}

/*---- Signet = Home ----*/

div#dropmenu {
	position: relative;
}
a.MpHomeSignet {
	border: none;
	text-decoration: none;
	position: absolute;
	height: 0%;
	display: inline;
	width: 1.5em;
	opacity: 0;
	-webkit-transition: all .2s ease;
       -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
         -o-transition: all .2s ease;
            transition: all .2s ease;
}
body.navfixed a.MpHomeSignet {
	opacity: 1;
	height: 100%;
}

a.MpHomeSignet:hover {
	border: none;
	text-decoration: none;
}
a.MpHomeSignet img {
	height: 100%;
	width: auto;
}
@media all and (max-width: 800px)
{
	a.MpHomeSignet {
		display: none;
		visibility: hidden;
	}
}


/*---- Menu Toggle ----*/

div#menu-toggle {
	display: none;
	cursor: pointer;
	line-height: 20px;
	font-size: 20px;
	text-align: right;
	
	-webkit-transition: all .35s ease;
       -moz-transition: all .35s ease;
        -ms-transition: all .35s ease;
         -o-transition: all .35s ease;
            transition: all .35s ease;
}
div#menu-toggle span {
	margin: 0 0 0 5px;
}

div#menu-toggle			{ color: #b27a54;}
div#menu-toggle:hover 	{ color: #7e052f;}


@media all and (max-width: 630px)
{
	div#menu-toggle {
		display: block;
	}
	body div.menu-collapse {
		max-height: 0;
		overflow: hidden;
	}
}

div.menu-collapse {
	-webkit-transition: max-height .3s ease-in-out;
       -moz-transition: max-height .3s ease-in-out;
        -ms-transition: max-height .3s ease-in-out;
         -o-transition: max-height .3s ease-in-out;
            transition: max-height .3s ease-in-out;
}
body.menu-open div.menu-collapse {
	max-height: 500px;
}
