/* ----------------------------------------------------------------------------- *
 *               Styles der Basisversion    Bauerguenther                        *
 *                  Basis : Mobile first.......                                  *
 * ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- *
 * Änderung des default-Box-Modells aller Elemente auf "border-box"
 * http://www.paulirish.com/2012/box-sizing-border-box-ftw/
 * << apply a natural box layout model to all elements >>
 * ----------------------------------------------------------------------------- */
*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}

/* ----------------------------------------------------------------------------- */
.page-wrapper {
    margin: 0;
	min-width:300px
	
}

header {
 position: relative;

height: 90px;
background-image: url("../img/pano-kl-bg.jpg");
/*background-repeat:no-repeat;
background-attachment:fixed;*/
background-position:center ;

}

aside, footer {
  padding: 0.2em 20px;  
}

footer {
overflow: hidden;
font-size: 0.9em;
}

footer li{   
color: #ffff  ;  
display: block;
float :left;
margin:  10px;
}

footer li a  {	   
        color :#ffff;
}
footer li a:hover  {	   
        color :#99bd05;
}


section {
    padding: 0 20px;
}

.mainContent {
    width: 100%;
    border-top: 1px solid transparent;
}
.disclaimerContent {
    width: 100%;
    border-top: 1px solid transparent;
}

.newsContent {
    width: 100%;
    border-top: 1px solid transparent;
}

aside {
    width: 100%;
    margin-left: 0;
}

#disclaimeraside {
width: 100%;
margin-left: 0;
}

/* ------------------------------------------------------------------------------------
                  Spezieller header mit 3 Teilen : 2 Text, 1 Logo
------------------------------------------------------------------------------------- */
h1#titeltext {
position: absolute; 
 top: 0.1em;
 left: 30%;
 font-size: 1.8em;
/*    text-shadow:2px 2px 2px #59CC65;*/

}

h2#titelname {
    
position: absolute; 
 top: 3em;
 left: 25%;
 font-size: 0.9em;
/* text-shadow:1px 1px 2px #7acc83;*/
}

#logo {
  position: absolute; 
  height: 80px;
  width: 80px;
}


/* ----------------------------------------------------------------------------- *
 *                             Textauszeichnungen                                *
 * ----------------------------------------------------------------------------- */
h1 {
    margin: 0;
}

h2 {
    margin: 0.6em 20px;
}

h3 {
    margin: 0.6em 5px;
}

p.teasertext {
    margin: 0.8em 20px;
}

ul, ol {
    padding: 0;
    margin: 0 0 0.625em 20px;
}

/* ----------------------------------------------------------------------------- *
 *                                  Navigation                                   *
 * ----------------------------------------------------------------------------- */
nav ul {
    margin: 0;
}

/* nav ul > li {
    margin-left: 0;
    border-bottom: 1px solid rgba(250, 250, 250, 0.6);
} */

/*nav ul > li > a, nav ul > li > strong {
    /*padding: 0.6em 1px;
    display: block;
    text-align: center;	
}  */

/* nav ul a:link {
    text-decoration: none;
} */
nav {
        /* clearing für die floatenden LIs */
        overflow: hidden;
        font-size: 0.75em; /* 15px */
		/* border-bottom-radius:5px; */
    }


 nav li {
	    background: #676f7a url("../img/nav-bg.jpg")bottom left repeat-x;
        float: left;
        border-left:1px solid #707f90;
		border-right:1px solid  #3c444d;
		
        
     display: block;
        text-align: center; 
    }
 nav li a:hover  {
	    background: #FF8000 url("../img/nav-bg-4.jpg")bottom left repeat-x;
        color :#fff;
        -webkit -transition: all 0.4s ease-in;
        -moz -transition: all 0.4s ease-in;
        -o -transition: all 0.4s ease-in;
        -ms -transition: all 0.4s ease-in;
        transition: all 0.4s ease-in;
    }

nav li a:active  {
	    background: #6aec7c url("../img/nav-bgn-3.jpg")bottom left repeat-x;
        color :#fff;
		text-decoration: underline;
    }
 nav ul > li > a {
 		color : #dfe1e2;
        padding: 0.2em 10px 0.2em 10px;
        display: block;
        text-align: center; 		
    }

nav #aktuell a {    
  background: #6aec7c url("../img/nav-bgn-3.jpg")bottom left repeat-x;
        color :#fff;
		text-decoration: underline; 
        cursor: default;
}
	
	nav > ul > li {
	  float:left;
	  width: 25%;
	}
