* { 
	padding:0;
	margin:0;}

	
html {
	background-color:gray;
}

body {
	width:100%;
	min-height: 100%;
	/*position:fixed;*/
	font-family: arial;
	color:#474747;
	margin:0;
	padding:0;
	background-color:gray;
	
}

.good, .bad {
	transform: *;
	-webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;	
	border-radius:3px;
	
	background-color:#27ab49;
	color: #9cff94;
	padding: 3px 9px;
}

.bad {
	background-color:#f04d00;
	color: #ffedc9; 
}

.bg {	
	width:100%; 
	height:110vh;
	display:table;
	/* For browsers that do not support gradients */
	background-color: gray;
	background: -webkit-linear-gradient(#e7e7e7, #c0c0c0) no-repeat fixed; /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#e7e7e7, #c0c0c0) no-repeat fixed; /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#e7e7e7, #c0c0c0) no-repeat fixed; /* For Firefox 3.6 to 15 */
	background: linear-gradient(#e7e7e7, #c0c0c0) no-repeat fixed; /* Standard syntax */
}

.simba {
	background: url(simba_light.png) 50% 50% no-repeat fixed;	
	width:100%;
	height:100%;
	display:table-cell;
} 

.ip_block {
	display:inline-block;
	margin:2px;
	border:1px solid green;
	border-radius:3px;
	color:green;	
	background-image: url(img/diagonal_acidgreen.gif);
	padding:2px;
}

.ip_block.fail {	
	color:red;
	border:1px solid red;
	background-image: url(img/diagonal_red.gif);
}

.wnd_box {	
	width:auto;
	height:auto;
	border:6px solid rgba(255,255,255,0.5);
	display:block;
	position:relative;
	border-radius:5px;
	margin:5px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.3);	
	background-color: rgba(200,200,200,0.7)
}

.group {	
	border:1px solid #b3b3b3;
	display:block;
	border-radius:5px;
	margin:5px 3px 3px 3px;
	padding: 3px;
}

.btn_area {
	text-align: center;
}
.wnd_face  {	
	padding:5px;
	background: #cfcfcf; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#e7e7e7, #cfcfcf); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#e7e7e7, #cfcfcf); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#e7e7e7, #cfcfcf); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#e7e7e7, #cfcfcf); /* Standard syntax */		
	height:100%;
	}

input {		
	border:2px solid #bcbcbc;		
	border-radius:3px;
	margin:1px;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	padding:2px;
	-webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

input:hover {
	border:2px solid rgba(255,219,187,0.5);	
}

input[type="text"]:focus,input[type="password"]:focus {
	border:2px solid rgba(255,223,194,1);		
	box-shadow: 0 5px 5px rgba(120,120,120,0.2), 0 3px 10px rgba(255,223,194,1);
	transform: translate(0,-2px);
	-webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.5s;
}	

input[type="button"],.ctrl {
	border-radius:3px;
	border:1px solid #b3b3b3;	
	padding: 2px 8px;
	cursor: pointer;
	background: gray; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#fff, #cfcfcf); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#fff, #cfcfcf); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#fff, #cfcfcf); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#fff, #cfcfcf); /* Standard syntax */
}

input[type="button"]:hover,.ctrl:hover {
	background: gray; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#fff, #e7e7e7); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#fff, #e7e7e7); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#fff, #e7e7e7); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#fff, #e7e7e7); /* Standard syntax */
}

input[type="button"]:active,.ctrl:active {
	transform: scale(1,0.9);
	background: white;
}

div[subsys]{
	display:block;
}

div[hide] {
	display:none;
}

span[action] {
	padding: 10px;
	display:block;
}

.modal {
	display:block;
}

#simplemodal-overlay {	
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.2);	
}

.temp_sensors  div {
display:inline-block;
}

.temp_sensors .good_sensor {
color:green;
}

.temp_sensors .bad_sensor {
color:red;
}

.temp_sensors div[class^='sensor_value'] {
	transform: *;
	-webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;	
	border-radius:3px;
	
	background-color:#27ab49;
	color: #9cff94;
	margin: 0 0 1px 0;
} 

.temp_sensors div.sensor_value_21 {
	background-color:#63ab27;
	color: #e8ff94;
}
.temp_sensors div.sensor_value_22 {
	background-color:#afce1b;
	color: #ffee9c;
}
.temp_sensors div.sensor_value_23 {
	background-color:#f09900;
	color: #ffedc9; 
}
.temp_sensors div.sensor_value_fail {
	background-color:#f04d00;
	color: #ffedc9; 
}


