HTML {
	font-size: calc(.24038vw + 17.23077px);
}

BODY {
	text-align: left;
	background-color:var(--white);
	color: #4E4F4E;
	font-family:var(--content-font);
	font-size: 0.8rem;
	font-weight: 400;
	overflow-x: hidden;
}

@media screen and (min-width: 320px) {
	BODY {
		line-height: calc(.48077vw + 24.46154px);
	}
}

.invisible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.h1, .h2, .h3, .h4, .h5, .h6, H1, H2, H3, H4, H5, H6 {
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: 0.469rem;
	margin-top: 0px;
	/*font-size: calc(2.09181vw + 1.29512rem);*/
}

H1 {
	color:var(--rot);
	font-size: 1.9rem;
	font-family:var(--h1-font-family);
	line-height: 1;
	margin-bottom: 2.3rem;
}

/*.startseite .ce_text {
color:var(--rot);
}*/
H2 {
	color:var(--rot);
	font-weight: bold;
	line-height: 1;
	/*margin-top: 1.3rem;*/
	margin-bottom: 1.2rem;
	width: 99%;
	font-size: 1.2rem;
}

H3 {
	font-size: 1rem;
}

P {
	line-height: 1.4;
}

UL {
	list-style-type: disc;
}

A {
	color:var(--gruen);
	text-decoration: underline;
}

.center {
	text-align: center;
}

.caption {
	font-style: italic;
	font-size: 0.7rem;
}

.trenner::after {
	margin: 30px auto 40px;
	text-align: center;
	content: ' ';
	display: block;
	border:1px solid var(--gruen);
	border-radius: 2px;
	width: 50%;
}

#main .image_container {
	background-color: transparent;
	position: relative;
}

#main IMG {
	border: 1px solid silver;
	padding: 2px;
}

#main .ce_gallery IMG {
	border: none;
	padding: 0px;
}

#main .image_container:before {
	content: '';
	background-image: URL("../grafiken/img_before.png");
	background-position: -4px -3px;
	background-repeat: no-repeat;
	transform: translate(-10px, -10px);
	position: absolute;
	top: -5px;
	left: -5px;
	display: block;
	height: 25px;
	width: 25px;
}

#main .keine_ecke .image_container:before {
	background-image: none;
}

#main IMG .keine_border {
	border: none;
}

/*Bildergalerie*/
#main .ce_gallery .image_container:before {
	background-image: none;
}

.ce_gallery UL {
	display: flex;
	flex-flow: row wrap;
	list-style: none;
}

.ce_gallery LI {
	margin: 0 5px 5px 0px;
	flex-basis: calc(49% - 5px);
	border: 1px solid silver;
}

@media only screen and (min-width: 784px) {
	.ce_gallery LI {
		flex-basis: calc(33% - 5px);
	}
}

@media only screen and (min-width: 901px) {
	.ce_gallery LI {
		flex-basis: calc(16.4% - 5px);
	}
}

/* Akkordeon */
.ce_accordion {
	width: 100%;
}

.ce_accordion .toggler::after {
	content: "+";
	font-size: 2em;
	text-indent: 0;
	width: auto;
	position: absolute;
	top: 50%;
	transform: translatey(-50%);
	right: 1.33846em;
}

.ce_accordion .toggler.active::after {
	content: "-";
	font-size: 2.5em;
	text-indent: 0;
	width: auto;
	position: absolute;
	top: 42%;
	transform: translatey(-42%);
	right: 1.33846em;
}

.ce_accordion .toggler {
	position: relative;
	margin-top: 4px;
	padding: 0.6875em 2.5em 0.8125em 1.25em;
	border:1px solid var(--rot);
	border-radius: 3px 3px 0px 0;
	outline: none;
	font-weight: normal;
	cursor: pointer;
	background:var(--rot);
	color: #FFF;
	font-size: 19px;
	font-weight: bold;
}

.ce_accordion .accordion {
	position: relative;
	margin-bottom: -2px;
	padding: 1em 1.25em;
	border: 1px solid #D7CFC8;
	border-top: none;
	border-radius: 3px;
	background: transparent;
	margin: 0px;
}

.ce_accordion .accordion::after {
	display: block;
	content: '';
	width: 100%;
	clear: both;
}

/*einzelnes Downloadelement*/
H6 {
	font-size: 1em;
}

.download-element.ext-pdf {
	margin: 20px;
	background-size: 24px 24px;
	background-position: 0px;
}

