/*! 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: 'Source Sans Pro', sans-serif;
	font-size:17px;
	color:#060606;
	font-weight:normal;
	line-height:1.35;
	background-color:#FFF;
	height:101%;
}

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


#header {
	position:relative;
	width:100%;
	height:auto;
}

#top-wrapper {
	position:absolute;
	width:100%;
	height:100px;
	background-color:rgba(255,255,255,0.85);
	z-index:9999;
	box-shadow:2px 2px 2px #333;
}

#top-inner {
	position:relative;
	max-width:1280px;
	width:96%;
	height:100px;
	margin:0 auto;
}

#logo {
	float:left;
	height:80px;
	width:35%;
	margin:10px 0;
}

#logo img {
	width:auto;
	height:100%;
}

#phone {
	float:left;
	width:30%;
	height:auto;
}

#phone h2 {
	font-size:2em;
	color:#000;
	font-weight:bold;
	text-align:center;
	margin-top:10px;
}

#phone h2 a,
#phone h2 a:visited {
	color:#000;
	text-decoration:none;
}

#phone h3 {
	color:#000;
	text-align:center;
	font-size:1.5em;
	margin-top:15px;
	line-height:1em;
}

#subnavi-wrapper {
	float:right;
	width:35%;
	height:40px;
	margin-top:10px;
}

#facebook {
	float:right;
	width:20px;
	height:30px;
	margin:5px 0 5px 25px;
}

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

#subnavi {
	float:right;
	width:80%;
	height:40px;
	line-height:40px;
	padding: 0;
	text-align:right;
	z-index:1;
}

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

.sub li {
	float:left;
	width:auto;
	list-style:none;
}


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

.sub li:last-child a {
	padding-right:0;
	border:none;
}

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

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

#slider {
	position:relative;
	float:left;
	width:100%;
	height:auto;
	line-height:1;
}

.flexslider {
    margin: 0;
    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;
}

.tx-ws-flexslider .flex-control-nav {
	display:none;
}


/* Hauptnavigation */


#navi-wrapper {
	float:left;
	width:100%;
	height:60px;
	margin:0;
	background-color:#323232;
	border-top:1px solid #333;
	box-shadow:2px 2px 2px #666;
}

#navi-inner {
	max-width:1280px;
	width:96%;
	height:60px;
	margin:0 auto;
}

#navi {
	float:left;
	width:87.5%;
	height:60px;
	line-height:60px;
}

.mainnavi {
	width:100%;
	list-style-type:none;
	margin:0px;
	text-align:center;
	height:60px;
}

.mainnavi li {
	position:relative;
	display:inline-block;
	font-size:1.4em;
	padding:0 8% 0 0;
}

.mainnavi li:last-child {
	padding-right:0;
}

.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;
}

/* Unternavigation */

.mainnavi ul {
    position: absolute;
    top: 55px;
    left: 0px;
    opacity: 0;
	padding-top:10px;
	z-index:9999;
}
 
.mainnavi li:hover > ul { opacity: 1; }
 
.mainnavi li ul li {
    height: 0;
    overflow: hidden;
    padding: 0;
    -webkit-transition: height .3s ease .0s;
    -moz-transition: height .3s ease .0s;
    -o-transition: height .3s ease .0s;
    -ms-transition: height .3s ease .0s;
    transition: height .3s ease .0s;
	font-size:0.9em;
	display:block;
	min-width:260px;
	text-align:left;
	background-color:rgba(50,50,50,0.8);
}

.mainnavi li ul li:hover {
	background-color:rgba(0,122,74,1);
}
 
.mainnavi li:hover > ul li {
	height: 30px;
	line-height: 30px;
	overflow: visible;
	padding: 0 20px;
	list-style: none;
}

.mainnavi ul li a {
	min-width:100%;
    padding: 0px;
    margin:0px;
	color:#fff;
}

ul.mainnavi ul li a:hover {
	color:#fff;
}

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

ul.mainnavi li.active ul li {
	color: #fff;
	background-color:rgba(50,50,50,0.8);
}

ul.mainnavi li.active ul li a:hover,
ul.mainnavi li.active ul li:hover {
	background-color: #1D7A34;
}


#video, #foto {
	float:left;
	width:5%;
	height:40px;
	margin:10px 0;
	text-align:right;
}

#video {
	margin-right:2.5%;
}

#video img, #foto img {
	height:100%;
	width:auto;
}

#mobilemenu {
	display:none;
}

#content_all {
	float: left;
	width: 100%;
	margin: 0 auto;
	height: auto;
}

/* Inhalte */

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

#content h1 {
	color:#007b4b;
	font-size: 2em;
	font-weight: 600;
	margin-bottom: 1em;
	text-align: center;
}

#content h2 {
	font-weight:500;
	font-size:1.35em;
	color:#4060606;
	margin-bottom:0.35em;
}

#content h3 {
	font-weight: 600;
	font-size: 1.1em;
	color: #FFF;
	background-color:#056a3e;
	margin-bottom: 0;
	text-align:center;
	height:36px;
	line-height:36px;
}

.ce-headline-center,
.text-center {
	text-align:center;
}

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

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

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

#content b {
	font-weight:700;
}

#content i {
	font-style:italic;
}

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

#content li {
	list-style:inside;
}

#content iframe {
	max-width:360px;
	width:98%;
}

#c157 {
	max-width: 640px;
	width: 100%;
	margin: 0 auto;
	padding:15px 20px;
	background-color:#f2f2f2;
	border:1px solid #ddd;
}

/* Navi Button */

.navipicture {
	position:relative;
	width:100%;
	height:auto;
	margin-top:20px;
}

.navi_foto {
	position:relative;
	width:100%;
	height:auto;
}

.navi_title {
	position:absolute;
	top:50%;
	height:30px;
	line-height:30px;
	width:100%;
	margin-top:-15px;
}

#content .navi_title h3 {
	background:none;
	color:#fff;
	font-size:1.75em;
	text-shadow:0 1px 1px #333;
	text-align:center;
		height:30px;
	line-height:30px;
}

.navi_link {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.navi_link a{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	font-size:0;
}

/* Bilder */

#content img {
	max-width:100%;
	height:auto;
	border:1px solid #ccc;
	-moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   -ms-box-sizing: border-box;
    box-sizing:border-box;
}

/* bildergalerie */

figcaption {
	font-size:0.9em;
	margin-top:0;
	margin-bottom:1em;
}
	

#content .ce-textpic {
	overflow:hidden;
}

#content .ce-gallery {
	margin-bottom:10px;
}

#content .ce-row {
	overflow:hidden;
}


#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:47%;
	height:auto;
	margin-right:6%;
}

#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-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 img {
	width:30%;
}


/* Mehrspaltig */

.contentRow {
	margin-bottom:20px;
}

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

.column1 .tx-powermail {
	text-align:left;
}

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

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

.column4 {
	float:left;
	width:20.5%;
	margin-right:6%;
}

.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:15px;
	max-width:1240px;
	width:100%;
	font-size:13px;
	text-align:right;
	line-height:1em;
}

#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;
    }
}