@font-face {
    font-family: 'Wotfard Medium';
    font-weight: normal;
    font-display: swap;
	src: url( ../fonts/Wotfard/Medium/wotfard-medium-webfont.eot);
    src: url('../fonts/Wotfard/Medium/wotfard-medium-webfont.woff2') format('woff2'),
		 url('../fonts/Wotfard/Medium/wotfard-medium-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/Wotfard/Medium/wotfard-medium-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'Wotfard Light';
    font-weight: normal;
    font-display: swap;
	src: url( ../fonts/Wotfard/Light/wotfard-light-webfont.eot);
    src: url('../fonts/Wotfard/Light/wotfard-light-webfont.woff2') format('woff2'),
		 url('../fonts/Wotfard/Light/wotfard-light-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/Wotfard/Light/wotfard-light-webfont.ttf') format('truetype');
}

/* @font-face {
    font-family: 'Wotfard Bold';
    font-weight: normal;
    font-display: swap;
	src: url( ../fonts/Wotfard/Bold/wotfard-bold-webfont.eot);
    src: url('../fonts/Wotfard/Bold/wotfard-bold-webfont.woff2') format('woff2'),
		 url('../fonts/Wotfard/Bold/wotfard-bold-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/Wotfard/Bold/wotfard-bold-webfont.ttf') format('truetype');
} */

@font-face {
    font-family: 'Calendas Plus Regular';
    font-weight: normal;
    font-display: swap;
	src: url( ../fonts/Calendas-Plus/Regular/calendas_plus-webfont.eot);
    src: url('../fonts/Calendas-Plus/Regular/calendas_plus-webfont.woff2') format('woff2'),
         url('../fonts/Calendas-Plus/Regular/calendas_plus-webfont.woff') format('woff'),
		 url('../fonts/Calendas-Plus/Regular/calendas_plus-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/Calendas-Plus/Regular/calendas_plus-webfont.ttf') format('truetype'),
         url('../fonts/Calendas-Plus/Regular/calendas_plus-webfont.svg#svgFontName') format('svg');
}

section, aside, header, nav, article, footer, time, figure {		
	display: block;	
	margin: 0;	 
	padding: 0;
} 

* {	
	outline: none;
} 

html {
	margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Wotfard Light', arial, sans-serif;
	font-size: 16px;
	line-height: 1.6em;
	color: #181a19;
	margin: 0;
	padding: 0;
    height: 100%;
    width: 100%;
    float: left; 
    clear: both;
    position: relative;
}

#content p, #content p.bodytext {
	margin: 0 0 1.6em 0;
}

/* Anpassung Text in Spalten wenn Trenner gesetzt ist --- BEGIN */

.columntext > .textblock {
    float: left;
    width: 47%;
    margin-top: 2em;
}

.columntext > .textblock:nth-child(even)  {
    float: right;
}

.columntext > .textblock:nth-child(1),
.columntext > .textblock:nth-child(2) {
    margin-top: 0;
}

#footer .columntext > .textblock,
#footer .columntext > .textblock:nth-child(even) {
    float: left;
    width: 32%;
    margin: 0 0 0 2%;
}

#footer .columntext > .textblock:first-child {
    margin: 0;
}

/* Anpassung Text in Spalten wenn Trenner gesetzt ist --- END */

#content p:last-child{
	margin: 0;
}

strong {
    font-family: 'Wotfard Medium', arial, sans-serif;
    font-weight: normal;
}

a {
    color: #7ba02a;
    text-decoration: none;
}

u, u a {
    text-decoration: underline;
}

#content .ce-bodytext a {
    font-family: 'Wotfard Medium', arial, sans-serif;
}

/* Button mit Hover Effekt bei Title "Überblick" --- BEGIN */

#content .ce-bodytext span.moreinfo,
.tx-powermail .powermail_fieldwrap_type_submit span.moreinfo {
    display: inline-block;
    text-decoration: none;
	transition: all 0.5s ease;
	position: relative;
	z-index: 1;
}

