Element { 
    --roomViewZoom: 1; 
    --tabViewZoom: 1; 
    --tileViewZoom: 1; 
}
:root {
    --viewport-scale: 0.6;
    --sat: 0px;
    --sat: constant(safe-area-inset-top);
    --sat: env(safe-area-inset-top);
    --sab: 0px;
    --sab: constant(safe-area-inset-bottom);
    --sab: env(safe-area-inset-bottom);
    --sal: 0px;
    --sal: constant(safe-area-inset-left);
    --sal: env(safe-area-inset-left);
    --sar: 0px;
    --sar: constant(safe-area-inset-right);
    --sar: env(safe-area-inset-right);
    /* --sat-scale: calc(var(--sat) / var(--viewport-scale));
    --sab-scale: calc(var(--sab) / var(--viewport-scale));
    --sal-scale: calc(var(--sal) / var(--viewport-scale));
    --sar-scale: calc(var(--sar) / var(--viewport-scale)); */
    --sat-scale: 0px;
    --sat-scale: calc(constant(safe-area-inset-top) / var(--viewport-scale));
    --sat-scale: calc(env(safe-area-inset-top) / var(--viewport-scale));
    --sab-scale: 0px;
    --sab-scale: calc(constant(safe-area-inset-bottom) / var(--viewport-scale));
    --sab-scale: calc(env(safe-area-inset-bottom) / var(--viewport-scale));
    --sal-scale: 0px;
    --sal-scale: calc(constant(safe-area-inset-left) / var(--viewport-scale));
    --sal-scale: calc(env(safe-area-inset-left) / var(--viewport-scale));
    --sar-scale: 0px;
    --sar-scale: calc(constant(safe-area-inset-right) / var(--viewport-scale));
    --sar-scale: calc(env(safe-area-inset-right) / var(--viewport-scale));
    /* --sab-scale: 100px; */
}
html, body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
          -webkit-touch-callout: none; /* Safari */
            -webkit-user-select: none; /* Chrome */     
               -moz-user-select: -moz-none; /* Firefox */
                -ms-user-select: none; /* Internet Explorer/Edge */
                    user-select: none;
}
html{
    background-color: black;
    width:100%;
    height: 100%;
}
body{
    position: absolute;
    top: 0px;
    top: var(--sat-scale);
    bottom: 0px;
    left: 0px;
    left: var(--sal-scale);
    right: 0px;
    right:  var(--sar-scale);
    width: 100%;
    width:calc(100% - var(--sal-scale) - var(--sar-scale));
    height: 100%;
    height:calc(100% - var(--sat-scale));
    overflow: hidden;
    padding: 0px;
    margin: 0px;
    background-color: #828699;
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-family: arial;
    font-size: 15px;
}
body.splash{
    background-color: transparent;
    background-image: url(../img/logo.png);
    background-size: auto;
    background-position: center;    
}
header{
    display: block;
    padding-top:0px;
    font-size: 30px;
    font-weight: bold;
	position: absolute;
	left:0px;
	top:0px;
	right:0px;
	height:70px;
    line-height: 70px;
    vertical-align: middle;
    background-color: transparent;
    background-image: url(../img/logo.png);
    background-size: 50px;
    background-position-x: 8px;
    background-position-y:  center;
    background-repeat: no-repeat;
    color: #eee;
    overflow: hidden;
    white-space: nowrap;
    z-index: 100;
}
header.subpage{
    background-position-x: 30px;
}
body.splash header{
    display: none;
}
header > span{
	display: inline-block;
    box-sizing: border-box;
    width: 100%;
	padding-left: 70px;
    background-image: none;
	background-size: 30px;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    text-decoration:none;
    cursor: auto;
}
header.subpage > span{
    padding-left: 90px;
    cursor: pointer;
}
header.subpage > span:after{
	content: "";
    position: absolute;
    width: 30px;
    height: 70px;
    background-color: transparent;
    background-image: url(../img/arrow-left.png);
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(100%);
    -webkit-filter: invert(100%);
    left: 0px;
    background-size: 30px;
}
header>update{
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 4px;
    position: absolute;
    z-index: 1;
    right: 70px;
    top: 10px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
}
header>update.show{
    visibility: visible;
}
header>div{
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 10px;
    height: 50px;
    z-index: 100;
}
header>div>span{
    width: 50px;
    height: 50px;
    margin-left: 5px;
    display: none;
    background-image: none;
	background-size: 50px;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    text-decoration:none;
    border-radius: 12px;
}
header>div>span:hover{
    box-shadow: 0 0 10px #00f !important;
}

header>div>span.menu{
    display: inline-block;
    background-image: url(../img/menu.png);
}


main{
    position: absolute;
    display: block;
    margin: 0px;
    top:70px;
    left:0px;
    bottom: 0px;
    right:0px;
    overflow: auto;
    z-index: auto;
    padding-bottom:  var(--sab-scale);
}
body.splash main{
    display: none;
}

footer{
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom:  var(--sab-scale);
    height: 20px;
    line-height: 20px;
    background: #eee;
    padding: 1px 8px;
    font-size: 16px;
}
body.splash footer{
    display: none;
}

footer > div{
    display: none;
}
fs{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    background-color: rgba(0,0,0,0.6);
    z-index: 500;
    overflow: auto;
}
busy{
    display: none;
    position: absolute;
    margin: 0px;
    top:0px;
    left:0px;
    bottom:0px;
    right:0px;
    background-color: #fff;
    z-index: 2000;
    background-image: url(../img/busy.gif);
    background-repeat: no-repeat;
    background-position: 50%;
    opacity: 0.9;
}
busy.on{
	display: block;
}

busy.menu{
	display: block;
	background-color: black;
	background-image: none;
	background-size: auto;
	background-position: center;
	opacity: 0.5;
	z-index: 101;
}
busy.screensaver {
    display: block;
    background-color: black;
    background-image: none;
    background-size: auto;
    background-position: center;
    /* opacity: 1; */
}
home {
    position: absolute;
    pointer-events: all;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height:  var(--sab-scale);
    z-index: 10000;
}


/* Allgemeine Definitionen*/
.showOff{
    display: none !important;
}

.a{
    cursor: pointer;
}
ul{
    list-style:none;
    list-style-type:none;
    margin:0;
    padding:0;
}
ul li{
    display:block;
    margin:0;
    padding:0;
}

red {
    color: #f00;
}
input,
textarea,
select,
input:read-only,
textarea:read-only,
select:read-only,
input:disabled,
textarea:disabled,
select:disabled{
    color: #007aff;
    opacity: 1;
    border: none;
    border-radius: 6px;
    background-color: rgba(200,200,200,0.5);
}
input[type=text],
input[type=number],
input[type=date],
input[type=time],
textarea,
select{
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 1px;
    padding-bottom: 1px;
}
input[type=checkbox]{
    -webkit-appearance:none;
    -moz-appearance:none;
    -o-appearance:none;
    appearance: none;
    /*background-color: #fff;*/
    border: none;
    border-radius: 6px;
    font-size: inherit;
}
input[type=checkbox]:checked {
    background-color: #007aff !important;
}
input[type=checkbox]:disabled,
input[type=checkbox]:hover{
	background-color: rgba(0, 120, 255, 0.3) !important;
}

input[type=checkbox]:checked:before {
    content: "\2713";
    position: absolute;
    display: flex;
    width: inherit;
    height: inherit;
    justify-content: center;
    align-items: center;  
    color: #fff !important;
    font-weight: 900 !important;
}