/* responsive compatible rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}



.container {
  margin: 0;

}

@media (min-width: 48em) {
  .container {
   
  }
}

@media (min-width: 75em) {
  .container {   
    max-width: 75em;
  }
}

.responsive-table {
  width: 100%;
  margin-bottom: 1.5em;
}

@media (min-width: 48em) {
  .responsive-table {
    font-size: .9em;
  } 
}

@media (min-width: 62em) {
  .responsive-table {
    font-size: 1em;
  }
}

.responsive-table thead {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

@media (min-width: 48em) {
  .responsive-table thead {
    position: relative;
    clip: auto;
    height: auto;
    width: auto;
    overflow: auto;
  }
}

.responsive-table thead th {
  background-color: #a6a6a6;
  border: 1px solid #a8a8a8;
  font-weight: normal;
  text-align: center;
  color: white;
}

.responsive-table thead th:first-of-type {
  text-align: left;
}

.responsive-table td[data-title] {
	display:inline-block;
	
} 
@media (min-width: 30em) {
	.responsive-table td[data-title] {
	display:table-cell;	
	}	 
	
}

.responsive-table tbody,
.responsive-table tr,
.responsive-table th,
.responsive-table td {
  display: block;
  padding: 0;
  text-align: left;
  white-space: normal;
}

@media (min-width: 48em) {
  .responsive-table tr {
    display: table-row;
  }
}

.responsive-table th,
.responsive-table td {
  padding: .5em;
  vertical-align: middle;
}

@media (min-width: 30em) {
  .responsive-table th,
  .responsive-table td {
    padding: .75em .5em;
  }
}

@media (min-width: 48em) {
  .responsive-table th,
  .responsive-table td {
    display: table-cell;
    padding: .5em;
  }
}

@media (min-width: 62em) {
  .responsive-table th,
  .responsive-table td {
    padding: .75em .5em;
  }
}

@media (min-width: 75em) {
  .responsive-table th,
  .responsive-table td {
    padding: .75em;
  }
}

.responsive-table caption {
  margin-bottom: 1em;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
}

@media (min-width: 48em) {
  .responsive-table caption {
    font-size: 1.5em;
  }
}

.responsive-table tfoot {
  font-size: .8em;
  font-style: italic;
}

@media (min-width: 62em) {
  .responsive-table tfoot {
    font-size: .9em;
  }
}

@media (min-width: 48em) {
  .responsive-table tbody {
    display: table-row-group;
  }
}

.responsive-table tbody tr {
  margin-bottom: 1px;
  border: 1px solid #a8a8a8;
  border-radius:4px;
  padding:1px;
}

@media (min-width: 48em) {
  .responsive-table tbody tr {
    display: table-row;
    border-width: 1px;
  }
}

.responsive-table tbody tr:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 48em) {
  .responsive-table tbody tr:nth-of-type(even) {
    background-color: rgba(94, 93, 82, 0.1);
  }
}

.responsive-table tbody th[scope="row"] {
  background-color: #c2c2c2;
  color: #5e5d52;
}

@media (min-width: 48em) {
  .responsive-table tbody th[scope="row"] {
    background-color: transparent;
    color: #5e5d52;
    text-align: left;
  }
}

.responsive-table tbody td {
  text-align: right;

 }

@media (min-width: 30em) {
  .responsive-table tbody td {
   /* border-bottom: 1px solid #1d96b2;*/
  }
}

@media (min-width: 48em) {
  .responsive-table tbody td {
   text-align: center;
  }
}

.responsive-table tbody td[data-type=currency] {
  text-align: right;
}

.responsive-table tbody td[data-title]:before {
  content: attr(data-title);
  /*float: left;*/
  font-size: .8em;
  color: rgba(94, 93, 82, 0.75);
  margin-right:5px;

}

@media (min-width: 30em) {
  .responsive-table tbody td[data-title]:before {
    font-size: .9em;
  }
   
}

@media (min-width: 48em) {
  .responsive-table tbody td[data-title]:before {
    content: none;
  }
}

table.lalign tbody td {
	text-align:left!important;
}
/* end of responsive compatible rules */




