﻿
body {
display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
 max-width: 50em;
  margin: 1em auto;
}

kopf,
kopf2,
abc,
abc2,
fusszeile {
	border-radius: 0px 0.5em 0.5em;
	border: 1px solid;
	padding: 10px;
	margin: 10px;
	-webkit-flex: 1 100%;
  flex: 1 100%;
}


.flex-container {
  display: flex;
  flex-wrap: wrap;
flex-direction: row;
  background-color: #666633;
  width: 100%;
 }

.flex-container > div {
  background-color: #f1f1f1;
  width: 185px;
  margin: 2px;
  text-align: center;
  line-height: 50px;
  font-size: 1.4em;
}

.flex-container1 {
  display: flex;
  flex-wrap: wrap;
flex-direction: row;
  background-color: #666633;
  width: 100%;
 }

.flex-container1 > div {
  background-color: #f1f1f1;
  width: 248px;
  margin: 2px;
  text-align: center;
  line-height: 50px;
  font-size: 1.4em;
}

      nav a {
	display: inline-block;
	width: 100%;
	border: 1px solid #dfac20;
	margin: 0;
	text-decoration: none;
        text-align: center;
color: #666633;}
      
      nav a:hover {
        background-color: #dfac20;
      display: inline-block;
     width: 100%;
     height: 100%;
	border: 1px solid #dfac20;
	margin: 0;
	text-decoration: none;
	text-align: center;
      }

      nav1 a {
	display: inline-block;
	width: 100%;
height: 100%;
	border: 1px solid #dfac20;
	margin: 0;
	text-decoration: none;
        text-align: center;
color: #666633;
}
      
      nav1 a:hover {
        background-color: #e5e5c4;
      display: inline-block;
	width: 100%;
height: 100%;
	border: 1px solid #dfac20;
	margin: 0;
	text-decoration: none;
	text-align: center;
      }

/* ---------------------------------Schriften einbinden --------------------------------------------*/

/*-----------------------------------
 @font face {
    font-family: playfair;
    src: url('fonts/PlayfairDisplaySC-Italic.ttf');
    font-weight: normal;
}

.playfair {
font-family: playfair;
font-size: 1.4em;
}

--------------*/

/* playfair-display-sc-regular - latin */
@font-face {
  font-family: 'Playfair Display SC';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playfair-display-sc-v14-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/playfair-display-sc-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/playfair-display-sc-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/playfair-display-sc-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/playfair-display-sc-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/playfair-display-sc-v14-latin-regular.svg#PlayfairDisplaySC') format('svg'); /* Legacy iOS */
}

/*----------------------------------------------------------------------------------------------*/

h1 {font-size: 1.6em;
text-align: center
font-family: Playfair Display SC;
}

h2 {font-size: 1.4em;
color:black;
}

h3 {font-size: 1.3em;
}

h7{font-size: 1.4em;
color:black;
font-family: Arial;
}

h7:after {
    content: ' \00A9';
}

kopf {
  background-color: #666633;
}


abc,
abc2 {
background-color: #e5e5c4; 
}

p {
font-size: 1.4em;
font-family: Arial;
}

i {
font-size: 1.4em;
font-family: Times New Roman;
font-style: italic;
}

a:hover { color:#666633;
}


a {text-decoration: none;
color:black;
}

.linie
{color: #dfac20;
}

      /* ------------------------------------- Navigationsfläche zum Seitenanfang ----------------------------- */
.grauerlink
 {color:#000000; font-size: 1.1em;}
.grauerlink > div {
  background-color: #f1f1f1;
  width: 98%;
  margin: 2px;
  text-align: center;
  line-height: 50px;
  font-size: 1.0em;
}

      /*  ----------------------------------------Navigation mit Hintergrundinfo -------------------------------------- */
.grauerlink1
 {color:#000000; font-size: 1.1em;}
.grauerlink1 > div {
  background-color: #f1f1f1;
  width: 100%;
  margin: 2px;
  text-align: center;
  line-height: 50px;
  font-size: 1.0em;
}

      /* ----------------------------------------------------------------------------------Bilder manipulieren------------------------ */
      /* --------------Bild mit Schrift in transparentem Feld -------------------------------*/
.bildx {
position: relative;
}
      /* ................... Bild Hintergrund wird 30% transparent mit schwarz gefüllt .............................*/
.hintergrund {
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.3);
color: white;
display: flex;
   align-items: center;
   justify-content: center;
border-top: 1px solid #000000;
position: absolute;
bottom: 0;
width: 100%;
height: 30%;
}
      /* --------------Bild Abstand zwischen Text und Rand -------------------------------*/
.hgtext {
  padding: 5px 15px 5px 15px;
}

      /* ---------------------Box mit Text im Bild ------------------------- */
.textschachtel {
  position: relative;
  font-family: Arial;
font-size: 0.6em;
}

.text-block {
  position: absolute;

  opacity: 0.8;
  bottom: 20px;
  right: 20px;
  background-color: #666633;
  color: white;
  padding-left: 10px;
  padding-right: 10px;
}

      /* -------------------------------- Bild abblassen -------------------------------- */
      .img:hover {
  opacity: 0.7;
  filter: alpha(opacity=50); /* For IE8 and earlier */
              }

       /* ----------------------------------- Bild wird mit Text und Hintergrundfarbe gefüllt ------------------ */
.schachtel {
  position: relative;
  width: 50%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #008CBA;
  overflow: hidden;
  width: 100%;
  height:0;
  transition: .5s ease;
}

.schachtel:hover .overlay {
  bottom: 0;
  height: 100%;
}

.text {
  white-space: nowrap; 
  color: white;
  font-size: 12px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}


       /* --------------------- Bild wird automatisch an Seitengröße angepasst ----------------- */
img {
  max-width: 100%;
  height: auto;
    display: block;
  margin-left: auto;
  margin-right: auto;
}

  /* ------------------ Hinweis, beim hover von Text oder Bild erscheint ein Hinweisfenster ------------------ */

.hinweis {
  position: relative;
  display: inline-block;
cursor: pointer;
}

/* ------------------------------------- Hinweis text ------------------------------ */
.hinweis .hinweistext {
  visibility: hidden;
  width: 160px;
  background-color: #666633;
  color: #fff;
  text-align: center;
  padding: 5px 5px 5px 5px;
  border-radius: 6px;
 
  position: absolute;
  z-index: 2;
  top: -15px;
  left: 35%;

opacity: 0;
transition: opacity 2s;
}

/* ............................................. Zeigt den Hinweistext bei mouse over ....................... */
.hinweis:hover .hinweistext {
  visibility: visible;
  opacity: 1;
}
  /*---------------------------------- Hinweis fertig -------------------------------- */


      /* --------------------------------- Text im Bild ------------------------------- */
.schachtel1 {
  position: relative;
}

.obenlinks {
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 18px;
}

      /* --------------------------------- Bildgröße für Bilder mit Galerieeffekt ------------------------------- */
.bildgroesse
{ 
  width: 100%;
  height: auto;
    display: block;
  margin-left: auto;
  margin-right: auto;
}

.bildgroesse33
{ 
  width: 33.33333%;
  height: auto;
  display: block;
  border: 1px solid black;
     float: left;
     box-sizing: border-box;
}

.bildgroesse33:hover {
  opacity: 0.7;
  filter: alpha(opacity=70); /* For IE8 and earlier */
cursor: pointer;
}
      /* ------------------------------- Bildergalerie ---------------------------------*/
#galerie {
	width: 100%;

}

.di {
	position: relative;
	line-height: 0;
	padding-right: 1px;
}

input[type=checkbox] {
     display: none;
}

input[type=checkbox]:checked ~ label img {
	position: absolute;
	width: 100%;
	height: auto;
	top: 50%;
	left: 50%;
	margin-left: -50%;
	margin-right: 50%;
                opacity: 1.0;
     box-shadow: 0 0 20px #888;
	z-index: 2;
}

      /* --------------------------------- Navigation oben --------------------------- */
ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #666633;
    font-family: Arial;
    z-index: 3;
    position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0px;
}

