/* ************************* lck_ddmenu - Horizontal Multi-Level DropDown-Menu & JQuery Accordion-Menu - Responsive & Touch-friendly - 11/2017 ************************* */
.lck_nav_mobil {
	display: none;
}
.lck_nav {
	background-color: transparent;
	margin: 0;
	padding: 2rem 0 0;
	position: fixed;
	top: 0;
	-webkit-transition: padding-top 0.28s cubic-bezier(0.000, 0.000, 0.580, 1.000);
	transition: padding-top 0.28s cubic-bezier(0.000, 0.000, 0.580, 1.000);
	width: 100%;
	z-index: 998; /* !important for Backend, XH_adminmenu is 999 */
}
body.is-scrolled .lck_nav {
	//background-color: rgba(199, 133, 50, 0.98);
	//background-color: rgba(56, 56, 58, 0.98);
    background-color: #38383a;

	-webkit-box-shadow: 0 1px 2px #212121;
	box-shadow: 0 1px 1px #616161;
	padding: 0;
}
/* offsetting an html anchor to adjust for fixed Menu or Header */
:target:before {
	content: "";
	display: block;
	height: 50px; /* same as your fixed header height */
	margin: -50px 0 0; /* negative fixed header height */
	visibility: hidden;
}

/* ************ Links - Allgemein */
.lck_nav a {
	cursor: pointer;
	font-family: inherit;
	line-height: 1rem;
	padding: 0 4px;
	text-decoration: none;
	vertical-align: middle;
}
.lck_nav a:link,
.lck_nav a:visited,
.lck_nav a:focus,
.lck_nav a:hover,
.lck_nav a:active {
	color: #fff;
}

/* ************ UL Menulevel 1 */
.lck_nav > ul {
	display: table;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	z-index: 100;
}

/* ************ Listenpunkte - Alle */
.lck_nav li {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	display: inline-block;
	margin: 0;
	padding: 0;
	position: relative;
	width: 180px;
}

/* ************ Listenpunkte mit Klasse .doc + .sdoc */
.lck_nav li.doc,
.lck_nav li.sdoc {
	display: table;
}
.lck_nav li.doc a,
.lck_nav li.sdoc a {
	display: table-cell;
}
.lck_nav li.doc a:hover,
.lck_nav li.sdoc a:hover {
	background-color: rgba(0, 0, 0, 0.1);
	-webkit-transition: background-color .5s ease; 
	transition: background-color .5s ease;
}

/* ************ Listenpunkte Menulevel 1 - Allgemein */
.lck_nav .menulevel1 > li {
	font-size: 12px;
	font-weight: normal;
	height: 3rem;
	letter-spacing: 2px;
	line-height: 0;
	margin: 0 10px;
	text-transform: uppercase;
	width: 160px;
}

/* ************ OPTIONAL - Listenpunkte Menulevel 1 + 2 + 3 - gleiche Farbe f. Hintergrund */
.lck_nav .menulevel1 > li:nth-child(n),
.lck_nav .menulevel1 > li:nth-child(n) > ul li {
	background-color: transparent;
}
/* ************ OPTIONAL - Listenpunkte Menulevel 2 + 3 - gleiche Farbe f. Hintergrund */
.lck_nav .menulevel1 > li:nth-child(n) > ul li {
	/* background-color: #666; */
}
/* ************ OPTIONAL - Listenpunkte Menulevel 3 - andere Farbe f. Hintergrund */
.lck_nav .menulevel1 > li:nth-child(n) > ul ul li {
	/* background-color: #555; */
}
/* ************ OPTIONAL - Listenpunkte Menulevel 1 + 2 + 3 - gleiche Farbe bei FOCUS + HOVER */
.lck_nav li:focus:nth-child(n):focus,
.lck_nav li:hover:nth-child(n):hover {
	/* background-color: #61666E; */
	/* -webkit-transition: background-color .3s ease; */
	/* transition: background-color .3s ease; */
}

/* ************ UL Menulevel 2 + 3 */
.lck_nav ul ul {
	background-color: #616161;
	margin: 0;
	opacity: 0;
	padding: 0;
	position: absolute;
	top: 100%; /* = height of .menulevel1 > li */
	-webkit-transition: opacity .3s ease;
	transition: opacity .3s ease;
	visibility: hidden;
	z-index: 200;
}

/* ************ Listenpunkte Menulevel 2 - Allgemein */
.lck_nav .menulevel2 > li {
	background-color: #565D67;
	height: 3rem;
	line-height: 3rem;
	width: 180px;
}

