/* ################################################# NAVIGATION - DESKTOP */

#menu_desktop {
	display: block;
	background-color: white;
	border-bottom:1px solid rgba(0, 0, 0, 0.7);
	/*background-color: rgba(255,255,255,0.97);
	 position: fixed; */
	top:0;
	left:0;
	right:0;
	padding: 10px 0px;
	position: fixed;
	z-index: 6000;
}
#menu_desktop .limit {
	display: flex;
	justify-content: space-between;
}
.is-sticky #menu_desktop {
	border-bottom:1px solid rgba(0,0,0,0.1);
	background-color: white;
}
#menu_desktop a.menu_avema {
	font-family: myriad-pro, "PT Sans", Arial;
	transition: all 2s;
	color: white;
	font-weight: 500;
	font-size: 22px;
	/* letter-spacing: 0.5px; */
}
.is-sticky #menu_desktop a.menu_avema {
	transition: all 2s;
	color: #bbb3a9;
}
nav {
/* 	width:100%; */
	z-index: 1000;
}
nav ul {
	padding: 0;
	margin:0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	justify-content: flex-end;
}
nav li {
	list-style: none;
}
nav li a {
	color: black;
	font-size: 18px;
	/* font-size: 14px; */
	padding: 10px 20px 10px 20px;
	display: block;
}
nav li:first-child a {
/* 	padding-left: 65px; */
}
nav li a:hover {
	text-decoration: none;
	color: #4ba298;
	color:var(--gruen_dunkel);
}
nav li.active a,
nav li.rex-current a {
	text-decoration: none;
	color: #4ba298;
	color:var(--gruen_dunkel);
	font-weight: 600;
}

/* nav li:last-child a {
	background-color: #4ba298;
	background-color:var(--gruen_dunkel);
	color:white !important;
	border-radius: 12px;
	margin-left:20px;
}
nav li:last-child a:hover {
	background-color: #333;
	color:white;
	border-radius: 12px;
} */
nav ul li ul {
	display: none;
}
nav ul li:hover ul {
	display: block;
}

/* ################################################# NAVIGATION - MOBIL */

#menu_mobil {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	height: 100vh;
	/* background-color: #ffd318;
	background-color: #938f72;
	background-color: #c9c7b9;
	background-color:#3b3a38; */
	z-index: 9980;
	display:none; 
}

#menu_mobil nav  {
	min-height: 300px;
	/* background-color: #ffd318;
	background-color: #f1f0ee;
	background-color: #c9c7b9;
	background-color:#3b3a38; */
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	align-items: center;
	height: 100vh;
}
#menu_mobil nav ul {
	flex-direction: column;
}

#menu_mobil a {
	color: white;
	padding: 15px;
	display: block;
	text-align: center;	
	font-size: 20px;
	line-height: 20px;
}

#menu_mobil nav li a:hover,
#menu_mobil nav li.active a,
#menu_mobil nav li.rex-current a {
	text-decoration: none;
	/* color: black; */
	/* color: #938f72; */
	/* color: #ffd318; */
	color:white;
	color: #ababab;
}
/* #menu_mobil nav li:last-child a {
	background-color: #4ba298;
	color:white;
	border-radius: 12px;
	margin-top:10px;
	margin-left:0px;
} */
/* ################################################# NAVIGATION BUTTON - Hamburger to X */

#menu_mobil_button {
  display: none;
  position: fixed;
  top:0px;
  right:10px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  width: 64px;
  height: 64px;
  font-size: 0;
  text-indent: -9999px;
  cursor: pointer;
  background-color: transparent;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 999999;
}

#menu_mobil_button:focus {
  outline: none;
}

#menu_mobil_button span {
  display: block;
  position: absolute;
  top: 30px;
  left: 14px;
  right: 14px;
  height: 4px;
  background: #3b3a38;
  transition: background 0s 0.3s;
/*   box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.50); */
}

#menu_mobil_button span::before,
#menu_mobil_button span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #3b3a38;
  content: "";
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
/*   box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.50); */
}

#menu_mobil_button span::before {
  top: -10px;
  transition-property: top, transform;
}

#menu_mobil_button span::after {
  bottom: -10px;
  transition-property: bottom, transform;
}


#menu_mobil_button.open {
  /* background-color: transparent; */
}

#menu_mobil_button.open span {
  background: none;
/*   box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.50); */
}

#menu_mobil_button.open span::before {
  top: 0;
  transform: rotate(45deg);
}

#menu_mobil_button.open span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

#menu_mobil_button.open span::before,
#menu_mobil_button.open span::after {
   transition-delay: 0s, 0.3s;
   background-color: white;
/*    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.50); */
}
