/* ================================================================
This copyright notice must be untouched at all times.
 
The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/x_menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
 
.menu {
	width: 752px;
	height: 40px;
	position: relative;
	z-index: 100;
	font-family: arial, sans-serif;
	margin-left: auto;
	margin-right: auto;
	padding-left: 128px;
	padding-right: 128px;
}
/* hack to correct IE5.5 faulty box model */
* html .menu {
	width: 752px;
	w\idth: 745px;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.menu ul ul {
/*! width:146px; */;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown x_menu positon */
.menu li {
	float: left;
	width: 118px;
	position: relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
	display: block;
	font-size: 12px;
	text-decoration: none;
	color: #fff;
	width: 118px;
	height: 40px;
	line-height: 40px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	border: 0;
 /*! */;
}

.menu li.start {
	float: left;
	width: 40px;
	position: relative;
}

.menu .start a, .menu .start a:visited {
	display: block;
	font-size: 12px;
	text-decoration: none;
	color: #fff;
	width: 40px;
	height: 40px;
	line-height: 40px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	border: 0;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width: 146px;
	w\idth: 138px;
	border: 0;
}
 
/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background: #fff /* url(http://www.cssplay.co.uk/x_menus/breadcrumbs/grey-arrow.gif) no-repeat 130px center */;
}
/* style the second level hover */
.menu ul ul a.drop:hover {
	background: #fff /* url(http://www.cssplay.co.uk/x_menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center; */;
}

.menu ul ul :hover > a.drop {
	background: #fff /* url(http://www.cssplay.co.uk/x_menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center; */;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background: #e2dfa8;
}
/* style the third level hover */
.menu ul ul ul a:hover {
	background: #b2ab9b;
}
 
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 40px;
	left: 0;
 /*! width:160px; */;
}
/* another hack for IE5.5 */
* html .menu ul ul {
	top: 25px;
	t\op: 31px;
}
 
/* position the third level flyout x_menu */
.menu ul ul ul {
	left: 149px;
	top: -1px;
	width: 149px;
}
 
/* position the third level flyout x_menu for a left flyout */
.menu ul ul ul.left {
	left: -149px;
}
 
/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {
	position: absolute;
	top: 0;
	left: 0;
	border-collapse: collapse;
}
 
/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background: #D5EDFA;
	color: #143D77;
	font-weight: normal;
	height: auto;
	line-height: 14px;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 5px;
	padding-left: 20px;
	width: 216px;
	text-align: left;
	text-transform: none;
	box-shadow: rgba(0,0,0,0.25) 0 3px 3px;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
	width: 160px;
	w\idth: 128px;
}
 
/* style the top level homebutton hover */
.menu ul li.start a {
	color: #143D77;
	font-weight: bold;
	background: /*#3fa3d7*/url(../../../bilder/ic_home.png) no-repeat;
}

.menu ul li.start a:hover {
	color: #143D77;
	font-weight: bold;
	background: #D5EDFA url(../../../bilder/ic_home.png) no-repeat 0px -40px;
}

.menu ul li.start.active a {
	color: #143D77;
	font-weight: bold;
	background: #fff url(../../../bilder/ic_home.png) 0px -80px no-repeat;
}

.menu ul li.start.active:hover a {
	color: #143D77;
	background-color: #D5EDFA;
	background: #D5EDFA url(../../../bilder/ic_home.png) no-repeat 0px -40px;
}

/* style the top level hover */
.menu ul li.active a {
/*color:#143D77;*/
	color: #D1002C;
	font-weight: bold;
	background-color: #fff;
	background-image: none;
}

.menu ul li.active:hover a {
	color: #143D77;
	background-color: #D5EDFA;
	background-image: none;
}

.active :hover > a, .active ul ul :hover > a {
	color: #143D77;
	font-weight: bold;
	background-color: #D5EDFA;
}

.menu ul li.active ul a {
	color: #143D77;
	background-color: #D5EDFA;
	background-image: none;
	font-weight: normal;
	box-shadow: rgba(0,0,0,0.25) 0 3px 3px;
}

.menu ul li ul li.last a {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	background-image: none;
	box-shadow: rgba(0,0,0,0.25) 0 3px 3px;
}

