/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.35;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


html {
	overflow-y: scroll;
	}
	

body {
	font-family: 'Karla', sans-serif;
	font-size:16px;
	color:#212121;
	font-weight:normal;
	line-height:1.35;
	background-color:#525252;
	height:101%;
}

#wrapper {
	position:relative;
	margin: 0px auto;
	width:100%;
	padding:0;
}


#header {
	position:relative;
	width:100%;
	height:auto;
	z-index:999;
}

#subnavi-wrapper {
	position:relative;
	float:left;
	width:100%;
	height:90px;
	background-color:#FeFeFe;
	border-bottom:5px solid #009640;
	-webkit-box-shadow: 0 4px 8px 0 #262626;
	box-shadow: 0 4px 8px 0 #262626;
	z-index:9990;
}

#subnavi-container {
	position:relative;
	max-width:1240px;
	width:100%;
	margin:0 auto;
	height:100%;
}

#logo {
	position:relative;
	float:left;
	width:25%;
	height:90px;
}

#partner {
	position:relative;
	float:left;
	width:12%;
	height:90px;
	padding: 0 ;
	margin-left:7%;
}

#logo img,
#partner img {
	position:absolute;
	left:0;
	bottom:0;
	width:auto;
	height:100%;
}

#subnavi-inner {
	float:right;
	width:50%;
	margin:25px 0 30px 0;
	height:25px;
}

#subnavi {
	float:right;
	width: auto;
	height:25px;
	line-height:25px;
	padding: 0;
	text-align:right;
}

.sub {
	width:auto;
	float:right;
	height:25px;
}

.sub li {
	float:left;
	width:auto;
	list-style:none;
	background-image:url(../img/bg/list-icon.png);
	background-position:right center;
	background-repeat:no-repeat;
	padding-right:15px;
}


.sub li a, .sub li a:visited {
	display:block;
	text-decoration:none;
	font-size:1.1em;
	font-weight:400;
	color:#432a19;
	padding:0 10px;
}


ul.sub li.active a {
	color:#009640;
}

.sub li a:hover, .sub a:focus {
	color:#009640;
}

#facebook, #gwerb {
	float:right;
	margin-left:2%;
	width:15px;
	height:24px;
	padding:0;
	z-index:9999;
}

#facebook {
	display:none;
}

#facebook img, #gwerb img {
	width:auto;
	height:100%;
}

#slider-wrapper {
	float:left;
	width:100%;
	height:auto;
}

#slider {
	position:relative;
	max-width:1240px;
	width:100%;
	height:auto;
	padding:1px;
	margin:0 auto;
	z-index:99;
	background-color:#FFF;
}

.flexslider {
    margin: 0px;
    background: #fff;
    border: none;
    position: relative;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    -o-border-radius:0;
    border-radius:0;
    -webkit-box-shadow: none;
    -moz-box-shadow:none;
    -o-box-shadow:none;
    box-shadow:none;
    zoom: 1;
}

.flex-control-nav,
.flex-direction-nav,
.caption-text {
	display:none;
}


#address {
	float:left;
	width:66%;
	height:auto;
	padding:5px 4% 10px 29%;
	color:#fff;
}

#address p {
	font-style:italic;
	line-height:1.2em;
}

#address a, #address a:visited {
	color:#fff;
	text-decoration:none;
	font-size:0.85em;
}

#address a:hover {
	text-decoration:underline;
}

#slogan {
	position:absolute;
	top:30px;
	right:30px;
	z-index:998;
}

#slogan h2 {
	font-family: 'Nothing You Could Do', cursive;
	font-size:3.5em;
	color:#E40521;
	line-height:1em;
	text-shadow: -1px -1px white, 1px 1px #333;
}

#slogan h3 {
	font-family: 'Nothing You Could Do', cursive;
	font-size:2em;
	color:#EfEfEf;
	line-height:1em;
	text-align:right;
	text-shadow:1px 1px 0 #222;
}

/* Hauptnavigation */

#navi-wrapper {
	float:left;
	width:100%;
	background-color:#E50623;
	height:60px;
}

#navi {
	max-width:1240px;
	width:100%;
	height:60px;
	margin:0 auto;
}

#home {
	float:left;
	width:32px;
	height:32px;
	padding:14px 0;
}

.mainnavi {
	width:95%;
	float:left;
	list-style-type:none;
	margin:0px;
	line-height:60px;
}

.mainnavi li {
	float:left;
	width:auto;
	font-size:1.5em;
	padding:0 0 0 6%;
}


.mainnavi li a, .mainnavi li a:visited {
	display:block;
	text-decoration:none;
	color:#FFF;
	text-transform:uppercase;
}

ul.mainnavi li.active a {
	color:#FFF;
}

.mainnavi li a:hover, .mainnavi a:focus {
	color:#FFF;
}


#mobilemenu {
	display:none;
}

#content_all {
	float:left;
	width: 100%;
	background-color: #FEFEFE;
	height: auto;
}

/* Inhalte */

#content {
	max-width:1240px;
	width:100%;
	margin:0 auto;
	padding:40px 0;
}

#content h1 {
	color:#009640;
	font-size:2em;
	font-weight:400;
	margin-bottom:1em;
}

#content h2 {
	font-weight:700;
	font-size:1.25em;
	color:#212121;
	margin-bottom:0.35em;
}

#content h3 {
	font-weight:700;
	font-size:1.1em;
	color:#E50623;
	margin-bottom:0.35em;
}


#content p {
	margin-bottom:0.75em;
}

#content a, #content a:visited {
	color: #888;
	text-decoration: none;
}

