/* Setting things up */
/*html, body, #page {
	height: 100%;
}*/



#navigation img {
	display: none;
}

#navigation ul {
	margin: 0;
}

#navigation ul li {
	list-style: none;
	padding: 0;
}

#navigation ul li a {
	color: #000;
	display: block;
	font-weight: bold;
	line-height: 36px;
	padding: 4px 17px 0;
	text-decoration: none;
}

#navigation ul li.active a,
#navigation ul li a:hover {
	color: #fff;

}

#navigation ul li.active a,
#navigation ul li a:hover {
	background-color: #C00418;
}

#navigation ul.second {
	margin-top: 0;
}

#navigation ul.second .last{
	padding-bottom: 5px;
}

#navigation ul li ul {
	display: none;
}

#navigation ul li.active ul {
	display: block;
}

#navigation ul li ul li {
	background-color: #fff;
}

#navigation ul li ul li a {
	padding-left: 30px;
}

#navigation ul li ul li ul li a:before {
	font-size: 6px;
}

#navigation ul li ul li ul li a {
	font-size: 12px;
	line-height: 15px;
}

#navigation ul li.active ul li a {
	background-color: #676d6a;
	color: #fff;
}

#navigation ul li.active ul li.active a {
	background-color: #fff;
	color: #676d6a;
}

#navigation ul li ul li ul {
		padding: 15px 0;
}

#navigation ul li ul li ul li a {
	border: medium none;
	font-weight: 600;
	padding: 5px 20px 2px 40px;
	position: relative;
}

#navigation ul li.active ul li ul li a,
#navigation ul li.active ul li.active ul li a {
	color: #676d6a;
}

#navigation ul li.active ul li.active ul li.active a,
#navigation ul li.active ul li.active ul li a:hover {
	color: #C00418;
}

#navigation ul li ul li ul li a:before {
	content: "\e825";
	font-family: "wt";
    font-size: 6px;
    left: 31px;
    margin: 0 8px 0 0;
    position: absolute;
    top: 4px;
}

#navigation ul li ul li ul li a:before {
	color: #C00418;
}

a.open-panel, a.close-panel {
	display: none;
}

ul#info li a:before {
    padding-right: 5px;
    font-size: 15px;
    width: 20px;
    display: inline-block;
    text-align: left;
}
/*@media only screen and (max-width: 55em) {*/
@media only screen and (max-width: 767px) {
	html {
		/*background-color: #e8eae9;*/
	}

	#headerWrap,
	#contentWrap,
	#borderlineWrap,
	# {
		border-left: 1px solid #ddd;
	}
	#content {
		padding-top: 0;
	}
		
	 /* Move nav off screen, setup transitions */
	nav#navigation {
		width: 70%;
		position: absolute;
		left: -70%;
		top: 0;
		height: 100%;
		background: #E8EAE9;
	}
		
	/* Display nav items vertically */
	ul.menu {
		border-top: 1px solid #888;
		
		li {
			float: none;
			width: 100%;
			text-align: left;
			padding: .5em 1em;
			box-sizing: border-box;
			border-bottom: 1px solid #888;
		}
	}
		
	/* Reveal open/close buttons */
	a.open-panel, a.close-panel {
		display: inline;
		float: right;
	}

	a.open-panel i {
	    display: inline-block;
	    font-size: 25px;
	    height: 37px;
	    line-height: 37px;
	    text-align: center;
	    width: 37px;
	}

	#mainmenu, #infomenu {
		display: none;
	}

	.close-panel {
		position: relative;
		top: .5em;
		left: 1em;
	}

	#navigation ul#topnav {
	    border-top: 1px solid #ccc;
	}

	.openNav #topmenu {
	    left: 18px;
	    position: absolute;
	}

	.openNav #notruf {
		padding-left: 40px;
	}

	.openNav #page {
		left: 0;
		-webkit-transform: translate3d(70%, 0, 0);
		-moz-transform: translate3d(70%, 0, 0);
		-ms-transform: translate3d(70%, 0, 0);
		-o-transform: translate3d(70%, 0, 0);
		transform: translate3d(70%, 0, 0);
		-webkit-transition: -webkit-transform 500ms ease;
		-moz-transition: -moz-transform 500ms ease;
		-o-transition: -o-transform 500ms ease;
		transition: transform 500ms ease;
	}

	/* When the panel is closed, transition the page back to the left */
	#page {
		left: 0;
		-webkit-transform: translate3d(0, 0, 0);
		-moz-transform: translate3d(0, 0, 0);
		-ms-transform: translate3d(0, 0, 0);
		-o-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		-webkit-transition: -webkit-transform 500ms ease;
		-moz-transition: -moz-transform 500ms ease;
		-o-transition: -o-transform 500ms ease;
		transition: transform 500ms ease;
	}
}