body {
	font-family: Verdana, Arial, sans-serif;
	background: #ffffff;
	margin: 0px auto;
	padding: 0 0 20px 0;
}

#page {
   width: 760px;
	border: 1px solid #006699;
	background: #fff;
	border-top: 0;
	padding: 20px;
	font-size: 10pt;
   margin: 0px auto;
}

#page td {
	font-size: 10pt;
}

#title {
	background: #222;
	padding: 4px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 15px;
	height: 16px;
}

#title .right {
	float: right;
	width: 300px;
	text-align: right;
}

#menu {
	float: left;
	width: 150px;
	padding-right: 20px;
   position:fixed;
}

#menu a {
	width: 140px;
	display: block;
	background: #222;
	color: white;
	padding: 8px;
	font-weight: bold;
	border-bottom: 1px solid #fff;
	text-decoration: none;
}

#menu a:hover {
	background: #006699;
}

.tcon {
   border:1px solid #669CCC;
   padding-bottom:15px;
   width:100%;
   margin-bottom:3px;
   
}

.tabf {
   padding-bottom:0px;
   margin-top:2px;
   margin-bottom:0px;
   display:table;
   
}

.tabf div {
   padding-bottom: 5px;
   padding-right: 8px;
   padding-left: 8px;
   font-weight: bold;
   margin-left: 5px;
   padding-top: 5px;
   color: #000;
   float: left;
}


.tabon, .taboff, .expand {
   border-bottom-color: #669CCC;
   border-right-color: #669CCC;
   background-position: bottom;
   border-left-color: #669CCC;
   border-bottom-style: solid;
   background-color: #EFEFEF;
   border-right-style: solid;
   border-top-color: #669CCC;
   border-left-style: solid;
   border-bottom-width: 0px;
   border-right-width: 1px;
   border-top-style: solid;
   border-left-width: 1px;
   border-top-width: 1px;
   padding: 1px 1px 1px 1px;
   cursor: pointer;
}

.tabon {
   background-color: #BBB;
}


#content {
	width: 550px;
   min-height:330px;
	float: right;
	padding-right: 10px;
}

#content a {
	color: #c00;
	text-decoration: none;
}

#content a:hover {
	color: #d33;
	text-decoration: underline;
}

#content h1 {
	margin-top: 0px;
}

.spacer {
	clear: both;
}

#footer {
	font-size: 0.8em;
	color: #666;
	text-align: center;
	margin: 10px 50px 0 50px;
	padding-top: 10px;
	border-top: 1px dotted #666;
}

#status {
	padding: 10px;
	margin: 10px;
	border: 1px dotted #666;
	font-weight: bold;
}

#status p {
	padding: 5px 0 5px 10px;
	text-indent: -10px;
	margin: 0;
}

#status .relays {
	font-size: 14pt;
}

#status .relays a {
	color: #ddd;
	cursor: pointer;
}

#status .relays a:hover {
	color: #ddd;
	text-decoration: none;
}


#status .rele a {
   background-color: #99FFFF;
   cursor: pointer;
   text-decoration: none;
   border: 1px solid #000;
   color: #000;
}

#status .rele a:hover {
   background-color: #0066CC;
   text-decoration: none;
   border: 1px double #000;
   color: #000;
}


.configbox {
	margin:10px 40px 10px 40px;
	padding: 8px;
	border: 1px dotted #333;
	text-align:center;
	background:#ddd;
}

.code {
	font-family: Courier New, Courier, fixed-width, fixed;
}

.exercise {
	background: #fe9;
	padding: 5px;
	margin-left: 10px;
	border-left: 2px solid #eb3;
}

.error {
	margin-left: 10px;
	padding: 10px;
	background: #fdd;
	border-left: 2px solid #900;
}

#content h6 {
	border-top: 1px dashed #333;
	margin: 15px;
	padding: 0px;
	height: 1px;
}

form fieldset {
	margin:10px 40px 10px 40px;
	padding: 8px;
	border: 1px dotted #333;
	background:#ddd;
}

