<style>
/*----------------------------Allgemein---------------------------------------*/
body {}

.inhalt {
  width: 75%;
  max-width: 75em;   /*Rand wenn Fenster gewisse Grösse*/
  margin: auto;
  padding: 10px 0px 0px 0px;
  background-color: white;
  z-index:1;
}

.hintergrund {
  background-image: url("fotos/hintergrund.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

@media screen and (max-width: 1200px) {
  .hintergrund { /*Hintergrund weg bei kleineren Bildschirmen*/
    background-image:none;
  }
  .inhalt {
    width: 100%;
  }
}

h1 {
  font-family: sans-serif;
  color: rgb(0,160,0);
  text-align: center;
}

h2 {
  font-family: Arial;
  color: rgb(0,160,0);
}

h3 {
  font-family: Arial;
  color: rgb(0,160,0);
  font-size: 130%;
}
h4 {
  font-family: Arial;
}

table {
  font-family: Arial;
}

p {
  font-family: Arial;
}

hr {
  color:#A4A4A4; /*hellgrau*/
}

a:link, a:visited {
  color: black;
  font-family: Arial;
  /*text-decoration: none;*/
}

figure.ipsuisse {
  position: relative;
  float: left;
  width: 40%;
  padding: 0;
  margin: 0;
}
.h_100{
  width: 100%;
  overflow: hidden;
}

figure.huhn {
  position: relative;
  margin: 5px;
  padding-right: 20px;
  float: right;
  width: 40%;
}

figcaption {
   padding: .8em;
/* display: inline-block;*/
  text-align:center;
  font-family: Arial;
  text-decoration: none;
  font-size: 80%;
}

#kopfleiste {
  text-align: center;
}

#kopfleistemobile {
  display: none;
}

#banner {
  font-size: 120%;
  font-weight: bold;
}

#hauptinhalt {
  padding: 5px 40px 10px 40px;
}

#fussleiste {
  background-color: rgb(0,160,0);
  font-weight: bold;
  text-align: center;
}
/*-----------------Bilder, links, rechts, float etc---------------------------*/
.links {
  float: left;
  margin: 0px 30px 0px 0px;
}

.rechts {
  float: right;
  margin: 0px 0px 0px 30px;
}

.clearlinks {
  clear: left;
  margin: 0px;
}

.clearrechts {
  clear: right;
  margin: 0px;
}

.min-width{
  min-width: 300px;
}

.rahmen {
  border-style:groove;
}

.logo {
  width: 140px;
}
/*-------------------------Foto Familie Werner--------------------------------*/
.familie {
  width:45%;
}

/*-------------------------------Schriftarten---------------------------------*/
.grosser {
  font-size: 120%;
}

.nochgrosser {
  font-size: 140%;
}

.klein {
  font-size: 75%;
  color: red;
}

.underlinedgreen {
  text-decoration: underline rgb(0,160,0);
}

.blackunderlined {
  text-decoration: underline;
}

.fett {
  font-weight: bold;
}

.center {
  text-align:center;
}

.gruen:link, .gruen:visited { /*Link zurück zu Über uns und zu Links*/
  color: rgb(0,160,0);
  text-decoration: none;
}

.galery_font{
  font-weight:normal;
  font-size: 120%;
}
/*-----------------------------diverse Divs-----------------------------------*/
/*-------------------------------Hofchronik-----------------------------------*/
.divhofchronik {
  margin;  10px 0px;
  margin-bottom: 40px;
  position: relative;
}

/*------------------------------kleiner Irrtum--------------------------------*/
.kleinerirrtum {
  width: 100%;
  height: auto;
  margin: 10px 0px;
  overflow-y: auto;
  overflow-x: visible;
  padding: 10px;
  position: relative;
}

img.huhn_bild {
  padding: 10px;
  margin: auto;
  /*vertical-align: middle;*/
  float: right;
  width: 100%;
  height: auto;
}

