html {
  /*overflow: hidden;*/
  height: 100%;
}
body {
  height: 100%;
  overflow: auto;
}
* {
  font-family: "Helvetica Neue", "Ubuntu", Tahoma, Arial, sans-serif;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: inherit;
}

*::-webkit-scrollbar-thumb {
    background-color: #DFDFE1;
    -webkit-border-radius: 5px;
}

*::-webkit-scrollbar-corner {
    background: inherit;
}

#wrapper {
  position: relative;
  height: auto;
  min-height: 100%;
}
#wrapper.wide {
  height: 100%;
}
#wrapper.wide .content-wrapper {
  margin: 0;
}
#wrapper.wide #content {
  margin-left: 0px;
  background: none;
  min-height: 100%;
}
.main-sidebar {
  bottom: 0px;
}
body {
  background: #FFF;
}
body.dashboard {
  background-color: #eaeaea;
  background-image: url(/img/bg-noise.gif);
}
#content {
    padding: 0 0 20px 0;
    position: relative;
}
@media screen and (min-width: 768px) {
  #content {
    margin-left: 230px;
  }
}
@media screen and (max-width: 767px) {
  #content {
    margin-left: 0px;
    padding-bottom: 0;
    z-index: 1299;
  }
}
@media screen and (max-width: 500px) {
  #content {
    clear: both;
    padding-top: 0;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
#content .content-wrapper {
  margin: 0px 40px 0px 40px;
}
@media (max-width: 500px) {
  #content .content-wrapper {
    margin-left: 20px;
    margin-right: 20px;
  }
}
#content,
#sb-f-d {
  /*transition: all 0.2s ease-out;*/
  /* had to disable for correct print in chrome */
}
@media screen and (max-width: 767px) {
  body.open-sidebar #wrapper #content {
    -webkit-perspective: 0px;
    -ms-perspective: 0px;
    -moz-perspective: 0px;
    transform: translate3d(230px, 0, 0);
  }
  body.open-sidebar #wrapper #sb-f-d {
    -webkit-perspective: 0px;
    -ms-perspective: 0px;
    -moz-perspective: 0px;
    transform: translate3d(0px, 0, 0);
    overflow: inherit;
  }
}
body.open-sidebar #wrapper .menu-section {
  height: auto;
  overflow: auto;
}
.menubar .sidebar-toggler2 {
  display: none;
}
body.hide-sidebar-partially #wrapper #content {
  margin-left: 0;
}
body.hide-sidebar-partially #wrapper #sb-f-d {
  -webkit-perspective: 0px;
  -ms-perspective: 0px;
  -moz-perspective: 0px;
  transform: translate3d(-230px, 0, 0);
  overflow: inherit;
}
body.hide-sidebar-partially #wrapper .menubar .sidebar-toggler2 {
  display: table-cell;
}
body.hide-sidebar-partially #wrapper .menubar .sidebar-toggler {
  display: none !important;
}

