
body {
  font:13px/18px Arial, Verdana;
  overflow-y:scroll;
}

/* FOUNDATION RESTYLING  */

section.page {
  max-width:990px;
  width:990px;
  margin:0 auto;
}

div.top {
  margin-bottom: 15px;
}

.row {
  max-width: none;
}

.red {
  background-color: rgb(237, 28, 36);
  border:1px solid rgb(201, 0, 0);
}

.button {
  width: 110px;
  height: 29px;
  padding: 0px 22px;
  line-height: 29px;
  font-weight: 400;
  -webkit-transition: all 150ms ease-out;
  -moz-transition: all 150ms ease-out;
  transition: all 150ms ease-out;
}

.button:hover {
  background-color: #ed1c24;
}


table tr td {
  padding: 0.3625em 0.625em;
}

table tr:nth-of-type(even) {
  background: none;
}

table input[type="text"], 
table input[type="password"], 
table input[type="date"], 
table input[type="datetime"], 
table input[type="datetime-local"], 
table input[type="month"], 
table input[type="week"], 
table input[type="email"], 
table input[type="number"], 
table input[type="search"], 
table input[type="tel"], 
table input[type="time"], 
table input[type="url"], 
table textarea,
table input[type="file"],
table input[type="checkbox"],
table input[type="radio"],
table select {
  margin-bottom: .3em;
  
}
input[type="button"]:focus, 
input[type="submit"]:focus,
input[type="button"], 
input[type="submit"] {
  -webkit-appearance: none; 
    -moz-appearance: none; 
  outline:none;
  border:none;
}

