body
{
--frcolor:#000;
--bgcolor:#fff;
color:var(--frcolor);
background-color:var(--bgcolor);
font-family:Verdana,Arial;
margin:0;
padding:0;
}

@media (prefers-color-scheme: dark) {
  body {
   --frcolor:#fff;
   --bgcolor:#000;
  }
  input,select,textarea,A.button,#panel ul li a{
    color: var(--frcolor) !important;
    background-color: var(--bgcolor) !important;
  }
  table.report tr:nth-child(even) 
  {
    background: #555 !important;
  }
  a
  {
    color: #88f;
  }
  .blacktext
  {
    color:black;
  }
}

P
{
font-family: Verdana, Arial;
}
TD
{
font-family: Verdana, Arial;
}
TD.header
{
font-weight: bold;
}
H1
{
font-family: Verdana, Arial;
font-size: 16pt;
font-style: normal;
font-weight: bold;
padding-bottom: 0;
text-align : left;
display: inline;
white-space: nowrap;
}
H2
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12pt;
font-style: normal;
font-weight: bold;
padding-bottom: 0;
text-align : left;
display: inline;
}
H3
{
font-family: Verdana, Arial;
font-size: 12pt;
font-style: normal;
font-weight: bold;
margin-bottom: 0;
padding-bottom: 0;
text-align : left;
}

#tophead
{
position: absolute;
z-index: 55;
width: 100%;
height: 60px;
}

#tophead.fix
{
position:fixed;
top:-27px;
}

.small
{
font-size: 8px;
text-align: left;
}

div#navbar
{
display: block;
padding: 5px;
height: 25px;
background-color: cadetBlue;
}

div#centering
{
text-align: center;
}

div#logpanel
{
display: inline-block;
min-width: 320px;
text-align: left;
margin: 0;
padding-top:60px;
}

div#login
{
display: inline;
max-width: 480px;
}

div#login>fieldset
{
max-width: 480px;
}

div#login>fieldset>.row
{
position: relative;
min-height: 42px;
border-radius: 0;
text-align: right;
margin: 0 0 0 14px;
line-height: 42px;
font-weight: bold;
display: block;
}

div#login>fieldset>.row>label
{
position: absolute;
}

fieldset
{
position: relative;
margin: 5px;
padding: 0;
border-radius: 10px;
border: 1px solid #888;
text-align: right;
font-size: 14px;
}

fieldset>legend
{
text-align: left;
margin-left: 20px;
}

fieldset>label
{
vertical-align: middle;
}

.rowinfo
{
text-align: left;
border-bottom: 1px dotted #888;
margin: 7px 10px 0;
display: block;
}

.rowinfo:last-child
{
border-bottom: 0px none;
margin-bottom: 3px;
}

.rowinfo:last-child .button
{
margin: 0 0 5px;
}

.rowinfo .button
{
margin: 0;
padding: 0 2px 2px 2px;
height: 15px;
}

.valcont
{
float: right;
width: auto;
font-size: 10px;
}

.row
{
min-height: 36px;
border-radius: 0;
text-align: left;
margin: 0 0 0 14px;
line-height: 36px;
display: block;
overflow: hidden;
}

.row>input
{
box-sizing: none;
-webkit-box-sizing: none;
border-radius: 0;
margin: 0 10px 0 0;
border: 0 none var(--bgcolor);
border-bottom: 1px solid #888;
-webkit-appearance: none; 
height: 36px;
background: none;
float: right;
width: 240px;
text-align: right;
font-size: 14px;
}
.row>input.short
{
width:160px;
}

.row>input.left
{
float: left;
text-align:left;
}

.row>select
{
border-radius: 0;
margin: 5px 0;
border-bottom: 1px solid #888;
height: 26px;
background: none;
float: right;
width: auto;
font-size: 14px;
}

.row>textarea
{
border-radius: 10px;
display: block;
width: calc(100% - 10px);
margin: 0 5px 5px 0;
height: 100px;
border: 1px solid #888;
}

.row>.valcont
{
border-radius: 0;
margin: 0 10px 0 0;
height: 36px;
background: none;
}

.row>input[type=checkbox]
{
border: 1 solid #888;
width: 25px;
height: 20px;
margin: 8px;
background: red !important;
}

.row>input[type=checkbox]:checked
{
background: green !important;
}

.row>input[type=file]
{
display:none;
}

.row>input[type=file] + span
{
cursor:pointer;
min-width:140px;
max-width:240px;
white-space:nowrap;
text-overflow: ellipsis;
overflow:hidden;
border: 1px lightgray dashed;
padding: 0 6px;
}


.row>input[type=submit]
{
width:auto;
}

.row>.button
{
border: 1px solid #888;
margin: 5px 10px 5px 0;
}