img.kuh_bild {
  padding: 10px;
  margin: auto;
  /*vertical-align: middle;*/
  float: right;
  width: 40%;
  height: auto;
}
img.katzen_bild {
  padding: 10px;
  margin: auto;
  /*vertical-align: middle;*/
  float: right;
  width: 25%;
  height: auto;
}
/*-------------------Aktuelles, Ökologie und Produkte (Kästchen)--------------*/
.aktuelles, .produkte, .oekologie{
  width: auto;
  height: auto;
  margin: 10px 0px;
  overflow-y: auto;
  overflow-x: visible;
  padding: 10px;
  position: relative;
}

.aktuellesmitte {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;


}


.aktuellesfoto, .produktfoto, .oeko_foto{
  width: 40%;
  min-width: 350px;
  vertical-align: middle;
}

.aktuelles ul {
  list-style-type: disc;
  font-family: Arial;
  font-size: 120%;
}
/*--------------------------Ende diverse Divs---------------------------------*/

/*-----------------------Über uns, unser Hof (grüne Kästchen)-----------------*/
.abschnittlinks {
  border-style: double;
  border-width: 5px;
  border-color: rgb(0,160,0);
  width: auto;
  height: 300px;
  margin: 10px 0px;
  overflow-y: scroll;
  overflow-x: visible;
  padding: 10px 30px 10px 10px;
  position: relative;
}

.abschnittrechts {
  border-style:double;
  border-width: 5px;
  border-color: rgb(0,160,0);
  width: auto;
  height: 300px;
  margin: 10px 0px;
  overflow-y: scroll;
  overflow-x: visible;
  padding: 10px 10px 10px 30px;
  position: relative;
}

.abschnittfoto {
  height: 100%;
}

.abstandoben{
  padding:40px 0px 0px 0px;
}

.margin {
  margin: 8px;
}

.mehrlink, .mehrlink > a:link, .mehrlink > a:visited {
  font-weight: bold;
  text-decoration: underline;
  color: black;
}

.mehrlink:hover, .mehrlink:hover > a:link, .mehrlink:hover > a:visited {
  color: rgb(100,100,100);
}

/*--------------------------------Produkte------------------------------------*/

.preis {
  font-size: 120%;
  color: rgb(0,160,0);
}

.info {
  /*background-color: blue;
  border: none;
  color: white;
  padding: 3px 7px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 10px;*/
  /*cursor: pointer;
/*  border-radius: 50%;
  position: relative;*/
  background: none;
  border: none;
}

.infoi {
  bottom:0em;
  margin: 3px 3px 0px 3px;
  width: 2.5em;
  cursor: pointer;
}

.label {
  font-size: 120%;
  font-family: Arial;
}

select {
  padding: 5px;
  border-radius: 3px;
  border-color: grey;
  font-size: 120%;
  font-family: Arial;
}

option {
  font-size: 100%;
  font-family: Arial;
  background-color: white;
}

optgroup {
  font-size: 110%;
  font-family: Arial;
}

.b_warenkorb {
  background-color: rgb(0,160,0);
  border: none;
  color: white;
  cursor: pointer;
  font-family: Arial;
  font-size: 16px;
  margin: 4px 2px;
  padding: 15px 32px;
  text-align: center;
  border-radius: 5px;
}

.b_warenkorb:hover {
  background-color: rgba(0,160,0,0.8);
}

#anzschachteln, #liter, #bund, #anzbags, #sacke, #anzbrot {
  padding: 5px;
  border-radius: 3px;
  border-color: grey;
  font-size: 120%;
  font-family: Arial;
  width: 75px;
}

#informationstext {
  display: none;
  position: absolute;
}

.mehltab {
  border: none;
}

.mehltab > th {
  height: auto;
  padding: 5px;
  margin: 10px;
  position: absolute;
}

.mehltab > th.mehltab_li {
  width: 45%;
}

.mehltab > th.mehltab_re {
  width: 55%;
  padding: 5px;
}

.reduzieren {
  padding: 5px;
  background-color: white;
  border-radius: 3px;
  border-color: grey;
  cursor: pointer;
}

