/*! 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: 2px solid #666;
    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:18px;
	color:#000;
	font-weight:normal;
	line-height:1.35;
	background-color:#FFF;
	background-image:url(../img/bg/body-bg.jpg);
	background-position:top center;
	background-repeat:no-repeat;
	background-attachment:fixed;
	height:101%;
	background-size:cover;
}

#header_custom {
	width:100%;
	height:auto;
	text-align:center;
	background-color:#FFF;
}

#logo-wrapper {
	position:relative;
	max-width:1240px;
	width:100%;
	margin:0 auto;
	padding:40px 0 10px 0;
}

#address {
	float:left;
	width:39.5%;
	height:auto;
	padding:0 0 0 2.8%;
	margin:0 0 2.4% 0;
}


#address table {
	width:100%;
	margin-top: 15px;
	font-size:1em;
}

#address td {
	padding:1px 0;
}

#address td:first-child {
	font-weight:bold;
	text-align:right;
	width:42%;
}

#address td:nth-child(2){
	font-weight:normal;
	text-align:left;
	padding-left:15px;
	width:57%;
}

#address a, #address a:visited {
	color:#333;
}

#address a:hover {
	color:#D37E25;
}	

#logo {
	float:right;
	width:54%;
	height:auto;
	margin:0 2.8% 0 0;
}

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

#swissgarantie {
	position:absolute;
	bottom:-35px;
	left:50%;
	height:60px;
	width:auto;
	margin-left:-320px;
	z-index:9989;
}

#culinarium {
	position:absolute;
	bottom:-35px;
	left:50%;
	height:60px;
	width:auto;
	margin-left:-425px;
	z-index:9989;
}

#swissgarantie img, #culinarium img {
	width:auto;
	height:100%;
	-webkit-box-shadow: 3px 3px 5px 0 #333;
	box-shadow:3px 3px 5px 0 #333;
}

#slider {
	position:relative;
	float:left;
	width:100% !important;
	padding:0;
	-webkit-box-shadow: none;
	box-shadow: none;
	overflow:hidden;
	margin:0;
}

.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-direction-nav,
.caption-text {
	display:none;
}



/* Hauptnavigation */

#navi {
	position:absolute;
	width:110px;
	top:0;
	left:50%;
	margin-left:-55px;
	height:100%;
	z-index:999;
}

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

.mainnavi li {
	position:relative;
	float:left;
	width:100%;
	height:46px;
	line-height:46px;
	padding:0;
	margin-bottom:12px;
	background-color: rgba(255, 255, 255, 0.9);
	border:1px solid #ccc;
}

.mainnavi li:last-child {
	margin-bottom:0;
}

.mainnavi li a, .mainnavi li a:visited {
	display:block;
	text-decoration:none;
	font-size:1.1em;
	font-weight:700;
	color:#439527;
	text-align:center;
}

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

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

ul.mainnavi li:last-child a,
ul.mainnavi li:last-child a:visited {
	background-color:#D37E25;
	color:#fff;
}

/* Unternavigation */

.mainnavi li ul {
	top:0;
}

.mainnavi li:nth-child(1) ul, .mainnavi li:nth-child(3) ul, .mainnavi li:nth-child(5) ul{
    position: absolute;
    left: 110px;
	width:220px;
    opacity: 0;
}

.mainnavi li:nth-child(1) ul {
	z-index:9999;
}

.mainnavi li:nth-child(3) ul {
	z-index:9997;
}

.mainnavi li:nth-child(5) ul {
	z-index:9995;
}

.mainnavi li:nth-child(2) ul, .mainnavi li:nth-child(4) ul {
    position: absolute;
    left: -220px;
    opacity: 0;
	width:220px;
}

.mainnavi li:nth-child(2) ul {
	z-index:9998;
}

.mainnavi li:nth-child(4) ul {
	z-index:9996;
}


 
.mainnavi li:hover > ul { opacity: 1; }
 
.mainnavi ul li {
    height: 0;
    overflow: hidden;
    -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;
	list-style:none;
	text-align:left;
	border:none;
}

.mainnavi li:hover > ul li {
	height: 32px;
	line-height:32px;
	overflow: visible;
	padding: 0 0 0 20px;
	margin-bottom:2px;
	color:#000;
	background:none;
}