table tr th, table tr td {
  font-size: inherit;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea {
  font-size: 1em;
}

table tr th, table tr td {
  color: rgb(77, 77, 77);
}

table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td {
  font-size: inherit;
  color: rgb(77, 77, 77);
}

fieldset {
  padding: 0.55em;
}

input[type="checkbox"] + label, input[type="radio"] + label {
  display: inline-block;
  margin-left: 0.14444rem;
  margin-right: 0.88889rem;
  margin-bottom: 0;
  vertical-align: baseline;
}

input[type="file"], input[type="checkbox"], input[type="radio"], select {
  margin-bottom: 0.3em;
  position: relative;
  top:2px;
}

button.alert:hover, button.alert:focus, .button.alert:hover, .button.alert:focus,
.button.alert:focus:hover {
  background-color: rgb(237, 28, 36);
  color: white;
}

button.alert, .button.alert,
.button.alert:focus,
button.alert:focus {
  background-color: rgb(235, 235, 235);
  border-color: rgb(235, 235, 235);
  color: rgb(125, 125, 125);
}

ul.pagination li {
  font-size: inherit;
}

ul.pagination li.current a:hover, ul.pagination li.current a:focus {
  background: rgb(237, 28, 36);
}

ul.pagination li.current a {
  background: rgb(237, 28, 36);
  color: white;
  font-weight: bold;
  cursor: default;
  border: 1px solid rgb(196, 0, 0);
}

ul.pagination li a {
  background: rgb(235, 235, 235);
  color: rgb(125, 125, 125);
  border: 1px solid #ccc;
  width: 30px;
  line-height: 26px;
  height: 26px;
  text-align: center;
  padding: 0;
}

ul.pagination li a:hover {
  background-color: rgb(222, 222, 222);
  color: rgb(255,255,255);
}

ul.pagination li.unavailable a,
ul.pagination li.arrow a {
  background: none;
  border: none;
}

/* FOUNDATION RESTYLING  */


/* BACIS STUFF */

.system_message {
  background-color: rgb(243, 243, 243);
}

.system_message .icon {
  padding-right: 10px;;
}

.system_message p {
  padding: 3px 10px;
  line-height: 36px;
  color: rgb(172, 172, 172);
}

/* LAYOUT NAV MENU */
.nav-list__item {
  margin-bottom:3px;
  list-style-type: none;
}

.nav-list__item > a,
.nav-list__item > a:visited,
.nav-list__item > a:active {
  position: relative;
  display: block;
  padding: 7px 20px;
  background-color: rgb(235, 235, 235);
  color: rgb(125, 125, 125);
  -webkit-transition: background-color 150ms ease-out;
  -moz-transition: background-color 150ms ease-out;
  transition: background-color 150ms ease-out;
}

.nav-list__item.active > a,
.nav-list__item.active:hover > a {
  background-color: rgb(237, 28, 36);
  color:white;
}

.nav-list__item:hover > a {
  background-color: rgb(222, 222, 222);
  color: rgb(105,105,105);
}

.nav-list__item  a .text:before {
  content: "\00A0";
  position: absolute;
  top: 0;
  left: 0px;
  width: 10px;
  height: 100%;
  background-color: rgb(205, 205, 205);
}

.nav-list__item.active > a .text:before,
.nav-list__item.active:hover > a .text:before {
  background-color: rgb(201, 0, 0)
}

.nav-list__item:hover > a .text:before {
  background-color: rgb(170, 170, 170);
}

/* sublist styles */

.nav-sublist {
  list-style-type: none;
  margin-left: 0;
  border:1px solid rgb(228, 228, 228);
}

.nav-sublist__item:hover a {
  color: rgb(87, 87, 87);
}

.nav-sublist__item.active,
.nav-sublist__item.active:hover {
  background-color: rgb(237, 28, 36);
}

.nav-sublist__item:hover {
  background-color: rgb(222, 222, 222);
}

.nav-sublist__item.active a,
.nav-list__item:hover .nav-sublist__item.active a,
.nav-list__item:hover .nav-sublist__item.active:hover a {
  color: white;
}

.nav-sublist__item a,
.nav-list__item:hover .nav-sublist__item a {
  display: block;
  padding: 2px 20px;
  background: none;
  color: rgb(115, 115, 115);
}

.nav-sublist__item a .text:before,
.nav-list__item:hover .nav-sublist__item a .text:before {
  background: none;
}

/* END NAV MENU */


/* INDEX PAGE */

.page.index {
  background-image: url(../img/index_bg.jpg);
  background-position: center middle;
  background-repeat: no-repeat;
  min-height: 500px;
}

.loginform {
  margin-top:210px;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.copyright {
  text-align: right;
  color:#bbb;
  font-size: 0.9em;
}

/* END INDEX PAGE */

/* RECOVER PASSWORD PAGE */
.recover .recoverform {
  margin-top: 43px;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.recover .help {
  text-align: justify;
  background: white;
  padding-top: 40px;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.reset_pwd {
  width: 300px;
  margin-left: -50px;
  text-align:center
}

.reset_pwd input {
  width: 134px;
}

/* END RECOVER PASSWORD PAGE */

/* HOME PAGE */

[class*='grid-'] {
  display:inline-block;
  box-sizing:border-box;
  padding:25px;
  vertical-align: top;
  font-size: 1.6em;
  margin-bottom: 4px;
  color: rgb(125, 125, 125);
  background-color: rgb(235, 235, 235);
  border:none;
  -webkit-transition: all 100ms ease-out;
  -moz-transition: all 100ms ease-out;
  transition: all 100ms ease-out;
}

.ie8compat [class*='grid-'] {
  padding:0;
}

[class*='grid-']:hover {
  background-color: rgb(237, 28, 36);
  color:white;
}

#menu {
  position: relative;
  left:20px;
  opacity:0;
}

.grid__text {
  position:relative;
  top: -10px;
  left: -10px;
}

.ie8compat .grid__text {
  top: 10px;
  left: 10px;
}

.grid-1 {
  width: 944px;
  height: 120px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

.grid-2 {
  width: 470px;
  height: 120px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

.grid-3 {
  width: 312px;
  height: 120px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

.grid-base-set {
  background-image: url(../img/grid_base_set.png);
}

.grid-base-set:hover {
  background-image: url(../img/grid_base_set_y.png);
}

.grid-calib {
  background-image: url(../img/grid_calib.png);
}

.grid-calib:hover {
  background-image: url(../img/grid_calib_y.png);
}

.grid-people {
  background-image: url(../img/grid_people.png);
}

.grid-people:hover {
  background-image: url(../img/grid_people_y.png);
}

.grid-hot-zone {
  background-image: url(../img/grid_hot_zone.png);
}

.grid-hot-zone:hover {
  background-image: url(../img/grid_hot_zone_y.png);
}

.grid-diag {
  background-image: url(../img/grid_diag.png);
}

.grid-diag:hover {
  background-image: url(../img/grid_diag_y.png);
}

.grid-report {
  background-image: url(../img/grid_report.png);
}

.grid-report:hover {
  background-image: url(../img/grid_report_y.png);
}

.grid-active-send {
  background-image: url(../img/grid_active_send.png);
}

.grid-active-send:hover {
  background-image: url(../img/grid_active_send_y.png);
}

.grid-record {
  background-image: url(../img/grid_record.png);
}

.grid-record:hover {
  background-image: url(../img/grid_record_y.png);
}

.grid-demo {
  background-image: url(../img/grid_demo.png);
}

.grid-demo:hover {
  background-image: url(../img/grid_demo_y.png);
}

.grid-help {
  background-image: url(../img/grid_help.png);
}

.grid-help:hover {
  background-image: url(../img/grid_help_y.png);
}

.grid-exit {
  background-image: url(../img/grid_exit.png);
}

.grid-exit:hover {
  background-image: url(../img/grid_exit_y.png);
}

.grid-unique {
  background-image: url(../img/grid_unique.png);
}

.grid-unique:hover {
  background-image: url(../img/grid_unique_y.png);
}

/* END HOME PAGE */

/* BASIC SETTINGS PAGE */

table#base_set {
  border:none;
  margin-bottom: 0;
}

table#base_set td.text-left {
    width: 250px;
}

fieldset td.title {
  width: 16.116em;
}

fieldset {
  margin-bottom: 1em;
  margin-top: 0;
  padding-top: 0px;
  color: rgb(77, 77, 77);
}

fieldset legend {
  padding: 0 4px;
}

/* SYSTEM INFORMATION PAGE*/
table.sys_inf {
  width:100%;
  border:none;
  margin-bottom: 0;
}

.graph {
  width:30%;
  padding:0;
}

.graph .meter {
  background: rgb(237, 28, 36);
}

.graph .progress {	
  position: relative;
  padding:0;
  height: 1.4em;
  margin-bottom: 0;
  background: rgb(205, 205, 205);
  border: none;
  text-align: center;
}

.graph .progress .text {
  display: block;
  position:absolute;
  top: 2px;
  width: 100%;
  text-align: center;
  color: rgb(255, 255, 255);
}

div.graph {
  padding: -2px;
  width: 345px;
}

div.graph .progress .text {
    top: 0px;
}

/*  LOG PAGE */
div.usermenu {
  margin-top: 15px;
  margin-bottom: 8px;
}

div.usermenu label {
  margin-bottom: 0.2875em;
}

div.usermenu .noteless {
  color: #bbb;
  text-decoration: underline;
}

div#usermenu .noteless:hover {
  color: #999;
}

table.log {
  margin-bottom: 15px;
  border-spacing: 0px;
  border-collapse: collapse;
}

table.log thead tr{
  background-color: #ebebeb;	
}

table.log thead th{
  text-align: center;
  padding-top: 8px;
}

table.log td {
  padding:7px 5px;
  border:1px solid #ccc;
}

table.log  td.type {
  background-repeat: no-repeat;
  background-position: 6px 6px;
  width: 30px;
}

table.log  td.debug {
  background-image: url(../img/debug.png);
}

table.log  td.error {
  background-image: url(../img/error.png);
}

table.log  td.info {
  background-image: url(../img/info.png);
}

table.log  td.warn {
  background-image: url(../img/warning.png);
}


/* END LOG PAGE */

/* SYSTEM ADM PAGE */

span.real_header,
legend.real_header,
th.real_header {
  display: block;
  font-size: 12.74px;
  color: rgb(77, 77, 77);
  font-weight: 700; 
  padding-bottom: 5px;
}

.usermenu-row {
  margin-bottom: 20px;
}

.usermenu-row em {
  position: relative;
  top: -13px;
  color: #AAA;
  font-size: 0.89em;
}
/* END SYS ADM PAGE END*/

/*  REMOOVE AFTER DEPLOY */

.doomyWindow {
  width: 640px;
  height:480px;
  background-color: #bebebe;
  font-size:16em;
  line-height:1em;
  position:relative;
  color: rgb(160, 160, 160);
  text-shadow: 0 1px 4px rgb(207, 207, 207);
}

.doomyWindow span {
  position: relative;
  left:15%;
  top:20%;
}

div#recover_pwd  {
  text-align:center;
  margin: 8px;
}

div#recover_pwd  a {
  color: rgb(236, 31, 37);
}

label {
  font-size: inherit;
}

label#wifi {
  width: 62px;
  height: 28px;
  display: inline-block;
  padding-top: 6px;
}