#content .ce-bodytext span.moreinfo a,
.tx-powermail .powermail_fieldwrap_type_submit span.moreinfo .powermail_field {
    font-family: 'Wotfard Light', arial, sans-serif;
	border: 1px solid #272727;
	color: #000000;
    padding: 10px 50px;
	display: block;
	position: relative;
	z-index: 1;
    /* white-space: nowrap; */
    text-align: center;
	text-decoration: none;
	transition: all 0.5s ease;
}

#content .ce-bodytext span.moreinfo::after,
.tx-powermail .powermail_fieldwrap_type_submit span.moreinfo::after {
	content: '';
	position: absolute;
	z-index: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
	width: 0%;
	height: 100%;
	top: 0;
	left: 0;
	background: #000000;
}

#content .ce-bodytext span.moreinfo:hover a,
#content .ce-bodytext span.moreinfo:active a,
.tx-powermail .powermail_fieldwrap_type_submit span.moreinfo:hover .powermail_field,
.tx-powermail .powermail_fieldwrap_type_submit span.moreinfo:active .powermail_field {
	color: #FFFFFF;
}

#content .ce-bodytext span.moreinfo:hover::after,
#content .ce-bodytext span.moreinfo:active::after,
.tx-powermail .powermail_fieldwrap_type_submit span.moreinfo:hover::after,
.tx-powermail .powermail_fieldwrap_type_submit span.moreinfo:active::after {
	width: 100%;
}

/* Button mit Hover Effekt bei Title "Überblick" --- END */

h1, h2, h3 {
    font-family: 'Calendas Plus Regular', arial, sans-serif;
    font-size: 40px;
    font-weight: normal; 
    margin: 0 0 80px 0;
    padding: 0;
    line-height: 1.2em;
    color: #181a19;
    position: relative;
}

h1::after, h2::after{
    content: '';
    height: 5px;
    width: 40px;
    background: #000000;
    position: absolute;
    left: 0;
    bottom: -30px;
}

h3 {
    text-align: left;
    line-height: 0.8em;
    margin: 0 0 20px 0px;
}

h1:empty, h2:empty, h3:empty {
    display: none; 
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#content ul {
    list-style: circle;
    padding: 0 0 0 20px;
}

/*#content li {
    background: url(../images/aufzaehlung.svg) left 5px no-repeat;
    background-size: 10px auto;
    padding: 0 0 0 20px;
    margin: 0 0 10px 0;
}*/

.ce-bodytext {
    opacity: 0;
}

.ce-bodytext hr {
    opacity: 0;
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-justify {
	text-align: justify;
}
/* 
#content .ce-gallery img{
    transition: all 0.5s ease;
}

#content .ce-gallery .image:hover img{
    transform: scale(1.1);
} */

.symbol {
	display: inline-block;
}

.symbol::before {
	content: "\0040";
}

#arrow {
    display: block;
    width: 50px;
    height: 50px;
    background: url(../images/next.png) center center no-repeat;
    position: absolute;
    bottom: 50px;
    left: 50%;
    margin-left: -25px;
    transform: rotate(90deg);
    cursor: pointer;
}

/* #header.small #arrow,
#subheader.small #arrow, */
#subheader #arrow:only-child {
    display: none;
}

#subheader,
#header {
    float: left;
    clear: both; 
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    opacity: 0;
}

#subheader .ce-gallery,
#header .ce-gallery {
    width: 100%;
    margin: 0 !important;
    position: relative;
}

#subheader .ce-row,
#header .ce-row {
    margin-bottom: 0 !important;
}

#subheader .ce-gallery div,
#subheader .ce-gallery .image,
#subheader .ce-gallery img,
#header .ce-gallery div,
#header .ce-gallery .image,
#header .ce-gallery img {
    width: 100%;
    height: auto;
}

#header .ce-gallery .ce-row:last-child {
    position: absolute;
    top: 42%;
    width: 600px;
    left: 50%;
    margin-left: -300px;
}

#subheader {
    min-height: 70px;
}

#header.small .ce-gallery img,
#subheader.small .ce-gallery img {
    width: auto;
}

