/* Global default HTML overrides */
body {
  font-family: arial, helvetica;
  font-size: 80%;
  margin: 0;
  padding: 10px;
  background-color: #CCFF7F;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#CCFF7F');
  background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CCFF7F)) fixed;
  background: -moz-linear-gradient(top,  #FFFFFF,  #CCFF7F) fixed;
  background: -ms-linear-gradient(top,  #FFFFFF,  #CCFF7F) fixed;
  background: linear-gradient(top,  #FFFFFF,  #CCFF7F) fixed;
}
form {
  margin: 0;
  padding: 0;
}
table {
  font-size: inherit;
}
input, select {
  font-size: inherit;
}
input[type="submit"], input[type="reset"], button {
  font-size: 80%;
}
input.small, select.small {
  font-size: 80%;
}
input[type="text"], input[type="password"], input[type="email"], select {
  border: 1px solid #000;
  color: #000;
  background-color: #FFF;
  /*width: 80%;*/
}
input[type="text"], input[type="password"], input[type="email"] {
  padding: 0px 2px;
}
input:disabled
{
  border: 1px solid #888;
  color: #888;
  cursor: default;
}
img {
  border: none;
}

/* Colors */
.extralight {
  color: #F0FFD9;
}
.light {
  color: #7FC31C;
}
.dark {
  color: #000;
}
.extralight_bg {
  background-color: #FFF;
}
.light_bg {
  background-color: #E0FFB2;
}
.semidark_bg {
  background-color: #548012;
}
.dark_bg {
  background-color: #213307;
}

/* ... */
.disabled {
  color: #888;
  cursor: default;
}
.outer {
  margin: auto; /* To center the block */
  max-width: 970px;
}
.outer_frame {
/*
  border-radius: 8px;
  border-top-left-radius: 0;
  -webkit-border-radius: 8px;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius: 8px;
  -moz-border-radius-topleft: 0;
  margin: 0;
  padding: 9px;
*/
}
.inner_frame {
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  padding: 10px 15px;
  margin: 10px 0px;
	-moz-box-shadow: 1px 1px 8px #548012;
	-webkit-box-shadow: 1px 1px 8px #548012;
	box-shadow: 1px 1px 8px #548012
}
.topbutton {
  color: #000;
  font-size: 140%;
  font-weight: bold;
  text-decoration: none;
  margin: 0;
  margin-right: 5px;
  padding: 5px 15px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
}
a.topbutton:hover {
	-moz-box-shadow: 0px 0px 4px #548012;
	-webkit-box-shadow: 0px 0px 4px #548012;
	box-shadow: 0px 0px 4px #548012;
}
a.tb_selected:hover {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.topmenu {
  display: inline-block;
  color: #000;
  margin-right: 5px;
  padding: 2px 15px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
}
.topmenu:hover {
	-moz-box-shadow: 0px 0px 4px #548012;
	-webkit-box-shadow: 0px 0px 4px #548012;
	box-shadow: 0px 0px 4px #548012;
}

.toplabel {
  font-size: 140%;
  font-weight: bold;
  text-decoration: none;
  margin: 0;
  margin-right: 5px;
  margin-bottom: 10px;
  padding: 5px 15px 1px 15px;
  border-bottom: 1px solid #000;
}
/*
.outer_frame .toplabel {
  display: block;
  font-size: 120%;
  margin: 0;
  margin-top: 10px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  -webkit-border-top-left-radius: 6px;
  -webkit-border-top-right-radius: 6px;
  -moz-border-radius-topleft: 6px;
  -moz-border-radius-topright: 6px;
	-moz-box-shadow: 1px 1px 8px #000;
	-webkit-box-shadow: 1px 1px 8px #000;
	box-shadow: 1px 1px 8px #000;
}
*/

/* Generic classes */
.group {
  margin: 10px;
}
.numeric {
  text-align: right;
}
.gray {
  color: gray;
}
.float {
  position: absolute;
  visibility: hidden;
  font-weight: normal;
  color: #000;
  background-color: #FFD;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
	-moz-box-shadow: 1px 1px 8px #548012;
	-webkit-box-shadow: 1px 1px 8px #548012;
	box-shadow: 1px 1px 8px #548012;
}
.center {
  text-align: center;
}
.error {
  font-weight: bold;
  color: red;
  background-color: white;
  border: 2px solid red;
  padding: 6px;
  margin: 6px;
}
.nobreak {
  white-space: nowrap;
}
.help {
  margin-top: -5px;
  margin-left: 20px;
}
.edit_btn {
  text-align: right;
  margin-right: 10px;
}
.edit_link {
  text-align: right;
}
.back_link {
  margin-top: 15px;
  height: 28px;
}
.back_link a {
  text-decoration: none;
}
.back_link a span {
  position: relative;
  right: 40px;
  top: 0px;
  color: #FFF;
  font-weight: bold;
  vertical-align: top;
}
.min_width {
  width: 1px;
}
.add_new {
  text-align: center;
}

/* Function list */
.functions {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}
.function_block {
  display: inline-block;
  margin: 4px 2px;
  color: #000;
  background-color: #CCFF7F;
  text-align: center;
  vertical-align: top;
  text-decoration: none;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCFF7F', endColorstr='#EBFFCC');
  background: -webkit-gradient(linear, left top, left bottom, from(#CCFF7F), to(#EBFFCC));
  background: -moz-linear-gradient(top,  #CCFF7F,  #EBFFCC);
  border: 1px solid #548012;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}
.function_block:hover {
  -moz-box-shadow: 0px 0px 4px #548012;
  -webkit-box-shadow: 0px 0px 4px #548012;
  box-shadow: 0px 0px 4px #548012;
}
.function_block a {
  color: inherit;
  text-decoration: none;
}
.function_block a:hover {
  color: inherit;
  text-decoration: none;
}
.function_block .name {
  display: block;
  /*width: 6.8em;*/
  width: 120px;
  font-size: 130%;
  padding: 0.5em 0.3em 0 0.3em;
  height: 2.5em;
}
.function_block .value {
  display: block;
  height: 1.5em;
  padding: 0.2em;
  overflow: hidden;
  opacity: 1;
}

/* Settings table */
table.settings {
  width: 100%;
  border: 1px solid #000;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  padding: 2px;
  white-space: nowrap;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCFF7F', endColorstr='#E0FFB2');
  background: -webkit-gradient(linear, left top, left bottom, from(#CCFF7F), to(#E0FFB2));
  background: -moz-linear-gradient(top,  #CCFF7F,  #E0FFB2);
}
table.settings caption {
  font-size: 110%;
  font-weight: bold;
  text-align: left;
  padding: 2px 1em;
  margin: 0px;
  margin-top: 10px;
}
table.settings tr.spacer td {
  border-bottom: 1px solid #548012;
}
table.settings th {
  text-align: left;
}
table.settings table.settings {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border: none;
  border-top: 1px solid #366
}

/* Outputs */
.outputs table.send, .outputs table.schedule {
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  min-width: 300px;
}
.outputs table.send td.cmd {
  width: 9em;
  height: 5em;
  font-size: 120%;
  font-weight: bold;
  padding: 0 0.8em;
}
.outputs table.send input[type=submit] {
  width: 100%;
  height: 100%;
  font-size: inherit;
  font-weight: inherit;
  border: 1px solid #548012;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCFF7F', endColorstr='#E0FFB2');
  background: -webkit-gradient(linear, left top, left bottom, from(#CCFF7F), to(#E0FFB2));
  background: -moz-linear-gradient(top,  #CCFF7F,  #E0FFB2);
}
.outputs table.send input[type=submit]:hover {
	-moz-box-shadow: 0px 0px 4px #548012;
	-webkit-box-shadow: 0px 0px 4px #548012;
	box-shadow: 0px 0px 4px #548012;
}
.outputs table.send caption, .outputs table.schedule caption {
  font-size: 110%;
  border-bottom: 1px solid #548012;
  font-weight: bold;
}

/* Input data list */
.inputs table {
  margin: 8px;
  padding: 4px;
  margin-left: auto;
  margin-right: auto;
  min-width: 748px;
  background-color: #FFF;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
	-moz-box-shadow: 1px 1px 8px #548012;
	-webkit-box-shadow: 1px 1px 8px #548012;
	box-shadow: 1px 1px 8px #548012;
}
.inputs td, .inputs th {
  padding: 2px 1em;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}
.inputs th {
  color: #FFF;
  background-color: #548012;
}
.inputs .in td.msg_type {
  text-align: center;
}
.inputs .in td.msg {
}
.inputs .out td.msg {
  font-style: italic;
  color: #666;
}
.inputs .pend td {
  color: #888;
}
.inputs .pend td.msg {
  font-style: italic;
}

/* Graph images */
.graph {
/*  text-align: center;*/
}
.graph_box {
  margin: 8px auto;
  background-image: url('wait.png');
  background-repeat: no-repeat;
  background-position: center center;
  color: #000;
  /*background-color: #9CC;*/
  background-color: #FFF;
  border: 4px solid #FFF;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
	-moz-box-shadow: 1px 1px 8px #548012;
	-webkit-box-shadow: 1px 1px 8px #548012;
	box-shadow: 1px 1px 8px #548012;
}
.graph img {
  margin: 0px;
}
.graph_btns {
  text-align: center;
}

/* Graph setup */
.adv_info {
  text-align: left;
}
.adv_info .float {
  margin-top: -5px;
  margin-left: 10px;
}
.adv_info table th {
  text-align: right;
}

/* Calendar */
#calendar {
  padding: 0;
  border: 1px solid #9CC;
  position: absolute;
  visibility: hidden;
  font-size: 100%;
  color: #000;
  background-color: #FFF;
}
#calendar table {
  /*width: 14em;*/
  text-align: center;
}
#calendar table td {
  width: 2em;
  cursor: pointer;
}
#calendar table td.cal_sun {
  background-color: #FBB;
}
#calendar table td:hover {
  background-color: #9CC;
}

/* Print */
@media print {
  .noprint {
    display: none;
  }
}

