@charset "utf-8";

/* --------------------------------------------
   Resetten 
--------------------------------------------- */
.moduletable_top ul,
.moduletable_top ul li,
.moduletable_left-bar ul,
.moduletable_left-bar ul li {
    list-style: none; 
    margin: 0;
    padding: 0;
}
/* ----------------------------------
   Position main and sub items
---------------------------------- */

#header_menu{
    background-color: #CDC5BF;
    border-top: 5px solid #C00D0D;
    clear: both;
    height: 45px;
    width: 100%;
}
.moduletable_top ul {
	display: flex;
	justify-content: center;
	font-size: 14px;
    margin-left: 20px;
    margin-top: 12px;
}
.moduletable_header ul {
	font-size: 14px;
	margin-left: 10px;
}
.moduletable_top ul li {
    float: left;
	padding-top: 5px;
	font-size: 14px;	
	height: 60px;
	background: transparent url(../images/Dach.png) no-repeat 100% 0 scroll;
}

/* --------------------------------------
   Link styles for the main and sub items
----------------------------------------- */

/* Main items normal */

.moduletable_top ul li a:hover {
	font-weight: bold;
}
.moduletable_top ul li.current.active a {
	font-weight: bold;
	color: black;
}
.moduletable_top ul li a{
/* 	display: block; */
	font-weight: normal;
	font-size: 16px;
	text-decoration: none;
	padding-left: 30px;
	padding-right: 30px;
 	color: white; 
}
.moduletable_top ul ul.nav-child {
	display: none;
}

ul.menu_first li {
	margin-bottom: 0.6em;
	padding-right: 20px;
	list-style-type:none;
	list-style-position:inside;
    background: url("../images/DachKlein.png") no-repeat scroll 100% 8px transparent;
}
ul.menu_first li a {
	color: #C00D0D;
}
ul.menu_first li a:hover {
	color: black;
	font-weight: bold;
}
ul.menu_first li.current.active a {
	color: black;
	font-weight: bold;
}

/* styling the sub menu */

ul.menu_first li li{
	margin-bottom: 0;
	padding-right: 20px;
	list-style-type:none;
	list-style-position:inside;
    background: url("../images/DachKlein.png") no-repeat scroll 100% 50% transparent;
}
#left-bar ul.menu_first li li a {
	font-weight: normal;
	font-size: 0.9em;
	color: #C00D0D;
}
#left-bar ul.menu_first li li.current.active a {
    color: black;
	font-weight: bold;
}


/* --------------------------------------
   Responsive menu layout
----------------------------------------- */
.nav-toggle {
		display: none;
}

@media screen and (max-width: 1270px) {

	#header_address, .left-bar-menu {
	display: none;	
	}
	.moduletable_top ul {
	display: block;
	justify-content: center;
	font-size: 14px;
    margin-left: 0;
    margin-top: 0;
	}
	.moduletable_top ul li {
    float: none;
 	background: none;
	height: auto;
	}
	.moduletable_top ul li a {
    color: black;
    background: url("../images/DachKlein.png") no-repeat scroll 100% 50% transparent;
	padding-right: 20px;
	}
	.moduletable_top ul ul.nav-child {
	display: block;
	margin-left: 10px;
	}
	.moduletable_top ul ul.nav-child li {

	}
	.moduletable_top ul ul.nav-child li a {

	}
	.nav-toggle {
	  -webkit-user-select: none;
	  -moz-user-select: none;
	  user-select: none;
	  cursor: pointer;
	  display: block;
	  height: 2rem;
	  right: 2rem;
	  position: fixed;
	  top: 2rem;
	  width: 3.6rem;
	  z-index: 4; 
	 }
  .nav-toggle:hover {
    opacity: 0.8; 
	}
  .nav-toggle .nav-toggle-bar,
  .nav-toggle .nav-toggle-bar::after,
  .nav-toggle .nav-toggle-bar::before {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background: #666666;
    content: '';
    height: 0.4rem;
    width: 100%; 
	}
  .nav-toggle .nav-toggle-bar {
    margin-top: 0; 
	}
  .nav-toggle .nav-toggle-bar::after {
    margin-top: 0.8rem; 
	}
  .nav-toggle .nav-toggle-bar::before {
    margin-top: -0.8rem; 
	}
  .nav-toggle.expanded .nav-toggle-bar {
    background: transparent; 
	}
  .nav-toggle.expanded .nav-toggle-bar::after, .nav-toggle.expanded .nav-toggle-bar::before {
    background: #ed82b2;
    margin-top: 0; 
	}
  .nav-toggle.expanded .nav-toggle-bar::after {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg); 
	}
  .nav-toggle.expanded .nav-toggle-bar::before {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg); 
	}

/* nav */
nav ul.nav {
  -webkit-transition: right 0.5s ease;
  -moz-transition: right 0.5s ease;
  -ms-transition: right 0.5s ease;
  -o-transition: right 0.5s ease;
  transition: right 0.5s ease;
  background: rgba(255, 255, 255, 0.95);
  color: white;
  cursor: pointer;
  font-size: 2rem;
  height: 100vh;
  right: -100vw;
  padding: 6rem 2rem 2rem 2rem;
  position: fixed;
  top: 0;
  width: 100vw;
  overflow: scroll;
  z-index: 3; 
	}
	nav.expanded ul.nav {
    right: 0; 
	}
}

@media screen and (max-width: 700px) {
	#nav-toggle {
	width: 100%;
	position: fixed;
  	background: rgba(255, 255, 255, 0.95);
    height: 80px;
	top: 0;
    z-index: 10;
	}	
	.nav-toggle {
	  top: 1rem;
	}	
	.nav-toggle {
	  width: 2.8rem; 
	 }	
  .nav-toggle .nav-toggle-bar::after {
    margin-top: 0.5rem; 
	}
  .nav-toggle .nav-toggle-bar::before {
    margin-top: -0.5rem; 
	}
  .nav-toggle .nav-toggle-bar,
  .nav-toggle .nav-toggle-bar::after,
  .nav-toggle .nav-toggle-bar::before {
    height: 0.25rem;
	}
}
