/* 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;
    -webkit-text-size-adjust: 100%;
       -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
            text-size-adjust: 100%;
}
html{
    background-color: black;
    width:100%;
    height: 100%;
}
body{
    position: absolute;
    top: 0px;
    top: var(--sat-scale);
    bottom: 0px;
    bottom: var(--sab-scale);
    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)- var(--sab-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, Helvetica, sans-serif;
    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;
    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: calc(8px + 22px);
}
body.splash header{
    display: none;
}
header > span{
	display: inline-block;
    box-sizing: border-box;
    width: calc(100% - 55px);
	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;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.offline header > span::before{
    content: "";
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(../img/offline.png);
    background-size: 100%;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    filter: invert(0.8);
    margin-left: -23px;
    margin-top: 5px;
}

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;
    -webkit-filter: invert(100%);
    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: 500;
    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: inline-block;
    text-decoration:none;
    border-radius: 12px;
}
header>div>span::before{
	content: "";
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background-image: none;
    background-size: 100%;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    border-radius: 12px;
}
header>div>span:hover{
    box-shadow: 0 0 10px #ee6809 !important;
}

header>div>span.menu::before{
    background-image: url(../img/menu.png);
}
header>div>span.upload::before{
    background-image: url(../img/upload.png);
	filter: invert(1)
}
header>div>span.pdf::before{
    background-image: url(../img/pdf.png);
	filter: invert(0.8)
}
header>div>span.edit::before{
    background-image: url(../img/edit.png);
    filter: grayscale(1);
}
header>div>span.edit.on::before{
    filter: unset;
}

header>div>span.add::before{
    background-image: url(../img/add.png);
    filter: invert(1);
}
header>div>span.trash::before{
    background-image: url(../img/trash.png);
    filter: invert(1);
}
header>div>span.copy::before{
  background-image: url(../img/copy.png);
  filter: invert(1);
}
header>div>span.save::before{
    background-image: url(../img/save.png);
    filter: grayscale(1);
}
header>div>span.save.on::before{
    filter: unset;
}
header>div>span.pay::before{
    background-image: url(../img/pay.png);
    filter: grayscale(1);
}
header>div>span.pay.on::before{
    filter: unset;
}
header>div>span.pay[disabled]{
    display: none;
}
header>div>span.mail{
    pointer-events: none;
}
header>div>span.mail::before{
    background-image: url(../img/sent.png);
    filter: grayscale(1);
    pointer-events: none;
}
header>div>span.mail.on{
    pointer-events: initial;
}
header>div>span.mail.on::before{
    background-image: url(../img/send.png);
    filter: unset;
}
header>div>span.mail[disabled]{
    display: none;
}

main{
    position: absolute;
    display: block;
    margin: 0px;
    top:70px;
    left:0px;
    bottom: 0px;
    right:0px;
    overflow: auto;
    z-index: auto;
}
main.footer{
    margin-bottom: 34px;
}
body.splash main{
    display: none;
}

footer{
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 20px;
    line-height: 20px;
    background: #eee;
    padding: 1px 8px;
    font-size: 20px;
}
body.splash footer{
    display: none;
}

footer > div{
    display: none;
}
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.menu{
	display: block;
	background-color: black;
	background-image: none;
	background-size: auto;
	background-position: center;
	opacity: 0.5;
	z-index: 101;
}

home {
    position: absolute;
    pointer-events: all;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height:  var(--sab-scale);
    z-index: 10000;
}

/* Allgemeine Definitionen*/
    red {
        color: #f00;
    }
    .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;
}
ul.tab{
    background-color:#eee;
    /*margin-top:70px;*/
}
ul.tab li{
    position: relative;
    font-size:25px;
    padding:8px 10px 8px 15px;
    font-weight: normal;
    border-bottom: 1px solid #888;
}
ul.tab li[invalidFrom=true]{
	background-color: lightcoral;
}
ul.tab li[invalidFrom=false]{
	background-color: lightgreen;
}

ul.tab li:last-child{
    border-bottom: none;
}
ul.tab li:hover{
	background-image: radial-gradient(#ee680930 0%, #eee 90%);
}
ul.tab li.close{
	display: none;
}
ul.tab li.a>span{
	background-image: url(../img/arrow-right.png);
	background-size: 20px;
    background-position-x: 100%;
    background-position-y: center;
    background-repeat: no-repeat;
    text-decoration:none;
    pointer-events: none;
}
ul.tab li.arrowDown.a>span{
    background-image: url(../img/arrow-down.png);
    font-weight: bold;
}
ul.tab li>span{
    color:#395963;
    line-height:50px;
    text-decoration:none;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}
ul.tab li.caption>span{
	font-weight: bold;
}
ul.tab li>span>span{
	display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select:none;
    user-select: none;
}
ul.tab li>span>span.ref::before{
	content: "🗎";
	font-size: 25px;
	vertical-align: middle;
}
ul.tab li>span>span:not(.a){
    cursor: default;
}
ul.tab li>div.tabButton{
    width: 13px;
    height: 2em;
    position: absolute;
    background-image: url(../img/arrow-right.png);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: left;
    cursor: pointer;
    left: 0px;
    top: 8px;
    background-size: 13px 2em;
    overflow: hidden;
}
ul.tab li>div.tabButton:hover,
ul.tab li>div.tabButton.hover{    
    width:auto;
    padding-left: 13px;
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}
@keyframes tabButtonZoom {
    from {
        background-size: 13px 2em;
	    padding-left: 13px;
    }
    to {
        background-size: 2em 2em;
	    padding-left: 2em;
    }
}
ul.tab li>div.tabButton.hover{
    animation-name: tabButtonZoom;
    animation-duration: 1.2s;
    background-size: 2em 2em;
    padding-left: 2em;
}
ul.tab li>div.tabButton>span{
    width: 0px;
    height: 1.5em;
    margin: 0.25em;
    display: none;
    background-image: none;
    background-size: 1.5em;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    text-decoration:none;
    border-radius: 6px;
}
@keyframes tabButtonSpanZoom {
    from {width:0px;}
    to {width:1.5em;}
}

ul.tab li>div.tabButton:hover>span,
ul.tab li>div.tabButton.hover>span{
    animation-name: tabButtonSpanZoom;
    animation-duration: 0.2s;
    width: 1.5em;
}
ul.tab li>div.tabButton>span:hover{
    box-shadow: 0 0 10px #ee6809 !important;
}
ul.tab li>div.tabButton>span.pdf{
    display: inline-block;
    background-image: url(../img/pdf.png);
}
ul.tab li>div.tabButton>span.copy{
    display: inline-block;
    background-image: url(../img/copy.png);
}

ul.tab.small li{
    font-size:16px;
}
ul.tab.small li span{
    line-height: 17px;;
}
ul.tab.small li>div.tabButton{
    top: 1px;
}


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: #f8f8f8;
}
option{
    background-color: #f8f8f8;
}
input[type=text],
input[type=number],
input[type=date],
input[type=time],
input[type=button],
textarea,
select{
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 1px;
    padding-bottom: 1px;
    box-sizing: content-box;
}
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;
}
span[disabled] {
    pointer-events: none;
}