iframe#upload_target {
  width:0px;
  height:0px;
  border:0px solid #fff;
}

div#result {
  min-height: 18px;
}

div.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba( 0, 0, 0, .4 )
    url(../img/ajax-loader.gif)
    50% 50% 
    no-repeat;
}

body.loading {
  overflow: hidden;
  overflow-y: scroll;
}

body.loading .modal {
  display: block;
}

fieldset.fsupd   {
    padding: 16px 16px 16px 16px;
}

span.update_msg {
  display: block;
  font-size: 12.74px;
  color: rgb(77, 77, 77);
  padding-bottom: 5px;
}

table.cron-table thead, table.cron-table tfoot {
  background: none;
  font-weight: normal;
}

.cron-table {
  text-align: center;
  min-width: 718.133px;
}
.cron-table thead {
  vertical-align: middle;
}

.cron-table input[type="button"] {
   margin-bottom: 0.3em;
}

.cron-table__thead__1td,
.cron-table__thead__1td img {
	width:26px;
	height:26px;
}

.cron-table__thead__1td {
	padding:0;
}

.cron-table__thead__1td img {
	max-width:30px;
}

.cron-table__thead__2td {
	width:250px;
}

.cron-table__thead__3td {
	width:80px;
}

.cron-table__thead__4td {
	width:250px;
}

