body {
	background-color: var(--bg-color);
	font-family: Arial, Helvetica, sans-serif;
    margin: 0;
	padding: 0;
	font-size: 13px;
	color: var(--text-primary);

	a {
		color: var(--theme-green-primary);

		&:hover, &:focus {
			color: var(--theme-green-primary);
			text-decoration: underline;
		}
	}
} 
#wrapper {
	margin: 10px auto;
	min-width: 760px;
	max-width: 980px;
}
#topnavi {
	height: 1.3em;
	margin-left: 0px;
	width: 99%;
	float: left;
}
.test {
	position: relative;
	float: right;
}


.is--focused {
  box-shadow: 0 0 5px var(--theme-green-primary);
}

/* Kopfbereich */
#container_1 {
	background-image: url(../images/colour/defaults/bl_balken_links.gif);
	background-position: left top;
	background-repeat: repeat-y;
	margin-top: 4px;
}
#claimdiv {
	height: 139px;
	overflow: hidden;
	width: 288px;
	position: relative;
	margin-left: 34px;
	margin-right: -34px;
	margin-top: -139px;
	background-image: url(../images/colour/defaults/bl_box_teaser.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}
#claim {
	width: 246px;
	height: 139px;
	background-image: url(../images/colour/defaults/shdw_01.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}
#claim .logo {
	width: 98%;
	height: 134px;
	overflow: hidden;
	vertical-align: bottom;

	img{
		width: 100%;
	}
}
#claim .logo a {
	width: 100%;
	height: 100%;
	display: block;
}
#headerdiv {
	height: 139px;
	overflow: hidden;
	width: 100%;
	top: 0;
	position: relative;
}
#header {
	height: 139px;
	width: 71%;
	float: right;
	position: relative;
	background-color: var(--theme-beige-primary);
}

#header .space1 {
	width: 6px;
	height: 134px;
	overflow: hidden;
	float: left;
	position: relative;
	background-color: transparent;
	z-index: 20;
}

#header .space2 {
	width: 6px;
	height: 134px;
	overflow: hidden;
	float: left;
	position: relative;
	background-color: transparent;
	z-index: 20;
}
#betw_1 {
	height: 12px;
	margin-top: -4px;
	margin-left: 34px;
	overflow: hidden;
	position: relative;
}
#betw_2 {
	position: relative;
	height: 12px;
	margin-top: -10px;
	margin-left: 0;
	width: var(--menu-bar-left-width);
	z-index: -1;
}
#betw-3 {
	position: relative;
	z-index: 50;
	height: 16px;
	width: 100%;
	margin-top: -7px;
	display: none;
}
#betw-3-left {
	background-image: url(../images/colour/defaults/shdw_03.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
	float: left;
	z-index: 60;
	height: 24px;
	width: 291px;
	margin-top: -11px;
	position: absolute;
}
#betw-3-right {
	background-image: url(../images/colour/defaults/shdw_04.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	float: right;
	z-index: 50;
	height: 20px;
	width: 690px;
	margin-top: -12px;
	position: relative;
	overflow: hidden;
	background-color: transparent;
}
#betw-3-right_home {
	background-image: url(../images/colour/defaults/shdw_04_tc.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	float: right;
	z-index: 50;
	height: 20px;
	width: 690px;
	margin-top: -12px;
	position: relative;
	overflow: hidden;
	background-color: transparent;
}
#subheader {
	background-color: var(--theme-green-primary);
	position: relative;
	height: 20px;
	line-height: 1.4em;
	margin-bottom: 6px;
	margin-left: var(--menu-bar-left-width);
	text-align: left;
	color: #333333;
	padding: 8px 16px 12px 0;
}
.sh_green {
	background-color: var(--theme-light-green-primary);
	position: relative;
	height: 15px;
	width: 100px;
	float: left;
	overflow: hidden;
	margin: -8px 164px 0 0;
	opacity: 0;
}

#container_2 {
	background-image: url(../images/colour/defaults/bl_balken_voll_navi.gif);
	background-position: left bottom;
	background-repeat: repeat-y;
	overflow: hidden;	
}
#container_2 .shdw {
	background-image: url(../images/colour/defaults/shdw_02.gif);
	background-position: right bottom;
	background-repeat: repeat-y;
	overflow: hidden;	
}
#container_2_home {
	background-image: url(../images/colour/defaults/bl_balken_voll_navi_blau.gif);
	background-position: left bottom;
	background-repeat: repeat-y;
	overflow: hidden;	
}
#container_2_home .shdw {
	background-image: url(../images/colour/defaults/shdw_02.gif);
	background-position: right bottom;
	background-repeat: repeat-y;
	overflow: hidden;	
}

#inhalt {
	width: 100%;
	position: relative;
	height: auto;
	margin: 2em 0 0 0;
}

