/*************************************************
*
* CSS reset rules
*
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
* http://cssreset.com
*
*************************************************/
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/*************************************************
*
* List
*
*
*************************************************/
ol, ul {
  list-style: none;
}


/*************************************************
*
* Link
*
*************************************************/
a:link,
a:visited,
input[type=button],
input[type=submit]
{
  text-decoration:none;
  -webkit-transition:all .3s ease;
  -moz-transition:all .3s ease;
  -o-transition:all .3s ease;
  transition:all .3s ease;
}

a:hover
{
    text-decoration: none;
    cursor: pointer;
}


/****************************************
*
* font
*
****************************************/
body
{
    font-family: 'Roboto Condensed', sans-serif;
}

body
{
    font-size: 16px;
}

h1
{
  font-size:1.8em
}

h2
{
  font-size: 1.4em;
}

h3
{
  font-size: 1.2em;
}

title
{
  text-transform: capitalize;
}


/****************************************
*
* colors
*
****************************************/
body
{
  color:#444444;
}

a:hover,
a:visited
{
  color: #444444;
}

a:hover
{
  color: #007191;
}

#head
{
  background-color: #143880;
  color:  #f9f9f9;
}

#content
{
  padding-top: 10px;
}

form input[type=text],
form input[type=password],
form input[type=date],
form select
{
  /*outline: none;*/
  outline: 1px solid #DADADA;
}

form input[type=submit],
form input[type=button],
.form a,
a.submit
{
  background:#0054a6;
  color: #FFFFFF;
  cursor: pointer;
}

form input[type=submit]:hover,
form input[type=button]:hover,
.form a:hover,
a.submit:hover
{
  background: #012562;
}

form input[type=submit].cancel
{
  background-color: #999999;
  color: #FFFFFF;
  cursor: pointer;
}

form input[type=submit].cancel:hover
{
  background-color: #444444;
}

form input[type=submit].on
{
  background: #00FF00;
}

form input[type=submit].off
{
  background: #FF0000;
}

form input[type=submit].auto
{
  background: #00B0E1;
}

form input[type=submit].manual
{
  background: orange;
}

form input[type=submit].disabled,
form input[type=checkbox].disabled
{
  background-color: lightgray;
  cursor: not-allowed;
}

.led,
.widget
{
  background: #FAFAFA;
  border: 1px solid #CCCCCC;
}  

.on
{
  background-color: greenyellow; 
}

.enabled
{
  background-color: #00B0E1;
}

.disabled
{
  text-decoration-line: line-through;
}

.off
{
  background-color: #DDDDDD;
  color: #999999;
}

.terminal
{
  color: #FFFFFF;
  background-color: #000000;
}

.port
{
  color: greenyellow;
  background-color: darkgreen;
  border: 1px solid green;
}

.error
{
  color: red;
}

.warning
{
  color: orange;
}

.info
{
  color: green;
}

.debug
{
  color: grey
}

.critical
{
  color: blue
}



/****************************************
*
* leds
*
****************************************/
span.led
{
  display: inline-block;
  box-sizing: content-box;
  border-radius: 3px;
  text-align: center;
  width: auto;
  margin: 0;
}


span.led svg
{ 
  vertical-align: top;
  height: 20px;
  width: 20px;
}

span.led>svg circle
{
  cx: 10px; 
  cy: 10px;
  r: 10px;
}

span.on>svg circle
{
  fill: greenyellow;  
}

span.enabled>svg circle
{
  fill: #00B0E1;
}

span.disabled>svg circle,
span.off>svg circle
{
  fill: #DDDDDD;
}

/****************************************
*
* form
*
****************************************/
form
{
  display: inline-block;
  width: auto;
  padding: 0;
  margin: 0;
}

form h1 
{
  margin: 0 0 20px 0;
}

form input,
form select,
form label,
form text,
form date,
a.submit
{
  display: block;
  box-sizing: border-box;
  border-radius: 3px;
  border: 0;
  width: 100%;
  margin-bottom: 10px;
  height: 30px;
}

form label,
a.submit
{
  line-height: 30px;
  margin-right: 20px;
}

form input[type=checkbox]
{
  width: 15px;
}

form input[type=submit],
.form a,
a.submit
{
  font-weight: 700;
}

form label.message
{
  opacity: 100;
  line-height: 30px;
  padding-left: 5px;
}

