body {
	font-family: Verdana, Arial, sans-serif;
	font-size: 90%;
	color: #000000;
	line-height: 1.4em;
	background-color: #FFFFFF;
	margin: 0px 0px 10px 0px;
}

* { font-size: 1.0em; }

img { border: 0; }

p {
	margin: 0px 0px 12px 0px;
	padding: 0px 0px 0px 0px;
}

object, embed {
	margin: 0;
	padding: 0;
}

a { color: #000000; }
a:hover, a:active { text-decoration: none; }

h1 {
	font-size: 1.6em;
	line-height: 1.4em;
	font-weight: normal;
	margin: 0px 0px 16px 0px;
}

h2 {
	font-size: 1.0em;
	margin: 30px 0px 16px 0px;
}

div.clear {
	clear: both;
}

div#content ul {
	margin: 0px 0px 16px 0px;
	padding: 0px 0px 0px 0px;
}

div#content ul li {
	margin: 0px 0px 5px 20px;
	padding: 0px 0px 0px 10px;
}

div.spacer {
	height: 25px;
	clear: both;
}

img.bild-rechts {
	float: right;
	margin: 0px 10px 20px 40px;
	border: 1px solid #742f2b;
}


/* =======
Box-Layout
======= */

div#rahmen {
	width: 889px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
}

div#header {
	height: 222px;
	background-image:url(../images/mcs-header.jpg);
	background-repeat: no-repeat;
	margin: 0px 0px 12px 0px;
}

div#header a {
	display: block;
	position: absolute;
	width: 889px;
	height: 222px;
	text-indent: -9999px;
	outline: 0;
}

div#content {
	float: left;
	width: 650px;
	min-height: 300px;
	margin: 0px 0px 70px 0px;
	padding: 0px 10px 0px 0px;
}
* html div#content { height: 300px; margin-bottom: 50px; }
*+ html div#content { margin-bottom: 50px; }

div#footer {
	clear: both;
	font-size: 0.8em;
	padding: 10px;
	letter-spacing: 0.05em;
	color: #7d7d7d;
	border-top: 1px solid #700000;
}

div#footer p {
	float: left;
	margin: 2px 0px 0px 2px;
	display: inline;
}

div#footer a {
	color: #7d7d7d;
	text-decoration: none;
}


/* =============
Navigation Lv. 1
============= */

ul#nav-top {
	margin: 0px 0px 30px 0px;
	padding: 0px 0px 30px 0px;
}

ul#nav-top li {
	float: left;
	list-style-type: none;
	padding: 0px 29px 0px 0px;
}

ul#nav-top li.last { padding-right: 0px !important; float: right !important; }

ul#nav-top li a {
	display: block;
	width: 200px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	text-decoration: none;
	font-size: 1.25em;
	font-weight: bold;
	color: #fff;
	background-color: #969696;	
}

ul#nav-top li a:hover, ul#nav-top li a.aktiv { background-color: #700000; }


/* =============
Navigation Lv. 2
============= */

ul#nav-sub {
	float: left;
	width: 200px;
	margin: 0px 29px 60px 0px;
	padding: 0px 0px 0px 0px;
	border-top: 1px solid #b3b3b3;
	clear: both;
}

ul#nav-sub li {
	list-style-type: none;
	text-align: right;
	padding: 4px 5px 4px 5px;
	border-bottom: 1px solid #b3b3b3;
}

ul#nav-sub li.first { border-top: 1px solid #b3b3b3; }

ul#nav-sub li a {
	display: block;
	text-decoration: none;
	color: #a20000;
}
ul#nav-sub li a:hover, ul#nav-sub li a.aktiv { font-weight: bold; }


/* ==============
Navigation Footer
============== */

div#footer ul {
	float: right;
	margin: 6px 1px 0px 0px;
	padding: 0px 0px 0px 0px;
}

div#footer ul li {
	float: left;
	line-height: 1.0em;
	list-style-type: none;
}

div#footer ul li.last { border-left: 1px solid #7d7d7d; margin-left: 10px; }

div#footer ul li a {
	color: #7d7d7d;
	text-decoration: none;
	padding: 0px 0px 0px 10px;
}


/* ============
Kontaktformular
============ */

form {
	margin: 0px 0px 14px 0px;
	padding: 15px 0px 0px 0px;
}

form p {
	clear: left;
	margin: 0px 0px 7px 0px;
}

* html form p { margin-bottom: 6px; }
*+ html form p { margin-bottom: 6px; }

form label {
	float: left;
	width: 130px;
}

textarea {
	width: 340px;
	height: 120px;
	padding: 2px;
	font-family: Arial;
	font-size: 1em;
}

input.textfeld {
	width: 340px;	
	padding: 2px 2px 3px 2px;
	margin: 0px 0px 0px 0px;
	font-family: Arial;
}

* html input.textfeld, * html textarea { width: 335px; }

/* Breite */
#Strasse { width: 220px; }
* html #Strasse { width: 215px; }
#Haus-Nr { width: 35px; }
#PLZ { width: 55px; }
#Ort { width: 237px; }
* html #Ort { width: 232px; }