/*-------------------------Links oben bei Tierwohl----------------------------*/
.toptierwohl {
  height: auto;
  width: 100%;
  position: relative;
  text-align: center;
  overflow: visible;
  margin: 10px;
}

.toptierwohllink > li > a:visited,
 .toptierwohllink > li > a:link {
  text-decoration: none;
  color: black;
  text-align: center;
  display: inline-block;
  position: relative;

}
nav > ul.toptierwohllink {
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: visible;
}

nav > ul.toptierwohllink > li {
  position: relative;
  margin: 4px 2px;
  display: inline-block;
  padding: 14px 35px;
}

nav > ul.toptierwohllink > li:hover {
  background-color: rgb(0,160,0);
}

.tierwohlfoto {
  width: 40%;
  min-width: 250px;
}

.t30-200{
  width: 30%;
  min-width: 200px;
}

.ziegenfoto {
  width:49.5%;
  min-width: 250px;
}

.katzenfoto {
  width: 49%;
  min-width: 250px;
}

.ziegenstall {
  width: 60%;
  min-width: 250px;
}

/*-----------------------------Button nach oben bei Tierwohl------------------*/
#Btnnachoben {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: black;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}

#Btnnachoben:hover {
  background-color: #151515;
}

/*------------------------------Ackerbau und Futterbau------------------------*/
.tablediv {
  display: table;
  width: 100%;
}

.table1, .table2{
  border: none;
  width: 50%;
}

.table1 {
  float: left;
  display: table-cell;
  box-sizing: border-box;
}

.table2 {
  float: right;
  display: table-cell;
  box-sizing: border-box;
}

.table1 th, .table2 th {
  height: auto;
}

.getreide { /*Bilder*/
  display: inline-block;
  width: 90%;
  margin-top: 5%;
  }

.dropgetreide {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.dropgetreide > h3 {
  margin: 0px;
  margin-top: 10px;
  padding: 5px;
  position: relative;
  width: 100%;
}

.weizen, .mais, .triticale, .gerste, .urdinkel, .raps,
.naturwiesen, .kunstwiesen, .fruchtfolge, .traktoren {
  position: relative;
  display: inline-block;
  width: 100%;
}

.infoweizen, .infomais, .infotriticale,
.infogerste, .infourdinkel, .inforaps, .infofruchtfolge,
.infonaturwiesen, .infokunstwiesen, .infotraktoren {
  display: none;
  position: absolute;
  background: white;
  font-weight: normal;
  width: 100%;
  height: auto;
  z-index: 99;
  left: 0%;
  top: 2.4em;
  padding: 10px;
}

.infoweizen:hover, .infomais:hover, .infotriticale:hover,
.infogerste:hover, .infourdinkel:hover, .inforaps:hover,
.infonaturwiesen:hover, .infokunstwiesen:hover,
.infotraktoren:hover, .infofruchtfolge:hover {
  background-color: white;
  display: inline-block;
}

.weizen:hover .infoweizen {
  display: inline-block;
}
.raps:hover .inforaps {
  display: inline-block;
}
.urdinkel:hover .infourdinkel {
  display: inline-block;
}
.gerste:hover .infogerste {
  display: inline-block;
}
.triticale:hover .infotriticale {
  display: inline-block;
}
.mais:hover .infomais {
  display: inline-block;
}
.fruchtfolge:hover .infofruchtfolge {
  display: inline-block;
}
.kunstwiesen:hover .infokunstwiesen {
  display: inline-block;
}
.naturwiesen:hover .infonaturwiesen {
  display: inline-block;
}
.traktoren:hover .infotraktoren {
  display: inline-block;
}

.untertabelle {
  height: 210px;
}

/*-----------------------------Berufsbildung----------------------------------*/
ul#anforderungen {
  list-style-type: disc;
  font-family: Arial;
  font-size: 120%;
}

/*----------------------Tabelle mit Kontaktdaten------------------------------*/
                        /*Rest siehe Ackerbau/Futterbau*/
.kontakte {
  padding: 30px;
  font-weight: normal;
  text-align: left;
}
/*----------------------------Impressum---------------------------------------*/

