:root {
  --color-brand-primary: #fec107;
    --color-brand-hover: #d4a006;
    --color-colorRed: #ff0000;
    --red: #ff0000;
    --color-colorOrange: #ffc000;
    --orange: #ffc000;
    --color-colorYellow: #fff200;
    --yellow: #fff200;
    --color-colorGreen: #8dc63f;
    --green: #8dc63f;
    --color-colorDarkGreen: #007b51;
    --darkgreen: #007b51;
    --color-colorBlue: #00bff3;
    --blue: #00bff3;
    --color-colorDarkBlue: #0072bc;
    --darkblue: #0072bc;
    --color-colorPurple: #a864a8;
    --crimson: #a864a8;
    --purple: #a864a8;
    --color-colorViolet: #ec008c;
    --violet: #ec008c;
    --grey: #4D4D4D; }

@media (min-width: 750px) {
  .dashboard {
    width: 95%;
    margin: 0 auto; }
  #userName {
    cursor: pointer;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    overflow: hidden; }
    .navbar{display: flex;
    align-items: center;}
  .navbar [class^="icon-"], .navbar [class^="icon-new-"], .navbar [class^="material-"] {
    font-size: 20px; }
    .navbar .table-icon{font-size: 29px;}
    .navbar .dashboard-icon{font-size: 30px;}
  .navbar .item1 {
    width: 92px;
    padding: 2.5px 0;
    text-align: center; }
    .navbar .item1 a {
      margin: 0 6px; }
  .navbar .item2 {
    width: calc(76% - 321px);
    margin-left: 0;
    padding: 2.5px 22px 2.5px 0;
    text-align: right; }
    .navbar .item2 [class^="icon-"], .navbar .item2 [class^="icon-new-"] {
      font-size: 22px; }
  .navbar .item3 {
    min-width: 80px;
    margin-left: 0;
    padding: 2.5px 0;
    text-align: center; 
    flex-grow: 1;
    justify-content: space-around;
  }
    .navbar .item3 [class^="icon-"], .navbar .item3 [class^="icon-new-"], .navbar .item3 [class^="material-"] {
      font-size: 24px; }
    .navbar .item3 a + a {
      margin-left: 31px; }
    .navbar .item3 li {
      padding: 0 13px; 
      margin: 0 auto;
    }
  .navbar-brand .icon-small-logo {
    font-size: 24px;
    vertical-align: middle; }
  .dropdown-menu-holder {
    display: inline-block;
    vertical-align: middle;
    max-width: calc(4% + 140px);
    margin-right: 0;
    margin-top: 0; 
    padding: 0 10px;
  }
    .dropdown-menu-holder .dropdown-menu {
      display: block;
      min-height: 0;
      min-width: 0;
      width: auto;
      max-width: 100%;
      position: static;
      padding: 0;
      -webkit-box-shadow: none;
      box-shadow: none; }
  .border-right {
    border-right: 1px solid #ebebeb; }
  .btn-plus {
    margin: 0;
    padding: 0;
    background-color: transparent; }
  .user-holder {
    margin-top: 15px; }
    .user-holder .nav-item:hover {
      color: #707e83; }
  .hasSubnav {
    position: relative; }
  .sub-menu, .user-holder .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    margin-top: 3px;
    background-color: #fff;
    width: 100%;
    border-bottom: 1px solid #ebebeb;
    border-top: 0;
    padding: 0;
    -webkit-box-shadow: 0px 13px 18.8px 1.2px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 13px 18.8px 1.2px rgba(0, 0, 0, 0.24);
    z-index: 30; }
    .sub-menu.open, .user-holder .sub-menu.open {
      display: block; }
    .sub-menu .nav-item, .user-holder .sub-menu .nav-item {
      color: #000; }
    .sub-menu > li, .user-holder .sub-menu > li {
      padding-bottom: 0;
      background-color: #fafafa; }
      .sub-menu > li:hover, .user-holder .sub-menu > li:hover {
        color: #000;
        background-color: #eee; }
      .sub-menu > li a.nav-item, .user-holder .sub-menu > li a.nav-item {
        display: block;
        padding: 11.5px 0 11.5px 20px;
        font-size: 15px;
        line-height: 27px; }
      .sub-menu > li a.colorDarkGreen, .user-holder .sub-menu > li a.colorDarkGreen {
        color: darkGreen; }
  .user-holder .sub-menu {
    min-width: 110px;
    margin-top: 6px; }
  .notification-header .sub-menu {
    min-width: 355px; }
  .navbar-right li.user-holder [class^="icon-"],
  .navbar-right li.user-holder [class^="icon-new-"] {
    font-size: 24px; }
  #user {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-start;
    width: auto;
    max-width: none;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    cursor: pointer; }
  .dropdown.page-options {
    position: static;
    float: none; }
    .dropdown.page-options .toggle-mobile {
      display: none; }
    .dropdown.page-options .dropdown-menu {
      position: absolute;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      margin-right: 25px;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
      justify-content: space-between;
      background-color: transparent;
      border: 0;
      -webkit-box-shadow: none;
      box-shadow: none;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      z-index: 10; }
  .heading.decorated hr.decor {
    margin-right: 9px; }
  .dashboard .heading {
    margin-bottom: 29px;
    margin-left: 4px; }
    .dashboard .heading .icon-edit-icon {
      font-size: 17px; }
  .page-options {
    margin-right: -10px; }
  .heading-settings-button .icon-settings_icon-header {
    font-size: 24px; }
  .card-template {
    width: 326px;
    margin-left: 5px;
    margin-right: -14px;
    margin-bottom: 21px; }
  .card-header {
    padding-right: 9px; }
  .card-info {
    padding-right: 11px; }
  .login-panel, .login-panel.fixed-width, .setup-panel.fixed-width {
    width: 460px; }
  .login-panel .panel {
    padding: 49px 30px 10px;
    margin-bottom: 42px; }
  .login-panel .link-holder {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 31px auto 22px auto; }
    .login-panel .link-holder a + a {
      margin-top: 0; }
    .login-panel .link-holder.center {
      -webkit-box-pack: center;
      -webkit-justify-content: center;
      -ms-flex-pack: center;
      justify-content: center; }
  .login-title .icon-small-logo {
    margin: 0 1px 0 -16px; }
  .login-panel .panel-body {
    padding: 61px 25px 17px 12px; }
  .login-form button {
    margin: 6px -7px 30px 0; }
  .login-panel .social-block .icon {
    margin: 0 8px; }
  .login-panel .button-holder {
    margin-right: -35px; }
  .register-page .panel-body {
    padding: 26px 25px 17px 12px; }
  .login-subtitle {
    margin-bottom: 19px; }
  .register-page .form-group.password {
    margin-bottom: 31px; }
  .register-page .link-holder {
    display: block;
    text-align: center; }
  .register-page .login-form button {
    margin: 21px 0 25px 9px; }
  .modal-dialog {
    width: 90%;
    min-width: 720px; }
  .notification .modal-dialog {
    min-width: 0;
    width: 500px; }
  .modal-content .close {
    padding: 0; }
    .modal-content .close .icon-close {
      font-size: 26px; }
  .page-device-header {
    width: 40%;
    padding: 14px 5px 14px 11px;
    float: left;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start; }
    .page-device-header img {
      max-height: 50px;
      max-width: 50px;
      width: 50px; }
    .page-device-header .icon-holder {
      margin-top: 0; }
  .page-device-settings {
    width: 48%;
    padding: 13px 10px 0 10px;
    float: none;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end; }
    .page-device-settings:after {
      content: '';
      display: block;
      clear: both; }
    .page-device-settings .connection {
      margin-bottom: 8px; }
    .page-device-settings .connection:before {
      margin: 0 10px 0 19px;
      font-size: 24px; }
  .page-device .title {
    padding: 0 10px;
    font-size: 24px;
    line-height: 24px; }
  .page-device .icon-clock-icon {
    margin: 0 3px; }
  .page-device-icons{
    width: 9%;
     float: none; 
    text-align: left;
    margin-top: 0;
    display: inline-block;
    vertical-align: bottom;
  }
  /*.page-device-icons .icon{font-size: 3em;}*/
  .page-device .degrees {
    line-height: 1; }
    .page-device .degrees > * {
      vertical-align: baseline; }
    .page-device .degrees .font-large {
      font-size: 40px; }
    .page-device .degrees .font-small {
      font-size: 30px; }
    .page-device .degrees .icon-arrow-temperature {
      font-size: 29px; }
  .page-device .degrees sup {
    font-size: 50%;
    top: -14px;
    left: 12px;
    margin-right: 12px; }
  .page-device .degrees .font-small sup {
    top: -12px;
    left: 10px;
    margin-right: 11px; }
  .connection {
    margin: 0px 1px 0px 10px; }
  .tab-page .nav-tabs {
    width: 123px;
    float: left;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    border: 0;
    white-space: normal;
    overflow: hidden; }
    .tab-page .nav-tabs > li {
      border-right: 0;
      border-bottom: 1px solid #ebebeb;
      margin-bottom: 0;
      margin-left: 0; }
      .tab-page .nav-tabs > li.active {
        -webkit-box-shadow: 0px 3px 4.7px 0.3px rgba(0, 0, 0, 0.16);
        box-shadow: 0px 3px 4.7px 0.3px rgba(0, 0, 0, 0.16); }
      .tab-page .nav-tabs > li > a {
        padding: 18px 15px; }
  .tab-page .tab-content {
    overflow: hidden; }
  .tab-page .tab-pane {
    position: relative;
    min-height: 725px;
    padding: 25px 20px;
    padding-bottom: 120px; }
  .tab-page [class^="icon-"], .tab-page [class^="icon-new-"], .tab-page .settings,  .tab-page .eyes {
    font-size: 29px; }
  .tab-pane [class^="icon-"],
  .tab-pane [class^="icon-new-"] {
    font-size: 22px; }
  .tab-page .graph {
    font-size: 32px; }
  .tab-page .holiday {
    font-size: 25px; }
  .tab-page .icon-info {
    font-size: 25px; }
  .tab-page .icon-help {
    font-size: 25px; }
  .form-device {
    min-width: 360px; }
  .form-device .form-control {
    max-width: 345px; }
  .tab-page .tab-title {
    margin-bottom: 17px;
    font-size: 20px; }
  .tab-pane#view .tab-title {
    margin-bottom: 7px; }
  .color-radio + label {
    margin-right: 12px; }
  .color-radio + label:before {
    width: 34px;
    height: 34px; }
  .tab-page .tab-pane .button-holder {
    position: absolute;
    bottom: 15px;
    right: 15px;
    margin-bottom: 0; }
    .tab-page .tab-pane .button-holder .btn,  .tab-page .tab-pane .ajax-button{
      width: 113px; }
    .tab-page .tab-pane .button-holder .btn.defaultTemplate {
      width: 140px; }
  .tab-page .hiddenBlock .button-holder {
    position: static;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between; }
    .tab-pane#scheduler .hiddenBlock .button-holder .btn{min-width: 0;padding: 0 5px;}
    .tab-page .hiddenBlock .button-holder .btn-primary {
      margin: 0; }
    .tab-page .hiddenBlock .button-holder .btn-default.default-day {
      padding: 0 5px;
      margin: 0; }
  .info-table {
    min-width: 355px;
    margin-right: 0;
    margin-left: 0;
    font-size: 14px; }
    .info-table .item {
      padding: 0; }
      .info-table .item .title {
        font-size: 14px; }
      .info-table .item > div {
        text-align: right; }
  .form-holiday .checkbox-holder {
    margin: 0 0 0 31px;
    display: inline-block;
    float: none !important; }
  .switcher + label {
    margin-bottom: 11px; }
  .input-daterange .label {
    display: none; }
  .form-holiday {
    width: 560px; }
    .form-holiday .period-holder {
      margin-bottom: 10px; }
      .form-holiday .period-holder .btn + .btn {
        margin-left: 10px; }
    .form-holiday .form-group:after {
      content: '';
      display: block;
      clear: both; }
    .form-holiday .input-daterange {
      width: 50%;
      float: left; }
      .form-holiday .input-daterange span {
        margin-right: 53px; }
    .form-holiday .icon-arrow-temperature {
      font-size: 11px; }
  .scheduler-holder {
    position: relative;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 37px; }
    .scheduler-holder .weekDay {
      width: 23px; }
  .scheduler-row {
    min-width: 370px;
       width: calc(100% - 122px);
    margin: 0 20px;
    margin-right: 0; }
    .scheduler-row .item {
      height: 20px;
      font-size: 14px; }
      .scheduler-row .item:after {
        content: attr(data-time);
        position: absolute;
        bottom: 100%;
        left: 0;
        margin-right: -15px;
        font-size: 12px;
        color: #000; }
  .profile-scheduler .scheduler-row .item:after {
    right: auto;
    left: 0; }
  .scheduler-holder:not(.profile-scheduler) .scheduler-row .item:first-child:before,
  .scheduler-holder:not(.profile-scheduler) .scheduler-row .item:first-child:before,
  .scheduler-holder:not(.profile-scheduler).scheduler-row .item:last-child:before {
    display: none; }
  .scheduler-buttons {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: right; }
    .scheduler-buttons .btn + .btn {
      margin-left: 10px; }
  .tab-pane#scheduler {
    padding: 25px 20px 25px 33px; }
    .tab-pane#scheduler > .button-holder {
      margin: 0;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap; }
      .tab-pane#scheduler > .button-holder #newTemplate {
        -webkit-box-ordinal-group: -2;
        -webkit-order: -3;
        -ms-flex-order: -3;
        order: -3; }
      .tab-pane#scheduler > .button-holder #setTemplate {
        -webkit-box-ordinal-group: -1;
        -webkit-order: -2;
        -ms-flex-order: -2;
        order: -2; }
      .tab-pane#scheduler > .button-holder #defaultTemplate {
        -webkit-box-ordinal-group: 0;
        -webkit-order: -1;
        -ms-flex-order: -1;
        order: -1;
        margin-right: 10px; }
    .tab-pane#scheduler .tab-title {
      margin-bottom: 0; }
    .tab-pane#scheduler [class^="icon-"], .tab-pane#scheduler [class^="icon-new-"] {
      font-size: 23px; }
  .modal-scheduler {
    position: relative;
    width: 367px;
    max-height: 500px;
    overflow-y: auto;
    padding-top: 7px;
    padding-right: 10px;
    padding-left: 24px; }
    .modal-scheduler .scheduler-header {
      padding-right: 29px;
      margin-bottom: 13px; }
      .modal-scheduler .scheduler-header .btn + .btn {
        margin-left: 5px; }
  .scheduler-content {
    margin-top: 22px; }
  .profile-scheduler > .form-group {
    width: auto;
    margin-bottom: 0; }
  .profile-scheduler .modal-scheduler:after {
    display: none; }
  .profile-scheduler .hiddenBlock {
    right: auto;
    left: 0;
    margin-top: 0;
    margin-left: 10px; }
  .hiddenBlock-pointer {
    display: block;
    width: 25px;
    height: 17px;
    background: url(../img/bg-angle.png) no-repeat center;
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: -2px;
    margin-top: -1px;
    z-index: 10; }
  .profile-scheduler {
    position: static; }
  .profile-scheduler .modal-scheduler .label {
    min-width: 68px; }
  .profile-scheduler .modal-scheduler .button-holder {
    margin-top: 25px; }
  .form-scheduler .dayHeading {
    margin: 0 11px 0 40px; }
  .form-scheduler .form-group {
    margin-top: 10px; }
  .form-scheduler .add-button {
    margin-top: 7px; }
  .form-scheduler .button-holder .btn {
    margin-bottom: 0; }
  .profile-scheduler .modal-scheduler .label {
    font-size: 13px; }
  .profile-scheduler .modal-scheduler .input-inline {
    width: 70px;
    font-size: 14px; }
  .profile-scheduler .modal-scheduler .currency {
    font-size: 14px; }
  .tab-pane#scheduler .form-scheduler .btn-primary {
    min-width: 0;
    width: 75px; }
  .tab-page .hiddenBlock {
    margin-right: 145px;
    margin-top: 15px; }
    .tab-page .hiddenBlock .tab-title {
      margin-bottom: 0;
      font-size: 16px; }
    .tab-page .hiddenBlock .button-holder {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
      justify-content: space-between; }
     
      .tab-page .hiddenBlock .button-holder .btn-primary {
        margin: 0; }
      .tab-page .hiddenBlock .button-holder .btn-default.default-day {
        padding: 0 5px;
        margin: 0; }
  .tab-pane#scheduler .btn-default.default-day {
    float: left;
    margin-left: -22px; }
  .form-search {
    max-width: 270px; }
  .dashboard-table {
    padding: 20px 0 30px; }
    .dashboard-table .dashboard-title h1, .dashboard-table .dashboard-title h2, .dashboard-table .dashboard-title h3, .dashboard-table .dashboard-title h4 {
      margin-right: 13px;
      font-size: 20px;
      line-height: 34px; }
    .dashboard-table .dashboard-title .btn {
      padding: 0 4px; }
      .dashboard-table .dashboard-title .btn .icon-settings_icon2 {
        font-size: 18px; }
      .dashboard-table .dashboard-title .btn .icon-new-filter {
        font-size: 16px; }
  .table-view tbody > tr td:before {
    width: 205px;
    font-size: 16px; }
  .table-view .icon-new-trash,
  .table-view .icon-settings_icon-header {
    font-size: 16px; }
  #graph {
    padding-top: 16px; }
    #graph .page-options {
      margin-left: 5px; }
    #graph .icon-arrow-down {
      font-size: 27px; }
    #graph .period-holder {
      margin-bottom: 10px;
      margin-top: 4px; }
      #graph .period-holder .btn {
        padding: 8px 27px;
        font-size: 14px; }
  .statistic-holder {
    margin-top: 12px; }
  .statistic-holder .col-sm-12:not(:last-child) {
    margin-bottom: 16px;
    border-bottom: 1px solid #ebebeb; }
  .table-zone {
    margin-bottom: 0;
    border: 0; }
  #help .btn-report {
    float: right; }
  #help .tab-title {
    margin: 5px 0 12px 0; }
  .help-panel {
    margin-top: 9px; }
  .reportFailure .modal-dialog {
    width: 455px;
    margin-top: 5vh; }
  .reportFailure .modal-header {
    padding: 37px 15px 38px 27px; }
  .reportFailure .modal-title {
    font-weight: 600; }
  .reportFailure .close {
    top: 5px; }
  .reportFailure .modal-body {
    padding: 22px 0; }
  .form-report textarea.form-control {
    min-height: 195px; }
  .form-report p {
    padding-left: 35px; }
  .form-report .button-holder {
    margin-top: 30px; }
  .setup-page .panel {
    min-height: 370px; }
  #options .defaultTemplate,
  #parameters  .defaultTemplate{
    float: left; }
  .form-options .form-group:not(.flex-justify):not(.button-holder) {
    height: 80px; }
  .attention-holder {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 22px;
    text-align: left;
    padding-left: 23px; }
    .attention-holder .btn {
      display: inline-block;
      width: auto;
      text-transform: uppercase;
      vertical-align: middle; }
    .attention-holder p {
      display: inline-block;
      margin-top: 0;
      text-align: left;
      vertical-align: middle; }
    .attention-holder p + .btn, .attention-holder .btn + p {
      margin-left: 20px; }
  #options .btn-popover,
  #parameters .btn-popover {
    position: absolute;
    top: 0;
    right: 0; }
    #options .icon{position: static;font-size: 18px;}
    #parameters .icon{position: static;font-size: 18px;}
  .form-options label {
    margin-bottom: 10px;
    padding-right: 16px;
    position: relative; }
  .page-title {
    font-size: 20px;
    font-weight: 600; }
  .delete-btn {
    float: right; }
  .notification-list {
    max-width: 325px; }
    .notification-list li {
      max-width: 276px; }
    .notification-list .notification-time {
      position: absolute;
      top: 50%;
      right: auto;
      left: 100%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      margin-left: 10px;
      margin-top: 0;
      opacity: 1; }
    .notification-list li:hover {
      margin-bottom: 10px; }
      .notification-list li:hover .notification-time {
        margin-top: 0; }
  .borderRightDesktop {
    border-right: 1px solid #ebebeb; }
  .borderTopDesktop {
    margin-top: 10px;
    border-top: 1px solid #ebebeb; }
    .borderTopDesktop-2 {
    margin-top: 10px;
    border-top: 2px solid #e0e0e0; }
  .table-view .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 100%; }
  .table-view .bootstrap-select.btn-group > .dropdown-toggle {
    padding-left: 0; }
  .profile-attention {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 20px; }
  .setup-form .form-group {
    padding-left: 25px;
    padding-right: 25px; }
  .setup-page p.footnote {
    padding-left: 25px; }
  .form-group.required:after {
    right: 10px; } }

@media (min-width: 992px) {
  body {
    font-size: 16px; }
  .nav-item.active, .nav-item:hover,
  .user-holder .nav-item:hover {
    color: #4d4d4d; }
  .navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    line-height: 4; }
    .navbar > *{
      -ms-flex-negative: 0;
      flex-shrink: 0;
    }
    .navbar .item1 {
      width: 100px;
      padding: 0px;
      text-align: center; }
    .navbar .item2 {
      width: 30%;
      /*padding: 0px 19px 0px 0;*/
      padding: 0;
      /*margin-left: -4px;*/
      text-align: right; 
      flex-grow: 1;
    }
      .navbar .item2 .hasSubnav > ul {
        min-width: 120px; }
    .navbar .item3 {
    	max-width: 18%;
      padding: 0 10px;
      margin-left: 0;
      text-align: center; 
          flex-grow: 0;
          flex-shrink: 1;
    }
      .navbar .item3 li {
        margin: 0 auto; }
  .dropdown-menu-holder {
    max-width: calc(52% - 320px);
    width: auto;
    margin-left: 0;
    text-align: right; }
    .dropdown-menu-holder .dropdown-menu {
      width: auto; 
      max-width: 100%;
  }
      #user{
      	width: auto;
      	max-width: 100%;
      }
      #userName{max-width: 15em;}
  .navbar-brand {
    width: 220px;
    padding-right: 13px;
    line-height: 1; }
  .navbar-brand .logo-text {
    display: inline-block;
    vertical-align: middle;
    font-size: 32px;
    margin-left: 6px;
    letter-spacing: 1px; }
  .navbar-right > li {
    padding-bottom: 17px; }
  .form-group-half {
    width: 50%; }
  .btn-plus {
    width: auto; }
    .btn-plus:hover {
      background-color: transparent; }
  .sub-menu {
    margin-top: 0;
    text-align: left; }
    .sub-menu li {
      width: 100%; }
    .sub-menu li + li {
      border-top: 1px solid #eee; }
  .navbar .hasSubnav {
    text-align: left; }
    .navbar .hasSubnav.notification-header {
      min-width: 0; }
      .navbar .hasSubnav.notification-header .sub-menu {
        min-width: 355px;
        margin-right: -73px;
        text-align: center;
        z-index: 20; }
        .navbar .hasSubnav.notification-header .sub-menu li:last-child a {
          padding-left: 0;
          margin: 0;
          display: inline-block;
          vertical-align: middle;
          width: 49%; }
        .navbar .hasSubnav.notification-header .sub-menu ul li:last-child a {
          width: 100%; }
  .user-holder .sub-menu.open {
    margin-top: 1px; }
  .scheduler-row .item:after {
    font-size: 14px; }
  .table-view thead {
    display: table-header-group; }
  .table-view tbody > tr {
    display: table-row; }
  .table-striped > tbody > tr:nth-of-type(even) {
    background-color: #f9f9f9; }
  .table-view {
    margin-top: 10px; }
  .table-view tbody > tr {
    position: static;
    margin-top: 0; }
  .table-view tbody > tr td {
    line-height: 47px; }
  .table-view tbody > tr td:before {
    display: none; }
  .table-striped > tbody > tr > td:nth-of-type(odd) {
    background-color: transparent; }
  .table-view td.button-holder {
    position: static;
    padding-right: 5px;
    padding-left: 15px;
    text-align: right; }
  .table-view td.button-holder .btn {
    padding: 7px; }
  .table-view > thead > tr > th:not(:nth-of-type(1)) {
    padding-left: 0; }
  .table-view td, .table-view th {
    font-weight: 400; }
    .table-view td:nth-of-type(1), .table-view th:nth-of-type(1) {
      width: 9%; }
    .table-view td:nth-of-type(2), .table-view th:nth-of-type(2) {
      width: 18%; }
    .table-view td:nth-of-type(3), .table-view th:nth-of-type(3) {
      width: 19%; }
    .table-view td:nth-of-type(4), .table-view th:nth-of-type(4) {
      width: 13%; }
    .table-view td:nth-of-type(5), .table-view th:nth-of-type(5) {
      width: 12%; }
    .table-view td:nth-of-type(6), .table-view th:nth-of-type(6) {
      width: 9%; }
    .table-view td:nth-of-type(7), .table-view th:nth-of-type(7) {
      width: 14%; }
  .table-view td:nth-of-type(5):not(.color-gray-light), .table-view td:nth-of-type(6) {
    padding-left: 20px; }
  .tablesorter .header .arrow {
    display: inline-block;
    width: 6px;
    height: 13px;
    margin-left: 5px;
    vertical-align: middle;
    background: url(../img/table-arrow-default.png) no-repeat center; }
  .tablesorter .header.headerSortUp .arrow {
    height: 6px;
    background: url(../img/table-arrow-up.png) no-repeat center; }
  .tablesorter .header.headerSortDown .arrow {
    height: 6px;
    background: url(../img/table-arrow-down.png) no-repeat center; }
  #graph {
    padding-top: 26px;
    padding-left: 24px; }
  #graph .page-options {
    margin-left: 0; }
  #graph .period-holder {
    margin-bottom: 0;
    margin-top: 0;
    float: right; }
  .tab-pane#help {
    position: relative;
    padding: 20px 27px 15px 28px; }
    .tab-pane#help:after {
      content: '';
      position: absolute;
      top: 69px;
      bottom: 0;
      left: 270px;
      margin-left: 25px;
      width: 1px;
      background-color: #ebebeb; }
  .tab-pane#help .help-panel {
    position: relative;
    margin-right: -27px;
    margin-left: -28px;
    padding-left: 14px;
    padding-top: 16px;
    border-top: 1px solid #ebebeb; }
  .help-panel .panel-heading a {
    border: 0; }
  .help-panel .panel:after {
    content: '';
    display: block;
    clear: both; }
  .help-panel .panel-heading {
    width: 270px;
    float: left; }
  .help-panel .panel-collapse {
    position: absolute;
    top: 0;
    left: 270px;
    z-index: 10;
    width: calc(100% - 270px);
    float: left;
    max-height: 556px;
    overflow-y: auto; }
  .help-panel .panel-body {
    padding: 8px 18px 0 42px; }
  .form-options .form-group.flex-justify {
    height: 45px; } 
    .page-device-header{width: auto;}
    .page-device-settings{
      width: auto;}
    .page-device-icons{
      float: right;
      margin-right: 50px;
      margin-top: 13px;
    }
  }