smartButton {
    display: block;
    position: absolute;
    right: 40px;
    top: 50%;
    margin-top: calc(-0.5em - 5px);
    padding: 5px;
    line-height: 1em;
    border: 1px solid;
    border-radius: 10px;
    pointer-events: visible;
    color: white;
    background-color: green;
}
smartButton.run {
    background-color: red;
}
footer.tab{
    display:block;
    background-color:#eee;
    height: auto;
    border-top: 1px solid black;
}
footer.tab>div{
    display: inline-block;
	color: rgb(220, 154,32);
    font-weight: bold;
    margin-top: 2px;
    margin-right: 5px;
}
footer.tab>div.filter{
    padding-left: 25px;
    background-color: transparent;
    background-image: url(../img/filter.png);
    background-size: 25px;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    white-space: nowrap;
}
footer.tab>div.filter.show{
    white-space: normal;
}
footer.tab>div.sort{
    padding-left: 25px;
    background-color: transparent;
    background-image: url(../img/sort.png);
    background-size: 25px;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    white-space: nowrap;
}
footer.tab>div.sort.show{
    white-space: normal;
}
footer.tab>div.sum{
    padding-left: 25px;
    background-color: transparent;
    background-image: url(../img/sum.png);
    background-size: 25px;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    white-space: nowrap;
}
footer.tab>div.sum.show{
    white-space: normal;
}
footer.tab>div>label{
    display: inline-block;
    margin: 1px 0px 1px 5px;
    padding: 1px 0px 1px 3px;
    font-size: inherit;
    font-family: inherit;
    border: 2px solid;
    border-radius: 5px;
    white-space: pre;
}
footer.tab>div>label>select{
	display: inline-block;
	padding-left: 0px;
	padding-right: 0px;
	color: rgb(237, 104, 9);
	font-size: inherit;
	font-family: inherit;
	height: 23px;
    margin: 0px 2px 1px 0px;
}
footer.tab>div>label>input[type=checkbox] {
    background-color: rgba(237, 104, 9, 0.4);
    width: 23px;
    height: 23px;
    vertical-align: text-bottom;
    border: 2px solid  rgb(237, 104, 9);
    margin: 0px 2px 1px 0px;
}
footer.tab>div>label>input[type=checkbox]:checked {
    background-color: rgb(237, 104, 9) !important;
    border: none;
}
footer.tab>div>label>input[type=checkbox]:disabled,
footer.tab>div>label>input[type=checkbox]:hover {
    background-color: rgba(237, 104, 9, 0.3) !important;
}

/* Message */
msg{
    display: block;
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 600;
}
msg>div{
    position: relative;
    right: 0px;
    display: block;
    width: calc(100% - 6px);
    min-height: 50px;
    background-color: #ddd;
    border-radius: 12px;
    margin: 3px;
    box-sizing: border-box;
    padding: 10px;
    font-size: 25px;
}
msg>div.green{
	background-color: lightgreen;
}
msg>div.red{
	background-color: lightcoral;
}
msg>div.yellow{
	background-color: lightgoldenrodyellow;
}
msg>div.blue{
	background-color: lightskyblue;
}

