
@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,700');

@font-face {
  font-family: 'nsicons';
  src: url(data:application/font-woff;charset=utf-8;base64,[encoded data, 8364 characters]) format('woff'),
       url(data:application/font-svg;charset=utf-8;base64,[encoded data, 12908 characters]) format('svg');
  font-weight: normal;
  font-style: normal;
}

/*
  Icon font for additional plugin icons. 
  Please read assets/fonts/README.md about update process
*/
@font-face {
  font-family: 'pluginicons';
  /* Plugin Icons font files content (from WOFF and SVG icon files, base64 encoded) */
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAcEAAsAAAAABrgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFc2NtYXAAAAFoAAAAXAAAAFzpVumzZ2FzcAAAAcQAAAAIAAAACAAAABBnbHlmAAABzAAAAuwAAALs3l4nFmhlYWQAAAS4AAAANgAAADYbA9uPaGhlYQAABPAAAAAkAAAAJAfCA8dobXR4AAAFFAAAABgAAAAYDY4AAGxvY2EAAAUsAAAADgAAAA4BngC4bWF4cAAABTwAAAAgAAAAIAAMAJRuYW1lAAAFXAAAAYYAAAGGmUoJ+3Bvc3QAAAbkAAAAIAAAACAAAwAAAAMDLwGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6RoDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAEAIOkB6Rr//f//AAAAAAAg6QHpGv/9//8AAf/jFwMW6wADAAEAAAAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAADAAD/wAOOA8AAGwA6AFkAAAEiBw4BBwYVFBceARcWMzI3PgE3NjU0Jy4BJyYBFRQXHgEXFjMyNz4BNzY9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ACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('woff'),
       url(data:application/font-svg;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiID4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8bWV0YWRhdGE+R2VuZXJhdGVkIGJ5IEljb01vb248L21ldGFkYXRhPgo8ZGVmcz4KPGZvbnQgaWQ9Imljb21vb24iIGhvcml6LWFkdi14PSIxMDI0Ij4KPGZvbnQtZmFjZSB1bml0cy1wZXItZW09IjEwMjQiIGFzY2VudD0iOTYwIiBkZXNjZW50PSItNjQiIC8+CjxtaXNzaW5nLWdseXBoIGhvcml6LWFkdi14PSIxMDI0IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4MjA7IiBob3Jpei1hZHYteD0i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:before, 
 [class^="plugicon-"]:before, [class*=" plugicon-"]:before {
  font-family: "nsicons";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

[class^="plugicon-"]:before, [class*=" plugicon-"]:before {
  font-family: "pluginicons";
}

.icon-volume:before { content: '\e800'; }
.icon-plus:before { content: '\e801'; }
.icon-edit:before { content: '\e802'; }
.icon-lock:before { content: '\e803'; }
.icon-menu:before { content: '\f0c9'; }
.icon-calc:before { content: '\f1ec'; }
.icon-battery-100:before { content: '\f240'; }
.icon-battery-75:before { content: '\f241'; }
.icon-battery-50:before { content: '\f242'; }
.icon-battery-25:before { content: '\f243'; }
.icon-battery-0:before { content: '\f244'; }
.icon-cancel-circled2:before { content: '\e804'; }
.icon-cancel-circled:before { content: '\e805'; }
.icon-cancel:before { content: '\e806'; }
.icon-cog:before { content: '\e807'; }
.icon-help-circled:before { content: '\e808'; }
.icon-tint:before { content: '\e809'; }
.icon-sort-numeric:before { content: '\f162'; }
.icon-chart-line:before { content: '\f201'; }
.icon-hourglass:before { content: '\f254'; }

/* Plugin Icons id-s (copy from generated icon style.css) */
.plugicon-database:before { content: "\e901"; }
.plugicon-notifies:before { content: "\e91a"; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Ubuntu', sans-serif;
  background: #000;
  color: #bdbdbd;
}

.container {
  bottom: 0;
  display: block;
  left: 0;
  margin: 0;
  padding: 0;
  top: 45px;
  z-index: 2;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.ui-button {
  background-color: grey;
  border: 1px solid white;
  padding: 2px;
}

a, a:visited, a:link {
  color: #2196f3;
  text-decoration: none;
}

#container.announcing .customTitle {
  color: orange;
}

#container.alarming.urgent .customTitle {
  color: red;
}

#container.alarming.warning .customTitle {
  color: yellow;
}

.primary {
  font-family: 'Ubuntu', Verdana, Helvetica, Arial, sans-serif;
  vertical-align: middle;
  clear: both;
  white-space: nowrap;
}

.bgStatus {
  float: right;
  text-align: center;
  white-space: normal;
  padding-right: 20px;
}

.urgent .bgButton {
  color: red;
}

.warning .bgButton {
  color: yellow;
}

.inrange .bgButton {
  color: #4cff00;
}

.bgStatus .bgSpan {
  white-space: nowrap;
}

.bgStatus .currentBG {
  font-size: 120px;
  line-height: 100px;
  text-decoration: line-through;
  vertical-align: middle;
}

.bgStatus .currentBG.bg-limit, .bgStatus .currentBG.icon-hourglass {
  font-size: 90px;
}

.bgStatus .pill.direction {
  font-weight: normal;
  text-decoration: none;
  font-size: 90px;
  line-height: 90px;
  vertical-align: middle;
  border: none;
  background: none;
}

.bgStatus .majorPills {
  font-size: 30px;
  line-height: 34px;
}

.minorPills {
  font-size: 22px;
  line-height: 25px;
  z-index: 500;
  white-space: normal;
}

.majorPills > span:not(:first-child) {
  margin-left: 5px;
}

.minorPills > span:not(:first-child) {
  margin-left: 5px;
}

.pill {
  white-space: nowrap;
  border-radius: 5px;
  border: 2px solid #808080;
  background: #808080;
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 0;
}

.pill em, .pill label {
  padding: 2px 3px;
  white-space: nowrap;
}

.pill em {
  font-style: normal;
  font-weight: bold;
  background: #000;
  border-radius: 3px;
}

.pill label {
  color: #000;
}

.container .pill.warn em {
  color: yellow;
}

.container .pill.urgent em {
  color: red;
}

.alarming-timeago .timeago.pill.warn {
  border-color: yellow;
}
.alarming-timeago .timeago.pill.warn label {
  background: yellow;
}

.alarming-timeago .timeago.pill.urgent {
  border-color: red;
}
.alarming-timeago .timeago.pill.urgent label {
  background: red;
}

.bgStatus.current .currentBG {
  text-decoration: none;
}

.alarming-timeago .bgStatus.current .currentBG {
  text-decoration: line-through;
}

.status {
  color: #808080;
  font-size: 100px;
  white-space: normal;
}
.statusBox {
  text-align: center;
  width: 40%;
}
.statusPills {
  font-size: 20px;
  line-height: 23px;
  margin-left: 5px;
}

.loading .statusPills {
  display: none;
}

.statusPills .pill {
  background: #808080;
  border-color: #808080;
  margin-right: 5px;
}

.statusPills .pill em {
  color: #bdbdbd;
}

#chartContainer {
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  font-size: 20px;
  background: #111;
  display: block;
  position: absolute;
  margin: 2px;
  overflow: hidden;
}