@media (min-width: 1000px) {
  .info-table {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 40px);
    min-width: 0;
    min-height: 605px;
    margin-bottom: 0; }
    .info-table .item .title {
      margin: 0;
      line-height: 39px; }
    .info-table + .info-table {
      position: relative;
      margin-left: 40px; }
      .info-table + .info-table:before {
        content: '';
        position: absolute;
        top: 15px;
        bottom: 0;
        left: -20px;
        width: 1px;
        background-color: #ebebeb; }
  .info-table .item span, .info-table .item.no-border {
    line-height: 39px; } }

@media (min-width: 1350px) {
  /*.dropdown-menu-holder{width: calc(40% - 320px);}*/
  .navbar .item2{
    width: 42%;
    padding-right: 19px;
    }
  .navbar .item2 .btn-options {
    margin-left: 2px; }
    .navbar .item2 .btn-options i {
      margin-right: 7px; }
  .navbar .item2 .btn-plus i {
    margin-right: 6px; }
  .navbar .item3 a {
    margin-bottom: 0;
    margin-right: 0; }
  .navbar .item3 > li {
    margin: 0 auto; }
  .dashboard {
    padding: 25px 0 0 0; }
    .dashboard .heading {
      margin-bottom: 23px;
      margin-right: 4px; }
  .heading.decorated hr.decor {
    margin-right: 25px; }
  .page-options {
    margin-right: -4px; }
  .card-template {
    min-width: 0;
    margin-left: 0;
    margin-right: -8px;
    width: 326px; }
  .add-button-holder {
    width: 326px; }
  .add-button-holder .add-template {
    margin-left: -57px; }
  .add-button-holder p {
    width: 49%;
    margin: 7px 21% -8px 0; }
  .modal-dialog {
    width: 90%; }
  .notification .modal-dialog {
    width: 500px; }
  .page-device-header {
    padding: 20px 0 12px 20px; }
    .page-device-icons{margin-top: 20px;}
  .page-device-settings {
    padding: 20px 33px 10px 33px;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center; }
    .page-device-settings:after {
      content: '';
      display: block;
      clear: both; }
    .page-device-settings .connection {
      margin-top: 0;
      margin-bottom: 0;
      margin-left: 19px; }
  .page-device .title {
    margin-left: 16px;
    margin-right: 15px; }
  .page-device .degrees > * {
    vertical-align: middle; }
  .page-device .degrees .font-large {
    font-size: 50px; }
  .page-device .degrees .font-small {
    font-size: 40px; }
  .page-device .degrees .icon-arrow-temperature {
    margin: 0 14px; }
  .page-device .page-device-header .icon-warning {
    margin: 1px 0; }
  .tab-page {
    margin-top: 25px; }
    .tab-page .tab-pane {
      /*min-height: 636px;*/
      padding: 30px 25px 120px 30px; }
  .tab-page .nav-tabs {
    width: 130px; }
  .form-device {
    width: 31%; }
  .form-holiday {
    width: 560px; }
  .form-holiday .checkbox-holder {
    margin: 0 0 0 46px; }
  .form-holiday .slider.slider-horizontal {
    margin-top: 22px; }
  .form-holiday .SliderVal {
    margin: 7px 6px 0 4px; }
  .form-holiday .period-holder {
    margin-top: 27px; }
  .form-device .button-holder {
    bottom: 34px;
    right: 30px; }
  .info-table .item .tab-title {
    line-height: 39px; }
  .tab-pane#scheduler {
    padding: 18px 20px 25px 33px; }
  .tab-pane#scheduler > .button-holder .resetTemplate, .tab-pane#scheduler > .button-holder .saveTemplate {
    margin-right: 10px; }
  .tab-pane#scheduler > .button-holder .newTemplate, .tab-pane#scheduler > .button-holder .setTemplate, .tab-pane#scheduler > .button-holder .defaultTemplate {
    float: left; }
  .scheduler-content {
    margin-top: 25px; }
  .scheduler-holder {
    margin-bottom: 39px; }
  .scheduler-row .item {
    height: 25px;
    line-height: 1.8; }
  .scheduler-row .item + .item {
    border-left: 3px solid #fff; }
  .table-view td:nth-of-type(1), th:nth-of-type(1) {
    width: 113px;
    padding-left: 13px; }
  .table-view td:nth-of-type(2), th:nth-of-type(2) {
    width: 264px; }
  .table-view td:nth-of-type(3), th:nth-of-type(3) {
    width: 250px; }
  .table-view td:nth-of-type(4), th:nth-of-type(4) {
    width: 165px; }
  .table-view td:nth-of-type(5), th:nth-of-type(5) {
    width: 112px; }
  .table-view td:nth-of-type(6), th:nth-of-type(6) {
    width: 118px; }
  .table-view td:nth-of-type(7), th:nth-of-type(7) {
    width: 188px; }
  .hiddenBlock {
    margin-top: 4px;
    margin-right: 130px; }
  .statistic-holder {
    margin-top: 18px; }
  .statistic-holder .col-sm-12:not(:last-child) {
    margin-bottom: 0;
    border-bottom: 0;
    border-right: 1px solid #ebebeb; }
  .datepicker.dropdown-menu {
    width: 227px; } }

@media (max-width: 749px) {
  .bootstrap-select.btn-group > .dropdown-toggle .caret{right: 20px;}
  .notification-list .popover {
    width: 290px;
    left: 0 !important;
    top: 0 !important;
    margin-top: 73px;
    margin-left: 0 !important; }
    .notification-list .popover > .arrow {
      display: none; }
  .notification-header .sub-menu {
    left: auto;
    right: 0;
    padding-right: 10px;
    min-width: 255px; }
  .hiddenBlock {
    top: 0 !important; }
  .form-profile .bootstrap-select.btn-group > .dropdown-toggle .caret {
    right: 12px; }
  .sortable_div {
    margin: 0; } }

@media (max-width: 767px) {
  .footer__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center; } }