form fieldset div {
	padding: 2px 0px 2px 150px;
}

fieldset div label {
	margin-left: -150px;
	padding-top: 2px;
	width: 145px;
	font-weight: bold;
	position: absolute;
}

fieldset input {
	width: 250px;
}

fieldset input.num {
   width: 125px;
}

fieldset input.sm {
	width: auto;
}

fieldset textarea {
	width: 250px;
}

.ress
{
	padding: 12px;
	border: 2px solid #3366ff;
	text-align: center;
	font-weight: bold;
	background: #cceeff;
   top:10px;
   width: 128px;
}

	.ok {
		border-color: #6b6;
		background: #efe;
	}
	
	.fail {
		border-color: #b66;
		background: #fee;
	}
	
	.unk {
		border-color: #cc6;
		background: #ffd;
	}



.domoB {
   -moz-border-radius:10px;
   -webkit-border-radius:10px;
   border-radius:10px;
   display:inline-block;
   font-family:arial;
   font-size:15px;
   font-weight:bold;
   padding:7px 23px;
   margin: 2px;
   text-decoration:none;
}

.pressB:active {
   position:relative;
   top:3px;
   left:1px;
}

.deactiveB {
   background-color:#d9d5d9;
   -moz-border-radius:10px;
   -webkit-border-radius:10px;
   border-radius:10px;
   display:inline-block;
   color:#adadad;
   font-family:arial;
   font-size:15px;
   font-weight:bold;
   padding:7px 23px;
   text-decoration:none;
   margin: 2px;
}

.greenB {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ced9d7), color-stop(1, #22ba1a) );
   background:-moz-linear-gradient( center top, #ced9d7 5%, #22ba1a 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ced9d7', endColorstr='#22ba1a');
   background-color:#ced9d7;
   border:2px solid #a89ea8;
   color:#232d57;
}

.greenO:hover {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #22ba1a), color-stop(1, #ced9d7) );
   background:-moz-linear-gradient( center top, #22ba1a 5%, #ced9d7 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#22ba1a', endColorstr='#ced9d7');
   background-color:#22ba1a;
}

.redB {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #d1c6c6), color-stop(1, #ff1414) );
   background:-moz-linear-gradient( center top, #d1c6c6 5%, #ff1414 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d1c6c6', endColorstr='#ff1414');
   background-color:#d1c6c6;
   border:2px solid #a89ea8;
   color:#3b1537;
}

.redO:hover {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ff1414), color-stop(1, #d1c6c6) );
   background:-moz-linear-gradient( center top, #ff1414 5%, #d1c6c6 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1414', endColorstr='#d1c6c6');
   background-color:#ff1414;
}

.grayB {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
   background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
   background-color:#ededed;
   border:2px solid #a89ea8;
   color:#2e54b3;
}

.grayO:hover {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
   background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
   background-color:#dfdfdf;
}

.blueB {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #c3d1e3), color-stop(1, #3058db) );
   background:-moz-linear-gradient( center top, #c3d1e3 5%, #3058db 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c3d1e3', endColorstr='#3058db');
   background-color:#c3d1e3;
   border:2px solid #c4bec4;
   color:#030408;
}

.blueO:hover {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3058db), color-stop(1, #c3d1e3) );
   background:-moz-linear-gradient( center top, #3058db 5%, #c3d1e3 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3058db', endColorstr='#c3d1e3');
   background-color:#3058db;
}


.yellowB {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfe3c3), color-stop(1, #c8d600) );
   background:-moz-linear-gradient( center top, #dfe3c3 5%, #c8d600 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfe3c3', endColorstr='#c8d600');
   background-color:#dfe3c3;
   border:2px solid #c4bec4;
   color:#20399e;
}

.yellowO:hover {
   background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #c8d600), color-stop(1, #dfe3c3) );
   background:-moz-linear-gradient( center top, #c8d600 5%, #dfe3c3 100% );
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c8d600', endColorstr='#dfe3c3');
   background-color:#c8d600;
}

