:root {
  --primary-color: #4caf50;
  --text_1: #DDD; 
  --das-bg0: #222222;
  --das-bg1: #191a1c;
  --dropcolor: #000;
  --red_color: #4A0707;
}

body.moon{filter: invert(1);}
body.moon img{filter: invert(1);}

body {
    background: repeating-linear-gradient(
        45deg,
        #191a1c,
        #191a1c 5px,
        #222222 5px,
        #222222 10px
    );
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body, html {
	height: 100%;
	width: 100%;
	font-family:verdana;
	background-color:var(--das-bg0);
	color:#EEE;
	overflow:hidden;
}

.topcontainer{
  display: flex;
  flex-direction: column;
  height: 100%;

}
.wrapper {
  background-color: #222222;
  margin:5px;
  margin-top:15px;
  position: relative;
  border: 2px /*dashed*/ solid #666;
  padding: 10px;
    border-radius:16px;
  max-width:640px;
}

#myQRcode2{
	padding:10px;
	clear:both;
	text-align:center;
}

#myQRcode{
	padding:10px;
	clear:both;
	text-align:center;
}
.inscan{ text-align:center;}

.scrollcaption{
	display: flex;
	max-width:640px;
	width:auto;
	text-align:center;
	padding: 0 10px;
	position: relative;
	justify-content: center;
	z-index:100;

}
#filefolder, #staplefolder{
	background: var(--das-bg0);
	position: absolute;
	margin-top:5px;
	padding:0 10px 0 10px;
}
.caption {
  text-align:center;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--das-bg0);
  padding: 0 10px;
}

.scrollable{
  flex-grow: 1;
  overflow: auto;
}
.wrap_top{
}
.wrap_mid{
}
#workzone{width: 100%; max-height: 100px; position:relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.initwork{
	min-height:164px !important;

}
.initwork #dropzone{
	min-height:164px !important;
}

.invAlert{ filter:invert(1) !important}

#myalert{
  aspect-ratio: 1 / 1;
  height: 100%;
  border-radius: 20%;
  height: 100%; 
  justify-content: center;
  align-items: center;
  display:flex;
}
.msg{
	color:var(--text_1);
}
.didaL{  filter:invert(1)}
#uriL{ font-size:2.7em;}

.inscan{ filter:invert(1)}
.good_alert{ background-color:green}
.bad_alert{background-color:red}
.qr_alert{ background-color:white; filter: invert(1);}
.dropzone { 
	min-height: 64px !important; 
	max-height: 78px !important; 
	border-radius:10px !important;
  width: 100%;
  overflow:hidden;
  padding:0px !important;
}
.dropzone{border-radius:20px; background-color:var(--dropcolor) !important}
.dropzone:hover{background-color:var(--red_color) !important; }
.dropzone .dz-preview.dz-image-preview{background-color: unset !important}
.dropzone .dz-message{margin:0 !important}
.sizeMini{
	width:20px;
	height:20px;
}
.size32{
	width:32px;
	height:32px;
	border-radius:50%;
}
.size128{
	filter: invert(1);
	width:32px;
	height:32px;
	color:white;
}
.size256{
	filter: invert(1);
	width:128px;
	height:128px;
	color:white;
}

.close-button{
	filter: invert(1);
    display: inline-block;
    color: black;
    text-decoration: none;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    position:absolute;
    right:0px;
    top:32px;

}

.del-button {
	filter: invert(1);
	background-color: #FFF;
	color: black;
	border-radius: 50%;
	border:none;
	  display: inline-block;
	  cursor:pointer;
}

.del-button:hover {
    background-color: #FFF;
    color: red;
    text-decoration: none;
}
.action-button {
	filter: invert(1);
    display: inline-block;
   /* background-color: var(--das-bg0); */
    color: black;
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 50%;
 /*   font-size: 20px;*/
    aspect-ratio: 1 / 1;
}
.inviting{
	background-color:#BA4848;
}
.del-button:hover, .action-button:hover, .close-button:hover {
    background-color: #FFF;
    color: white;
    text-decoration: none;
}
h1, span{
/*    display: inline-flex;
    align-items: center;
*/
}

.square-input {
	width: 2.1em;
	height: 2.6em;
	text-align: center;
	font-family:courier;
	font-weight:bold;
	font-size:2em;
}
#dialnumbers{width:100%; text-align:center; padding:4px; padding-left:10px;}
#tools{ /*background-color:var(--dropcolor); */
	margin-top:5px; 
	border-radius:10px;
	visibility:visible; 
	width:100%; 
	z-index:1 
}

#stapler{}
#stapler a{ opacity:0.6}
#stapler a:hover{ opacity:1.0}

#mContent .stip{ filter:invert(1);}

.newfolder{
	border-radius:30px; 
	background-color:var(--dropcolor); 
	border:none;
	white-space:nowrap;
/*	padding:20px;*/
/*	margin: 0px 4em 0px 4em;*/
	aspect-ratio: 1 / 1;
	max-height:80px;
}
.newfolder:hover{
	background-color:#370909;
}
a{ color:#EEE; text-decoration:none;}
        .dropzone.hover {
            background-color: #f0f0f0;
        }
textarea{ 
	width:100%; 
	border:none;
	background-color:var(--das-bg0); 
	color:var(--text_1);
}
textarea:hover{
	background-color:var(--das-bg1); 
	
}
.zip{filter: invert(1); }
.table-row{opacity:0.7}
.table-row:hover{opacity:1.0}
.dodd, .odd{ background-color:var(--das-bg1)}
.progress-container {
	width: 100%;
	height: 3px;
	background-color: var(--das-bg1);
	position: relative;
}

.progress-bar {
	position: absolute;
	height: 100%;
	background-color: #555;
	width: 0%;
}

.footer{
	display:inline-flex;
	width: 100%;
	background-color:var(--das-bg0);
}
.col3{
    flex: 1;
    cursor:pointer;
}
#qr, .dialeffect, .uuid{
display:flex; 
}