.registers-table {
    display: table;
    table-layout: fixed;
    width: 100%;
}
.registers-table td {
  padding-bottom: 0.4em;
  padding-right: 0.4em;
}
.registers-table td:last-child {
  padding-right: 0em;
}
.registers-table td.register-title {
  width: 100%;
}
.registers-table td select {
  width: 100%;
}
#g_values > span {
  display: block;
}
#div_g {
  margin-bottom: 1em;
  position: relative;
}
#div_g .graph-spinner {
  display: block;
}
.graph-labels {
  padding-left: 70px !important;
  padding-right: 20px !important;
}
.graph-labels > div {
  margin-bottom: 0.5em;
}
.graph-labels div.color {
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  border-radius: 5px;
  margin-right: 0.5em;
}
.graph-spinner {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 2344;
  transition: all 3s linear;
}
.graph-spinner .spinner {
  position: absolute;
  left: 0;
  right: 0;
  top: 40%;
}
.no-select,
.daterangepicker {
  -webkit-user-select: none;
  /* Chrome all / Safari all */
  -moz-user-select: none;
  /* Firefox all */
  -ms-user-select: none;
  /* IE 10+ */
  /* No support for these yet, use at own risk */
  -o-user-select: none;
  user-select: none;
}
.legend div > span {
  display: block;
}
.date-divider td {
  padding-top: 1em !important;
  font-size: 2em;
  background: none !important;
}
.table > thead > tr > th {
  background-color: #FFF;
}
table.listview tr.highlight td:first-child {
  position: relative;
}
table.listview tr.highlight td:first-child:before {
  content: "\e080";
  color: #444 !important;
  font-family: 'Glyphicons Halflings';
  position: absolute;
  left: -1.5em;
}
td.minwidth {
  width: 1px;
}
.has-error.checkbox label {
  color: #a94442;
}
.form-horizontal {
  position: relative;
}
.btn.wh-action {
  border: none;
  background: none;
  color: #363e45;
  padding: 0 0.45em;
  margin-left: 5px;
}
.btn.wh-action:hover {
  background-color: #E0E0E0;
}
.btn.wh-action i {
  font-size: 120%;
}
.btn.wh-action span {
  display: inline-block;
  vertical-align: text-bottom;
  color: #363e45;
}
@media screen and (min-width: 991px) and (max-width: 1024px) {
  .btn.wh-action {
    border: 1px solid #363e45;
    padding: 0.5em 0.5em 0.35em 0.5em;
    width: 6em;
    margin-bottom: 5px;
  }
}
.listView .actions {
  text-align: right;
}
@media screen and (max-width: 990px) {
  .listView .actions {
    white-space: nowrap;
  }
}
.fa.green,
.glyphicon.green {
  color: #5cb85c;
}
.fa.red,
.glyphicon.red {
  color: #d9534f;
}
.notifications-region {
  margin: 20px 40px 0px 40px;
}
@media (max-width: 500px) {
  .notifications-region {
    margin-left: 20px;
    margin-right: 20px;
  }
}
.notifications-region > div > div > div {
  -webkit-animation: new-item-animation 0.3s linear forwards;
  -o-animation: new-item-animation 0.3s linear forwards;
  animation: new-item-animation 0.3s linear forwards;
}
body.hidemenu #sb-f-d {
  transform: translate3d(-230px, 0, 0) !important;
}
body.hidemenu #content {
  margin-left: 0;
}
body.hidemenu .menubar {
  display: none;
}
body.hidemenu .content-wrapper #dashboard {
  margin-left: auto;
  margin-right: auto;
}
@media print {
  * {
    /*    transition: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;*/
  }
  #content {
    /*transform: translate3d(0, 0, 0);*/
    margin-left: 0px;
  }
  #sb-f-d {
    display: none;
  }
}

.tab-content.form-tabs {
    padding-top: 2em;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 1em;
    background-color: RGBA(255,255,255,0.5);
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

#timerange {
  cursor: pointer;
}

.loadinggif {
   background: url('/assets/img/ajax-loader.gif') no-repeat right 10px center;     
}

.okmark {
    background: url(/assets/img/ok.svg) no-repeat right 8px center;
    background-size: 16px;
}

.errormark {
    background: url(/assets/img/no.svg) no-repeat right 8px center;
    background-size: 16px;
}

table.not100 {
  width: auto;
}

.dygraph-label.dygraph-title {
    font-size: 18px;
    line-height: 18px;
}


@media print {
    html {
      width: 1200px;    
    }
    .container {
      width: 100%;
    }
    .graph-container .gc {
      width: 100%;
    }
    body {
        font-size: 8pt;
        margin: 0mm 10mm 0mm 25mm;
    }
    .timecol {
        width: 10em;
        white-space:nowrap;
    }
    .date-ranges,
    .noprint,
    .dataTables_length,
    .dataTables_filter,
    .dataTables_paginate,
    .ui-rangeSlider,
    .menubar .sidebar-toggler.noprint,
    .navbar,
    .getCSVLink {
        display: none !important;
    }
    .page-header {
        margin-bottom: 0;
        padding-bottom: 0;
        font-size: 18pt;
    }
    .menubar .page-title {
        font-size: 18pt !important;
    }
    .page-header h1, .page-title {
        padding-bottom: 0;
        margin-bottom: 0;
        font-size: 18pt;
    }
    .dataTables_wrapper {
        margin-top: 0em;
    }

    .table th, .table td {
        padding: 3pt;
        font-size: 9pt;
    }
    .report-range {
        display: block !important;
        font-size: 12pt;
        margin-bottom: 1em;
    }  
}

@page {
  size: A4;
  margin: 10mm 0mm 10mm 0mm;
}


.nodata {
    text-align: center;
    font-size: 160%;
    padding: 1em;
}
.panel table.table td {
  word-break: break-all;
}

.table.table-noborder>tbody>tr>td {
  border: none;
}

.outline {
    background-color: transparent;
    color: inherit;
    transition: all .25s;
}

.btn-primary.outline {
    color: #428bca;
    fill: #428bca;
}

.btn-success.outline {
    color: #5cb85c;
    fill: #5cb85c;
}

.btn-info.outline {
    color: #5bc0de;
    fill: #5bc0de;
}