.row>label
{
position: absolute;
}

.row>span
{
float: right;
margin-right: 10px;
}

#dominfo
{
float:right;
margin-right:10px;
}

#container
{
display:flex;
overflow:hidden;
height: var(--docheight);
position: relative;
width: 100%;
backface-visibility: hidden;
will-change: overflow;
box-sizing: border-box;
padding-top:60px;
}

#navmsg img
{
height: 25px;
float:left;
padding-left: 3px;
}

#menu, #panel
{
overflow: auto;
height: auto;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: none;
}

#menu::-webkit-scrollbar, #panel::-webkit-scrollbar
{
display: none;
}

#panel {
text-align: left;
margin: 0;
padding: 0 .5rem;
flex:1;
}

#menu
{
width: 240px;
transition: margin-left 0.5s;
z-index:50;
background:var(--bgcolor);
}

#menu.close
{
margin-left:-245px;
}

#menubtn
{
display:none;
cursor: pointer;
}

#menubtn.floatmenu
{
 display:initial;
}

#menubtn.floatmenu + img
{
 display:none;
}

#menu.floatmenu
{
position:absolute;
box-shadow:0 0 5px 1px grey;
height:calc(var(--docheight) - 60px);
}

.loadsign
{
height:calc(var(--docheight) * 0.5);
position:relative;
}
.loadsign>div
{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
color:#888;
}
.loadsign>div>div
{
display:inline-block;
width:45px;
height:28px;
}
.loadsign>div>div:after
{
content:" ";
display:block;
width:15px;
height:15px;
margin:8px;
border-radius:50%;
border:6px solid #888;
border-color:#888 transparent #888 transparent;
animation:dring 1.2s 0.2s linear infinite;
}
@keyframes dring 
{
0% {transform: rotate(0deg);}
50% {transform: rotate(180deg);}
100% {transform: rotate(360deg);}
}


ul
{
margin: 0;
padding: 0;
font-size: 18px;
list-style: none;
}

ul li 
{
list-style-type: none;
list-style-image: none;
border-bottom: 1px solid #E0E0E0;
padding: 8px 0 8px 10px;
white-space:nowrap;
text-overflow: ellipsis;
overflow:hidden;
}

ul li[type]
{
background-repeat:no-repeat;
background-position: 0 0;
background-size: 39px;
padding-left: 40px;
}

ul li[type="dir"]
{
background-image: url("/images/typedir.png");
}

ul li[type="parent"]
{
background-image: url("/images/typeparent.png");
}

ul li[type="file"]
{
background-image: url("/images/typefile.png");
}

ul li.group 
{
background: #6d84a2;
white-space: nowrap;
}

ul li span
{
TEXT-DECORATION: none;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: block;
cursor: pointer;
user-select: none; 
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none
}

ul li span img
{
height: 32px;
}

ul li span.selectable
{
user-select: text; 
-webkit-touch-callout: text;
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text
}


.actpanel
{
margin-top:-12px;
text-align:right;
}
.actbutton
{
border: 1px #888 solid;
display: inline-block;
padding: 0 5px;
}

.expandable
{
visibility: hidden;
display: none;
}

.expanded
{
visibility: visible;
display: block;
}

table.report
{
border-collapse: collapse;
border: 1px dotted;
border-right: 0;
display:inline-block;
}

table.report tr:nth-child(even) 
{
background: #CCC;
}

table.report tr td,table.report tr th
{
white-space: nowrap;
padding: 1px 10px;
margin: 0px;
border-right: 1px dotted;
}

table.report tr td[rowspan]
{
border-top: 1px dotted;
}

td.number
{
text-align: right;
}

fieldset.information
{
text-align:left;
padding: 0 5px;
}

img.graph
{
width:100%;
max-width:580px;
}

.refbook
{
display:inline-block;
width: calc(50% - 13px);
border-radius: 10px;
margin: 0 5px 5px 0;
height: 150px;
border: 1px solid #888;
overflow:scroll;
font-size: 12px;
vertical-align: top;
line-height: initial;
}

.refbook li
{
padding: 0 0 0 5px;
font-size: 14px;
line-height: 26px;
cursor:pointer;
}

.refbook .item
{
font-size:10spx;
border: 1px dotted;
padding: 1px 2px;
}

.codetext
{
font-size: initial;
line-height: initial;
font-family: monospace;
border: 1px dashed;
border-radius: 5px;
background-color: lightgray;
}
dialog
{
animation: fadein 1s ease-in forwards;
background-color:var(--bgcolor);
color:var(--frcolor);
border-color:var(--frcolor);
border-radius:15px;
}
@keyframes fadein
{
0%  {opacity:0;}
100%{opacity:1;}
}
dialog::backdrop
{
backdrop-filter: blur(4px);
}