@media (max-width: 767px) and (orientation: landscape) {
  .notification-header .sub-menu {
    min-width: 290px; } }

@-moz-document url-prefix() {
  .range-default .SliderVal {
    display: block;
    height: 39px;
    line-height: 41px;
    padding: 0 27.5px 0 4.5px; } }

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .spinner > div {
    background-color: #fec107; }
  .colorRed {
    color: #ff0000; }
  .colorOrange {
    color: #ffc000; }
  .colorYellow {
    color: #fff200; }
  .colorGreen {
    color: #8dc63f; }
  .colorDarkGreen {
    color: #007b51; }
  .colorBlue {
    color: #00bff3; }
  .colorDarkBlue {
    color: #0072bc; }
  .colorPurple {
    color: #a864a8; }
  .colorViolet {
    color: #ec008c; }
  .bg-color1 {
    background-color: #00bff3; }
  .bg-color2 {
    background-color: #ffc000; }
  .bg-color3 {
    background-color: #fff200; }
  .bg-color4 {
    background-color: #ff0000; }
  .bg-color5 {
    background-color: #8dc63f; }
  .icon-new-error {
    color: #ff0000; }
  .btn-primary {
    background-color: #fec107; }
  .btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:focus, .btn-primary.focus {
    background-color: #d4a006; }
  .card-template .borderRed > .card-header {
    border-top-color: #ff0000; }
  .card-template .borderOrange > .card-header {
    border-top-color: #ffc000; }
  .card-template .borderYellow > .card-header {
    border-top-color: #fff200; }
  .card-template .borderGreen > .card-header {
    border-top-color: #8dc63f; }
  .card-template .borderBlue > .card-header {
    border-top-color: #00bff3; }
  .card-template .borderDarkBlue > .card-header {
    border-top-color: #0072bc; }
  .card-template .borderPurple > .card-header {
    border-top-color: #a864a8; }
  .card-template .borderViolet > .card-header {
    border-top-color: #ec008c; }
  .form-control:focus {
    border-bottom: 2px solid #fec107; }
  label.borderRed:before {
    background-color: #ff0000; }
  label.borderOrange:before {
    background-color: #ffc000; }
  label.borderYellow:before {
    background-color: #fff200; }
  label.borderGreen:before {
    background-color: #8dc63f; }
  label.borderBlue:before {
    background-color: #00bff3; }
  label.borderDarkBlue:before {
    background-color: #0072bc; }
  label.borderPurple:before {
    background-color: #a864a8; }
  label.borderViolet:before {
    background-color: #ec008c; }
  .checkbox-brand:checked + label:before {
    background-color: #fec107;
    border: 2px solid #fec107; }
  .switcher-holder input:checked ~ .switcher {
    background: #fec107; }
  .slider.slider-horizontal .slider-selection {
    background-color: #fec107; }
  .slider.slider-horizontal .slider-handle {
    background-color: #fec107; }
  .navbar-brand {
    background-color: #fec107; }
  .navbar-brand:focus, .navbar-brand:hover {
    background-color: #d4a006; }
  .badge.brand-danger {
    background-color: #ff0000; }
  .login-title {
    color: #fec107; }
  .form-group.required:after {
    color: #fec107; }
  .footnote:before {
    color: #fec107; }
  .scheduler-row .item.bg-color1 {
    background-color: #00bff3; }
  .scheduler-row .item.bg-color2 {
    background-color: #ffc000; }
  .scheduler-row .item.bg-color3 {
    background-color: #fff200; }
  .scheduler-row .item.bg-color4 {
    background-color: #ff0000; } }
	
	
/* new styles */

@media (max-width: 760px) {
	.mobile_tools{
		display:block;
	}
	
	.card_disabled .mobile_tools{
		display:none;
	}
}	


@media (max-width: 680px) {
	.modal_small{
		min-width:inherit !important;
	}
	
	.new_user_input,
	.user_email_add{
		width:100%;
		float:none;
		margin-right:0px;
	}
	
	.new_user_rights{
		width:88%;	
		margin-bottom:30px;	
	}
	
	.login-form .form-group, .new_user_form .form-group,
	.user_email_add{
		margin-bottom:10px;
	}
		
	.owner{
		top:0px;
		margin-right:0px;
	}
	
	.new_user_input .form-control,
	.new_user_rights .bootstrap-select.btn-group .dropdown-toggle .filter-option,
	.new_user_rights .bootstrap-select.btn-group .dropdown-menu li a span.text,
	.user_email, 
	.user_email_add span{
		font-size:14px;
	}
	
	.owner{
		font-size:12px;
	}
	
	.add_new_user, .delete_user{
		margin-right:0px;
	}
	
	.modal_small .modal-content{
		padding-right:16px;
		padding-left:16px;
		padding-bottom:16px;
	}
	
	.user_email, 
	.user_email_add span{
		max-width:125px;
		white-space:nowrap;
		overflow:hidden;
		text-overflow:ellipsis;	
	}
	
	.form_row{
		margin-bottom:0px;
	}
	
	.buttons_group{
		padding-top:0px;
	}
}

@media (max-width: 460px) {
	.buttonDone,
	.buttonCancel{
		width:100%;
		margin-right:0px;
		margin-bottom:15px;
		display:block;
	}
	
}


@media (max-width: 380px) {
	.card-info .value{
		margin-left:18px;
	}
	
	.icon_arrow{
		margin-right:0px;
	}
	
	.card-info .icon-holder{
		padding-right:22px;
	}
	
	.card-template{
		padding-left:3px !important;
		padding-right:3px !important;
	}
	
	.card-template .settings{
		margin-left:10px;
	}
}

@media (max-width: 320px) {
	#wrapper{
		width:320px;
		overflow:auto;
		display:block;
	}
}