.form a,
a.submit
{
  text-align: center;
}

a.nav
{
  width:60px;
}

form.inline
{
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

form.inline input,
form.inline select,
form.inline label,
form.inline text,
form.inline date
{
  display: inline-block;
  width: auto;
  margin: 0
}

form.inline input
{
  margin: 0 2px 0 15px
}

/*************************************************
*
* page element style
*
*************************************************/
h1
{
  display: block;
  margin: 20px 0 20px 0;
}

h2
{
  display: block;
  margin: 20px 0 10px 0;
}

h3
{
  display: block;
  padding:10px;
}

#overlay
{
  visibility: hidden;
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #000000;
  opacity: .3;
  z-index: 100;
}

#container
{
  width:100%;
  padding:0;
  text-align: center;
}

#head
{
  text-align: center;
  padding-bottom: 1px;
}

#content
{
  display: inline-block;
  width: 90%;
}

#logo
{
  display: inline-block;
  width:90%;
  text-align: left;
}

#logo .logo
{
    height:80px;
}

#title
{
  text-align: left;
}

#title>h1
{
  text-transform: capitalize;
}

#clock
{
  display: inline-block;
  box-sizing: border-box;
  width: 50%;
  text-align: right;
  padding:10px;
}

#bar
{
  display: inline-block;
  text-align: center;
  font-size: 0;
  width: 90%;
}

#bar div
{
  font-size: 16px;
}

.widget
{
  box-sizing: border-box;
  padding: 10px;
  border-radius: 3px;
}

.align-left
{
  text-align: left;
}

div.grid
{
  display: grid;
  row-gap: 0;
  column-gap: 0;
}

div.grid>span
{
  padding: 1px 20px 3px 20px;
}

div.grid>span,
div.grid input,
div.grid select
{
  line-height: 30px;
  height: 30px;
}

.modal
{
  display: none;
}


/****************************************
*
* main-menu
*
****************************************/
#main-menu
{
  display: inline-block;
  box-sizing: border-box;
  width: 50%;
  vertical-align: bottom;
}

#main-menu li,
#main-menu ul ul
{
  width: 100px
}

#main-menu ul li
{
  float: left;
  box-sizing: border-box;
  border-bottom: 3px solid #143880;
}

#main-menu>ul>li:hover,
#main-menu>ul:hover>li.active:hover
{
  border-bottom: 2px solid #fff;
}

#main-menu>ul:hover>li.active
{
  border-bottom: 3px solid #143880;
}

#main-menu>ul>li:hover li
{
  display: block
}

#main-menu>ul li.active
{
  border-bottom: 3px solid #fff;
}

#main-menu a
{
  box-sizing: border-box;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  display:block;
  text-align: center;
  padding: 5px;
  color: #FFFFFF;
}

#main-menu ul ul a
{
  text-transform:capitalize;
  text-align: left;
  font-weight: normal;
  background-color: #143880;
  padding: 5px;
}

#main-menu ul ul a:hover
{
  text-decoration: underline
}

#main-menu ul li ul
{
  background-color:#143880;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  display: none;
  margin-top: 3px;
}

#main-menu ul li:hover ul
{
  visibility: visible;
  opacity: 1;
  display: block;
}

#main-menu ul li ul li
{
  clear: both;
  width: 100%;
}


/****************************************
*
* board.html
*
****************************************/
ul#board
{
  display: block;
  width: auto;
}

ul#board li
{
  display: block;
  width: auto;
  margin-bottom: 10px;
}

ul#board li>div:nth-child(1)>span:nth-child(1)
{
  text-transform: uppercase;
  font-weight: 700;
}

ul#board li>div:nth-child(2)
{
  margin-top: 20px;
}

div#port>span:nth-child(n-1)
{
  margin-right: 10px;
}

div#port span.led
{
  line-height: 30px;
  padding: 0 3px 0 3px;
}

div#ch
{
  grid-template-columns: 100px 150px 150px 180px 180px 80px 80px max-content;
}

div#ch>span:nth-child(n+9)
{
  border-top: 1px solid #CCCCCC;
}

div#ch>span:nth-child(-n+8)
{
  font-weight: 700;
  text-transform: capitalize;
}

div#ch span:nth-of-type(8n+10)
{
  text-transform: capitalize;
}

div#ch span:nth-of-type(8n+13)
{
  text-transform: capitalize;
}

div#ch span.led
{
  width: 100%;
  text-transform: uppercase;
  font-weight: 700;
}

div#ch input[type=button]
{
  width: 60px
}

/****************************************
*
* port.html
*
****************************************/
div#port select,
div#port input[type="text"],
div#port input[type="submit"]
{
  width:150px;
  margin:0 0 10px 0;
  padding:0;
  height: auto;
}

div#port select,
div#port input[type="text"],
div#port input[type="submit"]
{
  height: 30px;
}

div#port label
{
  width:auto;
  margin:0 0 1px 0;
  padding:0;
  height: auto;
}

/****************************************
*
* data.html
*
****************************************/
ul.table li
{
  box-sizing: border-box;
  font-size: 0;
}

ul.table li:nth-child(1)
{
  text-transform: uppercase;
  font-weight: bold;
}

ul.table li:nth-child(n+2)
{
  border-top: 1px solid #CCCCCC;
}

ul.table li:nth-child(even)
{
  background-color: #EEEE;
}

ul.table li span
{
  box-sizing: border-box;
  display: inline-block;
  padding: 4px 0 4px 0;
  width: 20%;
  font-size: 16px;
}

ul.table a
{
  color: #444444;
}

ul.table li:hover
{
  font-weight: bold;
}


/****************************************
*
* content.html
*
****************************************/
.nowrap
{
  white-space: nowrap;
}

.content li
{
  display: block;
  box-sizing: border-box;
  padding: 2px 0 2px 0;
}

.content li>span
{
  display: inline-block;
  width: 30px;
}

.alternate p:nth-child(odd)
{
  background-color: #EEEE;
}

/****************************************
*
* Ajax
*
****************************************/
#ajax-loader
{   
    position: absolute;
    background:url('images/busy.gif') no-repeat 0 0;
    opacity: 1;
    width:220px;
    height:33px;
    z-index: 98;
}


/****************************************
*
* charts.html
*
****************************************/
.plot
{
  margin-bottom: 20px;
}

svg#windrose
{
  width: 500px;
  font-size: 6px;
}
.axis
{
  stroke: gray
}


/****************************************
*
* public.html
*
****************************************/
form#login
{
  box-sizing: border-box;
  width: 400px;
  text-align: center;
  margin-top: 100px;

}


/****************************************
*
* system.html
*
****************************************/
div#system input[type=submit],
div#system a
{
  width: 150px;
  
}

div#system form#killscheduler input[type=submit]:hover
{
  background-color: orange;
}

div#system form#reboot input[type=submit]:hover
{
  background-color: red;
}

div#system a,
div#system input[type=submit]
{
  text-transform: uppercase;
  font-size: 1em;
}

div#system label.message
{
  font-size: 1em;
}




/****************************************
*
* lastdata.html
*
****************************************/
ul#lastdata li.widget
{
  box-sizing: border-box;
  display: inline-block;
  margin: 10px 10px 0 0;
}

ul#lastdata li.widget>span
{
  text-transform: uppercase;
  font-size: 1.4em;
  font-weight: bold;
}

ul#lastdata>li.widget>ul>li,
ul#lastdata>li
{
  margin:5px 0 0 0;
}

ul#lastdata>li.widget>ul>li>span,
ul#lastdata>li>span
{
  display: inline-block;
}

ul#lastdata>li:nth-child(1)
{
  display: none;
  visibility: hidden;
}

ul#lastdata>li:nth-child(2)>span:nth-child(2),
ul#lastdata>li:nth-child(3)>span:nth-child(2)
{
  width: auto;
  text-align: right;
}

ul#lastdata>li.widget>ul>li>span:nth-child(1),
ul#lastdata>li>span:nth-child(1)
{
  width: 200px;
}

ul#lastdata>li.widget>ul>li>span:nth-child(2),
ul#lastdata>li>span:nth-child(2)
{
  font-size: 1.2em;
  font-weight: bold;
  width:60px;
  text-align: right;
}


.bk-Figure
{
  margin-top: 20px;
}

.bk-Tooltip
{
  font-size: 0.8em;
  background: rgba(255, 255, 255, 1);
  border-radius: 2px;
  border: 1px solid #dddddd
}