/* Rahmen */
input.textfeld, textarea {
	font-size: 1.2em;
	border-top: 1px solid #7D7D7D;	 
	border-right: 1px solid #b3b3b3;
	border-bottom: 1px solid #b3b3b3;
	border-left:  1px solid #7D7D7D;
}

input.textfeld:focus, textarea:focus { border-color: #700000; }

input#senden, input#loeschen {
	width: 162px;
	height: 24px;
	background-repeat: no-repeat;
}

input#loeschen { margin: 10px 17px 0px 130px; }
* html input#loeschen { margin-right: 15px; }

@media only screen and (min-width: 889px) {
  	#nav-mobile {
	  display:none;
	}
	
	div#header, #nav-top, #nav-sub {
	  display:block;
	}
}

@media only screen and (max-width: 888px) {
  	#nav-mobile {
	  display:block;
	  position: relative;
	  padding: 12px 10px;
	}
	
	#nav-mobile a#startlink-mob {
		display: block;
		position: absolute;
		right: 0px;
		width: 180px;
		height: 60px;
		text-indent: -9999px;
		outline: 0;
	}
	
	div#header, #nav-top, #nav-sub {
	  display:none;
	}
	
	div#rahmen {
		width: 100%;
	}
	
	div#content {
		padding: 20px;
		width: 100%;
		box-sizing: border-box;
	}
	
	textarea {
		width: 290px;
	}
	
	input.textfeld {
		width: 290px;	
		display: block;
	}
	
	form label {
		display: block;	
		float: none;
	}
	
	* html input.textfeld, * html textarea { width: 290px; }

	/* Breite */
	#Strasse { width: 290px; }
	* html #Strasse { width: 290px; }
	#Haus-Nr { width: 290px; }
	#PLZ { width: 290px; }
	#Ort { width: 290px; }
	* html #Ort { width: 182px; }
	input#loeschen, input#senden { width: 146px; margin:0px}
}

div.grid2col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	grid-gap: 20px 60px;
}

div#nav-mobile{
	background-image: url(../images/head-logo-mobile.png), linear-gradient(#868886, #b8bbba);
	background-repeat: no-repeat;
	background-position: right 30px center, center;
}

ul#nav-mob {
	margin: 0px;
	display: none;
	padding: 10px 20px;
	list-style: none;
	box-sizing: border-box;
}

ul#nav-mob li {
	display: block;
	padding: 5px 0px;
	font-weight: bold;
}

ul#nav-mob li a:hover, ul#nav-mob li a.aktiv {
	color: #a20000;
}

ul#nav-mob ul.ul2nd {
	padding: 0px;
	border-top: 1px solid white;
	margin: 5px 0px;
}

ul#nav-mob ul.ul2nd li {
	font-weight: normal;
}

ul#nav-mob a {
	text-decoration: none;
}

div#nav-mobile .menu-open:checked ~ ul#nav-mob {
	display: block;
	position: absolute;
	top: 84px;
	left: 0px;
	width: 308px;
	background-color: #b8bbba;
	z-index: 10;
	width: 100vw;
	border-top: 2px solid white;
}

label.menu-open-button:hover .hamburger {
	background: #a20000;
}

.menu-open-button {
  background: transparent;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: block;
  position: relative;
  padding: 10px;
  color: #a20000;
  text-align: center;
  line-height: 40px;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform ease-out 200ms;
  transition: transform ease-out 200ms;
}

.menu-open {/*inputfeld verstecken*/
  display: none;
}

.hamburger {/*hamburger position*/
  width: 42px;
  height: 5px;
  background: white;
  display: block;
  position: absolute;
  top: 28px;
  left: 9px;
  border-radius: 5px;
  -webkit-transition: -webkit-transform 200ms;
  transition: transform 200ms;
}

.hamburger-1 {/*hamburger abstande*/
  -webkit-transform: translate3d(0, -12px, 0);
  transform: translate3d(0, -12px, 0);
}

.hamburger-2 {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.hamburger-3 {
  -webkit-transform: translate3d(0, 12px, 0);
  transform: translate3d(0, 12px, 0);
}

.menu-open:checked + .menu-open-button .hamburger-1 {/*hamburger zum x animieren*/
  -webkit-transform: translate3d(0, 0, 0) rotate(45deg);
  transform: translate3d(0, 0, 0) rotate(45deg);
}
.menu-open:checked + .menu-open-button .hamburger-2 {
  -webkit-transform: translate3d(0, 0, 0) scale(0.1, 1);
  transform: translate3d(0, 0, 0) scale(0.1, 1);
}
.menu-open:checked + .menu-open-button .hamburger-3 {
  -webkit-transform: translate3d(0, 0, 0) rotate(-45deg);
  transform: translate3d(0, 0, 0) rotate(-45deg);
}

.menu-open:checked + .menu-open-button {
  left: auto;
  margin-left: 0px;
}

.menu-open-button {
  cursor: pointer;
}
