/* Based on Bootstrap v2.3.2 Copyright 2012 Twitter, Inc */
/* Datepicker for Bootstrap Copyright 2012 Stefan Petre */
/* Perfect Scrollbar Copyright 2014 Hyeonje Alex Jun */
* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  overflow: hidden;
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}
body.ios {
  position: fixed;
  width: 100%;
  height: 100%;
}
.templates {
  position: absolute;
  top: -1000px;
  left: -1000px;
}
.hide {
  display: none !important;
}
.show {
  display: block;
}
.transparent {
  opacity: 0;
}
.muted {
  color: #777;
}
img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
input {
  -webkit-touch-callout: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}
button,
input,
select {
  margin: 0;
  font-size: 100%;
  vertical-align: middle;
}
button,
input {
  line-height: normal;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}
button,
input[type="button"] {
  cursor: pointer;
  -webkit-appearance: button;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance:textfield;
}
label,
select,
button,
input[type="button"],
input[type="checkbox"] {
  cursor: pointer;
}
a,
.a {
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
}
.container {
  margin: 0 auto;
  min-width: 320px;
  width: auto;
  padding: 5px;
  overflow: hidden;
}
h4,
h5 {
  margin: 10px 0;
  font-family: inherit;
  font-weight: bold;
  line-height: 20px;
  color: inherit;
}
h4 {
  font-size: 17.5px;
}
h5 {
  font-size: 14px;
}
ul {
  padding: 0;
  margin: 0 0;
}
li {
  line-height: 20px;
}
label,
input,
button,
select {
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
label {
  display: block;
  margin-bottom: 5px;
}
select,
input[type="text"],
input[type="number"] {
  display: inline-block;
  height: 20px;
  padding: 4px 6px;
  margin-bottom: 10px;
  line-height: 20px;
  vertical-align: middle;
  border-radius: 4px;
}
input {
  width: 206px;
  margin-left: 0;
}
input[type="checkbox"] {
  margin: 4px 0 0;
  line-height: normal;
}
input[type="button"],
input[type="checkbox"] {
  width: auto;
}
select {
  height: 30px;
  line-height: 30px;
  width: 220px;
}
.checkbox {
  min-height: 20px;
  padding-left: 20px;
}
.checkbox input[type="checkbox"] {
  float: left;
  margin-left: -20px;
}
input[disabled] {
  cursor: not-allowed;
}
.input-append,
.input-prepend {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0;
  white-space: nowrap;
  vertical-align: middle;
}
.input-append input,
.input-prepend input {
  position: relative;
  margin-bottom: 0;
  vertical-align: top;
  border-radius: 0 4px 4px 0;
}
.input-append input:focus,
.input-prepend input:focus {
  z-index: 2;
}
.input-append .btn,
.input-prepend .btn {
  vertical-align: top;
  border-radius: 0;
}
.input-prepend .btn {
  margin-right: -1px;
}
.input-prepend .btn:first-child {
  border-radius: 4px 0 0 4px;
}
.input-append input {
  border-radius: 4px 0 0 4px;
}
.input-append .btn {
  margin-left: -1px;
}
.input-append .btn:last-child {
  border-radius: 0 4px 4px 0;
}
.input-prepend.input-append input {
  border-radius: 0;
}
.input-prepend.input-append .btn:first-child {
  margin-right: -1px;
  border-radius: 4px 0 0 4px;
}
.input-prepend.input-append .btn:last-child {
  margin-left: -1px;
  border-radius: 0 4px 4px 0;
}
.control-group {
  margin-bottom: 10px;
}
table {
  width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
}
th,
td {
  text-align: left;
  padding: 8px;
}
.divider {
  height: 1px;
  margin: 9px 10px;
  overflow: hidden;
}
.well {
  padding: 9px;
  border-radius: 6px;
}
.close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  opacity: 0.2;
}
.close:hover {
  cursor: pointer;
  opacity: 0.4;
}
button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}
.btn {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 4px;
  background-repeat: repeat-x;
}
.btn:hover {
  background-position: 0 -15px;
}
.btn.active,
.btn:active {
  background-image: none;
}
.btn-large {
  padding: 11px 19px;
  font-size: 17.5px;
  border-radius: 6px;
}
.btn-small {
  padding: 2px 10px;
  font-size: 12px;
  border-radius: 3px;
}
.btn-group {
  position: relative;
  display: inline-block;
  font-size: 0;
  white-space: nowrap;
  vertical-align: middle;
}
.btn-group > .btn {
  position: relative;
  border-radius: 0;
  font-size: 14px;
}
.btn-group > .btn + .btn {
  margin-left: -1px;
}
.btn-group > .btn-large {
  font-size: 17.5px;
}
.btn-group > .btn:first-child {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.btn-group > .btn:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.btn-group > .btn.large:first-child {
  margin-left: 0;
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}
.btn-group > .btn.large:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.btn-group > .btn:hover,
.btn-group > .btn:active,
.btn-group > .btn.active {
  z-index: 2;
}
.nav {
  list-style: none;
}
.nav .a {
  display: block;
  padding: 9px 10px;
  margin: 3px 0;
  line-height: 14px;
  border-radius: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav li:first-child .a {
  margin-top: 0;
}
.nav li:last-child .a {
  margin-bottom: 0;
}
.nav .a:hover,
.nav .active .a,
.nav .active .a:hover {
  background-repeat: repeat-x;
}
.navbar {
  overflow: visible;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  margin-bottom: 0;
}
.navbar-inner {
  min-height: 40px;
  background-repeat: repeat-x;
  overflow: hidden;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  opacity: 0.8;
}
.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1050;
  width: 560px;
  margin-left: -280px;
  background-clip: padding-box;
  border-radius: 6px;
}
.modal-header {
  padding: 9px 15px;
  cursor: pointer;
}
.modal-body {
  position: relative;
  max-height: 400px;
  padding: 15px;
  overflow-y: auto;
}
.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}
.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
.popover {
  position: absolute;
  z-index: 1010;
  width: auto;
  max-width: none;
  padding: 1px;
  text-align: left;
  white-space: normal;
  background-clip: padding-box;
  border-radius: 6px;
}
.popover-content {
  padding: 10px;
}
.label {
  border-radius: 3px;
  display: inline-block;
  padding: 2px 4px;
  font-size: 12px;
  font-weight: bold;
  line-height: 14px;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
.progress {
  height: 20px;
  overflow: hidden;
  border-radius: 4px;
}
@font-face {
  font-family: 'icons';
  src: url('icons.woff') format('woff'), url('icons.ttf') format('truetype');
}
.icon {
  font-family: 'icons';
  font-size: 12px;
}
i.icon {
  font-style: normal;
  vertical-align: bottom;
}
.datepicker {
  padding: 4px;
  margin-top: 1px;
  border-radius: 4px;
}
.datepicker table {
  width: auto;
}
.datepicker .dow {
  font-size: 13px;
}
.datepicker-inline {
  width: 220px;
  height: 230px;
}
.datepicker td,
.datepicker th {
  text-align: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 0;
  padding: 4px 5px;
}
.datepicker .day:hover,
.datepicker span:hover {
  cursor: pointer;
}
.datepicker span {
  display: block;
  width: 23%;
  height: 54px;
  line-height: 54px;
  float: left;
  margin: 1%;
  cursor: pointer;
  border-radius: 4px;
}
.datepicker th.switch {
  width: 145px;
}
.datepicker thead tr:first-child th:hover {
  cursor: pointer;
}
.datepicker .cw {
  font-size: 10px;
  width: 12px;
  padding: 0 2px 0 5px;
  vertical-align: middle;
}
.datepicker thead tr:first-child th.cw {
  cursor: default;
  background-color: transparent;
}
.item,
.item-control-single {
  position: absolute;
  z-index: 100;
}
.item-image,
.item-iframe {
  padding: 0;
  border: 0;
}
.item-image img,
.item-iframe iframe {
  display: block;
}
.item-link,
.item-control {
  cursor: pointer;
}
.item-read-only,
.item-label {
  pointer-events: none !important;
  opacity: 1 !important;
  -webkit-transform: none !important;
  transform: none !important;
}
.item-label,
.item .value,
.item-value {
  line-height: normal;
}
.item-bg,
.item-bg.item-read-only {
  padding: 3px;
  border: 1px transparent solid;
  border-radius: 4px;
}
.item-control:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.icon img {
  display: block;
}
.item-value,
.item .value {
  text-align: center;
}
.item .value {
  padding-top: 3px;
  font-size: 12px;
}
.layers,
.layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}
.layer {
  -webkit-backface-visibility: hidden;
}
.layer.hide {
  left: -9999px !important;
  top: -9999px !important;
  bottom: auto !important;
  right: auto !important;
}
.layer-widget {
  right: auto;
  bottom: auto;
  z-index: 1005;
  overflow: visible;
}
.layer-centered,
.layer-centered-h {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
}
.layer-centered-h {
  top: 0;
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0;
}
.layer-svg-bg {
  width: 100%;
}
.layer-top {
  pointer-events: none;
}
.item-backdrop {
  text-align: center;
}
.layout-background {
  z-index: 1;
}
.layout-background-add {
  z-index: 2;
}
.plan-background {
  z-index: 3;
}
.plan-background-add {
  z-index: 4;
}
.layout {
  z-index: 5;
  overflow: visible;
}
.plan {
  z-index: 6;
  overflow: visible;
}
.item-value.item-backdrop,
.item-backdrop .value {
  border-radius: 6px;
  margin-top: 3px;
  padding: 2px 6px;
  display: inline-block;
}
.item-color {
  border-radius: 6px;
  height: 9px;
  min-width: 16px;
  max-width: 48px;
  margin: 3px auto 0;
}
.window {
  position: absolute;
  margin: 0;
}
.window .body {
  padding: 0;
  max-height: none;
}
.window-close {
  position: absolute;
  top: 0;
  right: 0;
  height: 38px;
  width: 38px;
  text-align: center;
  line-height: 38px;
}
.item,
.item-control-single,
.control,
.modal,
.layer-widget {
  pointer-events: all;
}
.item-control-single .popover-content {
  padding: 0;
}
.modal-header h5 {
  margin: 0;
}
.modal img {
  border-radius: 0 0 6px 6px;
}
.btn-large {
  height: 44px;
}
input.input-large {
  padding: 11px;
}
input.spinner-value,
input.spinner-display {
  width: 120px;
  text-align: center;
  font-size: 20px;
  padding-left: 0;
  padding-right: 0;
}
.input-append,
.input-prepend {
  margin: 0;
}
.slider-wrap {
  overflow: hidden;
}
.slider .btn {
  position: absolute;
  z-index: 2;
}
.slider-h .slider .btn {
  top: 3px;
  left: 0;
  padding: 0 12px;
  height: 36px;
}
.slider-v .slider .btn {
  top: 0;
  left: 7px;
  padding: 0;
  width: 36px;
  height: 24px;
}
.slider {
  position: relative;
}
.slider-h .slider {
  width: 180px;
  padding: 11px 0;
}
.slider-v .slider {
  height: 180px;
  width: 52px;
}
.slider-h .slider-min {
  margin-right: 5px;
}
.slider-h .slider-max {
  margin-left: 5px;
}
.slider-v .slider-max {
  margin-bottom: 9px;
}
.slider-v .slider-min {
  margin-top: 9px;
}
.slider-h .slider .progress {
  margin: 0 13px;
}
.slider-v .slider .progress {
  position: absolute;
  height: auto;
  top: 13px;
  left: 15px;
  right: 15px;
  bottom: 13px;
}
.slider-h .slider-min,
.slider-h .slider-max,
.slider-h .slider {
  display: inline-block;
  vertical-align: top;
}
.slider-value {
  position: absolute;
  top: -26px;
  left: 0;
  right: 0;
  text-align: center;
}
.slider-value span {
  pointer-events: none;
  padding: 4px 5px;
  border-radius: 4px;
}
.control.control-circularslider {
  width: 224px;
  height: 224px;
}
.circularslider-wrap {
  position: relative;
}
.circularslider-value,
.circularslider-title,
.circularslider-min,
.circularslider-max {
  position: absolute;
  text-align: center;
  vertical-align: middle;
}
.circularslider-value {
  font-weight: bold;
  top: 0;
  left: 0;
}
.circularslider-title {
  width: 64%;
  left: 18%;
  top: 27%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.circularslider-min,
.circularslider-max {
  font-family: 'icons';
  color: #fff;
  top: 73%;
  cursor: pointer;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  margin-top: -18px;
  opacity: 0.5;
}
.circularslider-min:hover,
.circularslider-max:hover {
  opacity: 1;
}
.circularslider-min {
  right: 52%;
  line-height: 34px;
}
.circularslider-max {
  left: 52%;
  line-height: 31px;
}
.control-vselect ul {
  max-width: 200px;
  max-height: 172px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.list-custom img {
  max-width: 64px;
  max-height: 64px;
  cursor: pointer;
}
.list-custom li {
  display: inline-block;
  margin: 5px;
}
.control-vselect .list-custom {
  margin: -5px;
  max-width: 370px;
  max-height: none;
}
.spinner-vertical {
  width: 54px;
  float: left;
  margin: 0 9px 0 10px;
}
.control-timepicker {
  width: 220px;
  margin: -123px 0 0 -120px;
}
.timepicker {
  margin-bottom: 10px;
  overflow: hidden;
}
.timepicker-second {
  margin-right: 0;
}
.spinner-vertical input {
  border-radius: 0;
  width: 52px;
  text-align: center;
  margin: 0;
}
.spinner-vertical .btn {
  width: 54px;
}
.spinner-vertical .spinner-up {
  border-radius: 4px 4px 0 0;
  border-bottom: none;
}
.spinner-vertical .spinner-down {
  border-radius: 0 0 4px 4px;
  border-top: none;
}
.toggler {
  width: 100px;
  height: 42px;
  overflow: hidden;
  border-radius: 4px;
  position: absolute;
}
.touch .toggler {
  width: 86px;
  height: 34px;
}
.toggler .btn {
  position: absolute;
  border: 0;
  padding-top: 11px;
  padding-bottom: 11px;
}
.touch .toggler .btn {
  padding-top: 7px;
  padding-bottom: 7px;
}
.toggler .btn-bg {
  z-index: 10;
  width: 76px;
}
.touch .toggler .btn-bg {
  width: 56px;
}
.toggler .btn-toggler {
  z-index: 20;
  width: 26px;
  left: 0;
  top: 0;
}
.touch .toggler .btn-toggler {
  width: 13px;
}
.control-vdatepicker,
.control-timepicker,
.control-pincode,
.control-colorpicker,
.touch .control-vselect,
.touch .control-circularslider {
  z-index: 1050;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
}
.control-vdatepicker {
  width: 225px;
  margin: -148px 0 0 -123px;
}
.control-vdatepicker .datepicker {
  padding: 0 0 0 5px;
  margin-bottom: 5px;
  height: 225px;
}
.control-pincode {
  margin: -160px 0 0 -99px;
}
.control-pincode .input-large {
  margin: 0;
  text-align: center;
  width: 154px;
  font-size: 17.5px;
}
.control-pincode .btn-group {
  display: block;
  margin: 5px 0;
  text-align: center;
}
.control-pincode .btn-cancel {
  font-size: 14px;
}
.control-pincode .pull-right {
  margin-top: 5px;
}
.control-pincode .btn-group .btn-large {
  width: 60px;
}
.control-pincode .btn-group .btn-backspace-large {
  width: 119px;
}
.control-colorpicker,
.touch .control-circularslider {
  width: 280px;
  margin: -150px 0 0 -150px;
}
.touch .control-vselect {
  width: 240px;
  margin: -98px 0 0 -130px;
}
.touch .control-vselect ul {
  width: 240px;
  max-width: 240px;
}
.touch .control-vselect ul {
  padding: 0;
  border: 0;
  background-color: transparent;
}
canvas {
  display: block;
  margin-bottom: 10px;
}
.btn-color {
  background-image: none !important;
  width: 60px;
}
.control-colorpicker .btn-color {
  height: 34px;
  pointer-events: none;
}
.control-colorpicker .presets {
  text-align: center;
  line-height: 0;
  margin: 0 -4px 10px -4px;
}
.control-colorpicker .preset {
  display: inline-block;
  margin: 0 4px;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  border: 1px #bbb solid;
  box-shadow: inset 0 0 3px #bbb;
  background-clip: padding-box;
  cursor: pointer;
}
.graph-inner {
  position: absolute;
  top: 45px;
  right: 20px;
  left: 10px;
  bottom: 20px;
}
.dygraph-legend {
  top: -37px !important;
  text-align: right !important;
}
.menu {
  left: -200px;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  overflow-y: auto;
  z-index: 200;
}
.has-menu .layers {
  left: 200px;
}
.has-menu-overlay .menu,
.has-menu .menu {
  left: 0 !important;
}
.menu ul {
  padding: 5px;
  margin: 0;
}
.menu .a i {
  float: right;
  visibility: hidden;
}
.menu .a:hover i {
  visibility: visible;
}
.level .icon {
  cursor: pointer;
}
.level-1 .a {
  padding-left: 18px;
}
.level-2 .a {
  padding-left: 26px;
}
.disabled .a,
.disabled .a:hover,
.disabled .a:active {
  cursor: default;
}
.btn-show-hide {
  position: absolute;
  top: 5px;
  left: 5px;
  opacity: 0.6;
  padding: 4px 8px;
  z-index: 1000;
}
.btn-show-hide:hover {
  opacity: 1;
}
.btn-hide {
  left: 205px !important;
}
.item,
.control-slider {
  white-space: nowrap;
}
object.has-no-size {
  min-width: 32px;
  min-height: 32px;
}
.navbar .title,
.navbar .subtitle {
  text-align: center;
  vertical-align: middle;
  margin: 0;
  line-height: 44px;
}
.trends .navbar .title {
  line-height: 24px;
}
.navbar .subtitle {
  line-height: 20px;
}
.btn-menu {
  margin-right: 5px;
}
.btn-calendar {
  margin-left: 5px;
}
.btn-menu,
.btn-calendar {
  display: none;
}
.trends .sidebar,
.schedulers .sidebar {
  position: absolute;
  top: 55px;
  bottom: 0;
  z-index: 20;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.touch .sidebar {
  position: fixed;
  padding: 65px 5px 15px;
  height: 100%;
  top: 0;
  z-index: 100;
}
.sidebar-menu {
  left: 0;
  padding: 10px 10px;
  width: 240px;
}
.sidebar-menu .a {
  cursor: pointer;
}
.sidebar-edit {
  right: 0;
  padding: 10px 20px;
  width: 250px;
}
.sidebar-edit-sec {
  width: 230px;
}
.sidebar .text {
  width: 206px;
}
.sidebar-edit .actions {
  text-align: right;
  margin: 15px 0 10px;
}
.show-menu .sidebar-menu,
.show-calendar .sidebar-calendar {
  display: block !important;
}
.content {
  position: absolute;
  top: 55px;
  left: 261px;
  right: 261px;
  bottom: 0;
  z-index: 10;
  overflow: hidden;
}
.content-scheduler,
.content-holidays,
.trends .content > div {
  padding: 20px;
}
.trends .content > div,
.trends .content .inner {
  width: 100%;
  height: 100%;
}
.schedulers .content {
  right: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.info .inner {
  font-size: 14px;
  font-weight: bold;
  vertical-align: middle;
}
.info .btn {
  margin-left: 5px;
  vertical-align: middle;
}
.run-at .label {
  margin-right: 5px;
}
.btn-day-single {
  width: 50px;
  text-align: center;
}
.btn-group-days {
  margin-bottom: 5px;
}
.event-days {
  margin-bottom: 10px;
  width: 246px;
}
.btn-holiday {
  margin-left: 13px;
}
label .label {
  vertical-align: top;
}
.btn-all {
  float: right;
}
.schedulers .spinner-value,
.schedulers .spinner-display {
  font-size: 18px;
  padding-top: 11px;
  padding-bottom: 11px;
}
.schedulers .timepickers {
  overflow: hidden;
  margin-top: 10px;
}
.schedulers .timepicker-start {
  float: left;
  margin-bottom: 0;
}
.schedulers .timepicker-end {
  float: right;
  margin-bottom: 0;
}
.schedulers .timepicker-day,
.schedulers .timepicker-hour {
  margin-left: 0;
  margin-right: 6px;
}
.schedulers .timepicker-month,
.schedulers .timepicker-min {
  margin-left: 0;
  margin-right: 0;
}
.schedulers .timepicker-event {
  margin-bottom: 10px;
}
.schedulers .datepicker {
  padding-top: 0;
  padding-bottom: 12px;
}
.schedulers .slider-wrap {
  font-size: 0;
}
.schedulers .slider {
  width: 132px;
}
.schedulers .slider-max {
  float: right;
}
.schedulers .event-value-spinner {
  width: 135px;
}
.schedulers .event-value-text {
  width: 236px;
  margin-bottom: 0;
}
.schedulers .sidebar-edit-pri select {
  width: 250px;
  margin-bottom: 0;
}
.schedulers .color {
  cursor: pointer;
}
.schedulers .event-value-color {
  width: 26px;
  pointer-events: none;
}
.schedulers .value-color {
  width: 50px;
  border-radius: 4px;
  height: 28px;
  border-width: 1px;
  border-style: solid;
  display: inline-block;
}
.sidebar-calendar {
  padding: 10px 10px 10px 17px;
  right: 0;
  width: 233px;
}
.sidebar-calendar .picker {
  height: 245px;
}
.sidebar-calendar .inner .btn {
  width: 76px;
  padding: 0;
  height: 42px;
  line-height: 16px;
}
.schedulers thead th,
.schedulers thead td {
  padding-top: 0;
}
.schedulers .info {
  margin-bottom: 8px;
}
.sidebar-calendar .inner .btn-group {
  margin: 0 0 15px;
}
.flotr-datagrid-container {
  -webkit-overflow-scrolling: touch;
}
.flotr-datagrid-container .btn-group {
  margin-bottom: 10px;
}
.flotr-datagrid {
  min-width: 25%;
  width: auto;
  margin-bottom: 10px;
}
.inner th,
.inner td {
  padding: 4px;
}
.flotr-legend td,
.first-row th {
  border: 0 !important;
}
.single .btn-prev,
.single .btn-next,
.single .btn-menu,
.single .sidebar-menu {
  display: none !important;
}
.single .content {
  left: 0 !important;
}
.fh,
.fh body {
  height: 100%;
}
.touch .navbar .container {
  max-width: 1280px;
}
.touch .nav {
  display: block;
  position: static;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 196px;
  max-height: 100%;
  padding: 3px;
  border-radius: 6px;
}
.trends .content > div,
.touch .control-list,
.touch .navbar .container,
.touch .control-item,
.touch .sidebar {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.touch .control {
  position: absolute;
  top: 6px;
  right: 6px;
}
.touch .control .btn {
  padding: 7px 15px;
}
.touch .control input {
  padding-top: 7px;
  padding-bottom: 7px;
}
.control-single .control-name {
  line-height: 32px;
}
.touch .control .disabled {
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: none;
}
.touch .slider-wrap {
  width: 60%;
}
.touch .slider-min,
.touch .slider-max,
.touch .slider {
  display: block;
}
.touch .slider-min {
  float: left;
  margin-right: 0;
}
.touch .slider-max {
  float: right;
  margin-left: 0;
}
.touch .slider {
  width: auto;
  margin: 0 50px;
  padding: 7px 0;
}
.touch .slider .btn {
  top: 0;
  height: 28px;
  padding: 3px 13px;
}
.touch .control-item .spinner-value {
  font-size: 14px;
  width: 90px;
}
.touch .modal-header {
  cursor: default;
}
.touch .toggler {
  position: absolute;
  right: 6px;
  top: 6px;
}
.modal-close {
  border-radius: 50%;
  bottom: 10px;
  pointer-events: none;
  font-size: 32px;
  height: 40px;
  left: 50%;
  line-height: 40px;
  margin-left: -22px;
  position: fixed;
  text-align: center;
  width: 40px;
  z-index: 1050;
  opacity: 0.75;
}
.modal-camera {
  pointer-events: none;
}
.modal-camera .body {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}
.modal-camera,
.modal-iframe {
  left: 50%;
  top: 0;
  margin-top: 0;
  width: auto;
  border-radius: 0;
  border: 0 !important;
  background-color: transparent !important;
}
.modal-iframe .body {
  overflow: hidden;
}
.modal img,
.modal iframe {
  width: 100%;
  height: 100%;
}
.overlay {
  display: none;
  position: absolute;
  top: 55px;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.7;
  z-index: 70;
}
.control-wrap {
  position: absolute;
  top: 65px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  bottom: 10px;
  z-index: 50;
}
.control-list {
  background-clip: padding-box;
  border-radius: 6px;
  overflow: hidden;
  min-width: 280px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.control-item {
  height: 49px;
  padding: 8px;
  overflow: hidden;
  position: relative;
}
.control-icon {
  float: left;
  margin-right: 4px;
  width: 32px;
  height: 32px;
  overflow: hidden;
}
.control-icon img {
  max-width: 100%;
  max-height: 100%;
}
.control-name {
  line-height: 16px;
}
.control-alt .control-name {
  text-align: center;
  padding-right: 36px;
}
.plan-header,
.control-link {
  cursor: pointer;
}
.control-link i {
  margin: 0 3px;
}
.nav .a,
.navbar .title,
div.control-name,
div.control-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.control-value {
  font-size: 14px;
}
.control-item:first-child {
  border-top: none !important;
  height: 48px;
}
.sidebar-show .sidebar {
  top: 0 !important;
}
.control-slider {
  overflow: hidden;
}
.control-item-pad {
  display: none;
}
.plan-header {
  padding: 9px 8px;
  overflow: hidden;
  position: relative;
}
.plan-header .btn {
  position: absolute;
  right: 8px;
  top: 8px;
  border-radius: 50%;
  padding: 5px 9px;
}
.plan-title {
  margin: 0;
  line-height: 30px;
  text-align: center;
}
/* responsive */
@media (max-width: 1023px) {
  .btn-menu,
  .btn-calendar {
    display: block;
  }
  .sidebar-menu,
  .sidebar-calendar {
    display: none;
  }
  .content {
    left: 0;
  }
  .trends .content {
    right: 0;
  }
  .control-item:nth-child(odd) {
    border-right: none;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .trends .btn-menu {
    display: block;
  }
  .trends .sidebar-menu {
    display: none;
  }
  .trends .content {
    left: 0;
  }
}
@media (max-width: 479px) {
  .touch .control-item-slider {
    height: 90px !important;
  }
  .touch .control-item-slider .control-slider {
    background-image: none;
    top: auto;
    bottom: 6px;
    left: 6px;
    width: auto;
    text-align: center;
  }
}
@media (min-width: 480px) {
  .touch .control-item-slider .control-name,
  .touch .control-item-slider .control-value {
    width: 30%;
  }
}
@media (min-width: 1024px) {
  .touch .control-item {
    float: left;
    width: 50%;
  }
  .touch .control-item:nth-child(2) {
    border-top: none;
    height: 48px;
  }
  .touch .control-item-pad {
    display: block;
  }
}
@media (max-width: 639px) {
  .touch .sidebar {
    top: -100%;
  }
  .touch .btn-menu {
    display: block;
    margin-right: 5px !important;
  }
  .touch.sidebar-show .overlay {
    display: block;
  }
  .touch .control-wrap {
    left: 5px;
    right: 5px;
  }
}
@media (min-width: 640px) and (max-width: 1279px) {
  .touch .sidebar {
    left: 0;
  }
  .touch .btn-menu {
    display: none;
  }
  .touch .control-wrap {
    left: 219px;
    right: 5px;
  }
}
@media (min-width: 1280px) {
  .touch .sidebar {
    left: 50%;
    margin-left: -640px;
  }
  .touch .control-wrap {
    left: 50%;
    right: auto;
    width: 1056px;
    margin-left: -420px;
  }
}
/* ios fullscreen fixup */
.ios-title-bar {
  display: none;
}
.ios-fs .ios-title-bar {
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  top: 0;
  height: 20px;
  background-color: #888;
}
.ios-fs .menu,
.ios-fs .layers,
.ios-fs .navbar {
  top: 20px;
}
.ios-fs .btn-show-hide {
  top: 25px;
}
.ios-fs .control-wrap {
  top: 85px;
}
.touch .ios-fs .sidebar {
  margin-top: 85px;
}
.ios-fs.trends .sidebar,
.ios-fs.trends .content,
.ios-fs.schedulers .sidebar
.ios-fs.schedulers .content {
  top: 75px;
}
/* scrollbar */
.ps-container .ps-scrollbar,
.ps-container .ps-scrollbar-rail {
  position: absolute;
  right: 0;
  width: 8px;
  z-index: 1015;
}
.ps-container .ps-scrollbar-rail {
  opacity: 0;
}
.ps-container:hover .ps-scrollbar-rail {
  opacity: 0.6;
}
.ps-container .ps-scrollbar-rail:hover,
.ps-container .ps-scrollbar-rail.in-scrolling {
  background-color: #eee;
  opacity: 0.8;
}
.ps-container .ps-scrollbar {
  background-color: #aaa;
}
.ps-container .ps-scrollbar-rail:hover .ps-scrollbar {
  background-color: #999;
}