ul.mainnavi ul li:last-child a,
ul.mainnavi ul li:last-child a:visited,
.mainnavi ul li a, .mainnavi ul li:first-child a, ul.mainnavi li.active ul li a {
	width:160px;
    padding: 0px 10px;
    border: none;
	background-color: rgba(255, 255, 255, 0.9);
	color:#439527;
	font-size:1em;
	text-align:left;
}

.mainnavi li:nth-child(2) ul li a, .mainnavi li:nth-child(2) ul li.active a,
.mainnavi li:nth-child(4) ul li a, .mainnavi li:nth-child(4) ul li.active a {
	text-align:right;
}
 
.mainnavi ul li:last-child a { border: none; }
	

ul.mainnavi ul li a:hover, ul.mainnavi li.active ul li a:hover {
	color:#D37E25;
	opacity: 1;
}

#wrapper {
	margin: 0px auto;
	width:1240px;
	max-width:100%;
	background-color:#FFF;
	padding:0;
}


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

/* search form */

#search {
	position:relative;
	float:right;
	margin-top:60px;
	margin-right:30px;
}

.search_form {
    background: none repeat scroll 0 0 #FAFAFA;
    border: 1px solid #FFC106;
    float: right;
    height: 26px;
    margin: -15px 0 5px;
    padding: 0;
    position: relative;
    right: 5px;
    width: 208px;
    top: 60px;    
}

input.searchbox-sword {
	border:1px solid #FFC106;
    color: #6D5D52;
    font-size: 14px;
    height: 26px;
	line-height:26px;
    padding: 0px 0px 0px 10px;
    width: 200px;
}

input.searchbox-button {
    border: medium none;
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    height: 28px;
    letter-spacing: -5px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0px;
    text-indent: -9999px;
    top: 0px;
    width: 30px;
	background-color:#FFC106;
	z-index:99999;
}

input[type=text]{
-webkit-appearance: none;
appearance: none;
}

#search > div#indexedsearchbox > form#indexedsearch > table > tbody > tr > td > a {
	display:none;
}

.tx-indexedsearch .tx-indexedsearch-searchbox table {
	max-width:100%;
	width:540px;
}

.tx-indexedsearch .tx-indexedsearch-searchbox td {
	padding:2px 20px 5px 0;
}

.tx-indexedsearch .tx-indexedsearch-searchbox td:first-child {
	width:25%;
}

.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-sword {
    width: 100%;
}

.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-button {
	width:100%;
	padding:5px 0;
	background-color:#A92718;
	color:#FFF;
}


#mobilemenu {
	display:none;
}

#content_all {
	position:relative;
	width:100%;
	margin:0 auto;
}

#marktbericht{
	position:absolute;
	top:-56px;
	left:0.8%;
	width:14.5%;
	height:auto;
	z-index:991;
}

#wochenangebot{
	position:absolute;
	top:30px;
	left:10%;
	width:14.5%;
	height:auto;
	z-index:992;
}

#neues{
	position:absolute;
	top:-30px;
	left:20.5%;
	width:14.5%;
	height:auto;
	z-index:993;
}

#marktbericht img, #wochenangebot img, #neues img {
	width:100%;
	height:auto;
}

#marktbericht_link, #wochenangebot_link, #neues_link {
	position:absolute;
	top:40px;
	left:40px;
	height:100px;
	width:100px;
	z-index:999;
}

#marktbericht_link img, #wochenangebot_link img, #neues_link img {
	width:100%;
	height:100%;
}

/* Inhalte */

#content {
	position:relative;
	float:left;
	width:94.4%;
	min-height:500px;
	padding:60px 2.8% 30px 2.8%;
}

#content h1 {
	color:#6DA035;
	font-size:1.3em;
	font-weight:bold;
	width:31.4%;
	margin:0 34.3%;
	min-height:160px;
	text-align:center;
	text-transform:uppercase;
}

#content h2 {
	font-weight:700;
	font-size:1.1em;
	color:#111;
	margin-bottom:0.15em;
}

#content h3 {
	font-weight: 700;
	font-size: 1em;
	color: #D37E25;
	margin-top: 0.5em;
	margin-bottom: 0.15em;
}

/* Button für Rezepte, etc. */

#content h4 {
	float:left;
	color:#FFF;
	font-size:1.1em;
	font-weight:bold;
	margin:1em 0;
	height:40px;
	line-height:40px;
	background-color:#D37E25;
	width:auto;
	padding:0 40px;
	border:3px solid #FFF;
	-webkit-box-shadow:3px 3px 5px 0 rgba(0, 0, 0, 0.2);
	box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.2);
}