input[type=range] {
    -webkit-appearance:none;
    -moz-appearance:none;
    -o-appearance:none;
    appearance: none;
    margin: 50px 0 30px;
    background-color: transparent;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 20px;
  cursor: pointer;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  background: #000000;
  border-radius: 10px;
  border: 0px solid rgba(0, 0, 0, 0);
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  border: 2px solid #000000;
  height: 60px;
  width: 60px;
  border-radius: 30px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance:none;
  appearance: none;
  margin-top: -20px;
}
input[type=range].red::-webkit-slider-thumb {
  background: #ff0000;
}
input[type=range].green::-webkit-slider-thumb {
  background: #00ff00;
}
input[type=range].blue::-webkit-slider-thumb {
  background: #0000ff;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #0a0a0a;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 20px;
  cursor: pointer;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  background: #000000;
  border-radius: 10px;
  border: 0px solid rgba(0, 0, 0, 0);
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  border: 2px solid #000000;
  height: 60px;
  width: 60px;
  border-radius: 30px;
  background: #ffffff;
  cursor: pointer;
}
input[type=range].red::-moz-range-thumb {
  background: #ff0000;
}
input[type=range].green::-moz-range-thumb {
  background: #00ff00;
}
input[type=range].blue::-moz-range-thumb {
  background: #0000ff;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 20px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #000000;
  border: 0px solid rgba(0, 0, 0, 0);
  border-radius: 10px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}
input[type=range]::-ms-fill-upper {
  background: #000000;
  border: 0px solid rgba(0, 0, 0, 0);
  border-radius: 10px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}
input[type=range]::-ms-thumb {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  border: 2px solid #000000;
  height: 60px;
  width: 60px;
  border-radius: 30px;
  background: #ffffff;
  cursor: pointer;
  height: 5px;
}
input[type=range].red::-ms-thumb {
  background: #ff0000;
}
input[type=range].green::-ms-thumb {
  background: #0000ff;
}
input[type=range].blue::-ms-thumb {
  background: #00ff00;
}
input[type=range]:focus::-ms-fill-lower {
  background: #000000;
}
input[type=range]:focus::-ms-fill-upper {
  background: #0a0a0a;
}

/* Menü */
menu{
    position:absolute;
    display: none;
    top: 70px;
    right: 0px;
    overflow: auto;
    background-color: #4e5264;
    height: auto;
    max-height: calc(100% - 80px);
    width: auto;
    max-width: calc(90% - 10px);
    padding:5px;
    margin: 0px;
    z-index: 400;
    font-size: 30px;
    color: #fff;
}
menu.show{
    display: initial;
}
menu ul{
    border-bottom: 1px #fff solid;
}
menu ul:last-child{
    border-bottom: none;
}
menu ul li{
    border-bottom: 1px #fff dashed;
    min-height: 60px;
    min-width: 400px;
    cursor: pointer;
}
menu ul li.hide{
    display: none; 
}
.edit menu ul li.hide{
    display: list-item;
    background-color: #faa;
}
menu ul li:last-child{
    border-bottom: none;
}
menu ul li input[type=checkbox]{
    width: 48px;
    height: 48px;
    margin-right: 10px;
    /*-webkit-transform: scale(3.8);
    transform: scale(3.8);*/
}
menu ul li select{
    font-size: inherit;
    color: #fff;
    border: none;
    background-color: #5e6274;
    height: 35px;
    margin-top: 10px;
    vertical-align: top;
}
menu ul li label{
    vertical-align: top;
    margin-top: 10px;
    display: inline-block;
}
menu ul li span{
    vertical-align: top;
    margin-top: 10px;
    margin-left: 10px;
    display: inline-block;
}
menu div.reload{
    position:absolute;
    top: 6px;
    right: 6px;
    overflow: hidden;
    background-color: transparent;
    height:48px;
    width:48px;
    z-index: 400;
}
menu div.reload img{
    width: 100%;
    height: 100%;
}
menu input#zoomView{
    width: calc(100% - 20px);
    margin: 30px 10px 60px 10px;
    z-index: 1000000;
}
menu div.add{
    position: relative;
    width: 48px;
    height: 48px;
    margin: 5px 10px 0px 3px;
    display: inline-block;
}
menu div.add img{
    max-width: 48px;
    max-height: 48px;
}
menu div.esp{
    position: relative;
    width: 60px;
    height: 60px;
    margin: 5px 3px 0px;
    display: inline-block;
}
menu div.esp>div{
    display: flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
}
menu div.esp>div,
menu div.esp>div>img,
menu div.esp>div>svg{
    pointer-events: none;
}
menu div.esp img{
    max-width: 60px;
    max-height: 60px;
}
menu li.shadow>div.esp>div>img{
    filter: drop-shadow(2px 4px 6px black);
}

/* menu ::not(.hide) div.esp.thermometer,
menu ::not(.hide) div.esp.temperaturschalter{
    position:absolute;
    width: 60px;
    height: 60px;
    left: 10px;
    top:3px;
} */

menu input#screensaverTime{
    height: 46px;
    margin: 3px 3px 3px 10px;
    vertical-align: top;
    font-size: inherit;
    width: 75px;
}
/* pageLogin */
main ul.login,
main ul.pwchange{
    background-color:#eee;
    margin-top:0px;
}
main ul.login li,
main ul.pwchange li{
    display: block;
    font-size: 25px;
    padding:3px 10px;
    font-weight: normal;
    border-top: 1px solid transparent;
}
main ul.login li.pwchange,
main ul.pwchange li.login{
    display: none;
}
main ul.login li label,
main ul.pwchange li label{
    display: inline-block;
    width: 200px;
    margin-right: 5px;
    text-align: right;
    font-size: inherit;
}
main ul.login li input,
main ul.pwchange li input{
    font-size: inherit;
}
main ul.login li input:not([type=button]),
main ul.pwchange li input:not([type=button]){
    width: calc(100% - 235px);
}

/* viewAllgemein */
main div.esp>div{
    pointer-events: none;
}
main div.esp.shadow>div>img,
html:not(.safariAlt) main div.esp.shadow>div>svg{
    filter: drop-shadow(2px 4px 6px black);
}
main div.esp>div[state=off]>img,
html:not(.safariAlt) main div.esp:not(.push):not([fw=lscPowerPlug])>div[state=off]>svg,
html:not(.safariAlt) main div.esp.push>div[state=on]>svg
{
    filter: grayscale(1);
}
main div.esp.shadow>div[state=off]>img,
html:not(.safariAlt) main div.esp.shadow:not(.push):not([fw=lscPowerPlug])>div[state=off]>svg,
html:not(.safariAlt) main div.esp.shadow.push>div[state=on]>svg{
    filter: grayscale(1) drop-shadow(2px 4px 6px black);
}

/* pageTileView */