#chartContainer svg {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

#silenceBtn, #viewMenu {
  z-index: 99;
  border-radius: 5px;
  border: 2px solid #bdbdbd;
}

#viewMenu {
  left: 150px;
  right: inherit;
  font-size: 18px;
}

#viewMenu li label input[type="checkbox"] {
  height: 14px;
  margin-right: 5px;
}

#silenceBtn a {
  font-size: 40px
}

.bgButton {
  margin: 10px;
  border: 2px solid #000;
  border-radius: 5px;
  display: inline-block;
  width: 360px;
}

.loading .pill.rawbg {
  display: none;
}

.pill.rawbg {
  display: inline-block;
  border-radius: 2px;
  border: 1px solid #808080;
  padding: 0;
}

.pill.rawbg em {
  color: white;
  background-color: black;
  display: block;
  font-size: 20px;
  border-radius: 0;
  padding: 0 2px;
}

.pill.rawbg label {
  display: block;
  font-size: 14px;
  padding: 0 2px;
}

.alarming .bgButton {
  border-color: #bdbdbd;
  color: #000;
  box-shadow: 2px 2px 0 #ddd;
}

.alarming.urgent .bgButton {
  background-color: red;
}

.alarming.warning .bgButton {
  background-color: yellow;
}

.alarming .bgButton:active {
  border: 2px solid #bdbdbd;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}


.button {
  text-align: center;
  background: #ababab;
  margin: 10px auto;
}

.tooltip {
  top: 0;
  left: 0;
  color: #444;
  position: absolute;
  text-align: left;
  padding: 4px;
  font-size: 14px;
  line-height: 15px;
  background: white;
  border: 0;
  border-radius: 8px;
  float: right;
  min-width: 150px;
  max-width: 400px;
}

.alarms {
  display: none;
}

.loading .focus-range {
  display: none;
}

.focus-range {
  list-style: none;
  margin: 4px;
  padding: 0;
  color: #808080;
  width: 40%;
  text-align: center;
}

.focus-range li {
  display: inline-block;
  font-size: 18px;
  white-space: nowrap;
  border-radius: 5px;
  border: 2px solid #000;
  cursor: pointer;
}

.focus-range .selected {
  border-color: #808080;
  color: #000;
  background: #808080;
}

.pill.hidden {
  display: none;
}

.toolbar-title {
  text-align: left;
  padding: 0 10px;
}

.toolbar-title h2 {
  margin: 0;
}

.page-content {
  padding: 10px;
}

.authentication-status {
  padding: 10px;
  border-top: 1px solid #bdbdbd;
}

.authentication-status a {
  color: #2196f3;
  text-decoration: underline;
}

.authentication-status .small {
  font-size: 12px;
}

@media (max-width: 1000px) {
  .bgStatus {
    width: 450px;
  }

  .bgButton {
    width: auto;
  }

  .bgStatus .currentBG {
    font-size: 80px;
    line-height: 80px;
  }

  .bgStatus .currentBG.bg-limit, .bgStatus .currentBG.icon-hourglass {
    font-size: 70px;
  }

  .bgStatus .pill.direction {
    font-size: 70px;
    line-height: 70px;
  }

  .bgStatus .majorPills {
    font-size: 20px;
    line-height: 24px;
  }

  .bgStatus .minorPills {
    font-size: 16px;
    line-height: 18px;
  }

  .status {
    font-size: 70px;
    padding-top: 8px;
  }

  .statusPills {
    font-size: 15px;
    line-height: 17px;
  }

  .focus-range {
    margin: 0;
    width: 50%;
  }

  .focus-range li {
    font-size: 14px;
  }

  #silenceBtn a {
    font-size: 30px;
  }

  #chartContainer {
    font-size: 14px;
  }
}