/* ************ ddm_link + ddm_opener Menulevel2 + Listenpunkte Menulevel3 */
.lck_nav .menulevel2 li span:first-of-type,
.lck_nav ul ul li {
	font-size: 10px;
}
.lck_nav .menulevel2 li,
.lck_nav .menulevel3 li {
	border-top: 0px solid #fff; /* Optional */
}
.lck_nav .menulevel3 li:first-child {
	border-top: 0px solid #222; /* Optional */
}

/* ************************* ddm_link + ddm_opener - Allgemein */
.lck_nav .ddm_link {
	display: table;
	float: left;
	height: 100%;
	position: relative;
	width: 80%;
	z-index: 110;
}
.lck_nav .ddm_opener {
	display: table;
	float: right;
	font-size: 2rem;
	height: 100%;
	position: relative;
	width: 20%;
	z-index: 120;
}
.lck_nav .ddm_link a,
.lck_nav .ddm_opener a {
	display: table-cell;
}
.lck_nav .ddm_link a {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	text-align: right;
}
.lck_nav .ddm_opener a {
	background-color: rgba(0, 0, 0, 0.02);
}
.lck_nav .ddm_link a:hover,
.lck_nav .ddm_opener a:hover,
.lck_nav .menulevel3 li a:hover {
	background-color: rgba(0, 0, 0, 0.1);
	-webkit-transition: background-color .5s ease; 
	transition: background-color .5s ease;
}
.ddm_opener_icon:before {
	content: "\f107";
	font-family: FontAwesome;
	font-size: 12px;
	display: block;
}
ul ul .ddm_opener_icon:before {
	content: "\f105";
	font-family: FontAwesome;
	font-size: 12px;
	display: block;
}

/* ************************* Untermenü öffnen, nur bei hover über Hamburger-Symbol. Reihenfolge ist wichtig! */
.lck_nav li:hover > .ddm_opener ~ ul {
	opacity: 1;
	visibility: visible;
}
.lck_nav li > .ddm_link:hover ~ ul {
	visibility: hidden;
}
/* ************************* ab Menulevel 3 Standard Fold-out + Listenpunkt Allgemein */
.lck_nav ul ul ul {
	margin-left: 0;
	position: absolute;
	left: 180px;
	top: 0;
	width: 180px;
	z-index: 300;
}
.lck_nav ul ul ul li {
	background-color: #565D67;
	height: 3rem;
	line-height: 3rem;
	width: 180px;
}

/* ************************* Media Queries - RESPONSIVE STYLE ************************* */
/* ************************* Menulevel 3 Fold-out - rechts oder links von menulevel2 - abhängig vom Viewport */
@media only screen and (min-width: 1900px) {
.lck_nav > ul {
	max-width: 1450px; /* 8 x li + Reserve = 8 x 180px + 10px */
}
.lck_nav .menulevel1 > li:nth-child(8n+8) ul ul {
	left: -180px;
}
.lck_nav .menulevel1 > li:nth-child(8n+8) ul .ddm_link {
	float: right;
}
.lck_nav .menulevel1 > li:nth-child(8n+8) ul .ddm_link a {
	text-align: left;
}
.lck_nav .menulevel1 > li:nth-child(8n+8) ul .ddm_opener {
	float: left;
}
.lck_nav .menulevel1 > li:nth-child(8n+8) ul .ddm_opener_icon:before {
	content: "\f104";
}
}

@media only screen and (min-width: 1500px) and (max-width: 1899px) {
.lck_nav > ul {
	max-width: 1270px; /* 7 x li + Reserve = 7 x 180px + 10px */
}
.lck_nav .menulevel1 > li:nth-child(7n+7) ul ul {
	left: -180px;
}
.lck_nav .menulevel1 > li:nth-child(7n+7) ul .ddm_link {
	float: right;
}
.lck_nav .menulevel1 > li:nth-child(7n+7) ul .ddm_link a {
	text-align: left;
}
.lck_nav .menulevel1 > li:nth-child(7n+7) ul .ddm_opener {
	float: left;
}
.lck_nav .menulevel1 > li:nth-child(7n+7) ul .ddm_opener_icon:before {
	content: "\f104";
}
}