.impressumfoto {
  height: 120px;
  margin: 30px;
}
/*----------------------------Datenschutz und AGB's---------------------------*/
ol#agb > li > ul > li {
  list-style-type: none;
  font-family: Arial;
}
ol#agb {
  font-size: 120%;
  list-style-type: decimal;
  font-family: Arial;
}
/*-------------------------------Kontaktformular------------------------------*/
form {
  width: 100%; /* Breite des Formulars */
  padding: 20px;
  border: none;
  font-family: Arial;
}

label { /* Beschriftung auf eigener Zeile */
  display: block;
  cursor: pointer; /* Mauszeiger wird zur Hand */
  margin-bottom: 10px;
}

input#absender, input#vorname, input#nachname,
textarea {
  margin-bottom: 1.5em;
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 15px;
  border: 1px solid #c6c6c6;
  color: #323335;
  font-size: 16px;
  line-height: 1.25;
  box-shadow: none;
  height: 50px;
  border-radius: 7px;
  font-family: Arial;
}

input#absender, input#vorname, input#nachname {
  width: 50%;
  min-width: 200px;
}

textarea#nachricht {
  height: 10em;
  width: 100%;
  font-family: Arial;
}

.button {
  background-color: black;
  border: none;
  color: white;
  cursor: pointer;
  font-family: Arial;
  font-size: 16px;
  margin: 4px 2px;
  padding: 15px 32px;
  text-align: center;
  border-radius: 5px;
}

.button:hover {
  background-color: #151515;
}

.error {
  margin-left: 20px;
}

span.errortext {
  color: red;
}

/*-----------------------------Gästebuch--------------------------------------*/
.eintraege{
  font-size: 120%;
  font-family: Arial;
}
/*--------------------------------------Karte---------------------------------*/

#map {
  width: 100%;
  height: 400px;
  background: grey;
}


/*--------------------------Anfang: Links im Banner---------------------------*/
nav {
  margin: 10px 40px 10px 40px;
}
#banner #activate-nav, #banner #activate-untk, .dreieck  {
  display: none;  /*checkbox und dreieck nicht angezeigt*/
}

#banner-link {
  text-align: center;
}

nav > ul#banner-link {
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: visible;
}

nav > ul#banner-link > li {
  position: relative;   /*damit position absolute bei nav > ul > li > ul{ top: 2.8em und left 0em}*/
  margin: 4px 2px;     /* direkt an die <li> Elemente dieser Liste anschliesst */
  display: inline-block;
}

nav > ul#banner-link > li > a, .dropbtn {
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 14px 45px;
}

nav > ul#banner-link > li.dropdown > ul {
  margin-top: -7.5px;
  border-top-style: solid;
  border-top-width: 8px;
  border-top-color: white;
  cursor: pointer;
}

nav > ul#banner-link > li:hover, .dropdown:hover {
  background-color: rgb(0,160,0);   /*wenn hover über Elemente der Liste, dann neue Farbe*/
}

nav > ul#banner-link > li > a:link, nav > ul#banner-link > li> a:visited {
  text-decoration: none;
  color: black;         /*Textfarbe im Banner ist schwarz,
                          kein Unterschied ob Seite bereits besucht oder nicht*/
}

nav > ul#banner-link > li > ul > li > a:link,
nav > ul#banner-link > li> ul > li > a:visited {
  border-bottom: none;
  text-decoration: none;
  color: black;
}

nav > ul#banner-link > li > ul {
  position: absolute;               /*position absolute, der Rest der Liste verschiebt*/
  list-style-type: none;            /*sich nicht wenn das Unterkapitel aufgeht*/
  border-top-width: 16px;
  border-top-color: white;
  margin: -8px 0px 0px 0px;
  top: 3em;
  left: -2.12em;
  width: 11.6em;
  display: none;
  z-index: 1;
}

nav > ul#banner-link > li:hover > ul {  /*wenn hover über "Unser Hof", Unterkapitel wird angezeigt*/
  display: inline-block;
}