#content a:hover {
	color:#E40521;
	text-decoration:underline;
}

#content ul {
	margin-bottom:15px;
}

#content li {
	list-style:inside;
}

#content iframe {
	max-width:100%;
}

#content img {
	max-width:100%;
	height:auto;
}

/* hover Effekt */
#content .ce-media img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
#content .ce-media:hover img {
	opacity: .5;
}

#content #address-wrapper .ce-media:hover img {
	opacity:1;

}

/* bildergalerie */

content .ce-gallery,
#content .ce-row {
	float:left;
	width:100%;
	height:auto;
}

#content .ce-intext .ce-gallery,
#content .ce-intext .ce-nowrap .ce-gallery {
	max-width:360px;
	width:45%;
	margin-right:5%;
}


#content .ce-gallery[data-ce-columns="1"] .ce-column {
	width:100%;
	height:auto;
}

#content .ce-gallery[data-ce-columns="2"] .ce-column {
	float:left;
	width:46%;
	height:auto;
	margin-right:8%;
}

#content .ce-gallery[data-ce-columns="3"] .ce-column {
	float:left;
	width:30%;
	height:auto;
	margin-right:5%;
}

#content .ce-gallery[data-ce-columns="4"] .ce-column {
	float:left;
	width:22%;
	height:auto;
	margin-right:4%;
}

#content .ce-gallery[data-ce-columns="5"] .ce-column {
	float:left;
	width:18%;
	height:auto;
	margin-right:2.5%;
}

#content .ce-gallery[data-ce-columns="6"] .ce-column {
	float:left;
	width:15%;
	height:auto;
	margin-right:2%;
}

#content .ce-gallery[data-ce-columns="2"] .ce-column:last-child,
#content .ce-gallery[data-ce-columns="3"] .ce-column:last-child,
#content .ce-gallery[data-ce-columns="4"] .ce-column:last-child,
#content .ce-gallery[data-ce-columns="5"] .ce-column:last-child,
#content .ce-gallery[data-ce-columns="6"] .ce-column:last-child {
	margin-right:0;
}

/* links im Text */

#content .ce-left.ce-intext .ce-gallery {
	float:left;
	width:47%;
	margin-right:3%;
	margin-bottom:10px;
	margin-top:5px;
}

#content .ce-intext .ce-gallery,
#content .ce-intext .ce-nowrap .ce-gallery {
	max-width:360px;
	width:45%;
	margin-right:5%;
}

#content .ce-left.ce-intext .ce-gallery img {
	width:100%;
	height:auto;
}

#content .ce-left.ce-intext .ce-bodytext {
	box-sizing:border-box;
}

/* Links neben dem Text */

#content .ce-left.ce-intext.ce-nowrap .ce-gallery {
	float:left;
	width:47%;
	margin-right:3%;
	margin-bottom:10px;
	margin-top:5px;
}

#content .ce-left.ce-intext.ce-nowrap .ce-gallery img {
	width:100%;
	height:auto;
}

#content .ce-left.ce-intext.ce-nowrap .ce-bodytext {
	float:right;
	width:50%;
}

/* Bilder zentriert */

#content .ce-center .ce-media {
	text-align:center;
}

#content .ce-center h1,
#content .ce-center h2,
#content .ce-center h3,
#content .ce-center p {
	text-align:center;
}

/* mehrspaltig */

.contentRow {
	margin-bottom:20px;
}

/* Mehrspaltig */

.contentRow {
	margin-bottom:20px;
}

.column1 {
	max-width:640px;
	width:100%;
	margin:0 auto;
	text-align:center;
}

/* 2 spaltig */

.column2 {
	float:left;
	width:45%;
	margin-right:10%;
}


/* 3 spaltig */

.column3 {
	float:left;
	width:28%;
	margin-right:7.5%
}

#content .column3 h2 {
	background-color:#009640;
	color: #fff;
	text-align: center;
	height: 36px;
	line-height: 36px;
	margin-bottom:.35em;
}

#content .column3 .article h2,
#content .column3 .frame-type-textmedia h2 {
	margin-bottom:0;
}

#content .column3 h2:hover {
	background-color: #006C2E;
}

#content .column3 h2 a,
#content .column3 h2 a:visited {
	color:#fff;
}

#content .column3 h2 a:hover {
	text-decoration:none;
}

.last {
	margin-right:0;
}

.clear {
	content:".";
	display:block;
	clear:both;
	font-size:0;
	height:0;
	visibility:hidden;
}

/* footer */

footer {
	margin:0px auto;
	padding:8px 0px;
	height:auto;
	max-width:1240px;
	width:100%;
	font-size:13px;
	text-align:right;
	line-height:1em;
}

#footer-contact {
	font-size:16px;
	width:100%;
	color:#fff;
	text-align:left;
	padding:20px 0 5px 0;
	line-height:1.25em;
}

#footer-contact a,
#footer-contact a:visited {
	color:#fff;
	text-decoration:none;
}

#footer-contact a:hover {
	text-decoration:underline;
}

#footer-contact h3 {
	font-size:1.1em;
	font-weight:600;
	margin-bottom:.35em;
}

#footer-contact p {
	margin-bottom:.5em;
}

#webdesigner {
	font-family:Arial, Helvetica, sans-serif;
	float:right;
}

#webdesigner img {
	margin-left:-3px;
	margin-bottom:-5px;
}

#webdesigner a, #webdesigner a:visited {
	text-decoration:none;
	color:#666;
	padding:5px;
}

#webdesigner a:hover {
	color:#CCC;
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}