main div.tile{
    position: relative;
    float: left;
    /*outline: 10px solid #eee;
    outline: 10px solid transparent;
    outline-offset: -10px;  
    /*background-color: #eff;*/
    background-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    width: calc(185px * var(--tileViewZoom));
    height: calc(225px * var(--tileViewZoom));
}
main div.tile.w2{
    width: calc(370px * var(--tileViewZoom));
}
main div.tile.w4{
    width: calc(740px * var(--tileViewZoom));
}
main div.tile.h2{
    height: calc(449px * var(--tileViewZoom));/*450px-1px wegen Rundungsdifferenzen beim Zoom*/
}
main div.tile.h4{
    height: calc(899px * var(--tileViewZoom));/*900px-1px wegen Rundungsdifferenzen beim Zoom*/
}
main div.tile.hide{
    display: none; 
}
main div[draggable="true"].tile.hide{
    display: initial;
    background-color: rgba(255, 160, 160, 0.5);
}
/*main div[draggable="true"].tile.dragOver{
    background-color: rgba(176, 255, 176, 0.5);
}*/
main div[draggable="true"].tile.dragOver::after{
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: unset;
    right: unset;
    width: 100%;
    height: 100%;
    background-color: rgba(176, 255, 176, 0.5);
    transform: unset;
    border-radius: unset;
    opacity: unset;
    pointer-events: none;
    z-index: 1;
}
main div[draggable="true"].tile.dragOver.left::after{
    width: 60%;
    left:-30%;
}
main div[draggable="true"].tile.dragOver.right::after{
    width: 60%;
    right:-30%;
}
main div.tile.noping::after,
menu li.noping div::after{
    content: "";
    display: block;
    position: absolute;
    top: 39%;
    left: 20%;
    transform: skewY(-45deg);
    width: 60%;
    height: 5%;
    background: #F00;
    opacity: 0.5;
    border-radius: 50%;
}
main div.tile.noping::before,
menu li.noping div::before{
    content: "";
    display: block;
    position: absolute;
    top: 38%;
    left: 19%;
    transform: skewY(45deg);
    width: 60%;
    height: 5%;
    background: #F00;
    opacity: 0.5;
    border-radius: 50%;
    z-index: 1;
}
menu li.noping div::after,
menu li.noping div::before{
    top: 48%;
    left: 9%;
    width: 80%;
}
main div.tile>div{
    /*max-width: 80%;
    max-height: 80%;*/
    margin: calc(15px * var(--tileViewZoom));;
    /*New*/
    width: calc(155px * var(--tileViewZoom));
    height: calc(155px * var(--tileViewZoom));
    border-radius: calc(30px * var(--tileViewZoom));
    padding: calc(7.5px * var(--tileViewZoom));
    box-sizing: border-box;
    background-color: rgba(255,255,255,0.3);
    /* filter: drop-shadow(0px 0px 4px #000); */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    overflow: hidden;
    display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
}
main div.tile.w2>div{
    /*New*/
    width: calc(340px * var(--tileViewZoom));
}
main div.tile.w4>div{
    /*New*/
    width: calc(710px * var(--tileViewZoom));
}
/* main div.tile.oversize.w2>div,
main div.tile.oversize.w4>div{
    height: calc(195px * var(--tileViewZoom));
}     */
main div.tile.oversize.h1>div{
    height: calc(195px * var(--tileViewZoom));
}    
main div.tile.h2>div{
    /*New*/
    height: calc(380px * var(--tileViewZoom));
}
main div.tile.oversize.h2>div{
    height: calc(420px * var(--tileViewZoom));
}    
main div.tile.h4>div{
    /*New*/
    height: calc(830px * var(--tileViewZoom));
}
main div.tile.oversize.h4>div{
    height: calc(870px * var(--tileViewZoom));
}    
/* body:not(.mobile) main div.tile:not(:active):not(.active):not(.noping):not(.kamera):hover>div>img, */
body:not(.mobile) main div.tile:not(:active):not(.active):not(.noping):not(.camera):hover>div>img,
body:not(.mobile) main div.tile:not(:active):not(.active):not(.noping):hover>div>svg{
    /*transform: scale(1.05);
    transition: transform 0.2s ease;*/
    /* Start the shake animation and make the animation last for 0.2 seconds */
    animation: shake 0.2s;
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
}
@keyframes shake {
    0% { transform: rotate(0deg);}
    25% { transform: rotate(0.5deg);}
    50% { transform: rotate(0deg);}
    75% { transform: rotate(-0.5deg);}
    100% { transform: rotate(0deg);}
/*    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }*/
}
main div.tile>div>img{
    /*width: 100%;
    height: 100%;*/
    /*New*/
    /* left: 50%;
    top: 50%;
    width: 100%;
    height: auto; */
    /* margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%); */
    /* max-width: 100%;
    max-height: 100%; */
    width: 100%;
    max-width: calc(140px * var(--tileViewZoom));
    max-height: calc(140px * var(--tileViewZoom));
    transition: none;
}
main div.tile.remote>div>img{
    width: auto;
}
main div.tile.w2>div>img{
    /*New*/
    max-width: calc(325px * var(--tileViewZoom));
}
main div.tile.w4>div>img{
    /*New*/
    max-width: calc(695px * var(--tileViewZoom));
}
main div.tile.oversize.w2>div>img,
main div.tile.oversize.w4>div>img{
    max-height: calc(190px * var(--tileViewZoom));
}
main div.tile.h2>div>img{
    /*New*/
    max-height: calc(365px * var(--tileViewZoom));
}
main div.tile.oversize.h2>div>img{
    max-height: calc(415px * var(--tileViewZoom));
}
main div.tile.h4>div>img{
    /*New*/
    max-height: calc(815px * var(--tileViewZoom));
}
main div.tile.oversize.h2>div>img{
    max-height: calc(865px * var(--tileViewZoom));
}
/* main div.tile.impulszaehler.w2.h1>div>svg,
main div.tile.smlzaehler.w2.h1>div>svg,
main div.tile.solarman.w2.h1>div>svg,
main div.tile.anker.w2.h1>div>svg,
main div.tile.impulszaehler.w4.h1>div>svg,
main div.tile.smlzaehler.w4.h1>div>svg,
main div.tile.solarman.w4.h1>div>svg,
main div.tile.anker.w4.h1>div>svg{ */
main div.tile.meter.w2.h1>div>svg,
main div.tile.ankmeterer.w4.h1>div>svg{
    height: 200%
}
/* main div.tile.impulszaehler.w4.h2>div>svg,
main div.tile.smlzaehler.w4.h2>div>svg,
main div.tile.solarman.w4.h2>div>svg,
main div.tile.anker.w4.h2>div>svg{ */
main div.tile.meter.w4.h2>div>svg{
    height: 400%
}
  


main div.tile>div>svg{
    /*width: 100%;
    height: 100%;*/
    /*New*/
    /* left: 50%;
    top: 50%; */
    width: 100%;
    height: 100%;
    transition: none;
    /* margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%); */
}
/* main div.tile.kamera>div>img{ */
main div.tile.camera>div>img{
    border-radius: calc(22.5px * var(--tileViewZoom));
}

main div.tile:active>div{
    background-color: rgba(0,0,0,0.2);
}
/* main div.tile:active>div:before{
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    border-radius: calc(30px * var(--tileViewZoom));
    background-color: #000;
    opacity:0.3;
} */
main div.tile:active>div>svg,
main div.tile:active>div>img{
    /* transform: scale(0.85) translate(-59%, -59%); */
    /* transform: scale(0.85);
    transition: transform 0.2s linear; */
}
main div.tile.active>div>svg,
main div.tile.active>div>img{
    /* transform: scale(0.1) translate(-500%, -500%);; */
    transform: scale(0.1);
    transition: transform 3s cubic-bezier(1, 0, 1, 1) 1s;
}
main div.tile.noping>div>svg,
main div.tile.noping>div>img{
    opacity: 0.5;
}
main div.tile>span{
    display: inline-block;
    text-align: center;
    position: absolute;
    /*bottom: 7%;
    left: 10%;
    right: 10%;*/
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    /*font-size: calc(15px * var(--tileViewZoom));*/
    pointer-events: none;
    /*New*/
    top: calc(180px * var(--tileViewZoom));;
    left: 0%;
    right: 0%;
    color: #fff;
    font-size: calc(20px * var(--tileViewZoom));
    z-index: 1;
}
main div.tile.oversize>span {
    top: calc(205px * var(--tileViewZoom));
}	
main div.tile.h2>span{
    top: calc(405px * var(--tileViewZoom));
}
main div.tile.h2.oversize>span {
    top: calc(430px * var(--tileViewZoom));
}	
main div.tile.h4>span{
    top: calc(855px * var(--tileViewZoom));
}
main div.tile.h4oversize>span {
    top: calc(880px * var(--tileViewZoom));
}	

main div.tile>div>text.top{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0px;
    /*margin: calc(15px * var(--tileViewZoom));*/
    width: calc(155px * var(--tileViewZoom));
    height: calc(30px * var(--tileViewZoom));
    padding: calc(7.5px * var(--tileViewZoom));
    box-sizing: border-box;
    overflow: hidden;
    font-weight: bold;
    pointer-events: none;
}

