html, body {
	margin: 0;
	padding: 0;
	height:100%;	
}

#centertable {
	margin: 0 auto;
	height: 90%;
	width: 100%;
}

#venter {
	vertical-align:middle;
}

#frame {
	margin-top: 40px;
}

html {
	font-size: 100.01%;
}

body {
/*	padding: 0 0 30px 0; */
	font-size: 1em; /* 16px */
	line-height: 1.25em;
	color: #4d4d4d;
}

ul {
	padding: 0;
	margin: 0 0 0 15px;
	list-style-type: disc;
}

h1 {
	font-size: 150%;
	line-height: 125%;
}

a {
	color: #d27b08;
	text-decoration: none;
}

.content a:focus,
.content a:hover,
{
	text-decoration: underline;
}

.clearfix:after{
	display: block;
	content: '';
	visibility: hidden;
	width: 0;
	height: 0;
	clear:both;
}

#logo {
/*	margin-top: 20px; */
	margin-bottom: 5px;
	margin-left: 71px;
	display: block;
}

#top, #footer {
	height: 29px;
	line-height: 29px;
	vertical-align: middle;
	background: #9b9b9b;
	color: #fff;
}

#top .box {
	min-width: 58px;
/*	min-width: 4.84em;*/
	height: 100%;
	float: left;
}

* html #top .box {
	width: 58px;
	width: 4.84em;
}

#top .box.orange      { background: #eda235; }
#top .box.white       { background: #ffffff; }
#top .box.lightorange { background: #ed9520; }
#top .box.grey        { background: #7c7c7c; }
.box.wide,
* html #top .box.wide        { width: 142px; /*width: 11.884em;*/ }

#navigation {
	float: left;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#navigation, #subnav {
	font-size: 12px;
}

#subnav div.output,
#navigation li {
	float: left;
	height: 100%;
	line-height: 2.42em;
	vertical-align: middle;
	border-right: 1px solid #fff;
	margin: 0;
	padding: 0;
	position: relative;
}

#navigation li.first-child {
	border-left: 1px solid #fff;
}

#subnav div.output span,
#navigation li a {
	display: block;
	padding: 0 8px;
	text-decoration: none;
	color: #fff;
	background: #9B9B9B;
}

#navigation li a:focus,
#navigation li a:hover,
#navigation li a.active {
	background: #eda235;
}

#subnav {
	margin-left: 490px;
	margin-left: 40.834em;
	height: 30px;
}

#subnav ul {
	margin: 0;
	padding: 0;
	border-left: 1px solid #9b9b9b;
}

#subnav li {
	list-style-type: none;
	margin: 0;
	display: inline;
	float: left;
	padding: 6px 0 3px 0;
	color: #9b9b9b;
}

#subnav li a {
	color: #9b9b9b;
	text-decoration: none;
	padding: 0 8px;
}

#subnav li a.active,
#subnav li a:focus,
#subnav li a:hover {
	color: #ED9520;
}

#subnav div.output {
	/*visibility: hidden;*/
	display: inline;
	height: 50px;
}

#subnav div.output span {
	display: inline;
}


.container {
	max-width: 990px;
	margin: 0 auto;
}

