/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
    background-color: #eaeff2;
    width: 78%;
    position: fixed;
    right: 0;
    z-index: 1002;
}
.nav-row-devices {
    margin-left: 0;
}
.nav-col-devices {
    padding-left: 0;
}
.nav-menu-content-left {
    text-align: left;
    margin-bottom: 10px;
}
.nav-menu-content-left img {
    height: 45px;
    vertical-align: baseline;
}
.nav-menu-content-right {
    text-align: right;
    position: absolute;
    right: 10px;
    bottom: 17px;
}
.nav-menu-content-right img {
    margin-left: 3px;
    vertical-align: baseline;
    height: 30px;
}
.devices-header-right {
    text-transform: uppercase;
    display: table;
    float: right;
    cursor: pointer;
    margin: 0;
    margin-left: 10px;
}
.devices-header-right span {
    display: table-cell;
    vertical-align: middle;
}
/* ==========================================================================
   LEFT MENU
   ========================================================================== */
.devices-left-fixed {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #00a79d;
    height: 100%;
    width: 22%;
}
.show-by {
    font-size: 18px;
}
.sector-name {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 1px;
}
.sector-name-hr {
    margin-top: 0;
    margin-bottom: 0;
}
.bt-switch-icon {
    height: 25px;
    float: right;
    cursor: pointer;
    margin-top: -30px;
}
.bt-switch-icon:active {
    -webkit-animation: rotation .3s infinite linear;
    -moz-animation: rotation .3s infinite linear;
    -o-animation: rotation .3s infinite linear;
    animation: rotation .3s infinite linear;
}
.subtype-device {
    cursor: pointer;
    margin: 0 -19px -1px -16px;
    padding-top: 5px;
}
.subtype-device div {
    padding-left: 12px;
}
.devices-list-hr {
    margin: auto;
}
.devices-h3 {
    width: 90%;
    margin-bottom: 1px;
    text-transform: none;
}
/* ==========================================================================
   RIGHT MENU
   ========================================================================== */