@media only screen and (min-width: 1100px) and (max-width: 1499px) {
.lck_nav > ul {
	max-width: 1090px; /* 6 x li + Reserve = 6 x 180px + 10px */
}
.lck_nav .menulevel1 > li:nth-child(6n+6) ul ul {
	left: -180px;
}
.lck_nav .menulevel1 > li:nth-child(6n+6) ul .ddm_link {
	float: right;
}
.lck_nav .menulevel1 > li:nth-child(6n+6) ul .ddm_link a {
	text-align: left;
}
.lck_nav .menulevel1 > li:nth-child(6n+6) ul .ddm_opener {
	float: left;
}
.lck_nav .menulevel1 > li:nth-child(6n+6) ul .ddm_opener_icon:before {
	content: "\f104";
}
}

@media only screen and (min-width: 920px) and (max-width: 1099px) {
.lck_nav > ul {
	max-width: 910px; /* 5 x li + Reserve = 5 x 180px + 10px */
}
.lck_nav .menulevel1 > li:nth-child(5n+5) ul ul {
	left: -180px;
}
.lck_nav .menulevel1 > li:nth-child(5n+5) ul .ddm_link {
	float: right;
}
.lck_nav .menulevel1 > li:nth-child(5n+5) ul .ddm_link a {
	text-align: left;
}
.lck_nav .menulevel1 > li:nth-child(5n+5) ul .ddm_opener {
	float: left;
}
.lck_nav .menulevel1 > li:nth-child(5n+5) ul .ddm_opener_icon:before {
	content: "\f104";
}
}

@media only screen and (min-width: 801px) and (max-width: 919px) {
.lck_nav > ul {
	max-width: 730px; /* 4 x li + Reserve = 4 x 180px + 10px */
}
.lck_nav .menulevel1 > li:nth-child(4n+4) ul ul {
	left: -180px;
}
.lck_nav .menulevel1 > li:nth-child(4n+4) ul .ddm_link {
	float: right;
}
.lck_nav .menulevel1 > li:nth-child(4n+4) ul .ddm_opener {
	float: left;
}
.lck_nav .menulevel1 > li:nth-child(4n+4) ul .ddm_link a {
	text-align: left;
}
.lck_nav .menulevel1 > li:nth-child(4n+4) ul .ddm_opener_icon:before {
	content: "\f104";
}
}

/* Optional - deaktiviert das Sticky-Menü - fixed zu relative */
/* @media only screen and (max-width: 1023px) {
.lck_nav {
	position: relative !important;
}
} */

/* ************************* jQuery-Accordion-Menu f. kleine Viewports ************************* */
@media only screen and (max-width: 800px) {
.lck_nav {
	display: none;
}
.lck_nav_mobil {
	//background-color: #c78532;
	background-color: #38383a;
	display: block;
	margin: 0 auto;
	padding: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 996;
}
/* Reset - offsetting an html anchor to adjust for fixed Menu or Header */
:target:before {
	content: "";
	display: table;
	height: 0;
	margin: 0;
	visibility: initial;
}
.lck_nav_mobil ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lck_nav_mobil a {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	text-decoration: none;
}
.toggle-nav {
	border: 1px solid #DEDEDE;
	display: block;
	margin: 0 auto;
	padding: 6px 0;
	text-align: center;
	width: 100%;
}
a:link.toggle-nav {
	color: #fff;
	font-size: 2rem;
	position: relative;
	z-index: 998;
}
.toggle-nav.closed .fa-bars {
	color: inherit;
	transition: transform .3s;
}
.toggle-nav.open .fa-bars {
	color: inherit;
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
	transition: transform .3s;
}
.lck_nav_mobil nav a {
	background-color: #444;
	color: #fff !important;
	display: block;
	font-size: 1rem;
	padding: 6px 15px;
}
.lck_nav_mobil nav li {
	border-top: 1px solid #757575;
	line-height: 2rem;
}
.lck_nav_mobil nav li li a {
	background-color: #333;
	padding-left: 25px;
}
.lck_nav_mobil nav li li li a {
	background-color: #222;
	padding-left: 35px;
}
.lck_nav_mobil nav .parent > .more {
	background-color: #333;
	float: right;
	width: 70px;
}
.lck_nav_mobil nav .parent.closed > .more:before,
.lck_nav_mobil nav .parent.open > .more:before {
	font-family: FontAwesome;
	font-size: 2em;
	display: block;
	text-align: center;
}
.lck_nav_mobil nav .parent.closed > .more:before {
	content: "\f107";
}
.lck_nav_mobil nav .parent.open > .more:before {
	content: "\f106";
}
/* nav, li can be closed */
.lck_nav_mobil .closed > ul {
	display: none;
}
}