.ext-pdf A {
	text-decoration: none;
}

P.download-element {
	padding-left: 35px;
}

/*Downloadarchiv*/
.ce_downloads .download-element {
	padding: 10px 29px;
}

.ce_downloads UL {
	border:1px solid var(--rot);
	padding: 5px;
	display: inline-block;
}

.ce_downloads UL LI {
	display: block;
}

.ce_downloads UL LI.ext-pdf {
	background-color: rgba(221, 221, 221, 0.426);
	padding-left: 42px;
	margin: 0px;
	background-position: 10px 13px;
}

/*Artikel mit Inhalte in display flex*/
.mod_article.inhalte-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	/*clear: both;*/
}

@media screen and (min-width: 767px) {
	.mod_article.inhalte-flex DIV {
		justify-content: space-evenly;
		flex-basis: 45%;
		/*clear: both;*/
	}
}

@media screen and (min-width: 992px) {
	.mod_article.inhalte-flex DIV {
		flex-basis: 22%;
	}
}

/*Formular*/
#bestell-form {
	width: 100%;
}

#bestell-form LABEL {
	width: 100%;
	font-weight: normal;
}

#bestell-form INPUT, #bestell-form SELECT, #bestell-form TEXTAREA, INPUT[type='checkbox'] {
	border:1px solid var(--gruen);
	background-color:var(--hellgrau);
	height: 1.8rem;
}

#bestell-form .checkbox_container LABEL {
	margin-right: 1.7rem;
}

#bestell-form TEXTAREA {
	height: 5rem;
}

#bestell-form INPUT:hover, #bestell-form INPUT:focus, #bestell-form TEXTAREA:hover {
	border:1px solid var(--rot);
	background-color:var(--weiss);
	box-shadow: 0 0 5px #B5B4B4;
}

#bestell-form BUTTON.submit {
	background-color:var(--rot);
	background-image: none;
	width: 100%;
	color:var(--weiss);
	height: 45px;
	font-size: 1rem;
}

#bestell-form BUTTON.submit:hover {
	background-color:var(--gruen);
}

@media screen and (min-width: 541px) {
	#bestell-form {
		margin-top: 125px;
	}
	
	#bestell-form .form-flex {
		display: flex;
		flex-wrap: wrap;
	}
	
	#bestell-form .form-flex > DIV {
		flex-basis: 48%;
	}
	
	#bestell-form .form-flex > DIV:first-child {
		margin-right: 20px;
	}
}

@media screen and (min-width: 600px) {
	#bestell-form .form-flex {
		display: flex;
		flex-wrap: wrap;
	}
	
	#bestell-form .form-flex > DIV {
		flex-basis: 100%;
	}
	
	#bestell-form .form-flex > DIV:first-child {
		margin-right: 0px;
	}
}

@media screen and (min-width: 1000px) {
	#bestell-form .form-flex {
		display: flex;
		flex-wrap: wrap;
	}
	
	#bestell-form .form-flex > DIV {
		flex-basis: 47.7%;
	}
	
	#bestell-form .form-flex > DIV:first-child {
		margin-right: 20px;
	}
}

/*Footer*/
#footer {
	font-size: 0.8rem;
	margin-top: 70px;
	background-image:var(--footer-background-4);
	padding: 28px;
}

/*.startseite #footer {
margin-top: 0px;
}*/
#footer DIV {
	color:var(--weiss);
}

#footer A {
	color:var(--weiss);
	text-decoration: underline;
}

#footer H2 {
	margin-top: 0;
	font-size: 1rem;
	color:var(--weiss);
}

#footer .mod_article, .ce_rs_columns_start {
	margin-bottom: 0px;
}

/*Login-Heitech*/
#login_heitech {
	max-width: 1200px;
	margin: 0 auto;
	background-color: transparent;
	padding-bottom: 20px;
}

.login {
	color: #FFF;
	width: 50px;
	height: 25px;
	float: left;
	left: 0;
}

.login A {
	display: block;
}

.heitech {
	float: right;
	padding-top: 10px;
}

/*Top-Link*/
.scrollUp {
	display: block;
	height: 55px;
	width: 70px;
	background-color:var(--rot);
	border-radius: 75px;
	font-size: 2em;
	content: '1';
	color: #FFF;
	position: fixed;
	z-index: 99;
	bottom: 134px;
	right: 20px;
	border: 2px solid #D2D3D4;
}

A.scrollUp {
	text-align: center;
	display: block;
	padding-top: 15px;
}
