* {
	margin: 0;
}
html, body {
	font-size: 110%;
	font-family: Arial, Helvetica, sans-serif;
	background-color: white; 
}

@media screen and (max-width: 64em) {
h1 {
    font-size: 2.5em;
  }
}

@media screen and (max-width: 50em) {
h1 {
    font-size: 2em;
  }
}

@media screen and (max-width: 30em){
h1 {
    font-sitze: 1.5em;
  }
}

.ui-draggable, .ui-droppable {
	background-position: top;
}

table {
	border-collapse: collapse;
	font-family: arial;
	font-size: 110%;
}
th {
	font-weight: bold;
	border: 1px solid #ccc; 
	text-align: left; 
   }
   
td {
	padding: 12px 12px 12px 12px; 
	border: 1px solid #ccc; 
	text-align: left; 
}

.childheader{
	font-weight: bold;
	width: 20%;
	border: 1px solid #ccc; 
	text-align: center; 
	background-color: #E6E6E6;
   }

.IO_box {
	width: 290px;
	height: 500px;
	background-color: white;
	float: left;
	margin: 10px 0px 10px 25px;
	padding: 0;
	border: 0px solid blue;
	border-radius:13px;
}

.switch_box {
	width: 100%;
	height: 200px;
	background-color: white;
	float: left;
	margin: 10px 0px 10px 25px;
	padding: 0;
	border: 0px solid blue;
	border-radius:13px;
}			

.redbuttonbox {
	margin: 55px 22px 0 22px;
}
h1 {		
	background-color:black;
	text-align:center;
	font-size: 120%;
	font:"Courier New", Courier, monospace;
	color: white;
	padding: 0px 0 7px 0;			
}
h2 {
	text-align: center;
	font-size: 150%;
	background-color:#24819B; 
	border-radius:10px 10px 0px 0px;
	padding: 13px 0 13px 0;
	color: White;
	margin: 0 0 1px 0;
}
h3 {
	text-align: center;
	font-size: 180%;
	background-color:#F94E33;
	border-radius:10px 10px 0px 0px;
	padding: 23px 0 23px 0;
	color: White;
	margin: 0 0 10px 0;
}
p, form, button {
	font-size: 80%;
	color: #252525;
}
.StatusField {
	font-size: 120%;
	width: 90%;
	margin: 12px 0 0px 7px;		
	padding: 6px;
}	
.SwitchesField {
	float: left;
	font-size: 120%;
	margin: 12px 0 0px 7px;
	padding: 6px;
}					
.SignalField {
	width:204px;
	margin: 12px 0 0px 7px;	
	padding: 6px;				
}		
.FieldLabelText {
	color: grey;
	font-size: 150%;
}


<!---->
.gaugestyle1 {
	width: 390; 
	height=390;
	padding: 5px 0 0 5px;
	float:left;
}

.gaugestyle2 {
	width: 390; 
	height=390;
	padding: 0 5px 5px 0;
	float:left;
}

.analog{
	float: right;
	font-size: 1%;
	color:white;
}
			


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

input[type=text] {
	font-size: 120%;
    width: 70px;
    padding: 5px 5px;
    margin: 8px 0;
    box-sizing: border-box;
}	
	
.myButton {
	background-color:#44c767;
	-moz-border-radius:19px;
	-webkit-border-radius:19px;
	border-radius:19px;
	border:1px solid #18ab29;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:9px 31px;
	text-decoration:none;
	text-shadow:0px 1px 0px #2f6627;
}
.myButton:hover {
	background-color:#5cbf2a;
}
.myButton:active {
	position:relative;
	top:1px;
}

.myButton:disabled {
	background-color:lightgrey;
	position:relative;
	top:1px;
}

#custom-handle {
    width: 3em;
    height: 1.6em;
    top: 50%;
    margin-top: -.8em;
    text-align: center;
    line-height: 1.6em;
  }

.amppositiv{
	background-color: white;
	color: black;
}  
  
.ampnegativ{
	background-color: red;
	color: white;
}  
  

/* Login-Form ..  Mask for background, by default is not display */
/** modal window styles **/
#lean_overlay {
    position: fixed;
    z-index:100;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #000;
    display: none;
}
 
#loginmodal {
  width: 300px;
  padding: 15px 20px;
  background: #f3f6fa;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
 
#loginform { /* no default styles */ }
 
#loginform label { display: block; font-size: 1.1em; font-weight: bold; color: #7c8291; margin-bottom: 3px; }
 
.txtfield { 
  display: block;
  width: 100%;
  padding: 6px 5px;
  margin-bottom: 15px;
  font-family: 'Helvetica Neue', Helvetica, Verdana, sans-serif;
  color: #7988a3;
  font-size: 1.4em;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
  background-color: #fff;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#edf3f9), to(#fff));
  background-image: -webkit-linear-gradient(top, #edf3f9, #fff);
  background-image: -moz-linear-gradient(top, #edf3f9, #fff);
  background-image: -ms-linear-gradient(top, #edf3f9, #fff);
  background-image: -o-linear-gradient(top, #edf3f9, #fff);
  background-image: linear-gradient(top, #edf3f9, #fff);
  border: 1px solid;
  border-color: #abbce8 #c3cae0 #b9c8ef;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.4);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.4);
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
 
.txtfield:focus {
  outline: none;
  color: #525864;
  border-color: #84c0ee;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), 0 0 7px #96c7ec;
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), 0 0 7px #96c7ec;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), 0 0 7px #96c7ec;
}


label {
display: inline-block;
width: 5em;
}
  

/* CHARTJS */  

.chart-container {
	width:  80%;
	height: 480px;
	margin: 0 0 70px 0;
}

.pie-chart-container {
	width : 360px;
	height : 360px;
	float : left;
}

.chart-text-container {
	font-size: 1.4em;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
	width:  80%;
	height: 100px;
	margin: 0 0 70px 0;
}


.graphtable {
	font-family: arial;
	font-size: 110%;
	width: 800px;
}
.graphtable th {
	font-weight: bold;
	border: 1px solid #ccc; 
	text-align: center; 
   }
   
.graphtable td {
	padding: 1px 1px 1px 1px; 
	border: 1px solid #ccc; 
}