.devices-right-fixed {
    position: absolute;
    top: 0;
    right: 0;
    width: 78%;
    min-height: 100%;
    padding-top: 112px;
    background-color: #eaeff2;
    z-index: 1001;
    margin-right: 300px;
}
.menu-divisions {
    background-color: #fff;
    margin: 15px 0;
}
h2 {
    color: #00a79d;
}
.divisions-nav-right p {
    float: right;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: right;
}
.device-status {
    text-align: right;
    margin-bottom: 10px;
    line-height: 40px;
}
.icon-devices {
    height: 40px;
    width: 40px;
    cursor: pointer;
}
.shutter-slider img {
    height: 40px;
}
.icon {
    cursor: pointer;
}
.consumption {
    font-size: 14px;
    color: #00a79d;
    font-weight: bold;
    text-align: left;
    position: absolute;
    right: 60px;
    bottom: 10px;
}
.turn-off {
    text-align: right;
}
.turn-off p {
    margin-bottom: -5px;
    text-transform: uppercase;
    color: #90969B;
}
.turn-off-icon {
    vertical-align: bottom;
    margin-bottom: 7px;
    margin-left: -7px;
}
.turn-off span {
    cursor: pointer;
    font-weight: 700;
}
.turn-off p > span:first-child {
    cursor: pointer;
    margin-right: 20px;
}
.devices-span-right {
    margin-right: 0;
}
.no-cursor {
    cursor: default !important;
}
.deny-add-new-device {
    cursor: default;
    opacity: .6;
}
.device-slider {
    margin-top: 10px;
}
.shutter-div {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-box;
    display: inline-box;
}
.shutter-div p {
    text-align: center;
}
.left-device-name {
    text-transform: capitalize;
}
.number-of-devices {
    float: right;
}
.number-of-devices-label {
    font-size: 100%;
    float: right;
    margin-top: -4px;
}
/* SLIDER */
.tooltip-main {
    opacity: 1;
}
.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #00a79d;
    background-color: transparent;
    text-align: center;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 105%;
    margin-left: 6px;
}
.tooltip-inner:after {
    content: '%';
}
.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: transparent;
}
.slider-track {
    position: absolute;
    cursor: pointer;
    background-image: -webkit-linear-gradient(top, #fff 0%, #fff 100%);
    background-image: -o-linear-gradient(top, #fff 0%, #fff 100%);
    background-image: linear-gradient(to bottom, #fff 0%, #fff 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: none;
    border-radius: 0;
}
.slider.slider-horizontal .slider-selection, .slider.slider-horizontal .slider-track-low, .slider.slider-horizontal .slider-track-high {
    height: 30%;
    top: 55%;
    bottom: 0;
    background-color: #90969B;
    padding: 0;
}
.slider-handle {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #00a79d;
    background-image: -webkit-linear-gradient(top, #00a79d 0%, #00a79d 100%);
    background-image: -o-linear-gradient(top, #00a79d 0%, #00a79d 100%);
    background-image: linear-gradient(to bottom, #00a79d 0%, #00a79d 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
    filter: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 2px solid #ffffff;
}
.slider-selection {
    position: absolute;
    background-image: -webkit-linear-gradient(top, #00a79d 0%, #00a79d 100%);
    background-image: -o-linear-gradient(top, #00a79d 0%, #00a79d 100%);
    background-image: linear-gradient(to bottom, #00a79d 0%, #00a79d 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 4px;
}
.shutter-slider img {
    cursor: pointer;
}
.shutter-slider img:first-child {
    margin-right: 15px;
}
.shutter-slider img:nth-child(2) {
    margin-right: 15px;
}
.device-name {
    padding-right: 10px;
    line-height: 40px;
}
.devices-value-label {
    padding-right:10px;
}
.values-separator {
    padding-left: 10px;
    padding-right: 10px;
}
.shutter-closed-label {
    margin: 0;
    position: absolute;
    left: -15px;
    top: 30px;
    font-size: 100%;
}
.shutter-opened-label {
    position: absolute;
    margin: 0;
    right: -15px;
    font-size: 100%;
    top: 30px;
}
.sensor-value-padding {
    padding-right: 10px;
}
/* Responsive Part */
@media only screen and (min-width: 1500px) {
    .menu-left {
        margin-right: -12px;
    }
}
@media only screen and (max-width: 1199px) {
    /* ==========================================================================
       NAV
       ========================================================================== */
    .nav-menu-content-right {
        bottom: 10px;
    }
    .nav-menu-content-right img {
        height: 25px;
    }
    /* ==========================================================================
       LEFT MENU
       ========================================================================== */
    .sector-name {
        font-size: 21px;
    }
    .show-by {
        font-size: 16px;
    }
    .devices-h3 {
        margin-bottom: 1px;
    }
    .bt-switch-icon {
        height: 21px;
        margin-top: -25px;
    }
    .subtype-device {
        margin-left: -20px;
    }
    .subtype-device div {
        padding-left: 13px;
    }
    .devices-list {
        margin-left: -20px;
    }
    .devices-list-hr {
        margin-left: 0;
    }
    /*.left-device-name {
        padding-left: 5px;
    }                   */
    .divisions-nav-right p {
        margin-top: 13px;
    }
}
@media only screen and (max-width: 991px) {
    /* ==========================================================================
       LEFT MENU
       ========================================================================== */
    .sector-name {
        font-size: 18px;
    }
    .show-by {
        font-size: 14px;
    }
    /* ==========================================================================
       RIGHT MENU
       ========================================================================== */
    .devices-right-fixed {
        top: 80px;
        padding-top: 0;
    }
    .nav-menu-content-left img {
        height: 28px;
    }
    .nav-menu-content-right {
        right: 3px;
        bottom: 5px;
    }
    .nav-menu-content-right img {
        height: 22px;
        margin-bottom: 0;
    }
    .devices-header-right span {
        font-size: 12px;
    }
    .bt-switch-icon {
        height: 22px;
        margin-top: -25px;
    }
    .number-of-devices-label {
        font-size: 90%;
    }
    .subtype-device {
        margin-left: -23px;
    }
    .turn-off img {
        height: 18px;
        margin-bottom: 3px;
    }
    .shutter-slider div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .slider-div div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .slider.slider-horizontal {
        margin-left: -20px;
    }
    .icon-devices {
        height: 35px;
        width: 35px;
    }
    .shutter-slider img {
        height: 35px;
    }
    .device-slider {
        margin-left: -10px;
        margin-right: -5%;
        width: 40%;
    }
    .shutter-slider {
        padding: 0 !important;
    }
    .divisions-nav-right p {
        margin-top: 8px;
    }
    .device-status {
        margin-bottom: 0;
    }
    .devices-value-div {
        margin-left: -9px;
        margin-right: -9px;
    }
    .shutter-closed-label {
        left: 0;
        font-size: 85% !important;
        top: 20px;
    }
    .shutter-opened-label {
        right: 0;
        font-size: 85% !important;
        top: 20px;
    }
    .devices-h3 {
        width: 94%
    }
}
@media only screen and (max-width: 800px) {
    /******************************
    STYLING FOR IPADS
    ******************************/
    .sector-name {
        font-size: 20px;
        margin-top: 9px;
        width: 92%;
    }
    .divisions-nav-right p {
        margin-top: 7px;
    }
    .bt-switch-icon {
        height: 25px;
        margin-top: -30px;
    }
    .subtype-device {
        padding-top: 15px;
    }
    .number-of-devices-label {
        font-size: 110%;
    }
    .devices-h3 {
        width: 92%
    }
}
@media only screen and (max-width: 767px) {
    /* NAV */
    #nav-toggle { position: absolute; left: 10px; top: 10px; }

    #nav-toggle { cursor: pointer; padding: 14px 40px 18px 0; }
    #nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
        cursor: pointer;
        border-radius: 1px;
        height: 4px;
        width: 40px;
        background: #90969B;
        position: absolute;
        display: block;
        content: '';
        margin: 2px 0;
    }
    #nav-toggle span:before {
      top: -10px;
    }
    #nav-toggle span:after {
      bottom: -10px;
    }

    #nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
      transition: all 500ms ease-in-out;
    }
    #nav-toggle.active-menu span {
      background-color: transparent;
    }
    #nav-toggle.active-menu span:before, #nav-toggle.active-menu span:after {
      top: 0;
    }
    #nav-toggle.active-menu span:before {
      transform: rotate(45deg);
    }
    #nav-toggle.active-menu span:after {
      transform: rotate(-45deg);
    }
    .bt-switch-icon {
        height: 38px;
        margin-top: -43px;
        padding-right: 1px;
    }
    .nav {
        top: -1px;
        z-index: 1001;
    }
    .devices-list {
        margin-left: -25px;
    }
    .devices-list-hr {
        margin-top: 28px;
        margin-left: 2px;
    }
    .sector-name {
        font-size: 30px;
        margin-bottom: 4px;
    }
    .left-device-name {
        padding-left: 2px;
        font-size: 20px;
        line-height: 33px;
    }
    .number-of-devices {
        font-size: 22px;
    }
    .number-of-devices-label {
        font-size: 140%;
    }
    .subtype-device {
        margin-left: -24px;
        margin-right: -15px;
    }

    /* RIGHT MENU */
    .nav-toggle-div {
        height: 55px;
        z-index: 1002;
        position: fixed;
        width: 75px;
        margin-top: 7px;
        margin-left: 12px;
    }
    .devices-right-fixed {
        position: absolute;
        width: 100%;
        top: 40px;
        margin-top: -4px;
        z-index: 1001;
        margin-right: 0;
    }
    .device-name {
        line-height: 40px;
        font-size: 20px;
    }
    .device-status {
        line-height: 40px;
    }
    .icon-devices {
        height: 40px;
        width: 40px;
    }
    .shutter-device-name p {
        line-height: 30px;
    }
    .shutter-slider img {
        height: 40px;
    }
    .divisions-nav-right p {
        line-height: 30px;
        font-size: 18px;
    }
    .divisions-nav-right span {
        font-size: 18px;
    }
    .device-status p {
        font-size: 20px;
    }
    .device-status span {
        font-size: 20px;
    }
    .tooltip-inner {
        font-size: 120%;
        margin-top: 5px;
    }
    .devices-header-right span {
        font-size: 16px;
    }
    .nav-menu-content-right {
        bottom: 0;
    }
    .devices-header-right {
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 600px) {
    .turn-off img {
        height: 14px;
    }
    .devices-value-label {
        padding-right: 5px;
    }
    .values-separator {
        padding-left: 5px;
        padding-right: 5px;
    }
    .device-status span {
        font-size: 16px;
    }
    .subtype-device {
        padding-top: 5px;
    }
}
@media only screen and (max-width: 450px) {
    .left-device-name {
        font-size: 17px;
        line-height: 27px;
    }
    .number-of-devices {
        font-size: 18px;
    }
    .number-of-devices-label {
        font-size: 120%;
    }
    .sector-name {
        font-size: 26px;
        margin-top: 1px;
    }
    .devices-list-hr {
        margin-top: 22px;
    }
    .bt-switch-icon {
        height: 33px;
        margin-top: -37px;
        padding-right: 4px;
    }
    .turn-off img {
        height: 12px;
        margin-bottom: 3px;
    }
    .tooltip-inner {
        margin-left: -5px;
    }
    .divisions-nav-right span {
        font-size: 16px;
    }
    .device-name {
        line-height: 20px;
        font-size: 16px;
        margin: 25px 0;
    }
    .shutter-device-name p {
        line-height: 20px;
    }
    .device-status {
        line-height: 45px;
    }
    .device-slider {
        width: 40%;
        margin-left: -2px;
        margin-right: 0;
        margin-top: 10px;
    }
    .shutter-slider {
        width: 26.666667%;
    }
    .shutter-slider img {
        height: 30px;
    }
    .shutter-slider img:first-child {
        margin-right: 5px;
    }
    .shutter-slider img:nth-child(2) {
        margin-right: 5px;
    }
    .shutter-slider img:nth-child(3) {
        margin-right: -5px;
    }
    .shutter-slider img:nth-child(4) {
        margin-right: -5px;
    }
    .divisions-nav-right p {
        font-size: 16px;
        margin: 10px 0 10px;
        line-height: inherit;
    }
    .nav-toggle-div {
        width: 65px;
    }
    .devices-header-right span {
        font-size: 14px;
    }
    .nav-menu-content-right img {
        height: 20px;
    }
    .devices-header-right {
        margin-bottom: 3px;
    }
    .shutter-closed-label {
        font-size: 75% !important;
    }
    .shutter-opened-label {
        font-size: 75% !important;
    }
    .icon-devices {
        height: 30px;
        width: 30px;
    }
}
@media only screen and (max-width: 350px) {
    .turn-off img {
        height: 10px;
        margin-bottom: 4px;
    }
    .devices-header-right {
        display: none;
    }
    .sector-name {
        font-size: 24px;
    }
    .bt-switch-icon {
        height: 30px;
        margin-top: -35px;
        padding-right: 2px;
    }
}