/* ----------------------------------------------------------------------------- *
 *                           Styles der Tabletversion                            *
 *                          750px / 16px/em = 46.875em                           *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 46.875em) {
    
    /* Schriftverkleinerung wird für große Screens wieder aufgehoben 
    @media only screen and (max-width: 78em) {
        body {
            font-size: 0.938em; 
        }
    }
*/

    .main {
        /* clearing für die floatenden gleichlangen Spalten (.mainContent und .aside) */
        overflow: hidden;
    }
    
 /* ------------------------------------------------------------------------------------
Spezieller header mit 3 Teilen : 2 Text, 1 Logo, hier fÃ¼r die anderen Ansichte h = 150px
------------------------------------------------------------------------------------- */
header {
    height: 150px;
    background-image: url("../img/pano-gr-bg.jpg"); 
    background-position: top;
}
    
h1#titeltext {
position: absolute; 
 top: 0.5em;
 left: 20%;
 font-size: 2.5em;
}

h2#titelname {
    
position: absolute; 
 top: 2em;
 left: 40%;
 font-size: 1.9em;
}

#logo {
  position: absolute; 
  
  height: 150px;
  width: 150px;
    
    
}
    

 .mainContent {
        width: 70%;
        float: left;
        padding: 0.8em 20px;
        border-top: none;
    }
    
.disclaimerContent {
    width: 60%;
    border-top: none;
    float: left;
    padding: 0.8em 20px;
}

    aside {
        width: 30%;
        margin-left: 70%;
        /* Trick für gleichlange Spalten  - dazu gehört ein overflow: hidden für den umgeb. Container */
        margin-bottom: -99999px !important;
        padding-bottom: 99999px !important;
    }

    aside, footer {
        padding: 0.6em 20px;
    }
#disclaimeraside {
width: 40%;
margin-left: 60%;
}
    section {
        padding: 0;
    }

    /* ----------------------------------------------------------------------------- *
     *                             Textauszeichnungen                                *
     * ----------------------------------------------------------------------------- */
    h2 {
        font-size: 2.1875em; /* 35px */
        line-height: 1.2em;
        margin: 0.3em 0 0;
    }

    p.teasertext {
        margin: 0.8em 0;
    }

    /* ----------------------------------------------------------------------------- *
     *                                  Navigation                                   *
     * ----------------------------------------------------------------------------- */
    nav {
        /* clearing für die floatenden LIs */
        overflow: hidden;
        font-size: 1.2em; /* 18px */
    }

 /*    nav ul {
        margin: 0 20px;
    } */

    nav ul li {
        float: left;
        background: #676f7a url("../img/nav-bgn.jpg")bottom left repeat-x;
        border-left:1px solid #707f90;
		border-right:1px solid  #3c444d;
        width: 25%;
		
    }

    nav ul > li > a {
        padding: 0.5em 10px 0.5em 10px;
        display: block;
    }
}


/* ----------------------------------------------------------------------------- *
 *                          Styles für große Desktops                            *
 *                              980 = 61.25em                                    *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 61.25em) {
    .page-wrapper {
        margin: 0 auto;
        max-width: 61.25em;
    }
}



/* Browser Resets */
.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
    outline: none;
}

.slides, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* FlexSlider Necessary Styles
 *********************************/
.flexslider {
    margin: 0;
    padding: 0;
}

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
    width: 100%;
    display: block;
}

.flex-pauseplay span {
    text-transform: capitalize;
}

/* Clearfix for the .slides element */
.slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .slides {
    display: block;
}

* html .slides {
    height: 1%;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child, .js-off .slides > li:first-child {
    display: block;
}

/* FlexSlider Default Theme
 *********************************/
.flexslider {
    margin: 0 0 60px;
    background: #F2F2F2;
    border: 4px solid #F2F2F2;
    position: relative;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    zoom: 1;
}

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}

.loading .flex-viewport {
    max-height: 300px;
}

.flexslider .slides {
    zoom: 1;
    /* .slides existiert bei uns bereits und hat einen Schatten, der hier ausgeschaltet wird. */
    box-shadow: none;
}

.carousel li {
    margin-right: 5px;
}

/* Direction Nav */
.flex-direction-nav {
    *height: 0;
}

/*
 .flex-direction-nav a {
 width: 30px;
 height: 30px;
 margin: -20px 0 0;
 display: block;
 background: url(images/bg_direction_nav.png) no-repeat 0 0;
 position: absolute;
 top: 50%;
 z-index: 10;
 cursor: pointer;
 text-indent: -9999px;
 opacity: 0;
 -webkit-transition: all .3s ease;
 }
 .flex-direction-nav .flex-next {
 background-position: 100% 0;
 right: -36px;
 }
 .flex-direction-nav .flex-prev {
 left: -36px;
 }
 */
/* Styles und GFX für eine größere Darstellung der Bedienelemente */
.flex-direction-nav a {
    width: 38px;
    background: url("../gfx/prev-next.gif") no-repeat scroll left 50% black;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    text-indent: -9999px;
    /* Schon in der Basisversion sichtbar */
    opacity: 0;       /* in meiner Version nicht sichtbar !!******************/
    overflow: hidden;
}