msg>div>icon{
	display: inline-block;
	height: 1em;
	width: 1em;
	vertical-align: middle;
	margin: 3px;
	background-image: none;
	background-size: 1em;
	background-position: 0px 0px;
}
msg>div>icon.save{
	background-image: url(../img/save.png);
}
msg>div>icon.trash{
	background-image: url(../img/trash.png);
}
msg>div>icon.copy{
	background-image: url(../img/copy.png);
}
msg>div>icon.add{
	background-image: url(../img/add.png);
}
msg>div>icon.changed{
	background-image: url(../img/edit.png);
}
msg>div>icon.pdf{
	background-image: url(../img/pdf.png);
}
msg>div>icon.pay{
	background-image: url(../img/pay.png);
}
/* Dialog */
dlg{
    display: none;
    position: absolute;
    left: 25px;
    top: 25px;
    border-radius: 12px;
    background-color: #ddd;
    z-index: 600;
    max-width: calc(100vw - 30px);
}
dlg.on{
    display: block;
}
dlg.on::before{
	content: "";
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	background-color: black;
	opacity: 0.6;
	margin-top: -50vh;
	margin-bottom: -50vh;
	margin-left: -50vw;
	margin-right: -50vw;
}
dlg>div{
    position: relative;
    display: block;
    background-color: #eee;
    border-radius: 10px;
    margin: 3px;
    box-sizing: border-box;
    padding: 10px;
    font-size: 20px;
    padding-top: 0px;
}
dlg>div>span.icon{
	display: inline-block;
	position: absolute;
	left: 5px;
	top: 5px;
	height: 25px;
	width: 25px;
	vertical-align: middle;
	background-image: none;
	background-size: 25px;
	background-position: 0px 0px;
	margin: 2px;
}
dlg>div>span.icon.edit{
	background-image: url(../img/edit.png);
}
dlg>div>span.icon.upload{
	background-image: url(../img/upload.png);
}
dlg>div>span.title{
	display: inline-block;
	position: relative;
	height: 25px;
	max-width: calc(100vw - 50px - 28px);
	margin-top: 7px;
    margin-right: 28px;
	vertical-align: middle;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
dlg>div>span.title.withIcon{
	margin-left: 28px;
	max-width: calc(100vw - 50px - 28px - 28px);
}
dlg.changed>div>span.title{
	margin-right: 56px;
	max-width: calc(100vw - 50px - 28px - 28px);
}
dlg.changed>div>span.title.withIcon{
	max-width: calc(100vw - 50px - 28px - 28px - 28px);
}
dlg span.button{
    display: inline-block;
    position: absolute;
    width: 25px;
    height: 25px;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 26px;
    cursor: pointer;
    vertical-align: text-top;
    border-radius: 5px;
    background-color: transparent;
}
dlg span.button.close{
	top: 5px;
    right: 5px;
}
dlg span.button.ok{
	top: 5px;
    right: 35px;
}
dlg span.button.ok.changed{
	display: none;
}
dlg.changed span.button.ok.changed{
	display: initial;
}
dlg span.button::before{
    content: "";
    position: absolute;
    display: inline-block;
    width: inherit;
    height: inherit;
    text-align:center;
    outline: 1px solid #888;
    outline-offset: -1px;
    border-radius: inherit;
    font-weight: bold;
    font-size: inherit;
    vertical-align: middle;
}
dlg span.button:hover{
    background-color: #bbb;
}
dlg span.button.before{
	margin-right: 5px;
}
dlg span.button.after{
	margin-left: 5px;
}

dlg span.button.close:before{
    content: "✖";
    color: red;
}
dlg span.button.add:before{
    content: "+";
    color: green;
}
dlg span.button.edit:before{
    content: "🖉";
    color: #ee9900;
}
dlg span.button.delete:before{
    content: "🗑";
    color: darkred;
}
dlg span.button.ok:before{
    content: "🗸";
    color: green;
}
dlg span.button.cancel:before{
    content: "🗴";
    color: red;
}
dlg select{
	font-size: 20px;
    height: 23px;
    max-width: calc(100vw - 130px);
    padding: 0px;
}
dlg input[type=file]{
    font-size: inherit;
    width: 400px;
    margin: 20px;
}
dlg>div>div.body {
    position: relative;
    min-height: 50px;
    min-width: 300px;
    max-height: calc(100vh - 105px);
    max-width: calc(100vw - 50px);
    /* margin-top: 10px; */
    overflow-x: auto;
}


dlg>div>div.body>table{
    border-spacing: 0px 2px;
    width: 100%;
}
dlg>div>div.body>table>caption.key,
dlg>div>div.body>div.key {
    font-weight: bold;
    margin-top: 7px;
    background-color:#ccc;
	padding: 5px 5px 2px 5px;
	border-radius: 8px;
    text-align: left;
    white-space: nowrap;
}
dlg>div>div.body>table>caption.key span.button,
dlg>div>div.body>div.key span.button {
	position: relative;
	right: unset;
	top: unset;
	font-size: 20px;
	width: 20px;
	height: 20px;
	line-height: 21px;
}
dlg>div>div.body>table>tr.value {
    font-size: 18px;
    max-height: 300px;
    overflow-x: auto;
}
dlg>div>div.body>table>tr.value span.button {
	position: relative;
	right: unset;
	top: unset;
	font-size: 18px;
	width: 19px;
	height: 19px;
	line-height: 21px;
}
dlg>div>div.body>table>tr.value select{
    font-size: 16px;
    height: 19px;
    vertical-align: text-top;
}
dlg>div>div.body> table>tr>td{
	padding: 2px 0px 0px;
}
dlg>div>div.body> table>tr>td:first-child{
	min-width: 60px;
	vertical-align: top;
    padding: 2px 5px 0px;
}
dlg>div>div.body> table>tr:nth-child(odd)>td{
	background-color: #ddd;
}

/* 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: 30px;
    height: 30px;
    vertical-align: bottom;
}
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;
    margin-left: 4px;
    margin-right: 4px;
}
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 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;
}

/* sortButton */
label>span.sort {
    width: 1em;
    height: 1em;
    margin-left: 5px;
    display: inline-block;
    vertical-align: bottom;
    background-image: url(../img/sort-false.png);
    background-size: 1em;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    text-decoration: none;
    border-radius: 0.2em;
}
label>span.sort:hover {
    box-shadow: 0 0 10px #ee6809 !important;
}
label>span.sort.up{
    background-image: url(../img/sort-up.png);
}
label>span.sort.down{
    background-image: url(../img/sort-down.png);
}


/* detail*/
    ul.detail{
        background-color:#eee;
        /*margin-top:70px;*/
    }
    ul.detail li{
        font-size:25px;
        padding:5px 5px;
        font-weight: normal;
        border-bottom: 1px solid transparent;
    }
    ul.detail li:last-child{
        border-bottom: none;
    }
    ul.detail li:hover{
        background-image: radial-gradient(#ee680930 0%, #eee 90%);
    }
    ul.detail li>label{
        display: inline-block;
        width: 180px;
        padding-right: 10px;
        vertical-align: top;
        text-align: right;
        color: #395963;
    }
    ul.detail li>span{
        display: inline-block;
        width: calc(100% - 190px);
        vertical-align: top;
        color: #000;
        text-decoration:none;
    }
    
    ul.detail li>span>input,
    ul.detail li>input{
        display: inline-block;
        width: calc(100% - 198px);
        padding-left: 4px;
        padding-right: 4px;
        vertical-align: top;
        color: #000;
        font-size: inherit;
        font-family: inherit;
        height: 29px;
        margin-top: -1px;
    }
    ul.detail li>span>input[type=date],
    ul.detail li>input[type=date]{
        width: unset;
    }
    ul.detail li>span>input[type=time],
    ul.detail li>input[type=time]{
        width: unset;
    }
    ul.detail li>span>input[type=number],
    ul.detail li>input[type=number]{
        width: unset;
        text-align: right;
    }
    ul.detail li>span>input[type=checkbox],
    ul.detail li>input[type=checkbox]{
        width: 29px;
        padding: 0px;
    }
    ul.detail li>textarea{
        display: inline-block;
        width: calc(100% - 198px);
        padding-left: 4px;
        padding-right: 4px;
        vertical-align: top;
        color: #000;
        font-size: inherit;
        font-family: inherit;
        resize: vertical;
    }
    ul.detail li>label>select,
    ul.detail li>span>select,
    ul.detail li>select{
        display: inline-block;
        width: calc(100% - 190px);
        padding-left: 0px;
        padding-right: 0px;
        vertical-align: top;
        color: #000;
        font-size: inherit;
        font-family: inherit;
        margin-top: -1px;
        height: 31px;
    }
    ul.detail li>span>select{
        width: unset;
        max-width: 100%;
    }
	ul.detail li select option.disabled,
    ul.detail li select option[disabled]{
        background-color: lightcoral;
	}

    
    
/* fullscreen*/
    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;
    }
    fs:not(:empty){
        display: block;
    }

    
/* 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:not(.pwchange) 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);
}


/* pageInvoiceOut*/
ul.invoiceOut.detail[template="1"] li[template="0"]{
    display: none;
}
ul.detail li.invoiceOutPos{
    position: relative;
}
ul.detail li.invoiceOutPos>label:first-child{ /*pos*/
    width: 45px;
    text-align: right;
}
ul.detail[template="1"] li.invoiceOutPos>label:first-child{
    display: none;
}
ul.detail li.invoiceOutPos>label:nth-child(2){ /*date*/
    width: 160px;
    text-align: left;
}
ul.detail[template="0"] li.invoiceOutPos>label:nth-child(2){
    display: none;
}
ul.detail li.invoiceOutPos>label:nth-child(3){ /*quantity*/
    width: 75px;
    text-align: left;
}
ul.detail li.invoiceOutPos>label:nth-child(4){ /*unit*/
    width: 80px;
    text-align: left;
}
ul.detail li.invoiceOutPos>label:nth-child(5){ /*text*/
    width: calc(100% - 555px);
    text-align: left;
    overflow: hidden;
	text-overflow: ellipsis;
}
ul.detail[template="1"] li.invoiceOutPos>label:nth-child(5){
    width: calc(100% - 555px - 115px);
}

ul.detail li.invoiceOutPos>label:nth-child(6){ /*priceUnit*/
    width: 110px;
    text-align: right;
}
ul.detail li.invoiceOutPos>label:nth-child(7){ /*priceTotal*/
    width: 130px;
    text-align: right;
}
ul.detail li.invoiceOutPos>label:nth-child(8){ /*vatPercent*/
    width: 55px;
    text-align: center;
    padding-right: 0px;
}
ul.detail li.invoiceOutPos>input:first-child{ /*pos*/
    width: 45px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
    text-align: right;
}
ul.detail[template="1"] li.invoiceOutPos>input:first-child{
    display: none;
}
ul.detail li.invoiceOutPos>input:nth-child(2){ /*date*/
    width: 160px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
}
ul.detail[template="0"] li.invoiceOutPos>input:nth-child(2){
    display: none;
}
ul.detail li.invoiceOutPos>input:nth-child(3){ /*quantity*/
    width: 75px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
}
ul.detail li.invoiceOutPos>input:nth-child(4){ /*unit*/
    width: 80px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
}
ul.detail li.invoiceOutPos>span:nth-child(5){ /*text*/
	display: inline-block;
	width: calc(100% - 555px);
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
    white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
ul.detail[template="1"] li.invoiceOutPos>span:nth-child(5){
    width: calc(100% - 555px - 115px);
}
ul.detail li.invoiceOutPos>span.showBig{
    color: #aaa;
}
ul.detail li.invoiceOutPos>input:nth-child(6){ /*priceUnit*/
    width: 110px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
}
ul.detail li.invoiceOutPos>input:nth-child(7){ /*priceTotal*/
    width: 130px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
}
ul.detail li.invoiceOutPos>select:nth-child(8){ /*vatPercent*/
    width: 55px;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
    appearance: none;
}
ul.detail li.invoiceOutPos>textarea:nth-child(9){ /*text*/
    display: none;
    position: relative;
    width: 20em;
    left: 50%;
    margin-left: -10em;
}
ul.detail li.invoiceOutPos>textarea.showBig{
    display: initial;
}

/* pageInvoiceIn*/
ul.detail li>span>div#invoiceIn_sent{
	display: inline-block;
	background-image: url(../img/send.png);
	width: 32px;
	height: 32px;
	margin-left: 5px;
	background-size: 32px;
	background-position-x: 0px;
	background-position-y: center;
	background-repeat: no-repeat;
	text-decoration: none;
	border-radius: 6px;
	cursor: pointer;
	vertical-align: top;
}
ul.detail li>span>div#invoiceIn_sent[value="128"]{
	display: inline-block;
	background-image: url(../img/sent.png);
}
ul.detail li>span>div#invoiceIn_sent:hover{
	box-shadow: 0 0 10px #ee6809 !important;
}
ul.detail li>span>div#invoiceIn_sent[disabled]{
	box-shadow: none;
	pointer-events: none;
}
ul.detail li.invoiceInPos{
    position: relative;
}