fs:not(:empty){
    display: block;
}
/* fs.big.kamera{ */
fs.big.camera{
    /* Text zentrieren */
    text-align:center;
    /* Inhalt vertikal mittig platzieren */
    display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(0,0,0,1);
}
/* fs.big.kamera>div:first-child{ */
fs.big.camera>div:first-child{
    position: absolute;
    z-index: 500;
    width:  auto;
    height: auto;
    /* Container horizontal mittig platzieren */
    margin: auto;
    
}
/* fs.big.kamera>div:first-child>img{ */
fs.big.camera>div:first-child>img{
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
}
/* fs.big.kamera.notification>div:first-child>img:first-child{ */
fs.big.camera.notification>div:first-child>img:first-child{
    z-index: 505;
    display: none;
}
/* fs.big.kamera div.esp.tueroeffner,
fs.big.kamera div.esp.klingel{ */
fs.big.camera div.esp.doorOpener,
fs.big.camera div.esp.doorBell{
    z-index: 510;
    width: 155px;
    height: 155px;
    padding: 15px;
    position: absolute;
    top: unset !important;
    bottom: 0px !important;
    left: 0px !important;
    right: unset !important;
    outline: none;
    border-radius: 50%;
    background-color: rgba(50,50,50,0.7);
}
/* fs.big.kamera div.esp.tueroeffner>div,
fs.big.kamera div.esp.klingel>div{ */
fs.big.camera div.esp.doorOpener>div,
fs.big.camera div.esp.doorBell>div{
    z-index: 515;
    pointer-events: none;
}
/* fs.big.kamera div.esp.tueroeffner>div>img,
fs.big.kamera div.esp.klingel>div>img{ */
fs.big.camera div.esp.doorOpener>div>img,
fs.big.camera div.esp.doorBell>div>img{
    z-index: 520;
    width: 100%;
    height: 100%;
}
/* fs.big.kamera div.esp.tueroeffner span,
fs.big.kamera div.esp.klingel span{ */
fs.big.camera div.esp.doorOpener span,
fs.big.camera div.esp.doorBell span{
    display: none;
}
fs.big.thermometer>div,
fs.big.thermometer>div>svg,
/* fs.big.temperaturschalter>div,
fs.big.temperaturschalter>div>svg,
fs.big.impulszaehler>div,
fs.big.impulszaehler>div>svg,
fs.big.smlzaehler>div,
fs.big.smlzaehler>div>svg,
fs.big.solarman>div,
fs.big.solarman>div>svg,
fs.big.anker>div,
fs.big.anker>div>svg{ */
fs.big.tempRelay>div,
fs.big.tempRelay>div>svg,
fs.big.meter>div,
fs.big.meter>div>svg{
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
fs.big.esp.shadow>div>img,
html:not(.safariAlt) fs.big.esp.shadow>div>svg{
    filter: drop-shadow(2px 4px 6px black);
}
fs.big.esp>div[state=off]>img,
html:not(.safariAlt) fs.big.esp.shadow>div[state=off]>svg{
    filter: grayscale(1);
}
fs.big.esp.shadow>div[state=off]>img,
html:not(.safariAlt) fs.big.esp.shadow>div[state=off]>svg{
    filter: grayscale(1) drop-shadow(2px 4px 6px black);
}

fs.big>div.graph{
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 165px;
    height: 165px;
    border: 8px solid #ddd;
    border-radius: 50%;
    background-image: url(../img/graph.png);
    background-repeat: no-repeat;
    background-size: 139px;
    background-color: #fff;
    background-position: 5px 50px;
    pointer-events: initial;
    box-sizing: border-box;
    filter: drop-shadow(0px 0px 21px black);
}
fs.big>div.graph:not(.big):hover{
    /*transform: scale(1.05);
    transition: transform 0.2s ease;*/
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.2s;
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
  
}
fs.big>div.graph.big{
    width: 100%;
    height: 100%;
    left: 0px;
    bottom: 0px;
    background-image: none;
    border-radius: 0px;
    border: none;
    filter: unset;
    z-index: 1;
}
fs.big>div.graph.big div.header{
    position: absolute;
    left: 5px;
    top: 5px;
    width: calc(100% - 70px);
    height: 50px;
    line-height: 50px;
    font-size: 25px;
    font-weight: bold;
}
fs.big>div.graph.big div.close{
    position: absolute;
    right: 5px;
    top: 5px;
    width: 50px;
    height: 50px;
    background-image: url(../img/close.png);
    background-repeat: no-repeat;
    background-size: 40px;
    background-color: transparent;
    border-radius: 8px;
    background-position: 5px 5px;
}
fs.big>div.graph.big div.close:hover{
    background-color: #d88;
}
fs.big>div.graph.big div.plot{
    position: absolute;
    left: 5px;
    top: 55px;
    width: calc(100% - 10px);
    height: calc(100% - 110px -  var(--sab-scale));
    overflow: hidden;
}
fs.big>div.graph.big div.moveLeft{
    position: absolute;
    left: 0px;
    /* top: calc(50% - 40px); */
    top: calc(((100% -  var(--sab-scale)) / 2) - 40px);
    width: 80px;
    height: 80px;
    background-image: url(../img/arrow-left.png);
    background-repeat: no-repeat;
    background-size: 80px;
    background-color: transparent;
    background-position: 0px 0px;
    opacity: 0.2;
    cursor: pointer;
}
fs.big>div.graph.big div.moveRight{
    position: absolute;
    right: 0px;
    /* top: calc(50% - 40px); */
    top: calc(((100% - var(--sab-scale)) / 2) - 40px);
    width: 80px;
    height: 80px;
    background-image: url(../img/arrow-right.png);
    background-repeat: no-repeat;
    background-size: 80px;
    background-color: transparent;
    background-position: 0px 0px;
    opacity: 0.2;
    cursor: pointer;
}
fs.big>div.graph.big div.footer{
    position: absolute;
    left: 5px;
    bottom: calc(var(--sab-scale) + 5px);
    width: calc(100% - 70px);
    line-height: 50px;
    font-size: 25px;
    font-weight: bold;
}
fs.big>div.graph.big div.footer label{
    white-space: nowrap;
}
fs.big>div.graph.big div.footer label.moveToday{
    position: relative;
    display: inline-block;
    width: 110px;
    height: 31px;
    margin-bottom: -8px;
    padding: 2px;
    border-radius: 5px;
    background-image: url(../img/today.png);
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: 110px;
    background-position: 1px 1px;
    cursor: pointer;
}
fs.big>div.graph.big div.footer label.moveToday:hover{
    background-color: #ddd;
}
fs.big>div.graph.big div.footer label.moveNow{
    position: relative;
    display: inline-block;
    width: 90px;
    height: 31px;
    margin-bottom: -8px;
    padding: 2px;
    border-radius: 5px;
    background-image: url(../img/now.png);
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: 92px;
    background-position: 1px 1px;
    cursor: pointer;
}
fs.big>div.graph.big div.footer label.moveNow:hover{
    background-color: #ddd;
}
fs.big>div.graph.big div.footer input{
    font-size: inherit;
    width: 40px;
    padding-top: 0px;
    padding-bottom: 0px;
    line-height:28px;
}
fs.big>div.graph.big div.footer select{
    font-size: inherit;
    margin-right: 20px;
}
fs.remote div.remote{
    position: relative;
    width: 100%;
    height: 100%;
    left: 0px;
    bottom: 0px;
    background-position: 5px 50px;
    pointer-events: initial;
    overflow: auto;
    box-sizing: border-box;
    background-image: none;
    border-radius: 0px;
    border: none;
    filter: unset;
}
fs.big.remote div.remote{
    position: absolute;
    background-color: #fff;
}
fs.remote div.remote div.close{
    position: fixed;
    right: 5px;
    top: 5px;
    width: 50px;
    height: 50px;
    background-image: url(../img/close.png);
    background-repeat: no-repeat;
    background-size: 40px;
    background-color: transparent;
    border-radius: 8px;
    background-position: 5px 5px;
    z-index: 1;
}
fs.remote div.remote div.close:hover{
    background-color: #d88;
}
fs.remote div.remote img{
    width: 480px;
    margin-left: calc(50% - 240px);
}
fs.remote div.remote.edit img{
    margin-left: 0px;
}
fs.remote div.remote area{
    outline-color: #0ff;
}
fs.remote div.remote svg{
    position: absolute;
    pointer-events: all;
    margin-left: calc(50% - 240px);
    left: 0px;
    top: 0px;
}
fs.remote div.remote.edit svg{
    margin-left: 0px;
}
fs.remote div.remote svg rect,
fs.remote div.remote svg circle,
fs.remote div.remote svg polygon{
    fill: none;
    stroke: none;
    stroke-width: 4;
    stroke-linejoin: round;
}
fs.remote div.remote.edit svg rect,
fs.remote div.remote.edit svg circle,
fs.remote div.remote.edit svg polygon{
    stroke: #05f;
}
fs.remote div.remote.edit svg rect.selected,
fs.remote div.remote.edit svg circle.selected,
fs.remote div.remote.edit svg polygon.selected{
    stroke: #5f5;
}
fs.remote div.remote svg rect.hover,
fs.remote div.remote svg circle.hover,
fs.remote div.remote svg polygon.hover{
    stroke: #0ff !important;
}
fs.remote div.remote svg rect:active,
fs.remote div.remote svg circle:active,
fs.remote div.remote svg polygon:active{
    fill: rgba(0, 255, 255, 0.3);
}
fs.remote div.remote.edit ul#remoteParam{
    position: fixed;
    left: 480px;
    top: 0px;
    width: calc(100% - 495px);
    height: 100%;
    overflow: auto;
    font-size: 25px;
}
fs.remote div.remote.edit ul#remoteParam:not(.circle):not(.rect):not(.polygon) li.circle,
fs.remote div.remote.edit ul#remoteParam:not(.circle):not(.rect):not(.polygon) li.rect,
fs.remote div.remote.edit ul#remoteParam:not(.circle):not(.rect):not(.polygon) li.polygon,
fs.remote div.remote.edit ul#remoteParam:not(.circle):not(.rect):not(.polygon) li.param,
fs.remote div.remote.edit ul#remoteParam.circle li.rect,
fs.remote div.remote.edit ul#remoteParam.circle li.polygon,
fs.remote div.remote.edit ul#remoteParam.rect li.circle,
fs.remote div.remote.edit ul#remoteParam.rect li.polygon,
fs.remote div.remote.edit ul#remoteParam.polygon li.rect,
fs.remote div.remote.edit ul#remoteParam.polygon li.circle,
fs.remote div.remote.edit ul#remoteParam[type="ir"] li.param:not(.ir),
fs.remote div.remote.edit ul#remoteParam[type="web"] li.param:not(.web){
    display: none;
}
fs.remote div.remote.edit ul#remoteParam select,
fs.remote div.remote.edit ul#remoteParam input,
fs.remote div.remote.edit ul#remoteParam textarea{
    font-size: 25px;
    vertical-align: middle;
}
fs.remote div.remote.edit ul#remoteParam div.a{
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 0px;
    vertical-align: middle;
    border-radius: 6px;
    background-color: transparent;
}
fs.remote div.remote.edit ul#remoteParam div.a::before{
    content: "";
    display: block;
    width: inherit;
    height: inherit;
    background-repeat: no-repeat;
    background-size: 29px;
    background-position: 3px 3px;    
}
fs.remote div.remote.edit ul#remoteParam div.a:hover{
    background-color: #007aff;
}
fs.remote div.remote.edit ul#remoteParam div.a:hover::before{
    filter: invert();
}
fs.remote div.remote.edit ul#remoteParam div.a.add::before{
    background-image: url(../img/add.png);
}
fs.remote div.remote.edit ul#remoteParam div.a.copy::before{
    background-image: url(../img/copy.png);
}
fs.remote div.remote.edit ul#remoteParam div.a.irrecv::before{
    background-image: url(../img/irrecv.png);
}
fs.remote div.remote.edit ul#remoteParam div.a.save::before{
    background-image: url(../img/save.png);
}
fs.remote div.remote.edit ul#remoteParam div.a.trash::before{
    background-image: url(../img/trash.png);
}
fs.remote div.remote.edit ul#remoteParam:not(.circle):not(.rect):not(.polygon) div#shapeIRrecv,
fs.remote div.remote.edit ul#remoteParam:not(.circle):not(.rect):not(.polygon) div#shapeTrash,
fs.remote div.remote.edit ul#remoteParam:not(.circle):not(.rect):not(.polygon) div#shapeCopy{
    display: none;
}
fs div.valueSet{
    width: 100%;
    min-width: 400px;
    max-width: 600px;
    margin: auto;
    margin-top: 20px;
    border: 2px solid #756F63;
    border-radius: 15px;
    padding: 5px;
    background-color: #BDB7AA;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    text-align: initial;
    max-height: calc(100% - 25px - var(--sab-scale));
    overflow-y: auto;
    box-sizing: border-box;;
}