.flex-direction-nav a.flex-next {
    background-position: right 50%;
    left: auto;
    right: 0;
}

/* Positionierung und Opacitiy angepasst und Anweisung ins Media Query verschoben
 .flexslider:hover .flex-next {
 opacity: 0.8;
 right: 5px;
 }
 .flexslider:hover .flex-prev {
 opacity: 0.8;
 left: 5px;
 }
 */
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
    opacity: 1;
}

.flex-direction-nav .flex-disabled {
    opacity: .3 !important;
    filter: alpha(opacity=30);
    cursor: default;
}

/* Control Nav */
.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}

.flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
}

.flex-control-paging li a:hover {
    background: #333;
    background: rgba(0, 0, 0, 0.7);
}

.flex-control-paging li a.flex-active {
    background: #000;
    background: rgba(0, 0, 0, 0.9);
    cursor: default;
}

.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}

.flex-control-thumbs li {
    /*width: 25%;*/
    width: 20%;
    float: left;
    margin: 0;
}

.flex-control-thumbs img {
    width: 100%;
    display: block;
    opacity: .7;
    cursor: pointer;
}

.flex-control-thumbs img:hover {
    opacity: 1;
}

.flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;
}

/* ----------------------------------------------------------------------------- *
 *                           750px / 16px/em = 46.875em                          *
 *                     umgestellt auf Mobile first min-width                     *
 * ----------------------------------------------------------------------------- */

@media only screen and (min-width: 46.875em) {
    /* auf größeren Screens werden die Bedienelemente versteckt... */
    .flex-direction-nav .flex-prev, .flex-direction-nav .flex-next {
        opacity: 0;
    }

    /* ... und nur bei Hover gezeigt. */
    .flexslider:hover .flex-next, .flexslider:hover .flex-prev {
        opacity: 1;
    }
}

/* NEU */
/* ----------------------------------------------------------------------------- * 
 *                          Styles für Formulare                                 *
 * ----------------------------------------------------------------------------- */

fieldset {
    border: 1px solid #C2D2E5;
}

legend {
    color: #4A6491;
    font-size: 1.375em;
    padding: 0 0.5em;
}

.formset {
    margin: 0.5em 0;
}

.formset label, .formset input, .formset textarea {
    display: inline-block;
    background-color: floralwhite;
}

.formset label {
    width: 100%;
    padding-right: 2%;
}

.formset input, .formset textarea {
    width: 100%;
    border: 1px solid #C2D2E5;
    padding: 0.2em;
}

.submit-btn {
    float: right;
    border: 1px solid #C2D2E5;
    padding: 0.4em;
    color: #fff;
    background: #30395C;
    margin-right: 2.5%;
}

input:required {
    padding-right: 3%;
    background: url("gfx/char_asterisk.svg") no-repeat scroll right top / 4% auto transparent;
}

.additional {  /*honigtöpfe für die kleinen */
    display: none 
}

input[type='number']:out-of-range {
    border-color: red;
}

/* Positionierung der Required * in em */
em{

    left: 98%;
}

/* ----------------------------------------------------------------------------- *
 *                              480px / 16px/em = 30em                           *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 30em) {
    .formset label {
        width: 34%;
        text-align: right;
    }

    .formset input, .formset textarea {
        width: 62%;
    }
    
    em{
        left: 32.5%;
    }
}


/* ----------------------------------------------------------------------------- *
 *                       Kapitel: AnpassungsfÃ¤hige Bilder                        *
 *                          750px / 16px/em = 46.875em                           *
 * ----------------------------------------------------------------------------- */
/* Bilder flexibel machen:
 * hier mit max-width: 100%; damit sie nicht grÃ¶ÃŸer werden als das Original
 * width: 100%; wÃ¼rde die Bilder immer einpassen, aber u.U. auch aufblÃ¤hen
 **/
img {
    max-width: 100%;
    height: auto;
}

/* figure.slides-Container um die Bilder */
/*
.slides {
    margin: 20px 0;
    line-height: 0;
}

figcaption {
    background-color: #EDEDED;
    font-size: 0.875em;
    line-height: 1.4em;
    padding: 0.5em;
    text-align: center;
}
*/


/* Andere AbstÃ¤nde und Schatten auf grÃ¶ÃŸeren Screens */
/*
@media only screen and (min-width: 46.875em) {
    .slides {
        margin: 0 0 2em 0;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
}
*/

/* NEU: */
/* ----------------------------------------------------------------------------- *
 *                          Styles für Teaserboxen                               *
 * ----------------------------------------------------------------------------- */

/* clearing fÃ¼r floatende Teaserboxen */
section {
    overflow: auto;
}