#wrapper[data-pid="1058"] #inhalt {
	/* hide navigation and remove space*/
	margin-top: 0;
}

#inhalthome {
	width: 100%;
	position: relative;
	padding-bottom: -6px;
	height: auto;
	margin-top: -24px;
}
#navi {
	width: 245px;
	margin-left: var(--menu-bar-left-width);
	margin-top: -12px;
	float: left;
	min-height: 491px;
}
#navi-home {
	width: 256px;
	margin-left: 34px;
	margin-top: 2px;
	float: left;
	min-height: 491px;
}
#navi-list {
	width: 248px;
	min-height: 491px;
}
#maincontent {
	width: auto;
	margin-left: 310px;
	background-color: #FFFFFF;
	margin-right: 10px;
}
#maincontent_home {
	width: auto;
	margin-left: 290px;
	margin-right: 5px;
	background-image: url(../images/colour/01_home/titel.jpg);
	height: 480px;
	background-repeat: no-repeat;
	background-position: center top;
}
#textdiv {
	width: 98%;
	position: relative;
	font-family: Arial, Helvetica, sans-serif;
	padding-bottom: 24px;
	margin-top: 24px;
}
.cleaner {
	clear: both;
	height: 0px;
	font-size: 0px;
	border: 0px none;
	margin: 0;
	padding: 0;
}
#footer {
	width: 100%;
	margin-top: -20px;
	height: 2em;
	text-align: right;
}
.iframe {
	width: 99%;
	overflow: visible;
	background: transparent;
}
.hr-line {
	width: 99%;
	height: 1em;
	border-bottom: solid var(--theme-beige-primary) 1px;
}

.tx-indexedsearch .tx-indexedsearch-noresults {
  color: red !important;
}

div.csc-textpic .csc-textpic-imagewrap img {
  max-width: 100%;
  height: auto;
}
div.rTable {
   display: table;
   width: 100%;
}
div.rTableHeading, .rTableBody, .rTableFoot, .rTableRow{
   clear: both;
}
div.rTableHead, .rTableFoot{
   background-color: #DDD;
   font-weight: bold;
}
div.rTableCell, .rTableHead {
   display: table-cell;
   border: 0px solid #999999;
   float: left;
 
   overflow: hidden;
   padding: 3px 1.8%;
   width: 50%;
}
div.rTable:after {
   visibility: hidden;
   display: block;
   font-size: 0;
   content: " ";
   clear: both;
   height: 0;
}

.tx-powermail {
 width: 100%;
display: inline-block;
	margin-top: 10px;
}

.glyphicon-link, .glyphicon-info-sign, .glyphicon-triangle-left, .glyphicon-triangle-top, .glyphicon-print {
	padding-right: 5px;
}

.f3-widget-paginator {
	padding: 0;
}
.powermail_reset {
	display: none;
}
.fieldset.powermail_fieldset .powermail_submit {
	background: #e1e1e1;
}

hr {
	border-top: 1px solid var(--theme-beige-primary) !important;
	border-top: 1px solid var(--theme-beige-primary) !important;
}

.news-text-wrap ul {
    padding-left: 15px;
}
.news-text-wrap ul li {
    float: none;
    padding-top: 5px;
    padding-bottom: 5px;
}

.news .footer {
    border-top: none;
    border-bottom: 1px solid #eee;
    margin-top: 0px;
}

.flexContent .flexBgBeige ul {
	padding-left: 15px;
}
.flexContent .flexBgBeige ul li {
	padding: 5px;
	float: none;
}
.panel-title > a {
	display: block;
}


.Akkordeon{
	.panel-default {
		> .panel-heading {
			padding: 5px 15px;
			background-color: var(--theme-beige-primary);

			a{
				text-decoration: none;
			}
		}
	}
}


/* Responsive image content */
.ce-gallery figure.image img {
	max-width: 100%;
	height: auto;
}

/* Media Queries : specific device */
@media screen and (max-width: 665px) {
	.ce-image .ce-gallery[data-ce-columns="2"],
	.ce-image .ce-gallery[data-ce-columns="3"] {
		/* Display one column */
		.ce-row {
			overflow: visible;
			.ce-column {
				width: 100%;
				figure.image {
					margin: auto auto 5px;
				}

			}
		}
	}

	figure.video {
		video{
			width: 100%;
		}
	}
}

@media screen and (max-width: 520px) {
	.ce-intext.ce-right,
	.ce-intext.ce-left {
		.ce-gallery {
			width: 100%;
			margin: auto auto 10px;
			float: none;

			.ce-column {
				float: none;

				figure.image {
					margin: auto;
				}

			}
		}

		.ce-bodytext {
			hyphens: auto;
			-webkit-hyphens: auto;
			-ms-hyphens: auto;
		}

	}
}