#BjoinMe:hover, #mailTo:hover, #qr:hover{border-radius:50%; background-color:var(--dropcolor);}
.col3 div{ justify-content: center;}

#qrcode{
	filter: invert(1); 
	style='display:block; 
	margin: 0 auto; 
	width:100%;
	background-color:white;
	padding:4px;
	margin-top:4px;
}
.uuid{	
	color:#FF1111;;
	font-family:courier;
	font-weight:bold;
	font-size:1.8em;
	text-align:center;
	padding:4px 14px 0px 14px;
}

/*table*/
#fileDiv{ overflow-y:auto; width:100%; display:flex;flex-direction: column;}
/*row*/
.item{border-radius:10px; display: flex; width: 100%; }
.linkitem{width: 100%;}
.linkitem:hover{ background-color:#000555;}
/*cells*/
.it { /*min-width: fit-content;*/ vertical-align: middle;text-align:left; display: table-cell;}
.dnl, .trs, .tmb, .siz{ width:50px; border-radius:50%; display:flex; align-items:center; }
.siz{ text-align:left; width: fit-content; margin-right:5px }
.tmb img{border-radius:50%;}
.cap{display:flex; align-items:center; padding-left:5px; width:100%; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
/* end table*/


x.it{display:flex; flex-direction: row; width:100px}


x.item-container {
    position: relative;
    width: 100%;
    height: 60px;
}

.red-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    opacity: 0;
    z-index: -1;
}

.icon-wrapper {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 60px;
}

.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #fff;
}

/**/
.dialeffect{
	position:relative;
}
.dialsub{
	text-align: center;
}
.grid {
	opacity:0.5;
	display: grid;
	grid-template-columns: repeat(5, auto);
	grid-gap: 2px;
	width:130px;
	height:130px;
	padding:4px 0px 0px 4px;
}
.number-container {
	position: relative;
	display: inline-block;
	border:solid 1px #700;
	width:18px; height:18px;
	line-height: 18px;
	text-align: center;
	background-color:var(--das-bg1);
}
.number {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: none;
	margin: auto;
	font-family:courier;
	font-size:1.1em;
	font-weight:bold;
	color:#EEE;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}


.size64{filter: invert(1);
	 width:64px; height:64px;}
.kresult{background-color:var(--das-bg1); color:#FF1111;}

.nocross .close_icon{ display:none;}

/**/
#form_settings{display:none; position:absolute; z-index:1000; top:0;left:0; width:100%; height;100%; background-color:#003;}
#form_settings form {
    padding: 0px 20px 0px 20px;
    width: 100%;
    max-width: 400px;
}

#form_settings label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
}

#form_settings input[type="email"],
#form_settings input[type="password"],
#form_settings select {
    width: 100%;
    padding: 10px;
    border: 1px solid #dcdfe6;
    border-radius: 5px;
    font-size: 14px;
}

#form_settings input[type="checkbox"] {
    margin-top: 10px;
}

#form_settings button {
    background-color: #4caf50;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 15px 0;
    cursor: pointer;
    border-radius: 5px;
}
#readonly{ width:25px; height:25px;}
#form_settings button:hover {
    background-color: #45a049;
}
.nbr{ display:inline !important;}






#alertContent{
	width:100%;
	height:250px;
	align-items: center;
	display: flex;
}
.modal {

    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
filter:invert(1);
    position: relative;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    background-color: #fefefe;
}
.modal-content textarea{ filter:invert(1);}
.modal-content .txt{padding-left:10px; filter:invert(1);}
.modal-content td{vertical-align:top; }
.modal-content tr{ border-bottom: 1px solid #666;}
.modal-content table{border-collapse: collapse;}
#stapelCloser{ cursor:pointer;}
/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


#tooltip {
    position: absolute;
    padding: 0px;
    border: none;
    border-radius:10px;
    z-index: 1001;
}

#tooltip img {
    max-width: 256px;
    max-height: 256px;
}

@media screen and (max-width: 600px) {
	html, body{  overflow:scroll;}
	.workzone{ max-height:60px !important;}
	.size32{ width:24px; height:24px; }
	.size128{width:48px; height:48px; }
	.scrollable{ overflow:none;}
	.topcontainer{
	  display: flex;
	  flex-direction: column;
	}
	#workzone{
		width: 100%; 
		max-height: 100px; 
		height:100px
	}
	.dropzone { 
		min-height: 80px !important; 
		max-height: 80px !important;
		height:80px;
	}

	.square-input {
		width: 1.5em;
		height: 1.8em;
		text-align: center;
		font-family:courier;
		font-weight:bold;
		font-size:2em;
		color:blue;
	}
	#dialnumbers{width:100%; text-align:center; padding:0px;}
.modal-content{ width:100%;}
}