ul.detail li.invoiceInPos>label:first-child{
    width: 45px;
    text-align: right;
}
ul.detail li.invoiceInPos>label:nth-child(2){
    width: 75px;
    text-align: left;
}
ul.detail li.invoiceInPos>label:nth-child(3){
    width: 80px;
    text-align: left;
}
ul.detail li.invoiceInPos>label:nth-child(4){
    width: calc(100% - 555px);
    text-align: left;
    overflow: hidden;
	text-overflow: ellipsis;
}
ul.detail li.invoiceInPos>label:nth-child(5){
    width: 110px;
    text-align: right;
}
ul.detail li.invoiceInPos>label:nth-child(6){
    width: 130px;
    text-align: right;
}
ul.detail li.invoiceInPos>label:nth-child(7){
    width: 55px;
    text-align: center;
    padding-right: 0px;
}
ul.detail li.invoiceInPos>input:first-child{
    width: 45px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
    text-align: right;
}
ul.detail li.invoiceInPos>input:nth-child(2){
    width: 75px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
}
ul.detail li.invoiceInPos>input:nth-child(3){
    width: 80px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
}
ul.detail li.invoiceInPos>span:nth-child(4){
	display: inline-block;
	width: calc(100% - 555px);
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
    white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
ul.detail li.invoiceInPos>span.showBig{
    color: #aaa;
}
ul.detail li.invoiceInPos>input:nth-child(5){
    width: 110px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
}
ul.detail li.invoiceInPos>input:nth-child(6){
    width: 130px;
    padding-left: 0px;
    padding-right: 5px;
    margin-right: 5px;
}
ul.detail li.invoiceInPos>select:nth-child(7){
    width: 55px;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
    appearance: none;
}
ul.detail li.invoiceInPos>textarea:nth-child(8){
    display: none;
    position: relative;
    width: 20em;
    left: 50%;
    margin-left: -10em;
}
ul.detail li.invoiceInPos>textarea.showBig{
    display: initial;
}

/* posButton */
ul.detail li>div.posButton{
    width: 10px;
    height: 40px;
    position: absolute;
    background-image: url(../img/arrow-right.png);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: left;
    cursor: pointer;
    left: 0px;
    top: 0px;
    background-size: 10px 40px;
    overflow: hidden;
}
ul.detail li>div.posButton:hover,
ul.detail li>div.posButton.hover{    
    width:auto;
    padding-left: 10px;
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}
@keyframes posButtonZoom {
    from {
        background-size: 10px 40px;
	    padding-left: 10px;
    }
    to {
        background-size: 40px 40px;
	    padding-left: 40px;
    }
}
ul.detail li>div.posButton.hover{
    animation-name: posButtonZoom;
    animation-duration: 1.2s;
    background-size: 40px 40px;
    padding-left: 40px;
}
ul.detail li>div.posButton>span{
    width: 0px;
    height: 30px;
    margin: 5px;
    display: none;
    background-image: none;
    background-size: 30px;
    background-position-x: 0px;
    background-position-y: center;
    background-repeat: no-repeat;
    text-decoration:none;
    border-radius: 6px;
}
@keyframes posButtonSpanZoom {
    from {width:0px;}
    to {width:30px;}
}

ul.detail li>div.posButton:hover>span,
ul.detail li>div.posButton.hover>span{
    animation-name: posButtonSpanZoom;
    animation-duration: 0.2s;
    width: 30px;
}
ul.detail li>div.posButton>span:hover{
    box-shadow: 0 0 10px #ee6809 !important;
}
ul.detail li>div.posButton>span.add{
    display: inline-block;
    background-image: url(../img/add.png);
}
ul.detail li>div.posButton>span.trash{
    display: inline-block;
    background-image: url(../img/trash.png);
}
ul.detail li>div.posButton>span.pdf{
    display: inline-block;
    background-image: url(../img/pdf.png);
}


/* pageEür*/
    main ul.eür li{
        overflow-x: hidden;
        text-overflow: ellipsis;
		font-size: 20px;
    }
    main ul.eür li.block,
    main ul.eür li.caption,
	main ul.eür li.revenueSum,
	main ul.eür li.expenceSum,
	main ul.eür li.profitSum{
		font-weight: bold;
	}
    main ul.eür li>span{
		line-height: 25px;
	}
	main ul.eür li>span>span{
		vertical-align: middle;
	}
    main ul.eür li>span>span:first-child{
        width: 45px;
        text-align: right;
        padding-right: 5px;
    }
    main ul.eür li>span>span:nth-child(2){
        width: calc(100% - 50px - 135px - 25px);
        text-align: left;
        padding-right: 5px;
        text-wrap: auto;
        font-size: 16px;
        line-height: 16px;
        vertical-align: middle;
    }
    main ul.eür li>span>span:nth-child(3){
        width: 130px;
        text-align: right;
        padding-right: 5px;
    }

/* pageUstVA*/
    main ul.ustva li{
        overflow-x: hidden;
        text-overflow: ellipsis;
		font-size: 20px;
    }
    main ul.ustva li.block,
    main ul.ustva li.caption,
	main ul.ustva li.revenueVatSum,
    main ul.ustva li.vatSum,
    main ul.ustva li.ustvaSum{
		font-weight: bold;
	}
    main ul.ustva li>span{
		line-height: 25px;
	}
	main ul.ustva li>span>span{
		vertical-align: middle;
	}
    main ul.ustva li>span>span:first-child{
        width: 45px;
        text-align: right;
        padding-right: 5px;
        /* font-size: 20px; */
    }
    main ul.ustva li>span>span:nth-child(2){
        width: calc(100% - 45px - 135px - 155px);
        text-align: left;
        padding-right: 5px;
        text-wrap: auto;
        font-size: 16px;
        line-height: 16px;
        vertical-align: middle;
    }
    main ul.ustva li>span>span:nth-child(3){
        width: 130px;
        text-align: right;
        padding-right: 5px;
    }
    main ul.ustva li>span>span:nth-child(4){
        width: 120px;
        text-align: right;
        padding-right: 5px;
    }

/* pageUst*/
main ul.ust li{
    overflow-x: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
}
main ul.ust li.block,
main ul.ust li.caption,
main ul.ust li.revenueInvoiceSum,
main ul.ust li.expenceInvoiceSum,
main ul.ust li.ustSum{
    font-weight: bold;
}
main ul.ust li>span{
    line-height: 25px;
}
main ul.ust li>span>span{
    vertical-align: middle;
}
main ul.ust li>span>span:first-child{
    width: 45px;
    text-align: right;
    padding-right: 5px;
    /* font-size: 20px; */
}
main ul.ust li>span>span:nth-child(2){
    width: calc(100% - 45px - 135px - 155px);
    text-align: left;
    padding-right: 5px;
    text-wrap: auto;
    font-size: 16px;
    line-height: 16px;
    vertical-align: middle;
}
main ul.ust li>span>span:nth-child(3){
    width: 130px;
    text-align: right;
    padding-right: 5px;
}
main ul.ust li>span>span:nth-child(4){
    width: 120px;
    text-align: right;
    padding-right: 5px;
}

/* pageCashbook*/
	main ul.cashbook li.sum,
    main ul.cashbook li.cap{
		font-weight: bold;
        font-size: 18px;
        line-height: 18px;
	}
    main ul.tab.cashbook li.cap>label{
		display: inline-block;
    }
    main ul.tab.cashbook li.cap>label:first-child{/*date*/
        width: 90px;
        text-align: left;
    }
    main ul.tab.cashbook li.cap>label:nth-child(2){/*text*/
        width: calc(100% - 490px);
        text-align: left;
    }
    main ul.tab.cashbook li.cap>label:nth-child(3){/*elster id*/
        width: 50px;
        text-align: center;
    }
    main ul.tab.cashbook li.cap>label:nth-child(4){/*brutto*/
        width: 90px;
        text-align: center;
    }
    main ul.tab.cashbook li.cap>label:nth-child(5){/*vatPercent*/
        width: 0px;
        text-align: center;
    }
    main ul.tab.cashbook li.cap>label:nth-child(6){/*vat*/
        width: calc(40px + 70px);
        text-align: center;
    }
    main ul.tab.cashbook li.cap>label:nth-child(7){/*netto*/
        width: 90px;
        text-align: center;
    }
    main ul.tab.cashbook li.cap>label:nth-child(8){/*invoiceId*/
        width: 45px;
        text-align: center;
    }
    main ul.tab.cashbook li>span>span:nth-child(8):hover{
        font-weight: bold;
    }

    main ul.tab.cashbook li>span{
        white-space: normal;
    }
    main ul.tab.cashbook li>span>span:first-child{/*date*/
        width: 85px;
        text-align: left;
        padding-right: 5px;
    }
    main ul.tab.cashbook li>span>span:nth-child(2){/*text*/
        width: calc(100% - 495px);
        text-align: left;
        padding-right: 5px;
        text-wrap: auto;
        font-weight: bold;
        /* vertical-align: middle; */
    }
    main ul.tab.cashbook li>span>span:nth-child(3){/*elster id*/
        width: 45px;
        text-align: center;
        padding-right: 5px;
        pointer-events: visible;
    }
    main ul.tab.cashbook li>span>span:nth-child(4){/*brutto*/
        width: 85px;
        text-align: right;
        padding-right: 5px;
    }
    main ul.tab.cashbook li>span>span:nth-child(5){/*vatPercent*/
        width: 40px;
        text-align: right;
        padding-right: 0px;
    }
    main ul.tab.cashbook li>span>span:nth-child(6){/*vat*/
        width: 65px;
        text-align: right;
        padding-right: 5px;
    }
    main ul.tab.cashbook li>span>span:nth-child(7){/*netto*/
        width: 85px;
        text-align: right;
        padding-right: 5px;
    }
    main ul.tab.cashbook li>span>span:nth-child(8){/*referenz*/
        width: 40px;
        text-align: center;
        padding-right: 5px;
        pointer-events: visible;
    }
    main ul.tab.cashbook li>span>span:nth-child(8):hover{
        font-weight: bold;
    }
    main ul.detail.cashbook li>label>select#cashbook_vatPercent{
        width: 55px;
        padding-left: 2px;
        text-align:center;
        appearance: unset;
    }
    
    @media only screen and (max-width: 800px) {
        main ul.tab.cashbook li.cap.cashbook{
            text-align: right;
        }
        main ul.tab.cashbook li.cap.cashbook>label:first-child{/*date*/
            position: absolute;
            top: 26px;
        }
        main ul.tab.cashbook li.cap.cashbook>label:nth-child(2){/*text*/
            width: calc(100% - 50px);
        }
        main ul.tab.cashbook li>span {
            line-height: 18px;
            text-align: right;
        }
        main ul.tab.cashbook li>span>span:first-child{/*date*/
            position: absolute;
            top: 26px;
        }
        main ul.tab.cashbook li>span>span:nth-child(2){/*text*/
            width: calc(100% - 55px);
        }
    }