nav > ul#banner-link > li > ul > li {
  text-align: center;   /*Text bei Unterkapitel schön zentriert*/
  padding: .6em;
  background-color: rgb(0,160,0);
  z-index: 2;
}

nav > ul#banner-link > li > ul > li:hover {
  background-color: white;   /*wenn hover über Element in Unterkapitel, Hintergrund weiss*/
}

nav > ul#banner-link > li > ul >li:hover > a:link, nav > ul#banner-link > li > ul > li:hover > a:visited {
  text-decoration: none;
  color: rgb(0,160,0);   /*wenn hover über Element in Unterkapitel, Textfarbe wird grün,*/
                        /*kein Unterschied ob Seite bereits besucht oder nicht*/
}

.active {
  background-color: rgb(0,160,0);   /*aktuelle Seite hat grünen Hintergrund*/
}

nav > ul#banner-link > li > ul > li.unterkapitel-active {
  background-color: white;
}

nav > ul#banner-link > li > ul > li.unterkapitel-active > a:link,
nav > ul#banner-link > li > ul > li.unterkapitel-active > a:visited  {
  color: rgb(0,160,0);
}
/*------------------------------Ende: Links im Banner-------------------------*/

/*-------------------------------Anfang Links in Fussleiste-------------------*/
.fussleiste-link:hover {
  background-color: white;
}

nav > ul#fussleiste{
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: visible;
}

nav > ul#fussleiste > li {
  display: inline-block;
  margin: 0px 2px;
}

nav > ul#fussleiste > li > a:link, nav > ul#fussleiste > li > a:visited {
  color: black;
  padding: 14px 40px;
  display: inline-block;
  text-decoration: none;
}

nav > ul#fussleiste > li.fussleiste-link:hover > a:link,
nav > ul#fussleiste >  li.fussleiste-link:hover > a:visited {
  text-decoration: none;
  color: rgb(0,160,0);
}

nav > ul#fussleiste > li.unterkapitel-active {
  background-color: white;
}

nav > ul#fussleiste > li.unterkapitel-active > a:link,
nav > ul#fussleiste > li.unterkapitel-active > a:visited {
  color: rgb(0,160,0);
}
/*-------------------------Ende Links in Fussleiste---------------------------*/
/*--------------------------Beginn: Slideshow---------------------------------*/
* {box-sizing:border-box}

.slideshow-container {
  max-width: 650px;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;    /* Hide the images by default */
}

.numberone {
  display: block;
}

.prev, .next {      /* Next & previous buttons */
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  background-color: #848484;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;    /*positioniere "next button" rechts*/
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover { /*bei hover hintergrund dunkel*/
  background-color: rgba(0,0,0,0.8);
}

.text {
  font-size: 20px;
  font-family: Arial;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.black{
    color: black;
}

.white {
  color: white;
}

.grey {
  color: #424242;
}

.hofwerner{
  font-size: 75px;
  font-family: cursive;
  padding: 8px 12px;
  position: absolute;
  top: 10px;
  width: 100%;
  text-align: center;
}

.numbertext {   /*(1/3 etc) */
  color: #f2f2f2;
  font-size: 12px;
  font-family: Arial;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-slide, .dot:hover {
  background-color: #717171;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */          /*wenn mobile.css fertig, kann das gelöscht werden*/
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
/*----------------------------Ende: Slideshow---------------------------------*/
/*---------------------------Error-page---------------------------------------*/
.errorfoto {
  height: 150px;
  margin: 5px;
}

.errorleft {
  width: 35%;
  padding-top: 5%;
  padding-bottom: 15%;
  float: left;
  text-align: center;
}

.errorright{
  width: 50%;
  padding-top: 12%;
  padding-bottom: 15%;
  float: right;
  margin-right: 100px;
}

.errorfotoleft {
  width: 70%;
}

.errortab {
  height: 150px;
  font-weight: normal;
}

.errortableft {
  width: 70%;
  font-weight: normal;
}
.errortabright {
  width: 30%;
}

/*-----------------Galerie ---------------------*/
#galeryImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#galeryImg:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }
  to {
    transform: scale(1)
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}



</style>
