/*! 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:top;
}


html {
	overflow-y: scroll;
	}
	

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color: #666;
	font-weight: normal;
	line-height: 1.35;
	background-color: #DCE7E6;
	background-image:url(../img/bg/body-bg.jpg);
	background-position:top center;
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-size:cover;
	height: 101%;
}
#wrapper {
	margin: 0px auto;
	max-width:100%;
	width:1240px;
	padding:0;
}


#header {
	position:relative;
	width:100%;
	height:auto;
	border-bottom:1px solid #DCE7E6;
}

#subnavi-wrapper {
	width:100%;
	height:100px;
	background-color:#9EB689;
}


#shop {
	float:left;
	width:20%;
	height:40px;
	margin:30px 0 30px 3.2%;
	background-color:#C8D2C4;
	font-size:1.1em;
	color:#007437;
	line-height:40px;
	text-transform:uppercase;
	text-align:center;
	margin-right:15.8%;
}

#shop a, #shop a:visited {
	text-decoration:none;
	color: #005E2D;
}

#logo {
	float:left;
	max-width:200px;
	width:20%;
	height:70px;
	padding:10px 1%;
	margin:5px 0;
	text-align:center;
	background-color:#FFF;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
}

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

#facebook-wrapper {
	float:right;
	width:35.8%;
	padding:20px 0;
	margin-right:3.2%;
	height:60px;
}

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

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

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

.subnavi {
	width:auto;
	float:right;
	list-style-type:none;
	height:60px;
}

.subnavi li {
	float:left;
	width:auto;
	height:22px;
	line-height:22px;
	padding:19px 0;
	font-size:1.1em;
}


.subnavi li a, .subnavi li a:visited {
	display:block;
	text-decoration:none;
	font-weight:400;
	color:#FFF;
	padding:0 10px;
	border-right:1px solid #FFF;
}

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

ul.subnavi li.active a {
	color:#E22208;
}

.subnavi li a:hover, .subnavi a:focus {
	color:#E22208;
}





#slider-wrapper {
	float:left;
	width:100%;
	height:auto;
	background-color:rgba(255,255,255,0.8);
	margin-top:10px;
}


#slogan {
	float:left;
	width:100%;
	height:40px;
	line-height:40px;
	text-align:center;
	padding:10px 0;
}

#slogan h2 {
	font-family: 'Nothing You Could Do', cursive;
	font-size: 2em;
	line-height:40px;
	color: #005E2D;
	text-transform: uppercase;
}
	


#slider {
	float:left;
	max-width:1180px;
	width:93.6%;
	padding:0;
	height:auto;
	margin:0 3.2%;
}

.flexslider {
  margin: 0 0 20px;
  background: #fff;
  border:none;
  position: relative;
  -webkit-border-radius: none;
  -moz-border-radius: none;
  -o-border-radius:none;
  border-radius:none;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
  -o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  zoom: 1;
}

.tx-ws-flexslider .caption-align-left .caption-text {
  left: auto;
  right:20px;
}

.tx-ws-flexslider .caption-text {
  position: absolute;
  width: 24%;
  top: auto;
  bottom:20px;
  background: rgba(188,27,28,0.7);
  color:#fff;
  text-align:center;
}


/* Hauptnavigation */

#navi-wrapper {
	float:left;
	width:93.6%;
	height:50px;
	padding:5px 3.2%;
}

#home {
	float:left;
	width:7%;
	height:30px;
	padding:5px 0 15px 0;
	margin-right:3%;
}

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

#navi {
	float:left;
	width:88%;
	height:50px;
	line-height:50px;
}

.mainnavi {
	width:100%;
	float:left;
	list-style-type:none;
	margin:0px;
}

.mainnavi li {
	position:relative;
	float:left;
	width:auto;
	padding:0 7% 0 0;
	font-size:1.25em;
}


.mainnavi li a, .mainnavi li a:visited {
	display:block;
	text-decoration:none;
	font-weight:600;
	color:#009749;
}

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

.mainnavi li a:hover {
	color: #005126;
}

/* Unternavigation */