/* grey table start */
.grey_table  {
background: -webkit-linear-gradient(top, #f6f6f6, #eee);
margin:0;
padding:0;
}

.grey_table td {
/*background: #f6f6f6 url('img/grey_table_cell.gif') no-repeat;*/
background: -webkit-linear-gradient(top, #f6f6f6, #eee);
background:    -moz-linear-gradient(top, #f6f6f6, #eee);
background:     -ms-linear-gradient(top, #f6f6f6, #eee);
background:      -o-linear-gradient(top, #f6f6f6, #eee);
padding: 0 3px 0 3px;
cursor: pointer;
border:1px solid white; /*#ebebeb*/
border-radius: 4px;
-webkit-transition: border 0.5s;
-moz-transition: border 0.5s;
-ms-transition: border 0.5s;
-o-transition: border 0.5s;
transition: border 0.5s;
}

.grey_table tr:hover td , .grey_table  tr.green:hover td, .grey_table  tr.orange:hover td, .grey_table  tr.red:hover td, .grey_table  tr.violet:hover td, .grey_table  tr.blue:hover td, .grey_table tr.light td {
background: #fbfbfb;
color: #373737;
border-top: 1px solid #ffffff;
border-left: 1px solid #ffffff;
border:1px solid #ebebeb;
}

/* grey table variations */ 
	.grey_table  tr.green td {
	border: 1px solid #fafeff;	
	background: #f6fff5 url('img/grey_table_cell_green.gif') no-repeat;
	color: #41763b;	
	}	
	
	.grey_table  tr.green:hover td  {
	background: -moz-linear-gradient(top, white, #b5eda7);
	background: -ms-linear-gradient(top, white, #b5eda7);
	background: -o-linear-gradient(top, white, #b5eda7);
	background-color: #def5d8;
	color: #48c029;
	border: 1px solid #baeeae;
	transition: all 0.2s;
	background-image: linear-gradient(to bottom, #fafeff 60%, #eaffe2 100%);
	-webkit-box-shadow: 0 0 10px #fafeff;
	box-shadow: 0 0 10px #fafeff;
	}	

	.grey_table  tr.orange td {
	border-top: 1px solid #ffe7c6;
	border-left: 1px solid #ffe7c6;
	background: #fff2e8 url('img/grey_table_cell_orange.gif') no-repeat;
	color: #7d4f25;
	background-color: linear-gradient(to bottom, #fafeff 60%, #eaffe2 100%);
	}

	.grey_table  tr.red td {
	border-top: 1px solid #ffdfe2;
	border-left: 1px solid #ffdfe2;
	background: #fff5f6 url('img/grey_table_cell_red.gif') no-repeat;
	color: #90323b;
	}		

	.grey_table  tr.violet td {
	border-top: 1px solid #f4e2fe;
	border-left: 1px solid #f4e2fe;
	background: #f8f5ff url('img/grey_table_cell_violet.gif') no-repeat;
	color: #5e4778;
	}

	.grey_table tr.red:hover td {
	border: 1px solid #eeeaae;			
	background: -moz-linear-gradient(top, white, #fffde3);
	background: -ms-linear-gradient(top, white, #fffde3);
	background: -o-linear-gradient(top, white, #fffde3);	
	background: -webkit-linear-gradient(top, white, #fffde3);
	

	/*background-color: #fffde3;*/
	color: #a15a31;
	border: 1px solid #eeecae;
	transition: all 0.2s;
	/*background-image: linear-gradient(to bottom, #fafeff 60%, #eaffe2 100%);*/
	-webkit-box-shadow: 0 0 10px #fafeff;
	box-shadow: 0 0 10px #fafeff;
	}
	
	.grey_table  tr.blue td  {
	border-top: 1px solid #dae1ff;
	border-left: 1px solid #dae1ff;
	background: #f5f7ff url('img/grey_table_cell_violet.gif') no-repeat;
	color: #4e5c93;
	}
	
		/* .grey_table  tr.selected td {	
		border-top: 1px solid #fbccff;
		border-left: 1px solid #fbccff; 
		background: #f6fff5 url('img/diagonal_purplepink.gif');
		color: #917cce;
		}
		
		.grey_table  tr.selected:hover td  {
		border-top: 1px solid #ffffe3;
		border-left: 1px solid #ffffe3;
		background: #f6fff5 url('img/diagonal_orange.gif');
		color: #fe7723;
		} */
		
		
/* links inside tr variations	*/	
.grey_table td.green a {
color: #008f07;
}

.grey_table td.green a:hover {
color: #00bb16;
}

		
.grey_table th  {
background: #f2f2f2 url('img/grey_table_header.gif') repeat-x;
border-left: 1px solid #f9f9f9;
border-top: 1px solid #f9f9f9;
font-size:1em;
font-weight:normal;
color: #3e3e3e;
}	


.responsive-table tbody td[data-title].bad::before {
	color: #ffedc9;
}
.responsive-table tbody td[data-title].good::before {
	color: #9cff94;
}	