@media (max-width: 750px) {
  .x.axis {
    font-size: 2.5vmin !important;
  }


  .bgStatus {
    width: 50%;
    padding: 0 0 20px 0;
  }

  .pill.rawbg em {
    font-size: 14px;
  }

  .pill.rawbg label {
    font-size: 12px;
  }

  .statusBox {
    width: auto;
  }

  .bgStatus .currentBG {
    font-size: 70px;
    line-height: 60px;
  }

  .bgStatus .currentBG.bg-limit, .bgStatus .currentBG.icon-hourglass {
    font-size: 50px;
  }

  .bgStatus .pill.direction {
    font-size: 50px;
    line-height: 50px;
  }

  .bgStatus .majorPills {
    font-size: 15px;
    line-height: 17px;
  }

  .bgStatus .minorPills {
    font-size: 12px;
    line-height: 13px;
  }

  .status {
    font-size: 50px;
    width: 250px;
  }
}

@media (max-width: 400px) {
  .primary {
    text-align: center;
    margin-bottom: 0;
  }

  .bgStatus {
    float: none;
    padding: 0;
    text-align: center;
    width: 250px;
  }


  .bgButton {
    margin: 5px;
    width: auto;
  }

  .bgStatus .currentBG {
    font-size: 70px;
    line-height: 70px;
  }

  .bgStatus .currentBG.bg-limit, .bgStatus .currentBG.icon-hourglass {
    font-size: 60px;
    padding-left: 20px;
  }

  .bgStatus .pill.direction {
    font-size: 60px;
    line-height: 60px;
  }

  .bgStatus .majorPills {
    font-size: 15px;
    line-height: 17px;
  }

  .bgStatus .minorPills {
    font-size: 12px;
    line-height: 13px;
  }

  #silenceBtn a {
    font-size: 20px;
  }

  #viewMenu {
    left: inherit;
    top: 170px;
    right: 10px;
    text-align: left;
  }

  .status {
    padding-top: 0;
    font-size: 20px;
  }

  .statusBox {
    width: auto;
  }

  #currentTime {
    display: inline;
    vertical-align: middle;
  }

  .statusPills {
    display: inline;
    margin-left: auto;
    font-size: 12px;
    line-height: 13px;
  }

  .focus-range {
    position: absolute;
    top: 60px;
    left: auto;
    right: 10px;
    margin: 0;
    width: auto;
  }

  .focus-range li {
    display: block;
  }
}