/* pageTimesheet*/
main ul.timesheet li.sum,
main ul.timesheet li.cap{
    position: fixed;
    box-sizing: border-box;
    z-index: 1;
    background-color: #ddd;
    font-weight: bold;
    font-size: 18px;
    line-height: 18px;
}
main ul.tab.timesheet li.cap>label{
    display: inline-block;
}
main ul.tab.timesheet li.cap>label:first-child{/*date*/
    width: 90px;
    text-align: left;
}
main ul.tab.timesheet li.cap>label:nth-child(2){/*from*/
    width: 55px;
    text-align: center;
}
main ul.tab.timesheet li.cap>label:nth-child(3){/*to*/
    width: 55px;
    text-align: center;
}
main ul.tab.timesheet li.cap>label:nth-child(4){/*workhour*/
    width: 55px;
	padding-right: 5px;
    text-align: center;
}
main ul.tab.timesheet li.cap>label:nth-child(5){/*do*/
    width: calc(100% - 320px);
    text-align: left;
}
main ul.tab.timesheet li.cap>label:nth-child(6){/*projectId*/
    width: 45px;
    text-align: center;
}

main ul.tab.timesheet li>span{
    white-space: normal;
}
main ul.tab.timesheet li>span>span:first-child{/*date*/
    width: 85px;
    text-align: left;
    padding-right: 5px;
}
main ul.tab.timesheet li>span>span:nth-child(2){/*from*/
    width: 55px;
    text-align: center;
    padding-right: 0px;
}
main ul.tab.timesheet li>span>span:nth-child(3){/*to*/
    width: 55px;
    text-align: center;
    padding-right: 0px;
}
main ul.tab.timesheet li>span>span:nth-child(4){/*workhour*/
    width: 55px;
    text-align: center;
    padding-right: 5px;
}
main ul.tab.timesheet li>span>span:nth-child(5){/*text*/
    width: calc(100% - 325px);
    text-align: left;
    padding-right: 5px;
    text-wrap: auto;
    font-weight: bold;
    /* vertical-align: middle; */
}
main ul.tab.timesheet li>span>span:nth-child(6){/*projectId*/
    width: 45px;
    text-align: center;
    padding-right: 0px;
    pointer-events: visible;
}
main ul.tab.timesheet li>span>span:nth-child(6):hover{
	font-weight: bold;
}