ul.topnav li {float: left;}

ul.topnav li a {
  display: block;
  color: white;
  text-align: center;
  padding: 12px 16px;
  text-decoration: none;
}

ul.topnav li a:hover:not(.active) {background-color: #111;}

ul.topnav li a.active {background-color: #4CAF50;}

ul.topnav li.right {float: right;}
      li {
  float: left;
  border-right:1px solid #bbb;
        border-bottom:1px solid #bbb;
      }

@media screen and (max-width: 600px) {
  ul.topnav li.right, 
  ul.topnav li {float: none;}
}

      /* ------------------------------ Schriftgröße für kleine Ausgabegeräte ändern ------------------------------------ */

@media all and (min-width: 30em) {
p {font-size: 1.1em;}
i {font-size: 1.1em; font-family: Times New Roman; font-style: italic;}
h1 {font-size: 1.4em; text-align: center; font-family: Playfair Display SC;
}


h2 {font-size: 1.2em;
color:black;
}

h3 {font-size: 1.1em;}

h7{font-size: 1.2em;
color:black;
}
}

      /* -----------------Bildergalerie wird nicht angezeigt -----------------*/
@media all and (max-width: 30em) {
.bildgruppeweg {
display: none;
}
}

      /* ------------------------------------------------------------------------------------------------------------------------------- */