fs div.valueSet span.name{
    font-size: 45px;
    line-height: 50px;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: 20px;
    display: inline-block;
    max-width: calc(100% - 210px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
fs div.valueSet span.top{
    position: sticky;
    display: block;
    top: 0px;
    background-color: inherit;
    z-index: 1;
}
fs div.valueSet span.top::before{
	content:"";
	height:5px;
	position: relative;
	display: block;
	width: calc(100% + 10px);
	top: -5px;
	left: -5px;
	background-color: inherit;
}
fs div.valueSet hr{
    border-style: dashed;
    border-width: 3px 0px 0px;
    border-color: #756F63;
}
fs div.valueSet div.close{
    position: absolute;
    right: 5px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-radius: 10px;
}
fs div.valueSet div.close::before{
    content: "";
    display: block;
    width: inherit;
    height: inherit;
    background-image: url(../img/close.png);
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: 5px 5px;
}
fs div.valueSet div.close:hover{
  background-color: #007aff;
}
fs div.valueSet div.close:hover::before{
    filter: invert();
}
fs div.valueSet div.config{
    float: right;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    position: absolute;
    right: 5px;
    margin-top: -65px;
    background-color: transparent;
}
fs div.valueSet div.config::before{
    content: "";
    display: block;
    width: inherit;
    height: inherit;
    background-image: url(../img/config.png);
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: 5px 5px;
}
fs div.valueSet div.config:hover{
    background-color: #007aff;
}
fs div.valueSet div.config:hover::before{
    filter: grayscale() invert();
}
fs div.valueSet div.valueSet_config{
    display: none;
    width: 100%;
}
fs div.valueSet div.valueSet_config.on{
    display: inline-block;
}
fs div.valueSet div.valueSet_config>ul{
    color: #395963;
    background-color: #eee;
    font-size: 25px;
    border-radius: 10px;
}
fs div.valueSet div.valueSet_config>ul>li{
    display: flex;
    box-sizing: border-box;
    min-height: 60px;
    padding: 5px 5px 0px 5px;
}
fs div.valueSet div.valueSet_config>ul>li>div.esp{
    box-sizing: border-box;
    width: 130px;
    height: 130px;
    left: 0px;
    top: 0px;
    padding: 0px 5px 5px 0px;
    margin: 0px 10px;
    overflow: initial;
}
fs div.valueSet div.valueSet_config>ul>li>div.esp img{
    max-width: 100%;
    max-height: 100%;
}
fs div.valueSet div.valueSet_config>ul>li>div.delete{
    position: absolute;
    margin-top: 77px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: transparent;
}
fs div.valueSet div.valueSet_config>ul>li>div.delete::before{
    content: "";
    display: block;
    width: inherit;
    height: inherit;
    background-image: url(../img/trash.png);
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: 6px 4px;
}
fs div.valueSet div.valueSet_config>ul>li>div.delete:hover{
    background-color: #007aff;
}
fs div.valueSet div.valueSet_config>ul>li>div.delete:hover::before{
    filter: invert();
}

fs div.valueSet div.valueSet_config>ul>li>label{
    box-sizing: border-box;
    min-width: 155px;
    max-width: 155px;
    width: auto;
    min-height: 50px;
    margin: 2px 0px;
    text-align: right;
}
fs div.valueSet div.valueSet_config>ul>li>div.param{
    box-sizing: border-box;
    max-width: calc(100% - 160px);
    width: calc(100% - 160px);
    margin: 0px 0px 0px 5px;
    padding: 0px;
    font-size: 35px;
    line-height: 42px;
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.timeswitch{
    margin-top: 10px;
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.timeswitch.disabled{
    pointer-events: none;
}
fs div.valueSet div.valueSet_config>ul>li>div.param input[type="text"]{
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    margin: 0px;
    padding: 0px 5px;
    vertical-align: middle;
    border: none;
    border-radius: 8px;
    font-size: 40px;
    background-color: rgba(200,200,200,0.5);
}
fs div.valueSet div.valueSet_config>ul>li>div.param input#inpMac,
fs div.valueSet div.valueSet_config>ul>li>div.param input#inpIp{
    font-size: inherit;
    width: calc(100% - 120px);
    height: auto;
    vertical-align: baseline;
}
fs div.valueSet div.valueSet_config>ul>li>div.param input[type="number"]{
    box-sizing: border-box;
    height: 50px;
    margin: 0px 2px 1px 2px;
    padding: 0px 5px;
    border: none;
    vertical-align: middle;
    border-radius: 8px;
    font-size: 40px;
    background-color: rgba(200,200,200,0.5);
}
fs div.valueSet div.valueSet_config>ul>li>div.param input[type="time"]{
    box-sizing: border-box;
    height: 50px;
    margin: 0px 2px 1px 2px;
    padding: 0px 5px;
    border: none;
    vertical-align: middle;
    border-radius: 8px;
    font-size: 40px;
    background-color: rgba(200,200,200,0.5);
}
fs div.valueSet div.valueSet_config>ul>li>div.param input[type="checkbox"]{
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    margin: 1px 5px 1px 0px;
    padding: 0px;
    vertical-align: middle;
    border-radius: 8px;
    font-size: 40px;
    background-color: rgba(200,200,200,0.5);
}
fs div.valueSet div.valueSet_config>ul>li>div.param select{
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
    height: 50px;
    margin: 0px;
    padding: 0px;
    border: none;
    border-radius: 8px;
    vertical-align: middle;
    font-size: 40px;
    background-color: rgba(200,200,200,0.5);
}
fs div.valueSet div.valueSet_config>ul>li>div.param select option{
    font-size: 30px;
    background-color: rgba(230,230,230,1);
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a{
    display: inline-block;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    margin: 1px 5px 1px 0px;
    vertical-align: middle;
    border: none;
    border-radius: 8px;
    background-color: transparent;
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a::before{
    content: "";
    display: block;
    width: inherit;
    height: inherit;
    background-image: none;
    background-repeat: no-repeat;
    background-size: 44px;
    background-position: 2px 2px;
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a:hover{
    background-color: #007aff;
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a:hover::before{
    filter: grayscale() invert();
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a.add::before{
    background-image: url(../img/add.png);
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a.trash::before{
    background-image: url(../img/trash.png);
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a.edit::before{
    background-image: url(../img/edit.png);
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a.sun::before{
    background-image: url(../img/sunmoon.png);
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a.sun[sun="0"]::before{
    background-image: url(../img/moon.png);
}
fs div.valueSet div.valueSet_config>ul>li>div.param div.a.sun[sun="1"]::before{
    background-image: url(../img/sun.png);
}
fs div.valueSet div.valueSet_config>ul>li>div.param div[name="addTimeswitch"],
fs div.valueSet div.valueSet_config>ul>li>div.param div[name="delTimeswitch"],
fs div.valueSet div.valueSet_config>ul>li>div.param div[name="timeswitchSun"]{
    margin-bottom: 10px;
    background-size: 47px;
    background-position: 0px 0px;
}
fs div.valueSet div.valueSet_config>ul>li>div.param select[name="timeswitchTopic"]{
    width: calc(100% - 55px);
    margin-left: 0px;
    margin-bottom: 10px;;
}
fs div.valueSet div.valueSet_config>ul>li>div.param input[name="timeswitchTime"]{
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;;
}
fs div.valueSet div.valueSet_config>ul>li>div.param input[name="timeswitchState"]{
    margin-bottom: 0px;
}
fs div.valueSet div.valueSet_config>ul>li>div.param select[name="remote"]{
    width: calc(100% - 54px);
}
fs div.valueSet div.valueSet_config>ul>li>div.param span{
    display: inline-block;
    box-sizing: border-box;
    height: 45px;
    width: 100%;
    padding: 2px 0px;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
fs div.valueSet div.paramShow{
    height: 40px;
    background-color: transparent;
    font-size: 30px;
    text-align: right;
    padding-right: 42px;
    box-sizing:border-box;
    padding-top: 0px;
    width: 100%;
}
fs div.valueSet div.paramShow.showParam{
    font-size: 0px;
    position: absolute;
    right: 5px;
    left: 5px;
    width: calc(100% - 10px);
}
fs div.valueSet div.paramShow:hover::before{
  background-color: #007aff;
  color: #ddd;
}
fs div.valueSet div.paramShow::before{
    content: "";
    display: block;
    height: inherit;
    background-image: url(../img/arrow-left.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: 5px 5px;
    width: 40px;
    position: absolute;
    border-radius: 7px;
    right: 5px;
}
fs div.valueSet div.paramShow.showParam::before{
    background-image: url(../img/arrow-down.png);
    right: 0px;
}
fs div.valueSet div.paramShow span{
    vertical-align: middle;
}
fs div.valueSet button{
    float: left;
    display: flex;
    font-size: 25px;
    background-color: transparent;
    cursor: pointer;
    text-align: center;
    justify-content: center; 
    align-items: center;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    outline:none;
    border: none;
    color:white;
}
fs div.valueSet button.power,
fs div.valueSet button.switch,
fs div.valueSet button.button{
    width: 108px;
    height: 40px;
    margin: 28px 5px 0px 0px;
    padding: 0px;
}
fs div.valueSet button.power::before,
fs div.valueSet button.switch::before,
fs div.valueSet button.button::before{
    content: "";
    display: inline-block;
    background-size: 100%;
    background-color: transparent;
    width: 108px;
    height: 40px;
    background-position: 0px -34px;
    filter: drop-shadow(0px 0px 5px black);
}
fs div.valueSet button.switch[state=on]::before{
    background-image: url(../img/state/switchon.png);
}
fs div.valueSet button.switch[state=off]::before{
    background-image: url(../img/state/switchoff.png);
}
fs div.valueSet button.button::before{
    background-image: url(../img/button.png);
	transition:
		filter 0.15s linear,
		transform 0.15s linear;
}
fs div.valueSet button.button[state=down]::before{
    transform: scale(0.9);
    filter: 
        drop-shadow(0 0.05em 0.1em hsla(0,0%,0%,0.3))
        invert(0.1);
}
fs div.valueSet button.button[state=up]::before{
    filter: drop-shadow(0 0.35em 0.1em hsla(0,0%,0%,0.3));
}
fs div.valueSet button.power{
    width: 110px;
    height: 110px;
    margin: 10px;
    border-radius: 55px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.2s;
}
fs div.valueSet button.power[state=on]{
    background-color:white;
    box-shadow: 0 0 5px white,
                 0 0 10px white,
                 0 0 20px #00ff00,
                 0 0 40px #00ff00,
                 0 0 60px #00ff00,
                 0 0 90px #00ff00;
}
fs div.valueSet button.power[state=off]{
    border: 2px solid black;
}
fs div.valueSet button.power::before{
    width: 80px;
    height: 80px;
    margin: 12px;
    background-position: center center;
    filter: unset;
}
fs div.valueSet button.power[state=on]::before{
    background-image: url(../img/power.png);
}
fs div.valueSet button.power[state=off]::before{
    background-image: url(../img/power.png);
}

fs div.valueSet input.slider{
    width: 100%;
}
fs div.valueSet textarea{
    box-sizing: border-box;
    height: 150px;
    width: 100%;
    font-family: monospace;
    font-size: 20px;
}
fs div.valueSet input.text{
    font-size:40px;
    height: 45px;
    border-radius: 8px;
}
fs div.valueSet input.number{
    font-size:40px;
    height: 45px;
    border-radius: 8px;
}
fs div.valueSet input.number[readonly]::-webkit-outer-spin-button,
fs div.valueSet input.number[readonly]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
fs div.valueSet input.number[readonly] {
	-moz-appearance: textfield;
}
fs div.valueSet input.cb{
    font-size:33px;
    width: 40px;
    height: 40px;
    margin: 29px 0px 22px;
    border-radius: 8px;
    vertical-align: top;
}
fs div.valueSet input.templates{
    margin-top: 6px;
    margin-bottom: 0px;
    margin-right: 5px;
}
fs div.valueSet input.cb.templates{
    font-size: 44px;
    width: 47px;
    height: 47px;
}
fs div.valueSet input.blockCaption{
	margin-bottom: 0px;
}
fs div.valueSet input.blockBody{
    margin-top: 6px;
    margin-bottom: 0px;
    margin-right: 5px;
}
fs div.valueSet input.cb.blockBody {
    margin-top: 10px;
}
fs div.valueSet select{
    font-size:40px;
    max-width: 100%;
    height: 47px;
    border: none;
    border-radius: 8px;
}
fs div.valueSet label{
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 40px;
}
fs div.valueSet label.switch,
fs div.valueSet label.button{
    display: inline-block;
    width: calc(100% - 180px);
    margin-top: 26px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 40px;
}
fs div.valueSet label.switch.power,
fs div.valueSet label.button.power{
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 45px;
}
fs div.valueSet label.graphData,
fs div.valueSet label.text,
fs div.valueSet label.number,
fs div.valueSet label.cb,
fs div.valueSet label.select,
fs div.valueSet label.label,
fs div.valueSet div.unit{
    display: inline-block;
    width: unset;
    margin-top: 26px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 40px;
}
fs div.valueSet label.text,
fs div.valueSet label.number{
    margin-right: 5px;
}
fs div.valueSet label.cb{
    margin-left: 5px;
}
fs div.valueSet label.cb.before{
    margin-left: 0px;
    margin-right: 5px;
}
fs div.valueSet label.select{
    margin-right: 5px;
}
fs div.valueSet label.templates{
    display: inline-block;
    width: 50px;
    margin-top: 6px;
    margin-bottom: 0px;
    margin-right: 5px;
    text-align: right;
    font-size: 40px;
    padding: 1px 0px;
}
fs div.valueSet span.templates{
    display: inline-block;
    margin-top: 6px;
    margin-bottom: 0px;
    margin-right: 5px;
    text-align: left;
    font-size: 40px;
    padding: 1px 0px;
}
fs div.valueSet label.blockCaption{
	margin-bottom: 0px;
}
fs div.valueSet label.blockBody{
    margin-top: 6px;
    margin-bottom: 0px;
    margin-right: 5px;
}
fs div.valueSet div.delete{
    display: inline-block;
    width: 40px;
    height: 47px;
    margin-top: 6px;
    margin-bottom: 0px;
    margin-right: 5px;
    border-radius: 8px;
    background-color: transparent;
    vertical-align: top;
}
fs div.valueSet div.delete::before{
    content: "";
    display: block;
    width: inherit;
    height: inherit;
    background-image: url(../img/trash.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: 5px 8px;
}
fs div.valueSet div.delete:hover{
    background-color: #007aff;
}
fs div.valueSet div.delete:hover::before{
    filter: invert();
}
fs div.valueSet div.delete.blockBody{
	height: 40px;
    margin-top: 6px;
    margin-bottom: 0px;
    margin-right: 5px;
}
fs div.valueSet div.delete.blockBody::before{
	background-position: 4px 3px;
	background-size: 33px;
}
fs div.valueSet div.add{
    display: inline-block;
    width: 40px;
    height: 47px;
    margin-top: 6px;
    margin-bottom: 0px;
    margin-right: 5px;
    border-radius: 8px;
    background-color: transparent;
    vertical-align: top;
}
fs div.valueSet div.add::before{
    content: "";
    display: block;
    width: inherit;
    height: inherit;
    background-image: url(../img/add.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: 5px 8px;
}
fs div.valueSet div.add:hover{
    background-color: #007aff;
}
fs div.valueSet div.add:hover::before{
    filter: invert();
}

fs div.valueSet div.unit{
    font-size: 33px;
    margin-bottom: 0px;
    margin-left: 5px;
    vertical-align: text-bottom;
}
fs div.valueSet div.unit.blockCaption{
	margin-bottom: 0px;
}
fs div.valueSet div.unit.blockBody{
    margin-top: 6px;
    margin-bottom: 0px;
    vertical-align: baseline;
}
fs div.valueSet label.actionTimer{
    width: auto;
}
fs div.valueSet input.timer-on {
    height: 35px;
    width: 35px;
    margin: 1px 0px 0px 15px;
    vertical-align: text-bottom;
}
fs div.valueSet input.timer-time {
    font-size: 27px;
    vertical-align: text-bottom;
    border-radius: 6px;
    margin-bottom: -1px;
}

fs div.valueSet div.from,
fs div.valueSet div.to{
    display: inline-block;
    width: 60px;
    margin-top: 5px;
    text-align: center;
    font-size: 25px;
}
fs div.valueSet div.from{
    float: left;
    margin-bottom: -35px;
}
fs div.valueSet div.to{
    float: right;
    margin-top: -40px;
}
fs div.valueSet div.a{
    display: inline-block;
    width: 45px;
    height: 45px;
    margin: 26px 0px 20px 10px;
    vertical-align: top;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: 39px;
    background-color: transparent;
    background-position: 3px 3px;    
}
fs div.valueSet div.a:hover{
    background-color: #007aff;
}
fs div.valueSet div.a.add{
    background-image: url(../img/add.png);
}
fs div.valueSet div.a.edit{
    background-image: url(../img/edit.png);
}
fs div.valueSet label div.a{
    margin-top: 0px;
    margin-bottom: 0px;
}
fs div.valueSet div.access{
    width: 100%;
    margin-left: 20px;
    font-size: 30px;
    margin-bottom: 5px;
}
fs div.valueSet div.access div.a{
    width: 35px;
    height: 35px;
    margin-right: 0px 20px 0px 0px;
    border-radius: 6px;
    vertical-align: middle;
    background-size: 29px;
}
fs div.valueSet div.access label[for="accessAdd"]{
    width: auto;
}
fs div.valueSet div.access input[type="number"]{
    font-size: inherit;
    width: 50px;
    vertical-align: middle;
    border-radius: 6px;
    text-align: right;
}
fs div.valueSet div.access textarea{
    width: calc(100% - 50px);
    height: 100px;
    font-size: inherit;
    font-family: inherit;
    display: none;
    border-radius: 6px;
}
fs div.valueSet div.access label{
    width: 30px;
    margin-right: 3px;
    margin-top: 2px;
    text-align: right;
    font-size: inherit;
    vertical-align: middle;
}
fs div.valueSet div.access div.delete{
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-right: 20px;
    vertical-align: middle;
    border-radius: 6px;
    background-color: transparent;
}
fs div.valueSet div.access div.delete::before{
    content: "";
    display: block;
    width: inherit;
    height: inherit;
    background-image: url(../img/trash.png);
    background-repeat: no-repeat;
    background-size: 29px;
    background-position: 3px 3px;
}
fs div.valueSet div.access div.delete:hover{
    background-color: #007aff;
}
fs div.valueSet div.access div.delete:hover::before{
    filter: invert();
}
fs div.valueSet div.access input.accessName{
    vertical-align: middle;
    font-size: inherit;
    border-radius: 6px;
}
fs div.valueSet div.access input.access{
    height: 35px;
    width: 35px;
    margin: 1px 0px 1px 25px;
    vertical-align: middle;
}

fs.infos{
    display: block;
}
fs.infos>header{
    background-color: #434759;
}
fs.infos>#fsWrapper{
    position: absolute;
    margin: 0px;
    top:70px;
    left:0px;
    bottom:0px;
    right:0px;
    overflow: auto;
    z-index: auto;
    padding-bottom: var(--sab-scale);
}
fs.infos>#fsWrapper ul{
    color: #395963;
    font-size: 30px;
}
fs.infos>#fsWrapper ul>li{
    display: flex;
}
fs.infos>#fsWrapper ul>li:nth-child(odd){
    background-color: #bbb;
}
fs.infos>#fsWrapper ul>li:nth-child(even){
    background-color: #ccc;
}
fs.infos>#fsWrapper ul>li>div.info{
    width: 100%;
    min-height: 3.1vw;
    display: flex;
}
fs.infos>#fsWrapper ul>li>div.info>label{
    margin: 0.35vw 0px 0.35vw 0.35vw;
    width: 18vw;
    font-size: 2.0vw;
}
fs.infos>#fsWrapper ul>li>div.info>label>input{
    width: 2.3vw;
    height: 2.3vw;
    vertical-align: text-top;
    border-radius: 0.4vw;
    margin: 0;
}
fs.infos>#fsWrapper ul>li>div.info>div.state{
    width: calc(100% - 18vw);
    padding: 0.35vw;
    font-size: 2.0vw;
}
fs.infos>#fsWrapper ul>li>div.info>div.state div.openclose{
    display: inline-block;
    width: 2.0vw;
    height: 2.0vw;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}
fs.infos>#fsWrapper ul>li>div.info>div.state div.openclose::before{
    content: "▽";
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align:center;
    border: 2px solid;
    border-radius: 5px;
    font-weight: bold;
}
fs.infos>#fsWrapper ul>li>div.info>div.state div.openclose.open::before{
    content: "▽";
    border-color: transparent
}
fs.infos>#fsWrapper ul>li>div.info>div.state div.openclose.close::before{
    content: "▷";
    border-color: transparent;
}
fs.infos>#fsWrapper ul>li>div.info>div.state span.openclose{
    font-family: 'Courier New', Courier, monospace;
}
fs.infos>#fsWrapper ul>li>div.info>div.state span.openclose.close{
    display: none;
}
fs.infos>#fsWrapper ul>li>div.info>div#infoPushState {
    white-space: pre;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

fs.infos>#fsWrapper ul>li span.clear{
    display: inline-block;
    width: 2.3vw;
    height: 2.3vw;
    vertical-align: text-top;
    background-image: url(../img/trash.png);
    background-repeat: no-repeat;
    background-size: 2.3vw;
    background-color: transparent;
    background-position: center;
    cursor: pointer;
}
fs.infos>#fsWrapper ul>li.close,
fs.infos>#fsWrapper ul>li.open{
    display: block;
    position: relative;
    background-image: url(../img/arrow-right.png);
    background-repeat: no-repeat;
    background-size: 2.3vw;
    background-position: calc(100% - 0.35vw) 0.35vw;
    cursor: pointer;
}
fs.infos>#fsWrapper ul>li.open{
    background-image: url(../img/arrow-down.png);
}
fs.infos>#fsWrapper ul>li.close:active,
fs.infos>#fsWrapper ul>li.open:active{
    background-color: #a0a0a0;
}
fs.infos>#fsWrapper ul>li>ul.liste:not(.sub) {
    /* max-height: 44.0vw; */
    max-height: calc(100vh - 3.0vw - 70px - var(--sat-scale) - var(--sab-scale));
    overflow-y: auto;
}
fs.infos>#fsWrapper ul>li.close>ul.liste{
    display: none;
}
fs.infos>#fsWrapper ul>li>ul.liste>li:nth-child(odd){
    background-color: #eee;
}
fs.infos>#fsWrapper ul>li>ul.liste>li:nth-child(even){
    background-color: #ddd;
}
fs.infos>#fsWrapper ul>li>ul.liste>li>div.info{
    min-height: 2.2vw;
}
fs.infos>#fsWrapper ul>li>ul.liste>li>div.info>label{
    display: flex;
    margin: 0px 0px 0px 0.35vw;
    font-size: 1.5vw;
    align-items: center;
}
fs.infos>#fsWrapper ul>li>ul.liste>li>div.info>div.state{
    display: flex;
    padding: 0px 0.35vw;
    font-size: 1.5vw;
    align-items: center;
}
fs.infos>#fsWrapper ul>li>ul.liste>li>div.info>div.state ul{
    font-size: inherit;
    display: none;
}
fs.infos>#fsWrapper ul>li>ul.liste>li>div.info>div.state ul.on{
    display: initial;
}
fs.infos>#fsWrapper ul>li>ul.liste.sub{
    border-top: 1px dashed #555;
}
fs.infos>#fsWrapper ul>li>ul.liste.sub,
fs.infos>#fsWrapper ul>li>ul.liste.sub>li{
    background-color: transparent;
}
fs.infos>#fsWrapper ul>li>ul.liste.sub>li>div.info>label,
fs.infos>#fsWrapper ul>li>ul.liste.sub>li>div.info>div.state{
    font-size: 1.8vw;
}
fs.infos>#fsWrapper ul>li>ul.liste.sub>li.close,
fs.infos>#fsWrapper ul>li>ul.liste.sub>li.open{
    background-size: 1.7vw;
    background-position: calc(100% - 0.2vw) 0.2vw
}

fs.infos>#fsWrapper ul#storageListe>li>div.info>div.state{
    height: 2.2vw;
    overflow-x: clip;
    overflow-y: visible;
    text-overflow: ellipsis; 
    white-space: nowrap;
}
fs.infos>#fsWrapper ul#storageListe.close>li:not(.full){
    display: none;
}
fs.infos>#fsWrapper ul#storageListe.close>li.full>div.info>div.state{
    display: inline-block;
    height: auto;
    /* max-height: 44.0vw; */
    max-height: calc(100vh - 3.0vw - 70px - var(--sat-scale) - var(--sab-scale));
    overflow-y: auto;
    white-space: pre;
}

fs.infos>#fsWrapper ul#cachesListe>li ul.liste>li>div.info>label {
    width: 2.0vw;
}
fs.infos>#fsWrapper ul#cachesListe>li ul.liste>li>div.info>div.state {
    width: calc(100% - 2.0vw);
}
fs.infos>#fsWrapper ul#cachesListe>li ul.liste>li span.clear{
    width: 2.0vw;
    height: 2.0vw;
    background-size: 1.5vw;
    background-position: center;
}

fs.infos>#fsWrapper ul#logListe>li>div.info>div.state {
    white-space: pre;
}