body {
  height:100%;
  width:100%;
  margin:0;
  padding:0;
  /*background-color:#666666;*/
  background-color:#FAFBF4;
  font-size: 12px;
  font-family: "Courier New","Times New Roman",serif;
}

a {
  font-family:"Courier New","Times New Roman",serif;
	#font-size: 14px;
	line-height: normal;
  color: #0000A9;
  text-decoration:none; 
}


@media screen and (orientation: landscape){
	section.mainGrid {
		display:grid;
		grid-template-columns: 1fr 1fr;
		justify-items: center;
		font-size:5vh;
	}
	
	div.mainGrid {
		margin:2vh;
		box-shadow:0px 0px 10px 5px darkgrey; 
		background-color:#F0F0F0;
	}
	div.mainGrid:nth-child(odd){
		justify-self:end;
	}
	div.mainGrid:nth-child(even){
		justify-self:start;
	}
	div.mainGrid:nth-child(1), 
	div.mainGrid:nth-child(2) {
		margin-top:9vh;
	}
	img#Leinwand {
		border:none;
		width:400px;
	}
}

@media screen and (orientation: portrait){
	section.mainGrid {
		display:grid;
		grid-template-columns: 100%;
		justify-items: center;
		font-size:5vh;
	}
	
	div.mainGrid {
		justify-self:center;
		margin:2vh;
		box-shadow:0px 0px 10px 4px darkgrey; 
		background-color:#F0F0F0;
	}
	div.mainGrid:nth-child(1) {
		margin-top:15vh;
	}
	img#Leinwand {
		border:none;
		width:300px;
	}

}

.mainForm {
	display:grid;
	grid-template-columns: 5fr 10fr;
	font-size:2vh;
	padding:20px;
	margin-left:20px;
	margin-right:20px;
	border: 2px solid black;
	border-radius:10px;
	box-shadow:4px 4px lightgrey; 
}

div.Form {
	padding:5px;
	align-self:center;
}

div.Form:nth-child(odd) {
	justify-self:end;

}
div.Form:nth-child(even) {
	justify-self:start;
}

.Form input, .Form button, .Form textarea {
	font-size:2vh;
	border: 2px solid grey;
	#height:3vh;
	border-radius:10px;
	background-color: #D6D6D6;
}


div.menueFixed {
	position:fixed;
	z-index:100;
	width:100%;
}


section.center {
	display:grid;
	justify-self:stretch;
	justify-content: stretch;
	font-size:2vh;
}

div.center {
	display:flex;
	width:100%;
	justify-self:stretch;
	justify-content: center;
	padding-top:5px;
	padding-bottom:5px;
}

div.center:first-child {
	margin-top:10vh;
}


section.centerGrid {
	display:grid;
	grid-template-columns: 3fr 10fr 3fr;
	grid-template-rows: 8vh;
	justify-self:stretch;
	font-size:3vh;
}
@media screen and (orientation: portrait){
	section.centerGrid {
		display:grid;
		grid-template-columns: 1fr 10fr 1fr;
		grid-template-rows: 10vh;
		justify-self:stretch;
		font-size:2vh;
	}
}

section.detailsKopf {
	display:grid;
	grid-template-columns: 1fr 10fr 1fr;
	#justify-self:stretch;
	font-size:6vh;
}

.detailsKopf {
	font-size:6vh;
	font-weight:bold;
	text-align:center;
	align-self:center;
	#margin-bottom:1vh;
}
.detailsKopf > p {
	font-size:2.5vh;
	font-weight:normal;
	margin:0;
}
a.detailsKopf {
	font-size:3vh;
	color:black;
	background-color:white;
	border:3px solid black;
	padding-left:10px;
	padding-right:10px;
	border-radius:20px;
	box-shadow:2px 2px 4px grey; 
}


.detailsImage {
	text-align:center;
	overflow:hidden;
	border-top:1px solid black;
	border-bottom:1px solid black;
	padding-top:1vh;
	padding-bottom:1vh;	
	margin-bottom:2vh;
}
.detailsImage > img {
	height:60vh;
}

