body {
	background-color:#ddd; 
	font-family: sans-serif;
}

h2 {
  float:left;
  color: darkgreen;
}

h3 {
	margin-left: 10px;
	margin-top: 10px;
}


form {
	margin-left: 15px;
	margin-top: 10px;

}

iframe {
	margin-left: 10px;
	margin-top: 10px;

}


button {
	margin-left: 10px;
	margin-top: 10px;
	border: thin solid rgba(0, 0, 0, .1);
	box-shadow: 0 .2em .4em rgba(0, 0, 0, .5); 
	color: white;
	text-shadow: 0 -.05em .05em rgba(0, 0, 0, .5); 
}

button.cancel {
  background-color: #c32e04;
}

button.ok {
  background-color: #5a9900;
}

button.admin {
  background-color: #b38104;
}


button:focus,
button:hover {
 	box-shadow: 0 .3em 0.6em rgba(0, 0, 0, .8);  
}

table {
  float: left;
	border-style: ridge;
	margin-left: 15px;
	margin-top: 15px;
}

thead {
	background-color: #af4448; 
	color: white;
}

thead.fs{
	background-color: #369905; 
}

thead.admin {
	background-color: #d85f02; 
	color: white;
}


tr.SubHead {
	background-color: #0B610B; 
	color: white;
	font-size:13px;
}

tr.wlan {
	background-color: #e0dba1; 
	color: black;
}

tr.relay {
  background-color: #f8e2a0;
}

tr.softerr {
  background-color: orange;
}

tr.harderr {
  background-color: red;
}

tr.TempHeiz {
  background-color: #d8f3d0;
}

tr.TempSoll {
  background-color: #9fe2f3;
}


tr.TempKTY {
  background-color: #bfcff2;
}

tr.TempOW {
  background-color: #BCF5A9;
}

th {
	 border: 3px;
	 padding: 5px;
}

td {
	 border: 1px solid grey;
	 padding: 5px;
}

a:link {
	text-decoration:none;
	color: #000;
}

a:visited {
	color: #000;
}

.menue-group {
  padding-left: 20px;
}

.switches {
  padding-top: 20px;
  padding-left: 20px;
//  margin-top: 30px;
}




.led-red {
	margin: 1px auto;
	width: 12px;
	height: 12px;
	background-color: rgb(221, 35, 35);
	border-radius: 50%;
	box-shadow: #000 0 -1px 7px 1px, inset #F00 0 -1px 9px, #F00 0 2px 12px;
}

.led-yellow {
	margin: 1px auto;
	width: 12px;
	height: 12px;
	background-color: rgb(252, 244, 0);
	border-radius: 50%;
	box-shadow: #000 0 -1px 7px 1px, inset #660 0 -1px 9px, #DD0 0 2px 12px;
}

.led-green {
	margin: 1px auto;
	width: 12px;
	height: 12px;
	background-color: #690;
	border-radius: 50%;
	box-shadow: #000 0 -1px 7px 1px, inset rgb(50, 196, 2) 0 -1px 9px, rgb(0, 221, 18) 0 2px 12px;
}

.led-blue {
	margin: 1px auto;
	width: 12px;
	height: 12px;
	background-color: #4AB;
	border-radius: 50%;
	box-shadow: #000 0 -1px 7px 1px, inset #006 0 -1px 9px, #06F 0 2px 14px;
}

.led-grey {
	margin: 1px auto;
	width: 12px;
	height: 12px;
	background-color: #C0C0C0;
	border-radius: 50%;
	box-shadow: #000 0 -1px 7px 1px, inset #9A9 0 -1px 9px, #969 0 2px 14px;
}

iframe {
	margin-left: 10px;
	margin-top: 10px;

}


button {
	margin-left: 0px;
	margin-top: 10px;
	border: thin solid rgba(0, 0, 0, .1);
	box-shadow: 0 .2em .4em rgba(0, 0, 0, .5); 
	color: white;
	text-shadow: 0 -.05em .05em rgba(0, 0, 0, .5); 
}

button.cancel {
  background-color: #c32e04;
}

button.ok {
  background-color: #5a9900;
}

button.admin {
  background-color: #b38104;
}


button:focus,
button:hover {
 	box-shadow: 0 .3em 0.6em rgba(0, 0, 0, .8);  
}

/* GLOBALS */

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.switch {
  margin: 40px auto;
  position: relative;
}

.switch label {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.switch input {
  top: 0; 
  right: 0; 
  bottom: 0; 
  left: 0;
  opacity: 0;
  z-index: 100;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}



/* Großer Schalter */

.switch.big {
  margin-left: 200px;
	margin-top: 0px;
  width: 130px;
  height: 30px;
}

.switch.big label {
  display: block;
  width: 100%;
  height: 100%;
  background: #a5a39d;
  border-radius: 40px;
  box-shadow:
      inset 0 3px 8px 1px rgba(0,0,0,0.2),
      0 1px 0 rgba(255,255,255,0.5);
}

.switch.big label:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -8px; right: -8px; bottom: -8px; left: -8px;
  border-radius: inherit;
  background: #ababab;
  background: linear-gradient(#f2f2f2, #ababab);
  box-shadow: 0 0 10px rgba(0,0,0,0.3),
        0 1px 1px rgba(0,0,0,0.25);
}

.switch.big label:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -18px; right: -18px; bottom: -18px; left: -18px;
  border-radius: inherit;
  background: #eee;
  background: linear-gradient(#e5e7e6, #eee);
  box-shadow:
      0 1px 0 rgba(255,255,255,0.5);
  filter: blur(1px);
}

.switch.big label i {
  display: block;
  height: 100%;
  width: 60%;
  border-radius: inherit;
  background: silver;
  position: absolute;
  z-index: 2;
  right: 40%;
  top: 0;
  background: #b2ac9e;
  background: linear-gradient(#f7f2f6, #b2ac9e);
  box-shadow:
      inset 0 1px 0 white,
      0 0 8px rgba(0,0,0,0.3),
      0 5px 5px rgba(0,0,0,0.2);
}

.switch.big label i:after {
  content: "";
  position: absolute;
  left: 15%;
  top: 25%;
  width: 70%;
  height: 50%;
  background: #d2cbc3;
  background: linear-gradient(#cbc7bc, #d2cbc3);
  border-radius: inherit;
}

.switch.big label i:before {
  content: "aus";
  text-transform: uppercase;
  font-style: normal;
  font-weight: bold;
	color: #000;
  text-shadow: 0 1px 0 #bcb8ae, 0 -1px 0 #97958e;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  position: absolute;
  top: 50%;
  margin-top: -6px;
  right: -50%;
}

.switch.big input:checked ~ label {
  background: #56b115;
}

.switch.big input:checked ~ label i {
  right: -1%;
}

.switch.big input:checked ~ label i:before {
  content: "ein";
  right: 115%;
	color: #000;
  text-shadow: 
    0 1px 0 #afcb9b,
    0 -1px 0 #6b8659;
}

input[type=text]  {
	font-family: inherit;
	border: 0; 
  background-color: inherit;
	padding-right: 0;
	color: black;
  text-align: inherit;
	font-size: inherit;
	width: 80px;
	}

	input[type=text] :focus {
  color: red;
  }

  .clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
  }
  
  .clearfix {
    display: inline-block;
  }