.box {
    margin: 0;
    border-bottom: 1px solid rgba(250, 250, 250, 0); /* verhindert das margin-Collapse nach unten */
    background-color: #D1CFCD;  /* helles grün aus aside */
}

.teaser {
    margin: 0 0 1em 0;
}

.box-inner {
    padding: 1em;
}

.box.teaser {
    overflow: auto;
    border-radius: 10px;
}

.box.news {
    overflow: auto;
}

.teaser h3 {
    margin: 0.2em 0 0.6em;
}

.teaser p {
    margin: 0;
    font-size: 1em; /* 16 px */
}

.news h4 {
    margin-bottom: 0.4em;
    margin-top: 0 ;
    
}

.news p {
    margin: 0;
    font-size: 1em; /* 16 px */
}

.box.news {
    background-color: #D1CFCD;
    margin-bottom: 1em;
    
    }
/* ----------------------------------------------------------------------------- *
 *                  Teaser geht noch über die gesamte Breite,                    *
 *              aber Text rutscht im Teaser rechts neben das Bild                *
 *                          400px / 16px/em = 25em                               *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 25em) {
    .box.teaser img {
        width: 45%;
        float: left;
        margin: 1em;
    }
    .box-inner {
        padding: 1em;
        line-height: 1.375em;
    }
    
.box.teaser img {
border-radius: 10px;

}
    .box.news img {
        width: 50%;
        float: left;
        margin-top: 0.5em; 
        margin-bottom: 0.5em; 
        margin-left: 0.2em; 
        margin-right: 0.7em; 
    }
   
    .box.news {
    margin-bottom: 1em;
    
    }
}
/* ----------------------------------------------------------------------------- *
 *                       Teaserboxen mit Bild und Text                           *
 *                Borders und Box-Shadows für größere Auflösungen                *
 *                          750px / 16px/em = 46.875em                           *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 46.875em) {

    .box {
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        margin-bottom: 2em;
        border: 1px solid rgba(133, 165, 204, 0.2);
    }

    /* Wenn der Screen breiter wird werden 2 Teaserboxen nebeneinander dargestellt. */
    .box.teaser {
        float: left;
        margin-right: 4%;
        width: 48%;
    }

    .box.teaser img {
        width: 100%;
        float: none;
        margin: 0;
        border-radius: 1px;
    }

    /* damit 2 Teaser-boxen den gesamten Inhaltsbereich ausfÃ¼llen,
     * wird bei jedem zweiten das Margin auf 0 gesetzt. */
    .box.teaser:nth-of-type(2n+2) {
        margin-right: 0;
    }
}

/* NEU: */
/* ----------------------------------------------------------------------------- *
 *                          Styles für Promoboxen                                *
 *       Promoboxen mit skalierbaren Backgroundgrafiken  .box.promo              *
 * ----------------------------------------------------------------------------- */
.prod-teaser {
    background: url("../img/produkte/kulturen-header-21.jpg") no-repeat;
    background-size:cover;
    display:block;
    position: relative;
    
     
    padding: 1em 1em 30%;
}


/*.full-link {
    background: url("../img/kulturen-header-2.jpg") no-repeat;
    background-size:cover;
    display: block;
    position: relative;
    padding: 1em 1em 10%;
} */

.promo {
    
    margin-bottom: 1em;
}

.promo a {
    color: #fff;
    text-decoration: none;
}

.promo h3 {
    color: #073600;
    font-size: 2.5em;
    line-height: 1em;
    margin: 20px 0 0;
    
}

.promo p {
    position: absolute;
    bottom: 0;
    font-size: 1.125em;
    width: 80%;
}


/* Promo-Buttons nebeneinander platzieren ab ca. 320px Viewport-Breite und horizontaler Ausrichtung 
@media only screen and (min-width: 20em) and (orientation: landscape)   {
    .box.promo {
        float: left;
        margin-right: 3%;
        width: 48.5%;
    }

    .box.promo:nth-of-type(2n+2) {
        margin-right: 0;
    }
    
    @media only screen and (max-width: 25em) {
        .promo h3 {
            font-size: 1.500em;
        }
    
        .promo p {
            font-size: .8em;
            line-height: 1.1em;
            width: auto;
            margin-right: 10px;
        }
    }
    
}
*/
/* Promo-Buttons nebeneinander platzieren ab ca. 400px Viewport-Breite */
@media only screen and (min-width: 25em) {
    .box.promo {
        float: left;
        margin-right: 3%;
        width: 100%;
    }

    .box.promo:nth-of-type(2n+2) {
        margin-right: 0;
    }
}

/* ----------------------------------------------------------------------------- * 
 *                              Flexible Google-Maps                             *
 * ----------------------------------------------------------------------------- */

/* Je nach gewünschtem Verhältnis muss das Padding gesetzt werden: für 4:3 z.B. 75*/

.responsiveContainer {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow:hidden;
}

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