.menu ul li ul a:hover, .menu ul li.active ul a:hover {
	background-color: #3fa3d7;
	background-image: none;
	color: #fff;
	font-weight: bold;
	padding-left: 20px;
	box-shadow: rgba(0,0,0,0.25) 0 3px 3px;
}

.menu :hover > a, .menu ul ul :hover > a {
	color: #143D77;
	font-weight: bold;
	background-color: #D5EDFA;
	background-image: none;
}
 
/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul {
	visibility: visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul {
	visibility: hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul {
	visibility: visible;
}
/* CRA_EVENT_MOBILE_MENU_CASCADE */
@media (max-width: 767px) {
  .menu,
  #navi.fixed .menu {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
  }

  .menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .menu > ul,
  .menu > ul > li,
  .menu li,
  .menu li.start {
    box-sizing: border-box;
    float: none;
    width: 100%;
  }

  .menu > ul > li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .menu a,
  .menu a:visited,
  .menu .start a,
  .menu .start a:visited,
  .menu ul li.start a,
  .menu ul li.start a:visited {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 14px 56px 14px 20px;
    background: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    text-align: left;
    text-transform: none;
  }

  .menu li.start a::after {
    content: "Startseite";
  }

  .menu ul li.active a,
  .menu ul li.active:hover a,
  .menu ul li.start.active a,
  .menu ul li.start.active:hover a,
  .menu :hover > a,
  .menu ul ul :hover > a {
    background: var(--ssv-primary);
    color: #ffffff;
  }

  .menu ul ul,
  .menu ul ul ul {
    display: block;
    visibility: visible;
    position: static;
    top: auto;
    left: auto;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  #navi.nav-enhanced .menu ul ul,
  #navi.nav-enhanced .menu ul ul ul {
    display: none;
  }

  #navi.nav-enhanced .menu li.submenu-open > ul {
    display: block;
  }

  .menu ul ul li,
  .menu ul ul ul li {
    width: 100%;
    border-top: 1px solid rgba(20, 61, 119, 0.2);
  }

  .menu ul ul a,
  .menu ul ul a:visited,
  .menu ul li.active ul a {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 12px 20px 12px 36px;
    background: var(--ssv-light-blue);
    box-shadow: none;
    color: var(--ssv-primary);
    font-size: 15px;
    font-weight: normal;
    line-height: 20px;
    text-align: left;
    text-transform: none;
  }

  .menu ul li ul a:hover,
  .menu ul li.active ul a:hover {
    background: var(--ssv-primary);
    color: #ffffff;
    font-weight: bold;
    padding-left: 36px;
  }
}
.mobile-sticky-logo {
  display: none;
}

/* CRA_EVENT_MOBILE_STICKY_NAVIGATION */
@media (max-width: 767px) {
  #navi,
  #navi.fixed {
    min-width: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-top: 0;
    display: block;
    background: var(--ssv-secondary);
    box-shadow: rgba(0, 0, 0, 0.25) 0 2px 3px;
  }

  #navi.fixed .menu {
    background-image: none;
  }

  .mobile-sticky-logo {
    display: none;
  }

  #navi.fixed .mobile-sticky-logo {
    position: absolute;
    top: 0;
    left: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 48px;
    border: 0;
  }

  #navi.fixed .mobile-sticky-logo img {
    display: block;
    width: auto;
    height: 24px;
    margin: 0;
    border: 0;
  }

  .mobile-menu-toggle {
    justify-content: flex-end;
  }

  #navi .menu.mobile-navigation-enhanced {
    display: none;
    box-shadow: none;
    border-radius: 0;
  }

  #navi .menu.mobile-navigation-enhanced.mobile-menu-open {
    display: block;
  }

  #navi .menu.mobile-navigation-enhanced ul,
  #navi .menu.mobile-navigation-enhanced li,
  #navi .menu.mobile-navigation-enhanced a {
    box-shadow: none;
    border-radius: 0;
  }

  #navi .menu.mobile-navigation-enhanced ul ul,
  #navi .menu.mobile-navigation-enhanced ul ul ul {
    display: none;
  }

  #navi .menu.mobile-navigation-enhanced li.submenu-open > ul {
    display: block;
  }
}