.btn-warning.outline {
    color: #f0ad4e;
    fill: #f0ad4e;
}

.btn-danger.outline {
    color: #d9534f;
    fill: #d9534f;
}

.btn-primary.outline:hover,
.btn-success.outline:hover,
.btn-info.outline:hover,
.btn-warning.outline:hover,
.btn-danger.outline:hover {
    color: #fff;
    fill: #fff;
}

select.error,
input.error {
    border-color: #F00;
    webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255,0,0,.4);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255,0,0,.4);
}

.tooltip .tooltip-inner {
    background-color: #F00;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #F00;
}

.floating-label {
    position: relative;
    width: 100%;
}

.floating-label label {
    position: absolute;
    cursor: text;
    font-size: 75%;
    opacity: 1;
    font-weight: normal;
    -webkit-transition: all .2s;
    transition: all .2s;
    top: -.5em;
    left: 12px;
    z-index: 3;
    line-height: 1;
    padding: 0 1px;
    color: #AAA;
}

.floating-label label::after {
    content: " ";
    display: block;
    position: absolute;
    background: rgba(255,255,255,1);
    height: 7px;
    top: 3px;
    left: -.2em;
    right: -.2em;
    z-index: -1
}

.floating-label input:focus + label,
.floating-label select:focus + label {
    color: #66afe9;
}

select.form-control {
    padding-right: 30px;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);
    background-position: 100% center;
    background-repeat: no-repeat;
    background-size: 30px;
    line-height: 1.5;
}

.row-elements-one-line {
    display: flex;
    width: auto;
}

.row-elements-one-line:not(:last-child) {
    margin-bottom: 10px;
}

.row-elements-one-line > *:not(:first-child) {
    margin-left: 7px;
}

.alert-statusbar.alarm {
    animation: alarm 1.2s infinite;
}
@keyframes alarm{
    0%{     background-color: #dc3545;    }
    49%{    background-color: #dc3545; }
    60%{background-color: #363e45;}
    99%{background-color: #363e45;}
    100%{   background-color: #dc3545;    }
}

.alert-statusbar {
    position: fixed;
    color: #FFF;
    bottom: 0;
    background: #363e45;
    width: 100%;
    height: 20px;
    font-size: 11px;
    line-height: 20px;
    padding-left: 10px;
    z-index: 1000;
}

.alert-statusbar a {
    color: #FFF;
}

.alert-statusbar > span .glyphicon {
    margin-right: 10px;
}

.alert-statusbar *:not(:first-child) {
    padding-left: 20px;
}

.alert-popover {
    z-index: 10001;
    max-width: none;
    width: 500px;
}

.alert-popover .popover-content {
    padding: 0;
    max-height: 350px;
    overflow-y: auto;
}

.alert-popover .popover-content table {
    font-size: 12px;
    line-height: 12px;
    margin: 0;
    width: 100%;
}

.alert-popover .popover-content table td {
    vertical-align: middle;
    line-height: 24px;
}

.popover.without-padding tr th:first-child,
.popover.without-padding tr td:first-child {
    padding-left: 14px;
}

.popover.without-padding tr th:last-child,
.popover.without-padding tr td:last-child {
    padding-left: 14px;
}

.alert-popover .popover-title {
    font-weight: bold;
}

.alert-type-popover .popover-title {
    background-color: #dc3545;
    color: #FFF;
}
.warning-type-popover .popover-title {
    background-color: #ffc107;
}
.blocker {
    z-index: 999999;
    display: block;
    opacity: 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    transition: all 0.4s;
}

.progress-modal {
    z-index: 9999999;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 80%;
    max-width: 600px;
    text-align: center;
    margin: 33vh calc(50% - 300px);
}

progress[value] {
    background-color: #f9f9f9;
    border-radius: 5px;
    position: relative;
    border: none;
    width: 100%;
    height: 35px;
}
progress[value]::-webkit-progress-bar {
    background-color: #f9f9f9;
    border-radius: 4px;
}
progress[value]::-webkit-progress-value {
    position: relative;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    border-radius: 4px;
}
progress[value]::-webkit-progress-value:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    top: 7px;
    right: 7px;
    background-color: white;
    border-radius: 100%;
}
progress[value]::-moz-progress-bar {
    background-color: #337ab7;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    border-radius: 3px;
}
.progress-bar {
    border-radius: 4px;
    width: 100%;
    height: 20px;
}
.html5::-webkit-progress-value {
    background-color: #337ab7;
}

hr.footnote {
    margin: 0 0 10px;
    width: 10%;
    min-width: 150px;
    max-width: 200px;
}