.cron-table__thead__5td {
	width:108px;
}

.cron-table__thead__ftp_1td {
	width:918px;
}

.cron-table__thead__ftp_2td {
	width:126px;
}

.cron-table__thead__smb_1td {
	width:918px;
}

.cron-table__thead__smb_2td {
	width:126px;
}

.cron-table__thead__cloud_1td {
	width:718px;
}

.cron-table__thead__cloud_2td {
	width:100px;
}

.cron-table__thead__ntp_1td {
	width:244px;
}

.cron-table__thead__ntp_2td {
  width:370px;
}

.syncNowNtp  {
	width: auto !important;
}

.cron-table__thead__ntp_3td {
	width:108px;
}

.cron-table thead th {
	padding: .5625em .625em;
}

.cron-table thead th,
.cron-table tbody td {
	height: 42px;
	padding-top: .4225em;
	padding-bottom: .4225em;
}

.ftp_export_wrap{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  justify-content: flex-start;
}

.ftp_export_elem{
  width: 133px;
/*  margin-top: -35px;*/
  margin-right: 8px;
  margin-bottom: 15px;
}

.ftp_export_caption{
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  font-weight: bold;
}

.smb_export_wrap{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  justify-content: flex-start;
}

.smb_export_elem{
  width: 133px;
/*  margin-top: -35px;*/
  margin-right: 8px;
  margin-bottom: 15px;
}

.smb_export_caption{
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  font-weight: bold;
}

.area_templ {
	height: 100px;
  overflow-y: scroll;
  white-space: pre;
  overflow-wrap: normal;
  overflow-x: scroll;
}

.input_templ {
  width: 250px !important;
}

.instance-table thead th {
	padding: .5625em .625em;
}

.instance-table thead th,
.instance-table tbody td {
	height: 42px;
	padding-top: .4225em;
	padding-bottom: .4225em;
}

table.instance-table thead, table.instance-table tfoot {
  background: none;
  font-weight: normal;
}

.instance-table {
  text-align: center;
  min-width: 718.133px;
}
.instance-table thead {
  vertical-align: middle;
}

.instance-table input[type="button"] {
   margin-bottom: 0.3em;
}

.instance-table__thead__1td {
	width:49px;
  text-align: center;
}

.instance-table__thead__2td {
	width:208px;
}

.instance-table__thead__3td {
	width:408px;
}

.instance-table__thead__4td {
	width:108px;
}

.help_template {
	width:90%;
  color: rgb(77, 77, 77);
}

.help_template h3 {
  color: rgb(77, 77, 77);
}

.tooltip_as {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip_as .tooltiptext_as {
    visibility: hidden;
    width: 120px;
    background-color: white;
    font-weight: normal;
    text-align: center;
    padding: 5px 0;

    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    color: rgba(0, 0, 0, 0.75);

    bottom: 100%;
    left: 50%;
    margin-left: -60px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip_as:hover .tooltiptext_as {
    visibility: visible;
}