﻿/*@font-face {
    font-family: "Digitalix";
    src: url("../fonts/digitalix.eot");*/ /* IE9 Compat Modes */
    /*src: url("../fonts/digitalix.eot?#iefix") format("embedded-opentype"),*/ /* IE6-IE8 */
    /*url("../fonts/digitalix.otf") format("opentype"),*/ /* Open Type Font */
    /*url("../fonts/digitalix.svg") format("svg"),*/ /* Legacy iOS */
    /*url("../fonts/digitalix.ttf") format("truetype"),*/ /* Safari, Android, iOS */
    /*url("../fonts/digitalix.woff") format("woff"),*/ /* Modern Browsers */
    /*url("../fonts/digitalix.woff2") format("woff2");*/ /* Modern Browsers */
    /*font-weight: normal;
    font-style: normal;
}*/

@font-face {
    font-family: 'Girolight';
    src: url('../fonts/girolight.eot');
    src: url('../fonts/girolight.eot?#iefix') format('embedded-opentype'), url('../fonts/girolight.woff2') format('woff2'), url('../fonts/girolight.woff') format('woff'), url('../fonts/girolight.ttf') format('truetype'), url('../fonts/girolight.svg#girolight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Digital';
    src: url('../fonts/digitb-webfont.eot');
    src: url('../fonts/digitb-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/digitb-webfont.woff2') format('woff2'), url('../fonts/digitb-webfont.woff') format('woff'), url('../fonts/digitb-webfont.ttf') format('truetype'), url('../fonts/digitb-webfont.svg#ds-digitalbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

.cerebro_title {
    font-family: Girolight, sans-serif;
    font-size: 36px;
    display:block;
}
.smartdomo_title {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 8px;
    text-transform: uppercase;
    display:block;
}

.lime {
    background: #b6e026;
    background: -moz-linear-gradient(top, #b6e026 0%, #abdc28 100%);
    background: -webkit-linear-gradient(top, #b6e026 0%,#abdc28 100%);
    background: linear-gradient(to bottom, #b6e026 0%,#abdc28 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b6e026', endColorstr='#abdc28',GradientType=0 );
}

.lime:active {
    background: #b8e228;
    background: -moz-linear-gradient(top, #b8e228 0%, #addd2a 100%);
    background: -webkit-linear-gradient(top, #b8e228 0%,#addd2a 100%);
    background: linear-gradient(to bottom, #b8e228 0%,#addd2a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b8e228', endColorstr='#addd2a',GradientType=0 );
}

.arancio {
    background: #ffa84c;
    background: -moz-linear-gradient(top, #ffa84c 0%, #ff7b0d 100%);
    background: -webkit-linear-gradient(top, #ffa84c 0%,#ff7b0d 100%);
    background: linear-gradient(to bottom, #ffa84c 0%,#ff7b0d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa84c', endColorstr='#ff7b0d',GradientType=0 );
}

.arancio:active {
    background: #ffaa4e;
    background: -moz-linear-gradient(top, #ffaa4e 0%, #ff7d0f 100%);
    background: -webkit-linear-gradient(top, #ffaa4e 0%,#ff7d0f 100%);
    background: linear-gradient(to bottom, #ffaa4e 0%,#ff7d0f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffaa4e', endColorstr='#ff7d0f',GradientType=0 );
}

.celeste {
    background: #63b6db;
    background: -moz-linear-gradient(top, #63b6db 0%, #309dcf 100%);
    background: -webkit-linear-gradient(top, #63b6db 0%,#309dcf 100%);
    background: linear-gradient(to bottom, #63b6db 0%,#309dcf 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#63b6db', endColorstr='#309dcf',GradientType=0 );
}

.celeste:active {
    background: #65b8dd;
    background: -moz-linear-gradient(top, #65b8dd 0%, #329fd1 100%);
    background: -webkit-linear-gradient(top, #65b8dd 0%,#329fd1 100%);
    background: linear-gradient(to bottom, #65b8dd 0%,#329fd1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#65b8dd', endColorstr='#329fd1',GradientType=0 );
}

.verde {
    background: #43d34d;
    background: -moz-linear-gradient(top, #43d34d 0%, #4f993b 94%, #299a0b 100%);
    background: -webkit-linear-gradient(top, #43d34d 0%,#4f993b 94%,#299a0b 100%);
    background: linear-gradient(to bottom, #43d34d 0%,#4f993b 94%,#299a0b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#43d34d', endColorstr='#299a0b',GradientType=0 );
}

.verde:active {
    background: #45d54f;
    background: -moz-linear-gradient(top, #45d54f 0%, #4f993b 94%, #2b9c0d 100%);
    background: -webkit-linear-gradient(top, #45d54f 0%,#4f993b 94%,#2b9c0d 100%);
    background: linear-gradient(to bottom, #45d54f 0%,#4f993b 94%,#2b9c0d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45d54f', endColorstr='#2b9c0d',GradientType=0 );
}

.rosso {
    background: #ff3019;
    background: -moz-linear-gradient(top, #ff3019 0%, #cf0404 100%);
    background: -webkit-linear-gradient(top, #ff3019 0%,#cf0404 100%);
    background: linear-gradient(to bottom, #ff3019 0%,#cf0404 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 );
}

.rosso:active {
    background: #ff321b;
    background: -moz-linear-gradient(top, #ff321b 0%, #d10606 100%);
    background: -webkit-linear-gradient(top, #ff321b 0%,#d10606 100%);
    background: linear-gradient(to bottom, #ff321b 0%,#d10606 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff321b', endColorstr='#d10606',GradientType=0 );
}

.marrone {
    background: #a06d24;
    background: -moz-linear-gradient(top, #a06d24 0%, #6b3309 100%);
    background: -webkit-linear-gradient(top, #a06d24 0%,#6b3309 100%);
    background: linear-gradient(to bottom, #a06d24 0%,#6b3309 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a06d24', endColorstr='#6b3309',GradientType=0 );
}

.marrone:active {
    background: #a26f26;
    background: -moz-linear-gradient(top, #a26f26 0%, #6d340b 100%);
    background: -webkit-linear-gradient(top, #a26f26 0%,#6d340b 100%);
    background: linear-gradient(to bottom, #a26f26 0%,#6d340b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a26f26', endColorstr='#6d340b',GradientType=0 );
}

.azzurro {
    background: #499bea;
    background: -moz-linear-gradient(top, #499bea 0%, #207ce5 100%);
    background: -webkit-linear-gradient(top, #499bea 0%,#207ce5 100%);
    background: linear-gradient(to bottom, #499bea 0%,#207ce5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#499bea', endColorstr='#207ce5',GradientType=0 );
}

.azzurro:active {
    background: #4b9dec;
    background: -moz-linear-gradient(top, #4b9dec 0%, #227ee7 100%);
    background: -webkit-linear-gradient(top, #4b9dec 0%,#227ee7 100%);
    background: linear-gradient(to bottom, #4b9dec 0%,#227ee7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b9dec', endColorstr='#227ee7',GradientType=0 );
}

.giallo {
    background: #ffd65e;
    background: -moz-linear-gradient(top, #ffd65e 0%, #febf04 100%);
    background: -webkit-linear-gradient(top, #ffd65e 0%,#febf04 100%);
    background: linear-gradient(to bottom, #ffd65e 0%,#febf04 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd65e', endColorstr='#febf04',GradientType=0 );
}

.giallo:active {
    background: #ffd860;
    background: -moz-linear-gradient(top, #ffd860 0%, #ffc106 100%);
    background: -webkit-linear-gradient(top, #ffd860 0%,#ffc106 100%);
    background: linear-gradient(to bottom, #ffd860 0%,#ffc106 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd860', endColorstr='#ffc106',GradientType=0 );
}

.rosa {
    background: #fc85ad;
    background: -moz-linear-gradient(top, #fc85ad 0%, #ed3d7b 100%);
    background: -webkit-linear-gradient(top, #fc85ad 0%,#ed3d7b 100%);
    background: linear-gradient(to bottom, #fc85ad 0%,#ed3d7b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc85ad', endColorstr='#ed3d7b',GradientType=0 );
}

.rosa:active {
    background: #fe87af;
    background: -moz-linear-gradient(top, #fe87af 0%, #ef3f7d 100%);
    background: -webkit-linear-gradient(top, #fe87af 0%,#ef3f7d 100%);
    background: linear-gradient(to bottom, #fe87af 0%,#ef3f7d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fe87af', endColorstr='#ef3f7d',GradientType=0 );
}

.grigio {
    background: #e5e5e5;
    background: -moz-linear-gradient(top, #e5e5e5 0%, #999999 100%);
    background: -webkit-linear-gradient(top, #e5e5e5 0%,#999999 100%);
    background: linear-gradient(to bottom, #e5e5e5 0%,#999999 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#999999',GradientType=0 );
}

.grigio:active {
    background: #e7e7e7;
    background: -moz-linear-gradient(top, #e7e7e7 0%, #9b9b9b 100%);
    background: -webkit-linear-gradient(top, #e7e7e7 0%,#9b9b9b 100%);
    background: linear-gradient(to bottom, #e7e7e7 0%,#9b9b9b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7e7e7', endColorstr='#9b9b9b',GradientType=0 );
}

.viola {
    background: #bb87ff;
    background: -moz-linear-gradient(top, #bb87ff 0%, #7338d8 100%);
    background: -webkit-linear-gradient(top, #bb87ff 0%,#7338d8 100%);
    background: linear-gradient(to bottom, #bb87ff 0%,#7338d8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bb87ff', endColorstr='#7338d8',GradientType=0 );
}

.viola:active {
    background: #bd89ff;
    background: -moz-linear-gradient(top, #bd89ff 0%, #753ae0 100%);
    background: -webkit-linear-gradient(top, #bd89ff 0%,#753ae0 100%);
    background: linear-gradient(to bottom, #bd89ff 0%,#753ae0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bd89ff', endColorstr='#753ae0',GradientType=0 );
}

.verdeacqua {
    background: #89fff1;
    background: -moz-linear-gradient(top, #89fff1 0%, #05c1b2 100%);
    background: -webkit-linear-gradient(top, #89fff1 0%,#05c1b2 100%);
    background: linear-gradient(to bottom, #89fff1 0%,#05c1b2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#89fff1', endColorstr='#05c1b2',GradientType=0 );
}

.verdeacqua:active {
    background: #91fff3;
    background: -moz-linear-gradient(top, #91fff3 0%, #07c3b4 100%);
    background: -webkit-linear-gradient(top, #91fff3 0%,#07c3b4 100%);
    background: linear-gradient(to bottom, #91fff3 0%,#07c3b4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#91fff3', endColorstr='#07c3b4',GradientType=0 );
}

.bordeaux {
    background: #af4160;
    background: -moz-linear-gradient(top, #af4160 0%, #7c0126 100%);
    background: -webkit-linear-gradient(top, #af4160 0%,#7c0126 100%);
    background: linear-gradient(to bottom, #af4160 0%,#7c0126 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#af4160', endColorstr='#7c0126',GradientType=0 );
}

.bordeaux:active {
    background: #b14362;
    background: -moz-linear-gradient(top, #b14362 0%, #7e0328 100%);
    background: -webkit-linear-gradient(top, #b14362 0%,#7e0328 100%);
    background: linear-gradient(to bottom, #b14362 0%,#7e0328 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b14362', endColorstr='#7e0328',GradientType=0 );
}

.blu {
    background: #2a4899;
    background: -moz-linear-gradient(top, #2a4899 0%, #1c2666 100%);
    background: -webkit-linear-gradient(top, #2a4899 0%,#1c2666 100%);
    background: linear-gradient(to bottom, #2a4899 0%,#1c2666 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a4899', endColorstr='#1c2666',GradientType=0 );
}

.blu:active {
    background: #2c50a1;
    background: -moz-linear-gradient(top, #2c50a1 0%, #1e2868 100%);
    background: -webkit-linear-gradient(top, #2c50a1 0%,#1e2868 100%);
    background: linear-gradient(to bottom, #2c50a1 0%,#1e2868 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c50a1', endColorstr='#1e2868',GradientType=0 );
}

.device-bg {
    background: #e6e6e6;
    background: -moz-linear-gradient(top, #e6e6e6 0%, #fbfbfb 100%);
    background: -webkit-linear-gradient(top, #e6e6e6 0%,#fbfbfb 100%);
    background: linear-gradient(to bottom, #e6e6e6 0%,#fbfbfb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6e6e6', endColorstr='#fbfbfb',GradientType=0 );
}

.border-lime {
    border-left: 3px solid #b6e026 !important;
}

.shadow-lime {
    border: 1px solid #b6e026 !important;
    box-shadow: 1px 1px 4px 1px #b6e026;
}

.border-arancio {
    border-left: 3px solid #ffa84c !important;
}

.shadow-arancio {
    border: 1px solid #ffa84c !important;
    box-shadow: 1px 1px 4px 1px #ffa84c;
}

.border-celeste {
    border-left: 3px solid #63b6db !important;
}

.shadow-celeste {
    border: 1px solid #63b6db !important;
    box-shadow: 1px 1px 4px 1px #63b6db;
}

.border-verde {
    border-left: 3px solid #43d34d !important;
}

.shadow-verde {
    border: 1px solid #43d34d !important;
    box-shadow: 1px 1px 4px 1px #43d34d;
}

.border-rosso {
    border-left: 3px solid #ff3019 !important;
}

.shadow-rosso {
    border: 1px solid #ff3019 !important;
    box-shadow: 1px 1px 4px 1px #ff3019;
}

.border-marrone {
    border-left: 3px solid #a06d24 !important;
}

.shadow-marrone {
    border: 1px solid #a06d24 !important;
    box-shadow: 1px 1px 4px 1px #a06d24;
}

.border-azzurro {
    border-left: 3px solid #499bea !important;
}

.shadow-azzurro {
    border: 1px solid #499bea !important;
    box-shadow: 1px 1px 4px 1px #499bea;
}

.border-giallo {
    border-left: 3px solid #ffd65e !important;
}

.shadow-giallo {
    border: 1px solid #ffd65e !important;
    box-shadow: 1px 1px 4px 1px #ffd65e;
}

.border-rosa {
    border-left: 3px solid #fc85ad !important;
}

.shadow-rosa {
    border: 1px solid #fc85ad !important;
    box-shadow: 1px 1px 4px 1px #fc85ad;
}

.border-grigio {
    border-left: 3px solid #e5e5e5 !important;
}

.shadow-grigio {
    border: 1px solid #e5e5e5 !important;
    box-shadow: 1px 1px 4px 1px #e5e5e5;
}

.border-viola {
    border-left: 3px solid #bb87ff !important;
}

.shadow-viola {
    border: 1px solid #bb87ff !important;
    box-shadow: 1px 1px 4px 1px #bb87ff;
}

.border-verdeacqua {
    border-left: 3px solid #89fff1 !important;
}

.shadow-verdeacqua {
    border: 1px solid #89fff1 !important;
    box-shadow: 1px 1px 4px 1px #89fff1;
}

.border-bordeaux {
    border-left: 3px solid #af4160 !important;
}

.shadow-bordeaux {
    border: 1px solid #af4160 !important;
    box-shadow: 1px 1px 4px 1px #af4160;
}

.border-blu {
    border-left: 3px solid #2a4899 !important;
}

.shadow-blu {
    border: 1px solid #2a4899 !important;
    box-shadow: 1px 1px 4px 1px #2a4899;
}

.tile-ambiente {
    border: 0;
    width: 100%;
    height: 70px;
    text-align: center;
    color: #EEE;
}

.tile-ambiente:active {
    color: #EEE;
    outline: none !important;
}

.tile-ambiente:active:hover {
    color: #EEE;
    outline: none !important;
}

.tile-ambiente:focus {
    color: #CCC;
    outline: none !important;
}

.tile-ambiente > p {
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.tile-ambiente:hover {
    border: 0;
    width: 100%;
    height: 70px;
    text-align: center;
    color: #FFF;
    text-shadow: 1px 1px 2px #DDD;
}

.device-layout {
    background-color: #fdfdfd;
    border: 1px solid #DDDDDD;
    border-radius: 10px;
    width: 100%;
    height: 100px;
    text-align: center;
    color: #444;
    padding:4px;
    position:relative;
}

.device-layout:hover {
    background-color: #fafafa;
    color: #000;
}


.display {
    font-family: Digital;
    background-color: #111111;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    width: 100%;
    height: 50px;
    text-align: center;
    color: #c8f728;
    text-align:right;
    position:relative;
    overflow:hidden;
}

.display-text-idle {
    font-family: Digital;
    color: #c8f728;
}

.display-text-error {
    font-family: Digital;
    color: #C20;
}

.display-text-change {
    font-family: Digital;
    color: #FFF;
}

.display-text-sign {
    color: #c8f728;
    font-family: Arial;
    font-size: 17px;
    vertical-align:middle;
    margin:0;
    padding:0;
}

.display-text-temp {
    position: absolute;
    display: block;
    font-size:26px;
    line-height:26px;
    right:4px;
}

.display-text-probe {
    position: absolute;
    display: block;
    font-size: 36px;
    line-height: 50px;
    right: 12px;
}

.display-text-celsius {
    position: absolute;
    display: block;
    font-size: 20px;
    line-height: 20px;
    right: 4px;
    top:2px;
}

.display-text-sonda {
    position: absolute;
    display: block;
    font-size: 12px;
    top: 34px;
    right: 4px;
    line-height: 12px;
    font-family: Arial;
}

.display-text-run {
    position: absolute;
    display: block;
    font-size: 12px;
    top: 34px;
    left: 4px;
    line-height: 12px;
    font-family: Arial;
}

.display-text-watt {
    position: absolute;
    display: block;
    font-size: 12px;
    top: 34px;
    right: 4px;
    line-height: 12px;
    font-family: Arial;
}

.display-text-humidity {
    position: absolute;
    display: block;
    font-size: 26px;
    line-height: 26px;
    right: 14px;
}


.display-text-percent {
    position:absolute;
    font-size: 12px;
    line-height: 12px;
    font-family: Arial;
    right:2px;
    top:5px;
}

.display-text-shelly-dimmer {
    position: absolute;
    display: block;
    font-size: 10px;
    line-height: 10px;
    font-family: Arial;
}

.display-text-dimmer {
    font-size: 36px;
    position: absolute;
    display: block;
    line-height: 50px;
}

.display-text-power {
    font-size: 24px;
    position: absolute;
    display: block;
    line-height: 24px;
}

.display-icon {
    color: #c8f728;
    position: absolute;
    left: 4px;
    top: 20px;
    font-size: 12px;
}

.device-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 10px;
    width: 100%;
}

.device-title-options {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 10px;
    width: calc(100% - 20px);
}

.button-light button {
    color: #333;
    background-color: #f4f4f4;
    border:1px solid #ccc;
}

.button-light button:focus {
    color: #333;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    outline:none !important;
}

.button-light button:active {
    color: #000;
    background-color: #f0f0f0;
    border: 1px solid #aaa;
    outline: none !important;
}

.button-light button:hover {
    color: #666;
    background-color: #f2f2f2;
    border: 1px solid #bbb;
}

button.btn {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-action {
    font-size: 16px;
    padding: 10px;
}

.btn-empty {
    height: 45px;
}


.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.breadcrumb > li + li.no-sep:before {
    padding: 0 5px;
    color: #ccc;
    content: "";
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #444;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.loader-activation {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #444;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    display:inline-block;
}

.hide {
    display:none;
}

.device-padding {
    padding-right: 8px !important;
    padding-left: 8px !important;
}

.weather-icon {
    position:absolute;
    top: 0;
    right: 20px;
}

.margin-1px {
    margin:1px !important;
}

.logPanel {
    width: 100%;
    height: 400px;
    background: #000;
    color: #c6ff22;
    font-family: Courier New, Courier, monospace;
    font-size: 12px;
}

.checkbox-label {
    color: #000;
    font-weight:normal;
    margin-left:5px;
}

.network {
    cursor:pointer;
    margin:2px;
    background:#EEE;
    color:#444;
    border-bottom:1px solid #DDD;
}

.network:hover {
    cursor: pointer;
    margin: 2px;
    background: #DDD;
    color: #000;
}

.network:active {
    cursor: pointer;
    margin: 2px;
    background: #DDD;
    color: #000;
    font-weight: bold;
}

.gpio_sx_name_col {
    width: 48%;
    height: 18px;
    text-align: right;
    padding-right:8px;
}

.gpio_dx_name_col {
    padding-left:8px;
}

.gpio_sx_pin_col {
    background: #888;
    width:30px;
}

.gpio_dx_pin_col {
    background: #888;
    width: 30px;
}

.gpio_sx_num_col {
    background: #AAA;
    width: 20px;
    text-align: center;
}

.gpio_dx_num_col {
    background: #AAA;
    width: 20px;
    text-align: center;
}

.gpio_pin_on {
    background: #43d34d;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin: 1px 7px 1px 7px;
    cursor:pointer;
}

.gpio_pin_off {
    background: #ff3019;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin: 1px 7px 1px 7px;
    cursor: pointer;
}

.gpio_pin_disable {
    background: #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin: 1px 7px 1px 7px;
    cursor: not-allowed;
}

table.table-updates > tr > td {
    vertical-align:middle;
}


/* INLINE LOADING */

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 14px;
}

.lds-ellipsis div {
    position: absolute;
    top: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #AAA;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 6px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 6px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 26px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 45px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(19px, 0);
    }
}


/******************/


.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #000;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #000 transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/******************/

.disabled-bg {
    background-color: #F2F2F2 !important;
}

/***** DARK THEME *****/
.dark-theme .breadcrumb {
    background-color: #222222;
    color: #DDDDDD;
}

.dark-theme .breadcrumb a:active {
    color: #FFFFFF;
}

.dark-theme .breadcrumb .active {
    color: #FFFFFF;
}

.dark-theme .nav-tabs {
    border-bottom: 1px solid #222;
}

.dark-theme .nav-tabs > li > a {
    color: #DDD;
    border-bottom: 1px solid #222;
}

.dark-theme .nav-tabs > li:hover > a {
    color: #DDD;
    border: 1px solid #222;
    background-color: #444;
}

.dark-theme .nav-tabs > li.active > a {
    color: #FFF;
    border: 1px solid #222;
    background-color: #000;
}

.dark-theme .panel {
    background-color: #333;
    border-color: #666;
}

.dark-theme .panel-default > .panel-heading {
    background-color: #222;
    color: #DDD;
}

.dark-theme .panel-success > .panel-heading {
    background-color: #3c763d;
    color: #dff0d8;
    border-color: #3c763d;
}

.dark-theme .panel-danger > .panel-heading {
    background-color: #a94442;
    color: #f2dede;
    border-color: #a94442;
}

.dark-theme .panel-info > .panel-heading {
    background-color: #4283a9;
    color: #f2dede;
    border-color: #4283a9;
}

.dark-theme .alert-success {
    background-color: #3c763d;
    color: #dff0d8;
    border-color: #3c763d;
}

.dark-theme .alert-danger {
    background-color: #a94442;
    color: #f2dede;
    border-color: #a94442;
}

.dark-theme .alert-info {
    color: #d9edf7;
    background-color: #31708f;
    border-color: #31708f;
}

.dark-theme {
    color: #eee;
}

.dark-theme p {
    color: #eee;
}

.dark-theme a {
    color: #ddd;
}

.dark-theme .text-danger {
    color: #ff3430 !important;
}

.dark-theme .text-primary {
    color: #5ab3ff !important;
}

.dark-theme .text-muted {
    color: #CCC !important;
}

.dark-theme .input-group-addon {
    background-color: #777;
    color: #eee;
    border-color: #777;
}

.dark-theme .form-control {
    background-color: #555;
    color: #fff;
    border-color: #777;
}

.dark-theme .checkbox-label {
    color: #eee;
}

.dark-theme .ui-jqgrid-btable .ui-widget-content.ui-priority-secondary {
    background-image: none;
    background-color: #585858;
    opacity: 1;
}

.dark-theme .ui-jqgrid-btable .ui-widget-content.ui-state-hover {
    background-color: #666666;
}

.dark-theme .ui-th-column {
    background: rgb(50,50,50);
    background: -moz-linear-gradient(top, rgba(85,85,85,1) 0%, rgba(34,34,34,1) 100%);
    background: -webkit-linear-gradient(top, rgba(85,85,85,1) 0%,rgba(34,34,34,1) 100%);
    background: linear-gradient(to bottom, rgba(85,85,85,1) 0%,rgba(34,34,34,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555', endColorstr='#222',GradientType=0 );
}

.dark-theme .ui-jqgrid .ui-jqgrid-htable th {
    height: auto;
    font-weight: bold;
    border-bottom: 2px solid #000000 !important;
}

.dark-theme .ui-jqgrid .ui-jqgrid-hdiv {
    color: #eee;
}

.dark-theme .ui-jqgrid .ui-jqgrid-pager {
    background: #333;
    border: 1px solid #333;
}

.dark-theme input[type=text] {
    background-color: #555;
    color: #fff;
}

.dark-theme .ui-jqgrid .ui-pg-selbox {
    background-color: #555;
    color: #fff;
    border: 1px solid #444;
}

.dark-theme .ui-pg-input {
    border: 1px solid #444;
}

.dark-theme .login-box-body,
.dark-theme .register-box-body {
    background-color: #333;
    color: #eee;
    border: 1px solid #666;
}

.dark-theme .login-logo a, .dark-theme .register-logo a {
    color: #fff;
    text-shadow: 1px 1px 4px #eee;
}

.dark-theme .disabled-bg {
    background-color: #484848 !important;
    color: #CCC !important;
}

.device-dark-bg {
    background: #2a2a2a;
    background: -moz-linear-gradient(top, #2a2a2a 0%, #5a5a5a 100%);
    background: -webkit-linear-gradient(top, #2a2a2a 0%,#5a5a5a 100%);
    background: linear-gradient(to bottom, #2a2a2a 0%,#5a5a5a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a2a2a', endColorstr='#5a5a5a',GradientType=0 );
}

.button-dark button {
    color: #eee;
    background-color: #636363;
    border-color: #353535;
}

.button-dark button:focus {
    color: #eee;
    background-color: #636363;
    border-color: #353535;
    outline: none !important;
}

.button-dark button:active {
    color: #fff;
    background-color: #606060;
    border-color: #333333;
    outline: none !important;
}

.button-dark button:hover {
    color: #ccc;
    background-color: #616161;
    border-color: #343434;
}

.device-dark-layout {
    border: 1px solid #222;
    border-radius: 10px;
    width: 100%;
    height: 100px;
    text-align: center;
    color: #eee;
    padding: 4px;
}

.device-dark-layout:hover {
    border: 1px solid #222;
    border-radius: 10px;
    width: 100%;
    height: 100px;
    text-align: center;
    color: #fff;
    padding: 4px;
}

.device-coloured-layout {
    border: 1px solid #444;
    border-radius: 10px;
    width: 100%;
    height: 100px;
    text-align: center;
    color: #222;
    padding: 4px;
}

.device-coloured-layout:hover {
    border: 1px solid #444;
    border-radius: 10px;
    width: 100%;
    height: 100px;
    text-align: center;
    color: #000;
    padding: 4px;
}


.bootstrap-datetimepicker-widget {
    color: #444;
}

.stato-io {
    height: 45px;
    font-size: 16px;
    padding: 12px 4px;
}

.color-picker {
    appearance: none;
    width: 100%;
    block-size: 50px;
    inline-size: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
}


/****** BUTTON STATUS *******/

.btn-on {
    color: #fff !important;
    background-color: #5cb85c !important;
    border: 1px solid #4cae4c !important;
}

.btn-on:focus {
    color: #fff !important;
    background-color: #449d44 !important;
    border: 1px solid #255625 !important;
}

.btn-on:hover {
    color: #fff !important;
    background-color: #449d44 !important;
    border: 1px solid #398439 !important;
}

.btn-off {
    color: #fff !important;
    background-color: #d9534f !important;
    border: 1px solid #d43f3a !important;
}

.btn-off:focus {
    color: #fff !important;
    background-color: #c9302c !important;
    border: 1px solid #761c19 !important;
}

.btn-off:hover {
    color: #fff !important;
    background-color: #c9302c !important;
    border: 1px solid #ac2925 !important;
}


.semaphoreRed {
    width: 14px;
    height: 14px;
    background-color: red;
    border-radius: 50%;
    margin: 2px;
    position: absolute;
}

.semaphoreYellow {
    width: 14px;
    height: 14px;
    background-color: yellow;
    border-radius: 50%;
    margin: 2px;
    position: absolute;
}

.semaphoreGreen {
    width: 14px;
    height: 14px;
    background-color: green;
    border-radius: 50%;
    margin: 2px;
    position:absolute;
}

.running-device-panel {
    position: absolute;
    top: 10px;
    left: 14px;
    width: 10px;
    height: 10px;
    border: 1px solid #000;
    border-radius: 50%;
}

.running-device-panel-inline {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid #000;
    border-radius: 50%;
    left: 20px;
    top:10px;
}

.device-idle {
    background-color: #4E6040;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.device-running {
    background-color: #9EFF02;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.device-error {
    background-color: #C20;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}


.navbar-brand {
    height: 50px;
    padding: 0px 20px;
    line-height: 58px;
}

.navbar {
    border-bottom: 1px solid #333;
    box-shadow: 1px 1px 4px #333;
}

div.fullscreen-bg {
    background:#000;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1030;
}

div.fullscreen-bg > div.fullscreen-closer {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    color: #FFF;
    font-size: 42px;
    cursor: pointer;
    z-index: 1031;
}

div.camera-display {
    position: relative;
    border: 4px solid #000;
    overflow: hidden;
    background: #000;
    width: 100%;
    height: 240px;
    border-radius: 8px;
    text-align: center;
    vertical-align: middle;
}

div.camera-display-full {
    width: 1024px;
    height: 768px;
    max-width: 100%;
    max-height: 100%;
    background: #000;
    margin: 0 auto;
    text-align: center;
    vertical-align: middle;
    border: 0;
}

@media (orientation: landscape) {
    div.camera-display > img, div.camera-display-full > img {
        background: #000;
        height: 100%;
        margin: auto;
        padding: 0;
        color: #000;
        vertical-align: middle;
        text-align: center;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        border: 0;
    }
}

@media (orientation: portrait) {
    div.camera-display > img, div.camera-display-full > img {
        background: #000;
        width: 100%;
        margin: auto;
        padding: 0;
        color: #000;
        vertical-align: middle;
        text-align: center;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        border: 0;
    }
}



div.camera-display > img[alt]:after, div.camera-display-full > img[alt]:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    font-weight: bold;
    line-height: 2;
    text-align: center;
    padding-top: 16%;
    content: attr(alt);
    font-size:16px;
    border:0;
}

div.loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    padding: 10%;
    border: 0;
}

div.device-inline {
    background-color: rgba(0,0,0,0.1);
    border-radius:4px;
    padding:4px;
}

.btn-options {
    font-size: 16px;
    position: absolute;
    margin: 0;
    padding: 0;
    top: 10px;
    right: 12px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 16px;
}