@media only screen and (max-width: 800px) {
    main ul.tab.timesheet li.cap.timesheet>label:nth-child(5){/*do*/
        width: calc(100% - 50px);
    }
    main ul.tab.timesheet li.cap.timesheet>label:nth-child(6){/*projectId*/
        position: absolute;
        top: 26px;
    }
    main ul.tab.timesheet li>span {
        line-height: 18px;
    }
    main ul.tab.timesheet li>span>span:nth-child(5){/*do*/
        width: calc(100% - 55px);
    }
    main ul.tab.timesheet li>span>span:nth-child(6){/*projectId*/
        position: absolute;
        top: 26px;
    }
}



/* Infos*/
    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;
    }
    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.changed:nth-child(odd){
        background-color: #fbb;
    }
    fs.infos>#fsWrapper ul>li:nth-child(even){
        background-color: #ccc;
    }
    fs.infos>#fsWrapper ul>li.changed:nth-child(even){
        background-color: #fcc;
    }
    fs.infos>#fsWrapper ul>li>div.info{
        width: 100%;
        min-height: 26px;
        display: flex;
    }
    fs.infos>#fsWrapper ul>li>div.info>label{
        margin: 2px 0px 2px 2px;
        width: 110px;
        font-size: 17px;
    }
    fs.infos>#fsWrapper ul>li>div.info>label>input{
        width: 18px;
        height: 18px;
        vertical-align: text-top;
        border-radius: 2px;
        margin: 0;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state{
        display: block;
        width: calc(100% - 110px);
        padding: 2px;
        font-size: 17px;
    }
	fs.infos>#fsWrapper ul>li>div.info>div.state>span.a{
        width: 22px;
        height: 22px;
        margin-left: 5px;
        display: none;
        background-image: none;
        background-size: 22px;
        background-position-x: 0px;
        background-position-y: center;
        background-repeat: no-repeat;
        text-decoration: none;
        border-radius: 6px;
        cursor: pointer;
        vertical-align: bottom;
    }

	fs.infos>#fsWrapper ul>li>div.info>div.state>span.a:hover{
		box-shadow: 0 0 10px #ee6809 !important;
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state>span.save{
        display: inline-block;
        background-image: url(../img/save.png);
        position: absolute;
        right: 15px;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state>select,
    fs.infos>#fsWrapper ul>li>div.info>div.state>input[type="text"]{
        width: calc(100% - 10px);
        font-size: inherit;    
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state>pre{
        overflow: auto;
        max-height: calc(100vh - 21px - 70px);
        margin: 0px;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul{
        display: block;
        width: calc(100% - 2px);
    }
	fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose{
        font-family: 'Courier New', Courier, monospace;
        white-space: pre;
        border-left: 2px solid #ddd;
        border-top: 2px solid #ddd;
    }  
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.edit{
        width: 100%;
        border-left: none;
        border-top: none;
        font-family: sans-serif;
        font-size: 15px;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.edit select,
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.edit input{
        margin: 0px 2px;
        height: 18px;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.edit input[name="elster_line"]{
        width: 40px;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.edit input[name="elster_text"]{
        width: calc(100% - 420px);
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.edit select[name="elster_book"]{
        width: 150px;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.edit input[name="elster_function"]{
        width: 60px;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.edit span[name="elster_deleteLine"]{
        width: 20px;
        height: 20px;
        font-size: 18px;
        line-height: 20px;
        vertical-align: bottom;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.close{
		display: none;
	}
    fs.infos>#fsWrapper ul>li>div.info>div.state ul>li{
        display: block;
        width: calc(100% - 17px);
        padding-left: 17px;
        text-overflow: ellipsis;
        overflow: hidden;
    }
	fs.infos>#fsWrapper ul>li>div.info>div.state ul>li[draggable]::before{
		content: "═";
		position: absolute;
		display: inline-block;
		color: #888;
		text-align:center;
		margin-left: -13px;
		margin-top: 0px;
		font-size: 18px;
	}
    fs.infos>#fsWrapper ul>li>div.info>div.state ul>li[draggable]{
        position: relative;
        overflow: visible;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul>li[draggable].dragElement{
        opacity: 0.3;
	}
    fs.infos>#fsWrapper ul>li>div.info>div.state ul>li[draggable].dragOver::after{
        content: "";
        display: block;
        position: absolute;
        left: 0px;
        top: unset;
        bottom: unset;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 255, 0, 0.3);
        transform: unset;
        border-radius: unset;
        opacity: unset;
        pointer-events: none;
        z-index: 1;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul>li[draggable].dragOver.top::after{
        height: 60%;
        top:-30%;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul>li[draggable].dragOver.bottom::after{
        height: 60%;
        bottom:-30%;
    }

    /* fs.infos>#fsWrapper ul>li>div.info>div.state ul>li[draggable].dragOver.top{
		border-top: 15px solid #afa;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul>li[draggable].dragOver.bottom{
		border-bottom: 15px solid #afa;
    } */
    fs.infos>#fsWrapper ul>li>div.info>div.state ul>li>span{
        display: inline-block;
        width: 25px;
        text-align: right;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul.openclose.edit li{
        width: 100%;
        padding-left: 0px;
    }
    fs.infos>#fsWrapper ul>li>div.info>div.state ul>li[pos]>div>span {
        margin-left: 5px;
        font-size: 15px;
        font-style: italic;
        vertical-align: text-bottom;
        line-height: 18px;
        color: #888;
    }
    	fs.infos>#fsWrapper ul>li>div.info>div.state span.button{
	    display: inline-block;
	    /* position: absolute; */
	    width: 18px;
	    height: 18px;
	    top: 5px;
	    right: 5px;
	    font-family: Arial, Helvetica, sans-serif;
	    font-weight: bold;
	    line-height: 18px;
	    cursor: pointer;
	    border-radius: 5px;
	    background-color: transparent;
	    font-size: 18px;
	    vertical-align: text-bottom;
	    line-height: 18px;
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state span.button::before{
	    content: "";
	    /* position: absolute; */
	    display: inline-block;
	    width: inherit;
	    height: inherit;
	    text-align:center;
	    outline: 1px solid #888;
	    outline-offset: -1px;
	    border-radius: inherit;
	    font-weight: bold;
	    vertical-align: inherit;
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state span.button:hover{
	    background-color: #bbb;
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state span.button.before{
		margin-right: 5px;
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state span.button.after{
		margin-left: 5px;
	}
	
	fs.infos>#fsWrapper ul>li>div.info>div.state span.button.close:before{
	    content: "✖";
	    color: red;
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state span.button.add:before{
	    content: "+";
	    color: green;
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state span.button.edit:before{
	    content: "🖉";
	    color: #ee9900;
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state span.button.delete:before{
	    content: "🗑";
	    color: darkred;
	}

	fs.infos>#fsWrapper ul>li>div.info>div.state div.openclose{
		display: inline-block;
		width: 22px;
		height: 22px;
		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;
		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: "▷";
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state span.openclose{
        font-family: 'Courier New', Courier, monospace;
        white-space: pre;
	}
	fs.infos>#fsWrapper ul>li>div.info>div.state span.openclose.close{
		display: none;
	}
    fs.infos>#fsWrapper ul>li span.clear{
        display: inline-block;
        width: 18px;
        height: 18px;
        vertical-align: text-top;
        background-image: url(../img/trash.png);
        background-repeat: no-repeat;
        background-size: 18px;
        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: 18px;
        background-position: calc(100% - 2px) 2px;
        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 - 21px - 70px );
        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: 16px;
    }
    fs.infos>#fsWrapper ul>li>ul.liste>li>div.info>label{
        display: flex;
        margin: 0px 0px 0px 1px;
        font-size: 15px;
        align-items: center;
    }
    fs.infos>#fsWrapper ul>li>ul.liste>li>div.info>div.state{
        display: flex;
        padding: 0px 2px;
        font-size: 15px;
        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: 16px;
    }
    fs.infos>#fsWrapper ul>li>ul.liste.sub>li.close,
    fs.infos>#fsWrapper ul>li>ul.liste.sub>li.open{
        background-size: 12px;
        background-position: calc(100% - 1px) 1px
    }
    fs.infos>#fsWrapper ul#storageListe>li>div.info>div.state{
        height: 16px;
        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 - 21px - 70px );
        overflow-y: auto;
        white-space: pre;
    }

    fs.infos>#fsWrapper ul#cachesListe>li ul.liste>li>div.info>label {
        width: 14px;
    }
    fs.infos>#fsWrapper ul#cachesListe>li ul.liste>li>div.info>div.state {
        width: calc(100% - 14px);
    }
    fs.infos>#fsWrapper ul#cachesListe>li ul.liste>li span.clear{
        width: 14px;
        height: 14px;
        background-size: 12px;
        background-position: center;
    }

    fs.infos>#fsWrapper ul#logListe>li>div.info>div.state {
        white-space: pre;
    }