.detailsPfeil {
	width:50%;
} 
@media screen and (orientation: portrait){
	.detailsKopf {
		text-align:center;
		font-size:4vh;
		font-weight:bold;
		#margin-bottom:1vh;
	}
	.detailsKopf > p {
		font-size:2vh;
		font-weight:normal;
	}
	a.detailsKopf {
		font-size:3.5vh;
		padding-left:20px;
		padding-right:20px;
		border-radius:40px;
		box-shadow:5px 5px 7px grey; 
	}
	.detailsPfeil {
		width:100%;
	} 
	.detailsImage > img {
		height:50vh;
	}	
	
}

}

input {
	font-size:2vh;
}

section.centerMenue {
	display:grid;
	justify-self:stretch;
	justify-content: stretch;
}

a#Menue{
  color:#FFFFFF;
  font-size: 14px;
}

p {
  font-family:"Courier New","Times New Roman",serif;
	font-size: 1.5vh;
	line-height: normal;
	text-decoration: none;
  color: #000000;
}

p#StandardFett {
	font-weight:bold;
	font-size: 16px;
}

p#TerminFett {
	font-weight:bold;
	font-size: 2vh;
	margin:1px;
}
@media screen and (orientation: portrait){
	p#TerminFett {
		font-weight:bold;
		font-size: 2.4vh;
		#margin:1px;
	}
	p {
		font-family:"Courier New","Times New Roman",serif;
		font-size: 1.8vh;
		line-height: 110%;
		text-decoration: none;
		color: #000000;
	}
}

p#Menue {
  border-bottom:1px solid black;
  background-color:#000000;
  color:#FFFFFF;
}

span#Menue{
  padding-right: 5px;
  padding-left: 10px;
  border-left: 1px solid black;
  font-size: 2vh;
 }

body,td,th {
	border: none;
}

table#termineEdit, th#termineEdit, td#termineEdit {
  border:1px solid;
  vertical-align:top;
  border-collapse: collapse;
}


img#Main {
  border:none;
  margin-left:10px;
  margin-top:5px;
}

img#Main:hover {
  background-image: linear-gradient(#FAFBF4, #DDDDDD, #FAFBF4);
  /*background-image: url("Bilder/HD_Kopf47px.png");
  background-repeat: no-repeat;
  background-position: center;*/
}

img#Fliesen {
  border:none;
/*  margin:40px;*/
}

img#Padding {
  padding:10px;
}

img#FliesenT {
  border:none;
/*  margin:40px;
  transition:opacity 0.5s;
  opacity:0;*/
}


#tableMiddle {
  border:none;
  vertical-align:middle;
  text-align:center;
  height:100%;
  width:100%;
  overflow:auto;
  /*padding-bottom:40;*/
}

div#All {
  /*width:1000px;*/
  /*height:650px;*/
  margin-left:auto;
  margin-right:auto;
  /*background-image:URL(./neu/Bilder/Background.jpg);*/
  overflow:auto;
}


div#Main {
  /*height:800px;*/
  margin-left:auto;
  margin-right:auto;
  margin-top:80px;
  /*background-image:URL(./neu/Bilder/Background.jpg);*/
  overflow:auto;
}

div#Left {
  position:fixed;
  width:150px;
  height:auto;
  margin-left:auto;
  margin-right:auto;
  /*background-image:URL(./neu/Bilder/Background.jpg);*/
  overflow:auto;
  float: left;
}

div#Fliese {
  width:280px;
  height:280px;
  position: relative;
  top: 20px;
  left:20px;
  float:left;
}

div#Fliese_wrap {
  width:auto;
  height:auto;
  position: relative;
  top: 70px;
  left:20px;
}
div#Fliese_wrap2 {
  width:auto;
  height:auto;
  position: absolute;
  top: 420px;
  /*left:250px;*/
}

div#Fliese_back {
  width:280px;
  height:280px;
  position: absolute;
  top: 0px;
  left:0px;
}

div#FlieseInfo {
  width:auto;
  height:auto;
  position: relative;
  margin-left:20px;
  float:left;
}