.flex-container {
	flex-wrap: wrap;

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.bottomspace {
	margin-bottom: 10px;
}

.slider {
	position: relative;
	width: 100%;
	height: 424px;
	margin-top: 25px;
	background: url(../img/startseite/startseite-1.jpg);
}

.slide {
	width: 100%;
	height: 424px;
}

.slider--nav-left, .slider--nav-right {
	width:39px;
	height:70px;

	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;

	z-index: 105;
	opacity: 1;
}

.slider--nav-left:hover, .slider--nav-right:hover {
	opacity: 0.5;

	transition: opacity 0.25s ease;
}

.slider--nav-left {
	background: url(../img/pfeil-links.png);

	left: 25px;
}

.slider--nav-right {
	background: url(../img/pfeil-rechts.png);

	right: 25px;
}

.content, .contact {
	background: #efefef;
	color: #4d4d4d;
	padding: 25px;
}

.content {
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
	-moz-column-count: 2; /* Firefox */
	column-count: 2;
}

.content h1 {
	-webkit-column-span: all;
	-moz-column-span: all;
	column-span: all;
}

.content p {
	margin-top: 0;
}

.team {
	background-color: #dadada;
}

.map {
	width: 100%;
	height: 424px;
	background-color: #efefef
}

.map iframe {
	height: 100%;
	width: 100%;
}

.contact{
	width: 100%;
}

.contact--contact, .contact--hours{
	width: 50%;
	float: left;
}

.contact--hours table td{
	vertical-align: top;
}

.contact--hours p{
	margin: 0;
}

footer {
	background-color: #dadada;
	padding: 20px;
}

.footer--links, .footer--imprint {
	float: right;
	margin-right: 50px;
	color: #4d4d4d;
	text-decoration: none;
}

.footer--links:hover, .footer--imprint:hover {
	color: #000;
	text-decoration: none;
}

/* Contactform */
.contactform input.text,
.contactform textarea {
	width: 620px;
	padding: 2px;
	margin: 0 0 9px 0;
	border: 1px solid #E5E5E5;
	color: #7C7C7C;
	font-size: inherit;
	font-family: inherit;
}

.contactform textarea {
	height: 200px;
}

.contactform input.button {
	background: #ED9520;
	color: #fff;
	border: 1px solid #ED9520;
	padding: 2px;
}

.contactform input.text.error,
.contactform textarea.error {
	border: 1px solid #ED9520;
}

.contactform p.error {
	margin-top: 0;
}

.visible-xs {
	display: none;
}


/* Tablets etc */
@media screen (max-width: 768px) and (max-width: 990px) {

	.visible-xs {
		display: none;
	}

	.content {
		-webkit-column-count: 1; /* Chrome, Safari, Opera */
		-moz-column-count: 1; /* Firefox */
		column-count: 1;
	}
}


 /* Mobile/Phone */
@media screen and (max-width: 768px) {

	h1 {
		font-size: 20px; /* Change to responsive version!! */
	}

	.visible-xs {
		display: block;
	}

	#navigation, #subnav {
		display: none;
	}

	.flex-container {
		flex-wrap: wrap;
	}

	.content {
		-webkit-column-count: 1; /* Chrome, Safari, Opera */
		-moz-column-count: 1; /* Firefox */
		column-count: 1;
	}
	.slider {
		height: 325px;
	}

	.cycle-slide {
		height: 325px;
		width: 100%;
	}

	.map {
		height: 325px;
		-webkit-box-ordinal-group: 2;
		-moz-box-ordinal-group: 2;
		-ms-flex-order: 2;
		-webkit-order: 2;
		order: 2;
	}

	.contact {
		-webkit-box-ordinal-group: 1;
		-moz-box-ordinal-group: 1;
		-ms-flex-order: 1;
		-webkit-order: 1;
		order: 1;
	}

	.contact, .contact--contact, .contact--text, .contact--hours, .contact--write, .contact--call, .up {
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;    /* Firefox, other Gecko */
		box-sizing: border-box;
	}

	.contact--contact {
		float: none;
		-webkit-box-ordinal-group: 2;
		-moz-box-ordinal-group: 2;
		-ms-flex-order: 2;
		-webkit-order: 2;
		order: 2;
	}

	.contact--hours {
		float: none;
		-webkit-box-ordinal-group: 1;
		-moz-box-ordinal-group: 1;
		-ms-flex-order: 1;
		-webkit-order: 1;
		order: 1;
	}

	.contact, .contact--contact {
		width: 100%;
		padding: 0;
	}

	.contact--text, .contact--hours{
		width: 100%;
		margin-bottom: 10px;
		padding: 30px;
	}

	.contact--hours {
		border-bottom: solid #fff 10px;
	}

	.contact--call, .contact--write, .up {
		width: 100%;
		padding: 15px 30px;
	}
	.contact--call {
		color: #fff;
		background-color: #d37b08;
	}
	.contact--write {
		background-color: #dadada;
	}

	.up {
		background-color: #fff;
		color: #d27b08;
		text-align: right;
	}

}