#content h5 {
	text-align:center;
	font-weight:bold;
	margin-bottom:0.75em;
	font-size:1.1em;
	padding:0 5%;
}

#content h6 {
	font-weight:300;
	font-size:0.9em;
	color:#961D0E;
	margin-bottom:1em;
}

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

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

#content h3 a,
#content h3 a:visited {
	color: #D37E25;
}

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

#content h4 a, #content h4 a:visited, #content h4 a:hover {
	color:#FFF;
}



#content ul {
	margin:15px 0 25px 0;
}


#content li {
	list-style:none;
	background:url(../img/bg/list-icon.jpg) no-repeat left top;
	padding-left:30px;
	line-height:1.1em;
	margin-bottom:0.75em;
}

#flexslider-232 {
	max-width:280px;
	width:98%;
	margin:0 auto;
}

#flexslider-232 .slides {
	margin:5px 0 15px 0;
}

#flexslider-232 li {
	background:none;
	padding:0;
	margin-bottom:0;
}

#flexslider-232 .flex-control-nav {
	display:none;
}

#content li b {
	color:#D37E25;
	font-weight:700;
}

#content table {
	width:100%;
}

#content th {
	text-align:left;

}

#content tr:nth-child(odd) {
	background-color:#F4F4F4;
}

#content td {
	padding:3px 10px 3px 0;
}

#content td {
	padding:3px 0;
}

figure.video,
.video-embed,
.video-embed-item {
	width:100%;
	height:auto;
}

/* Bilder */

#content img {
	max-width:480px;
	width:97%;
	height:auto;
	padding:2px;
	border:1px solid #ddd;
	-webkit-box-shadow:2px 2px 3px 0 rgba(0, 0, 0, 0.2);
	box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.2);
	margin-bottom:10px;
}

/* 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 {
	float:left;
	width:100%;
	height:auto;
}

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

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

#content .ce-gallery, #content .ce-row {
    float: left;
    height: auto;
    width: 100%;
}
.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
	margin-bottom:0;
}

/* iframe */

iframe {
	max-width:100%;
}

.home #c559 {
	position:absolute;
	top:-250px;
	left:0;
	z-index:9990;
	width:100%;
}

#c559 figure { 
  	width: 100%; 
}

#c559 iframe { 
  	width: 98%;
	height:200px;
		width:98%;
	background:#FFF;
	padding:3px;
	-webkit-box-shadow:3px 3px 5px 0 rgba(0, 0, 0, 0.2);
	box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.2);
}

figcaption {
	text-align:center;
	color:#D37E25;
	margin-bottom:15px;
}

.contentRow {
	margin-bottom:10px;
}

/* 2 spaltig */

.spalterechts, .spaltelinks {
	float:left;
	width:45%;
}

.spalterechts {
	margin-left:10%;
}

#content .spaltelinks h1 {
	text-align:left;
}
	

/* 3 spaltig */

.spalte1, .spalte2 {
	position:relative;
	float:left;
	width:31%;
	min-height:1px;
}

.spalte2 {
	margin-left:3.4%;
}

.spalte3 {
	position:relative;
	float:right;
	width:31%;
}

/* 4 spaltig */

.spalte4-1, .spalte4-2, .spalte4-3, .spalte4-4 {
	float:left;
	width:22%;
}


.spalte4-2, .spalte4-3, .spalte4-4 {
	margin-left:4%;
}

/* News */

#c147 .more {
	display:none;
}

#content #c147 p {
	font-family: 'Caveat Brush', cursive;
	font-size:1.35em;
}

aside {
	float:right;
	width:24%;
	margin:30px 0 0 3%;
	padding:20px 2.5%;
	min-height:500px;
}

aside h2 {
	background-color:#008385;
	height:30px;
	line-height:30px;
	font-size:20px;
	font-weight:500;
	margin-bottom:10px;
	color:#FFF;
}

aside h2 a, aside h2 a:visited {
	color:#FFF;
	text-decoration:none;
}

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

/* footer */

footer {
	float:left;
	margin:0px auto;
	height:auto;
	width:100%;
	text-align:right;
}

#legal {
	float:left;
	width:94.4%;
	padding:15px 2.8%;
	background-color:#f6f6f6;
}

#legal a,
#legal a:visited {
	color:#333;
}

#webdesigner {
	float:left;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
}

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

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

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






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