#top {
    background: #FFFFFF;
    /* position: absolute; */
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 5%;
    width: 90%;
    z-index: 5;
    opacity: 0;
    transition: all 0.5s ease;
}

#top.scrolled {
  opacity: 1;
}

#top .ce-gallery {
    margin: 0;
}

#logo {
    float: left;
}

.b_button {
    float: right;
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 5px;
    cursor: pointer;
}

#navi {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 50;
}

#navi .b_button {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: url(../images/X_Menue.png) left top no-repeat;
    background-size: 50px auto;
}

#navi > div {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#navi > div .ce-gallery {
    width: 100%;
    height: auto;
    margin: 0;
}

#navi > div .ce-column,
#navi > div .image,
#navi > div img {
    width: 100%;
    height: auto;
}

#navi #main-navi {
    position: absolute;
    top: 25%;
    left: 50%;
    margin-left: -210px;
    z-index: 5;
    background: rgba(0,0,0,0.6);
    padding: 50px;
    width: 320px;
    font-size: 40px;
    line-height: 1.4em;
}

#navi #main-navi li {
    float: left;
    clear: both;
}

#navi #main-navi a {
    color: #FFFFFF;
    display: block;
    transition: all 0.5s ease;
}

#navi #main-navi li:hover a,
#navi #main-navi li.act a {
    color: #7ba02a;
}

#content {
    float: left;
    clear: both;
    width: 100%;
    position: relative;
    z-index: 2;
}

#content > .frame {
    float: left;
    clear: both;
    width: 100%;
    padding: 80px 0 100px;
}

#content > .frame-type-header {
    padding-bottom: 0;
}

#content > .frame-default {
    max-width: 988px;
    margin: 0 5%;
}

#content > .frame-default + .frame-default,
#content > .frame-default + .frame-teaser,
#content > .frame-teaser + .frame-default {
    padding-top: 0;
}

/* Frame Contentheader --- BEGIN */

#content > .frame-contentheader {
    padding: 0;
    position: relative;
    height: 700px;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

#subheader header,
#content > .frame-contentheader header {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -494px;
    width: 988px;
    z-index: 5;
}

#subheader header h1,
#subheader header h2,
#content > .frame-contentheader header h2 {
    text-align: center;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 0px 0px 50px #000000;
    font-size: 60px;
}

#subheader header h1::after,
#subheader header h2::after,
#content > .frame-contentheader header h2::after {
    left: 50%;
    margin-left: -20px;
    background: #FFFFFF;
}

#content > .frame-contentheader .ce-textpic {
    position: relative;
}

/* Frame Contentheader --- END */

/* Frame Themenübersicht --- BEGIN */

#content > .frame-teaser {
    opacity: 0;
}

#content > .frame-teaser header,
#content > .frame-teaser .ce-bodytext {
    max-width: 988px;
    margin: 0 5%;
}

#content > .frame-teaser .ce-gallery {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

#content > .frame-teaser .ce-gallery:only-child {
    margin-top: 0;
}

#content > .frame-teaser .ce-row {
    width: 100%;
    margin-bottom: 30px;
}

#content > .frame-teaser .ce-row:last-child {
    width: 100%;
    margin-bottom: 0;
}

#content > .frame-teaser .ce-column {
    width: 32%;
    float: left;
    margin: 0 0 0 2%;
    overflow: hidden;
    background: #000000;
}

#content > .frame-teaser .ce-column:nth-child(3n+1) {
    margin-left: 0;
}

#content > .frame-teaser .ce-column figure,
#content > .frame-gallery .ce-column figure {
    display: block;
}

#content > .frame-teaser .ce-column a,
#content > .frame-gallery .ce-column a {
    display: block;
    position: relative;
}

#content > .frame-teaser .ce-column img,
#content > .frame-gallery .ce-column img {
    width: 100%;
    height: auto;
    opacity: 1;
    transition: all 0.5s ease;
}

#content > .frame-teaser .ce-column:hover a img,
#content > .frame-gallery .ce-column:hover a img {
    transform: scale(1.1);
    opacity: 0.5;
}