div#vier_wrap {
  width:900px;
  height:auto;
  position: absolute;
  top: 80px;
  /*left:200px;*/
}
div#vier_wrap2 {
  width:auto;
  height:auto;
  position: absolute;
  top: 440px;
  /*left:200px;*/
}

div#vier {
  width:420px;
  height:420px;
  position: relative;
  top: 10px;
  left:20px;
  float:left;
  
  transition:opacity 0.5s;
  opacity:1;
}


div#vier:hover {
  opacity:0;
}

div#Schatten_Wrap {
  width:400px;
  height:400px;
  position: relative;
  margin:35px;
  float:left;
  box-shadow: 5px 5px 10px #AAAAAA;
  //border:1px solid #BBBBBB;
  /*background-color:#F6F8F0;*/
  //background-color:#EFEFEF;
}

div#Vorschau_Wrap {
  width:250px;
  height:250px;
  position: relative;
  margin:40px;
  float:left;
  //border:1px solid #BBBBBB;
  /*background-color:#F6F8F0;*/
  //background-color:#EFEFEF;
}


div#Termin_Wrap {
  width:400px;
  height:400px;
  position: relative;
  #margin:10px;
  float:left;
  #border:1px solid #BBBBBB;
  /*background-color:#F6F8F0;*/
  background-color:#EFEFEF;
}

div#Termin_TXT {
  width:400px;
  height:196px;
  position: relative;
  padding:2px;
  float:left;
  font-size:1.5vh;
  color:black;
}
div#Termin_IMG {
  width:400px;
  height:200px;
  position: relative;
/*  top: 20px;*/
  float:left;
}
img#Termine {
	width:400px;
}

@media screen and (orientation: portrait){
	div#Termin_Wrap {
	  width:300px;
	  height:300px;
	  position: relative;
	  #margin:10px;
	  float:left;
	  #border:1px solid #BBBBBB;
	  /*background-color:#F6F8F0;*/
	  background-color:#EFEFEF;
	}
	div#Termin_TXT {
	  width:300px;
	  height:140px;
	  position: relative;
	  padding:5px;
	  float:left;
	  font-size:1.5vh;
	  color:black;
	}
	div#Termin_IMG {
	  width:300px;
	  height:150px;
	  position: relative;
	/*  top: 20px;*/
	  float:left;
	}
	img#Termine {
		width:300px;
	}

}


div#Pfeile {
  width:auto;
  height:auto;
  position: absolute;
  top: 720px;
  left:680px;
}

div#PfeileTermine {
  width:auto;
  height:auto;
  position: absolute;
  top: 870px;
  left:590px;
}

div#Pfeil {
  width:auto;
  height:auto;
  position: absolute;
  top: 20px;
  left:5px;
}
div#Pfeilr {
  width:auto;
  height:auto;
  position: absolute;
  top: 20px;
  left:600px;
}



div#head {
  width:auto;
  height:auto;
  position: absolute;
  top: 20px;
  /*left:220px;*/
}


/*
 * 
 * 
 * 
 * */
 #hamnav {
  width: 100%;
  background: #000;
  /* Optional */
  position: sticky;
  top: 0;
}

/* (B) HORIZONTAL MENU ITEMS */
#hamitems { 
	display:grid; 
	grid-template-columns:repeat(9, auto);
	align-items:center;
	justify-items: center;
	padding:10px;
}

#hamitems a {
  padding: 2px;
  color: #FFFFFF;
  text-decoration: none;
  font-size:2.5vh;
}

/* (C) HIDE HAMBURGER */
#hamnav label, #hamburger { display: none; }

/* [ON SMALL SCREENS] */
@media screen and (orientation: portrait){
  /* (A) BREAK INTO VERTICAL MENU */
  #hamitems a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-top: 0.1vh solid #FFFFFF;
    font-size:4vh;
  }

  /* (B) SHOW HAMBURGER ICON */
  #hamnav label {
    display: inline-block;
    color: white;
    font-style: normal;
    font-size: 6vh;
    padding: 10px;
  }

  /* (C) TOGGLE SHOW/HIDE MENU */
  #hamitems { display: none; }
  #hamnav input:checked ~ #hamitems { display: block; }
}