@media (max-height: 700px) {
  #chartContainer {
    font-size: 14px;
  }
  .y.axis {
    font-size: 2.5vmin !important;
  }

}

@media (max-height: 600px) {
  #chartContainer {
    font-size: 12px;
  }
}

@media (max-height: 480px) {
  #container #toolbar {
    float: right;
    height: auto;
    background: none;
    border-bottom: none;
    margin: 0px;
  }

  #buttonbar {
    margin-right: 0px;
    padding-right: 15px;
    margin-top: 15px;
    height: 44px;
    opacity: 0.75;
    vertical-align: middle;
    position: absolute;
    right: 0;
    z-index: 500;
    width: 400px;
  }

  #toolbar .customTitle {
    display: none;
  }

  .container {
    top: 15px;
    padding-bottom: 20px;
  }

  #chartContainer {
    font-size: 10px;
  }
}

@media (max-height: 480px) and (min-width: 400px) {
  .bgStatus .currentBG {
    font-size: 70px;
    line-height: 60px;
  }

  .bgStatus .currentBG.bg-limit, .bgStatus .currentBG.icon-hourglass {
    font-size: 70px;
  }

  .bgStatus .pill.direction {
    font-size: 50px;
    line-height: 50px;
  }

  .bgStatus .majorPills {
    font-size: 15px;
    line-height: 17px;
  }

  .bgStatus .minorPills {
    font-size: 12px;
    line-height: 13px;
  }

  .status {
    font-size: 50px;
    padding-top: 5px;
  }

  .statusPills {
    font-size: 15px;
    line-height: 17px;
  }

}

@media (max-height: 480px) and (max-width: 400px) {

  .bgStatus {
    text-align: center;
    width: 220px;
    left: 0;
  }

  .bgStatus .currentBG {
    font-size: 60px;
    line-height: 60px;
  }

  .bgStatus .currentBG.bg-limit, .bgStatus .currentBG.icon-hourglass {
    font-size: 60px;
  }

  .bgStatus .pill.direction {
    font-size: 50px;
    line-height: 50px;
  }

  .bgStatus .majorPills {
    font-size: 15px;
    line-height: 17px;
  }

  .bgStatus .minorPills {
    font-size: 12px;
    line-height: 13px;
  }

  #silenceBtn {
    right: -25px;
  }

  .focus-range {
    position: absolute;
    top: 40px;
    left: auto;
    right: 35px;
    margin: 0;
    width: auto;
  }

  .focus-range li {
    display: block;
  }

  .statusPills {
    display: inline;
    margin-left: auto;
    font-size: 12px;
    line-height: 13px;
  }
}