#content > .frame-teaser .ce-column .image-caption,
#content > .frame-gallery .ce-column .image-caption {
    display: block;
    width: 90%;
    text-align: center;
    position: absolute;
    top: 45%;
    color: #FFFFFF;
    font-size: 20px;
    left: 5%;
    opacity: 0;
    transition: all 0.5s ease;
    text-transform:uppercase;
}


#content > .frame-teaser .ce-column:hover .image-caption,
#content > .frame-gallery .ce-column:hover .image-caption {
    opacity: 1;
}

/* Frame Themenübersicht --- END */

/* Frame frame-gallery --- BEGIN */

/* Breitenbeschränkung für Inhalt max. 1280 PX

#content > .frame-gallery {
    width: 100%;
    margin: 0;
    opacity: 0;
    max-width: 1280px;
    left: 50%;
    position: relative;
    margin-left: -640px;
} */

#content > .frame-gallery {
    width: 90%;
    margin: 0 5%;
    opacity: 0;
    position: relative;
}

#content > .frame-gallery + .frame-default {
    padding-top: 0;
}

#content > .frame-gallery .ce-gallery {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

#content > .frame-gallery .ce-gallery .column-box {
    float: left;
    width: 48.5%;
}

#content > .frame-gallery .ce-gallery .column-box:nth-child(2) {
    float: right;
}

#content > .frame-gallery .ce-gallery .column-box .ce-row {
    margin-bottom: 50px;
}

#content > .frame-gallery .ce-gallery .column-box .ce-row:last-child {
    margin-bottom: 0;
}

#content > .frame-gallery .ce-gallery .ce-column {
    background: #000000;
    position: relative;
}

#content > .frame-gallery .ce-gallery .ce-column,
#content > .frame-gallery .ce-gallery .image,
#content > .frame-gallery .ce-gallery img {
    width: 100%;
    height: auto;
}

/* Frame frame-gallery --- END */

/* Footer --- BEGIN */

#footer {
    float: left;
    clear: both;
    width: 90%;
    padding: 0 5% 50px;
    background: #FFFFFF;
    position: relative;
    z-index: 5;
}

#footer a {
    display: inline-block;
    /* padding: 15px; */
    color: #000000;
}

/* Footer --- END */

/* Powermail --- BEGIN */

.tx-powermail {
    float: left;
    clear: both; 
    width: 100%;
}

.tx-powermail .powermail_fieldset {
    float: left;
    clear: both; 
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
}

.tx-powermail .powermail_fieldset .powermail_legend {
    display: none;
}

.tx-powermail .powermail_fieldwrap {
    float: left;
    clear: both; 
    width: 100%;
    margin-bottom: 10px;
}

.tx-powermail .powermail_fieldwrap .powermail_label {
    float: left;
    width: 30%;
    padding-top: 15px;
}

.tx-powermail .powermail_fieldwrap .powermail_field {
    float: right;
    width: 70%;
}

.tx-powermail .powermail_fieldwrap_type_input .powermail_field input,
/* .tx-powermail .powermail_fieldwrap_type_submit .powermail_field input, */
.tx-powermail .powermail_fieldwrap_type_textarea .powermail_field textarea {
    width: 100%;
    display: block;
    float: left;
    border: 0;
    padding: 15px 0;
    border-bottom: 2px solid #181a19;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    -webkit-appearance: none;
    border-radius: 0;
}

.tx-powermail .powermail_fieldwrap_type_textarea .powermail_field textarea {
    resize: none;
    height: 200px;
}

.tx-powermail .powermail_fieldwrap_type_check .powermail_field {
    margin-top: 15px;
}

 .tx-powermail .powermail_fieldwrap_type_submit {
    width: auto;
    float: right;
    margin-top: 50px;
    margin-bottom: 0;
}

 .tx-powermail .powermail_fieldwrap_type_submit .powermail_field {
    float: none;
    width: auto;
    padding: 0 !important;
}

.tx-powermail .powermail_fieldwrap_type_submit .powermail_field input {
    padding: 13px 50px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
}

.tx-powermail .parsley-errors-list.filled {
    list-style: none !important;
    padding: 0 !important;
    color: #c30000;
}

/* Powermail --- END */