.mainnavi ul {
    position: absolute;
    top: 50px;
    left: -20px;
    opacity: 0;
	padding-top:10px;
}
 
.mainnavi li:hover > ul { opacity: 1; }
 
.mainnavi 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;
}
 
.mainnavi li:hover > ul li {
	height: 40px;
	line-height:40px;
	overflow: visible;
	padding: 0 20px;
	background-color:#F5F7F2;
	list-style:none;
}

.mainnavi ul li a {
	min-width:300px;
	width:auto;
    padding: 0px;
    margin:0px;
	color:#009749;
}

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

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

ul.mainnavi li.active ul li a:hover {
	color: #8E0D20;
}


#mobilemenu {
	display:none;
}

#content_all {
	width:93.6%;
	padding:0 3.2%;
	background-color:rgba(255,255,255,0.65);
}

/* Inhalte */

#content {
	float:left;
	width:100%;
	padding:30px 0;
}

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

#content h2 {
	font-weight:600;
	font-size:1.2em;
	color:#222;
	margin-top:0.5em;
	margin-bottom:0.25em;
}

#content h3 {
	font-weight: 600;
	font-size: 1em;
	color: #666666;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

#content h4 {
	font-weight:600;
	margin-bottom:0.5em;
}

#content h4 a,
#content h4 a:visited {
	color:#009749;
}
	

#info-wrapper h4 {
	color:#fff;
	font-weight:600;
}


#info-wrapper h4 a,
#info-wrapper h4 a:visited {
	color:#009749;
}


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

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

#content li {
	margin-left:22px;
	list-style-image:url(../img/bg/list_icon.png);
	margin-bottom:0.35em;
}

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

#content a:hover {
	color:#000;
}

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

#c140 table {
	width:100%;
}

#c140 td {
	padding:2px 20px 2px 0;
}

#c140 tr:nth-child(even) {
	background:#f8f8f8;
}

/* Bilder */

#content img {
	width:96%;
	height:auto;
background: #eee;
border: 1px solid #DDD;
background: -moz-linear-gradient(top, #EEE, #FFF);    
background: -webkit-linear-gradient(top, #eee, #fff);
background: -ms-linear-gradient(top, #eee, #fff);
background: -o-linear-gradient(top, #eee, #fff);
box-shadow: 1px 2px 4px rgba(0,0,0, .2);
margin-bottom:10px;
}

/* Bildergalerie */


#content .bildgalerie-2 .ce-row {
	float:left;
	width:47%;
	margin-right:2%;
	height:auto;
}

#content .bildgalerie-3 .ce-row {
	float:left;
	width:28%;
	margin-right:8%;
	height:auto;
}

#content .bildgalerie-3 .ce-row:nth-child(3n) {
	margin-right:0;
}

#content .bildgalerie-6 .ce-row {
	float:left;
	width:14.8%;
	margin-right:2%;
	height:auto;
}

#content .bildgalerie-6 .ce-row:nth-child(6n) {
	margin-right:0;
}

/* 3 spaltig */

.spalte1, .spalte2, .spalte3 {
	float:left;
	width:28%;
}

.spalte2, .spalte3 {
	margin-left:8%;
}

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

.last {
	margin-right:0;
}


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

/* footer */

footer {
	max-width:1240px;
	width:100%;
	height:auto;
	margin:0 auto;
	background-color:rgba(158,182,137,0.65);
}

#info-wrapper {
	width:100%;
	height:auto;
	margin:0 auto;
}

#info {
	width:93.6%;
	padding:20px 3.2% 10px 3.2%;
	height:auto;
}

#info {
	color:#fff;
}

#info h3 {
	font-weight:700;
	margin-bottom:0.25em;
}

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

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

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

#info .spalte1 img {
	max-width:180px;
	width:50%;
	height:auto;
	margin-bottom:15px;
}

#info .spalte3 img {
	max-width:100px;
	width:50%;
	height:auto;
	margin-bottom:15px;
}

.mfp-content a, .mfp-content a:visited {
	color:#009749;
}

#webdesigner {
	float:right;
}

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

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

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






/* ==========================================================================
   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;
    }
}