
/* Handy Landscape
wenn Breite zu Höhe größer als 2,1 ist*/
@media screen and (min-aspect-ratio: 21/10) {
  .handyLscNone {
    display: none;
  }
  .topnav {
    display: none;
  }
  body {
    background-color: #c2f6c2;  
  }
}

/* Notebook
wenn Breite zu Höhe kleiner 2,1 ist und B zu H größer 1*/
@media screen and (max-aspect-ratio: 21/10) and (min-aspect-ratio: 1/1){
  .notebookNone {
    display: none;
  }
  body {
    background-color: lightgreen;  
  }
} 

/* Handy Portrait
wenn Breite zu Höhe kleiner als 1 ist*/
@media screen and (max-aspect-ratio: 1/1) {
  .handyPtrNone {
    display: none;
	text-align: center;
  }
  body {
    background-color: #c2f6c2;  
  }
}

/*** body ***/
body {
  margin: 0;
  font-family: Verdana;
}

* {
  box-sizing: border-box;
}

  .centerrotategif {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 20%;
}


/******* hive-Seite in 2 Spalten teilen ********/
.rowhive::after {
  content: "";
  clear: both;
  display: block;
}

[class*="colhive-"] {
  float: left;
  padding: 0px;
  width: 100%;
  text-align: center;
}

@media only screen and (min-width: 1400px) {
  .colhive-20 {width: 20%;}
  .colhive-80 {width: 80%;}
}


/******* rain-Seite unten in 4 Spalten teilen ********/
.rowrain::after {
  content: "";
  clear: both;
  display: block;
}

[class*="colrain-"] {
  float: left;
  padding: 0px;
  width: 100%;
  text-align: center;
}

@media only screen and (min-width: 1380px) {
  .colrain-20 {width: 20%;}
  .colrain-80 {width: 80%;}
}

/************ Responsive Topnav with Dropdown **************/
.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Handy Portrait
wenn Breite zu Höhe kleiner als 1 ist*/
@media screen and (max-aspect-ratio: 1/1) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/********************************************************************/
/*** Jahr-Dropdown ****/
.wj {
  font-weight: bold;
  font-size: 18px;
}

/*** Überschriften ****/
#imgtab {
  width: 20px;
  vertical-align: middle;
}

/*** Überschriften ****/
h1 {
  text-align: center;
  font-size: 30px;
  margin-top: 10px;
  margin-bottom: 0px;
  font-weight: bold;
}

h3 {
  text-align: center;
  color: green;
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
}

/***************** Slideshow *********************/
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 35px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: right;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 600px) {
  .text {font-size: 20px}
} 

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.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}
}

/************** Speicher Button auf hive_graph.php ****************/ 
.buthive {
  color: white;
  background-color: #4CAF50;
  border: 2px solid #4CAF50;	  
  padding: 12px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

/**** Buttons auf rain_graph.php ****/ 
#butVorZur {
  background-color: white;
  color: black;
  border: 2px solid blue;	  
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}
#butVorZur:hover {
  background-color: #00BFFF;
  color: white;
}

/**** Tabelle ****/
table.eintraege {
	width: 400px;
	margin-left: auto;
	margin-right: auto;
}

table.eintraege, th.eintraege, td.eintraege {
  border: 1px solid black;
  border-collapse: collapse;
}

th.eintraege, td.eintraege {
  padding: 5px;
}

th.eintraege {
  text-align: left;
}

tr.eintraege:nth-child(even) {
  background-color: #eee;
}
tr.eintraege:nth-child(odd) {
 background-color: #fff;
}
