:root {  
/* Grundfärger
 */
  --bg_org: #DDEEFF;
  --bg__trans_org: #DDEEFFDD;    
  --medium_org: #ACD5FF;
  --medium_trans_org: #ACD5FFDD;
  --dark_org: #7ABBFF;  
  --darker_org: #2175d9 ;
  --superdark_org: #005ACB;
  --megadark_org: #001631;

  --restcolor: #DECDA6;

  --darkcolr: #DD6666;
  --lightcolr: #FF8888;

  --darkcolp: #CC88CC;
  --lightcolp: #EEAAEE;

  --darkcolg: #88DD88;
  --lightcolg: #AAFFAA;

  --darkcoly: #DDD666;
  --lightcoly: #FFF888;

  --darkcolo: #DD9944;
  --lightcolo: #FFBB66;
  --button-color: #333;
  color-scheme: light;
  
  /*
Nya beräknade färger

  --dark: #7ABB7a;
  --bg: color-mix(in srgb,var(--dark),#fff 85%); 
  --darker: color-mix(in srgb,var(--dark),#000 25%);   
  --medium: color-mix(in srgb,var(--dark),#fff 50%); 
  --superdark: color-mix(in srgb,var(--dark),#000 78%); 
  --bg: hsl(var(--base), 100%, 95%);  
  --medium: hsl(var(--base), 100%, 85%);
  --dark: hsl(var(--base), 100%, 75%); 
  --darker: hsl(var(--base), 75%, 50%) ;
  --superdark: hsl(var(--base), 100%, 40%);  */
  --base: 210;
  --sat: 90%;
  --light: 75%;
  --mix1: white;
  --mix2: black;
  --basecolor: hsl(var(--base), var(--sat), var(--light));
  
  
  		--dark: hsl(var(--base), var(--sat), var(--light)); 
		--bg: color-mix(in srgb,var(--dark),var(--mix1) 85%); 
		--bg-trans: color-mix(in srgb,var(--bg),transparent 20%); 
		--darker: color-mix(in srgb,var(--dark),var(--mix2) 25%);   
		--medium: color-mix(in srgb,var(--dark),var(--mix1) 50%); 
		--medium-trans: color-mix(in srgb,var(--medium),transparent 20%); 
		--superdark: color-mix(in srgb,var(--dark),var(--mix2) 55%);   
		--megadark: color-mix(in srgb,var(--dark),var(--mix2) 85%);  

--ui_C: #CCC;
--ui_C5: #C5C5C5;
--ui_D: #DDD;
--ui_3: #333;
--ui_F6: #F6F6F6;
--ui_45: #454545;
--ui_ED: #EDEDED;
--ui_2B: #2B2B2B;
--ui_F: #FFF;
--ui_A: #AAA;
--ui_E9: #E9E9E9;  
  
}
   @supports (background-color: color-mix(in srgb,var(--basecolor),var(--mix2) 50%)) {
     :root { 

	 }
   }


*{
  font-family: Tahoma, Verdana, Arial, Helvetica; 
  text-size-adjust: none;
}
*, ::before, ::after {
  box-sizing: border-box;
  	scrollbar-color: var(--superdark) var(--dark);
	scrollbar-width: thin;
}
html {
	font-size: 16px;

	}
body { font-family: Tahoma, Verdana, Arial, Helvetica; font-size: 0.6875em; background-color: var(--bg); margin:0;  /*width: 100dvw; container-name: body;*/}
body:has(main) {overflow:hidden;}
input,
button,
textarea,
select {
  font: inherit;
  overflow-y: auto;
}
body::-webkit-scrollbar {
  width: 16px;
}

body::-webkit-scrollbar-track {
  background-color: var(--dark);
  border-radius: 100px;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--superdark);
  border-radius: 100px;
}


.normal { font-size: 0.685em}
.big { font-size: 0.8125em}
/*td { font-size: 0.685em}*/
th { font-weight: bold; text-align: center}
.rubrik { font-size: 1.25em; font-weight: bold}
a:link { color: #3C3C3C; text-decoration: none}
a:hover { color: #999999}
a.menyval { font-size: 10px; text-decoration: none; font-weight: normal}
a:visited.menyval, a:link.menyval, a:active.menyval, a.menyval { color: #000000}
a:hover.menyval { color: #3C3C3C}
a { color: #3C3C3C; text-decoration: none; font-weight: bold}
#tabsmenu {display: flex; margin-block-start: 0.7rem;padding-right: 1rem; font-size: clamp(0.7em, 0.7vw + 0.5em,1.1em);}
#tabsmenu div {flex-grow:0; background-color: var(--dark); border-top: 1px solid var(--mix2); border-left: 1px solid var(--mix2); border-right: 1px solid var(--mix2); border-top-left-radius: 6px; border-top-right-radius: 6px; padding:4px}
pre {font-size: 0.75em}
input { border: 1px solid; accent-color: var(--darker); font-size: 1em}
select { border: 1px solid; font-size: 1em}


textarea { border: 1px solid;font-size: 1em}
input.radiobutton { border: none;}
input.r { border: none;}
table { 
    border-spacing: 0px;
    border-collapse: collapse;
}
table td {
	padding-top: .1em;
	padding-right: .6em;
	padding-bottom: 0em;
	padding-left: .4em;
}
table.smallmargin td {
	padding-top: .0em;
	padding-right: .1em;
	padding-bottom: 0em;
	padding-left: .1em;
}
table.nomargin td {
	padding: 0;
}
table.skivtabell {
	border-collapse: collapse;
	margin-bottom: 1em;
}
.skivtabell	td, .skivtabell th {
	border: 1px solid #999;
	padding: 0.4em !important;
}

.mousecur {cursor: pointer;}
.fakelink {cursor: pointer; font-weight: bold;}
.nr {text-align: right;}
.line {border-bottom:1px solid var(--mix2); padding:0px; margin:0px;}
.line td {border-bottom:1px solid var(--mix2); padding:0px; margin:0px;}
.linje td {border-top:1px solid var(--mix2);}
.linje th {border-bottom:1px solid var(--mix2);}
.tab {
	border-top: 1px solid var(--mix2);
	background-color: var(--dark);
}
.tabl {
	background-image: url(../images/tab_left.png);
	width: 5px;
}
.tabr {
	background-image: url(../images/tab_right.png);
	width: 5px;
}
form {
	margin: 0px;
}
img {
	border: none;
	}
.close-button {
	width: 100%;
	}
	
@media screen {		
/*	tr.toprow > th {
	  position: -webkit-sticky;
	  position: sticky;
	  top: 0;
	  z-index: 0;
	  background: var(--bg) 
	}
	table.striped tr > th {
	  position: -webkit-sticky;
	  position: sticky;
	  top: 0;
	  z-index: 0;
	  background: var(--bg) 
	}*/
	table > thead > tr > th {
	  position: -webkit-sticky;
	  position: sticky;
	  top: 0;
	  z-index: 0;
	  background: var(--bg); 
	  border-bottom:1px solid var(--mix2);
	}
	/*nav:not(.hidden-element) + main table > thead > tr > th { top: 40px}	/*flytta ner sticky 40px när headern är synlig*/
	#resultarea table > thead > tr > th {
	  top: 0;
	}
/* 	main tr.toprow > th ,
	main table > thead > tr > th,
	main table.striped tr > th {
	  top: 40px;
	}  */
}



table.striped tr > th {
    border-bottom: 1px solid;
}




svg.icon{width: 1.4em; aspect-ratio:1}
svg.iconsmall{width: 1em; aspect-ratio:1}
svg.iconmedium{width: 1.65em; aspect-ratio:1}
svg.iconlarge{width: 2em; aspect-ratio:1}
svg.iconxl{width: 3em; aspect-ratio:1}
.noborder_r {
	border: none;
	text-align: right;
}
.noborder {
	border: none;
}
#objektcalc {
	background-color: #FFFFFF;
	border: 1px dotted #CCCCCC;
	border-collapse:collapse;
	}
.listtable td, th{
	padding-top: .15em;
	padding-right: .6em;
	padding-bottom: .15em;
	padding-left: .3em;
}
.listtable {
	border-spacing:0;
}
.hidden-element {display:none}
.transparent {
	border-style: none;
	background-color: transparent;
}
.smallselect {
	font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif; 
	font-size: .9em;
}
.border-radius-4 {
	border:1px solid; 
	border-radius: .5rem;
	border-collapse: separate;
	}
.border-radius-3 {
	border:1px solid; 
	border-top-right-radius: .5rem;
	border-bottom-left-radius: .5rem;   
	border-bottom-right-radius: .5rem; 
	border-collapse: separate;
	}
.bluetable {
	background-color: var(--dark) ;
	border-spacing: 0px;
	margin-bottom: 0.8em;
	margin-right: 0.8em
}

.bluetable TD {
	padding-top: .2em;
	padding-right: .6em;
	padding-bottom: .1em;
	padding-left: .4em;
	vertical-align: top;
}
.margintable {
	margin: 0.1em;
}

.margintable TD {
	padding-top: .2em;
	padding-right: .6em;
	padding-bottom: .2em;
	padding-left: .4em;
}
.HTMLeditor{
width:650px; 
height:100px; 
border: 1px solid; 
background-color:#EEEEEE; 
color:red;}
.customtexteditor {
	width:650px; 
	height:100px; 
	border: 1px solid; 
	background-color: #FFFFFF;
	}
.calendartoprow {
	background-color: var(--dark) ;
	font-size:1em;
	font-weight:bold;
}
.fixed {
	font-size: 9px;
}
span.checkbox { 
  width: 19px; 
  height: 25px; 
  padding: 0 5px 0 0; 
  background: url(../images/checkbox.png) no-repeat; 
  display: block; 
  clear: left; 
  float: left; 
} 
span.radio { 
  width: 19px; 
  height: 25px; 
  padding: 0 5px 0 0; 
  background: url(../images/radio.png) no-repeat; 
  display: block; 
  clear: left; 
  float: left; 
} 
.green {
	color: #009933;
}
.timeEntry_control {
	vertical-align: middle;
	margin-left: 2px;
}
* html .timeEntry_control { /* IE only */
	margin-top: -4px;
}
/*.overlinje td {
	border-top: 1px solid;
}*/
#veckonotering {
	font-size: clamp(0.5rem, 2vw, 1.2rem);
	color:#AA3333;
	padding-left: 1rem;
	}
.rubrikStor {
	font-size: 1.6em;
	font-weight: bold;
}
.marked {
	background-color: #AAFFAA;
}
.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #777;
    border-radius: 10px;
}
.pbar {
	background-color:green;  height:8px;}
.mbar {
	background-color:red;  height:8px;}
.pmbutton {
	background-color:white; 
	border:1px solid black; 
	width:1.4em; 
	height: 1.4em;
	display: inline-block; 
	text-align:center;
	padding:0;
	font-size:smaller;
	margin: 0 2px;
}
.alert {background-color: var(--darkcolr)  !important;} 	
.deleted {display:none;}
.resulttable td {
	min-width:40px;
	padding: 1px 20px 1px 2px ;
    border: 1px solid var(--mix2);
	}
.resulttable {
	border-collapse:collapse; 
	}
.dropbtn {
  background-color: #FFF;
  color: black;
  padding: 0 2px;
  font-size: .8em;
  border: 1px solid black;
  cursor: pointer;
  display: inline;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.etikettcont {
	display: flex;
	justify-content: flex-end;
	}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--mix1);
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 200;
}

.dropdown-content a {
  padding: 1px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}
.dpmen {
	float:right;
	}
button {
	font-size: 11px;
	font-family:Tahoma, Verdana, Arial, Helvetica;
	}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pac-container {
	width: fit-content !important;
		
}
.pac-item {
	width: fit-content !important;
	}
.pac-icon {
	display:none !important;
	}
.pac-item-query {
    font-size: 11px !important;
}
figure {
  padding: 4px;
  margin: auto;
	}
figcaption {
	 padding-top: 5px;
	}
input[readonly].inprispren, 
select[readonly].inprispren,
input[readonly].prispren, 
select[readonly].prispren,
input[readonly].raskiva, 
select[readonly].raskiva
{
    opacity: 0.7;
}
.prislink {
	float:right;}
	
	
	
	

.spinner-default {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.spinner-default div {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: spinner-default 1.2s linear infinite;
}
.spinner-default div:nth-child(1) {
  animation-delay: 0s;
  top: 37px;
  left: 66px;
}
.spinner-default div:nth-child(2) {
  animation-delay: -0.1s;
  top: 22px;
  left: 62px;
}
.spinner-default div:nth-child(3) {
  animation-delay: -0.2s;
  top: 11px;
  left: 52px;
}
.spinner-default div:nth-child(4) {
  animation-delay: -0.3s;
  top: 7px;
  left: 37px;
}
.spinner-default div:nth-child(5) {
  animation-delay: -0.4s;
  top: 11px;
  left: 22px;
}
.spinner-default div:nth-child(6) {
  animation-delay: -0.5s;
  top: 22px;
  left: 11px;
}
.spinner-default div:nth-child(7) {
  animation-delay: -0.6s;
  top: 37px;
  left: 7px;
}
.spinner-default div:nth-child(8) {
  animation-delay: -0.7s;
  top: 52px;
  left: 11px;
}
.spinner-default div:nth-child(9) {
  animation-delay: -0.8s;
  top: 62px;
  left: 22px;
}
.spinner-default div:nth-child(10) {
  animation-delay: -0.9s;
  top: 66px;
  left: 37px;
}
.spinner-default div:nth-child(11) {
  animation-delay: -1s;
  top: 62px;
  left: 52px;
}
.spinner-default div:nth-child(12) {
  animation-delay: -1.1s;
  top: 52px;
  left: 62px;
}
@keyframes spinner-default {
  0%, 20%, 80%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

dialog {
  max-width: 80vw;
  width: auto;
  border: 0;
  box-shadow: 0 0 1em rgb(0 0 0 / .3);
  border-radius:10px;

  & > * {
    margin: 0 0 0.5rem 0;
  }
}

dialog::backdrop {
  background: rgb(0 0 0 / 0.5);
}	

.modalcontent {
    display: grid;
    gap: 2rem;
    font-size: 1.1rem;
	margin: 0 auto;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.modal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0.5rem;
}
/*.pilstyle {
	cursor: pointer;
	position:absolute;
	left:0px;
	top:100px;
	width:5px;
	height:120px;
	z-index:1;
	background-color: var(--dark);
	border: 1px solid #666666;
	font-size: 10px;
	color: white;
}*/
.material-icons, .material-symbols-outlined { font-size: 1.8em; }
.erasebutton
	{
    color: var(--superdark);
    font-size: 1.4em;
    cursor: pointer;
	}
ul.etikett-lista {list-style-type: none; padding-left:10px;}


#gridcontent {
  display: grid;
  height: 100dvh;
  grid-template-columns: auto;
  grid-template-rows: min-content;
  grid-template-areas: 
  "header"
  "main";
}
header {
  grid-area: header;
    margin: 0px;
    padding: 0;
    background: linear-gradient(150deg, var(--dark) 0, var(--dark) 100px, var(--bg) 264px, var(--bg) 100%);
    box-sizing: border-box;
	  background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 40px;
    border-bottom: 1px solid;	
    z-index: 2000;
    width: auto;
    position: sticky;
    top:0; 
	}
	
#logo img {
  /* position: absolute;*/
    top: 3px;
    padding: 0px 14px;
    border: none;
    margin: auto;
    height: 36px;
}
.topweek {
    font-size: clamp(0.7rem, 2.3vw, 1.2rem);
	float:right; 
	margin-right:1rem;
	font-weight:bold;
	}
#logo {
    font-family: sans-serif;
    font-size: clamp(0.8rem, 2.5vw, 1.4rem);
    padding: 6px 0;
	text-transform:uppercase;
}
#middle {
	flex: 1;
	margin-left: 0.6rem;
	}
#right {
	flex: 0 1 max-content;
	font-size: clamp(0.5rem, 1.4vw, 0.7rem);
	padding-inline-end: 1rem;
	}
header a, header a:hover {
    color: #333;
    text-decoration: none;
    font-weight: 600;
	display:flex;
	align-items: center;
}

header a > span::first-letter {
    font-size: clamp(1rem, 2.7vw, 1.8rem);
	margin-left: 0.3rem;
}

nav {
    /*grid-area: nav;*/
    font-size: 0.8rem;
    background-attachment: fixed;
    background-color: var(--medium);
    background-color: var(--medium-trans);
    background-image: url('/images/leftbottom.svg');
    background-repeat: no-repeat;
    background-position: left bottom;

    color: var(--superdark);
    padding-right: 0.5rem;
    /* overflow-x: hidden; */
    position: fixed;
    margin-top: 40px;
    backdrop-filter: blur(3px);
    z-index: 1000;
    min-height: calc(100% - 40px);
    display: none;
    padding-top: 1em;
    overflow: auto;
    height: calc(100dvh - 40px);
	box-shadow: 0 0 0 100vw rgba(0 0 0 / 0.4 );
}
nav .line td {
	border-bottom: 1px solid #AAA;
	padding: 2px;
	}
nav #menutable a {
    font-weight: normal;    
}
nav .badge {
    display: inline-block;
    min-width: 11px;
    padding: 3px 5px;
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: var(--superdark);
    border-radius: 10px;
	}
nav table, nav ul.detfinns {
	font-size: 0.9em;
	background-color:var(--bg) ;
	}
.detfinns {
	list-style:none;
	padding: 3px;
	background-color: var(--bg);
	}
.detfinns li {
	padding-block:2px;
	font-weight: bold;
	border-bottom: 1px solid var(--mix2);	
	}
nav a, nav a:link, nav a:visited {
	color: var(--superdark);
	text-decoration: none;
}
nav .franvaroheader {
	font-size: 1.2em;
	font-weight: bold;
	color: var(--megadark);
	}
nav input {

width: 4em;
font-size: 0.8em;
margin-left: 1em;
}
main {
  grid-area: main;
  margin: .5rem 0 0 0.5rem;
  overflow:auto;
  position:relative;
}
.red {
	color: #FF0000 !important;
}
#resultwindow {
    border: 2px solid;
    border-radius: .5rem;
    padding: 1.5rem;
    inline-size: -webkit-fill-available;
    overflow: auto;
	top: 1rem;
	margin: 2rem;
    position: fixed;
    background: var(--bg);
    display:none;
	z-index:2001;
	max-height: calc(100dvh - 3rem);
	box-shadow: 0 0 0 100vw rgba(0 0 0 / 0.6 );
}
#resultwindowbuttons > button{
    border: 2px solid;
    border-radius: 0.3rem;
    padding: 0.5rem;
    font-weight: bold;
    background-color: var(--dark);
}
#resultwindowbuttons {
	margin-bottom: 1em;}
#resultarea {
    overflow: auto;
    max-height: calc(100dvh - 12rem);
	}
table > tbody:has( > tr.toprow) > tr:last-child > td { border-bottom: 1px solid var(--mix2)}
table.striped > tbody > tr:last-child > td { border-bottom: 1px solid var(--mix2)}

table.striped {border-spacing:0}
@media screen {	
table.striped > tbody > tr:nth-child(odd):not(.pagination) {background: var(--dark)}
}
table.striped tbody {vertical-align:top}
table.striped > tbody > tr > td, table.striped th  {padding: 0.1rem 0.3rem 0.1rem 0.1rem}

.pagination > td {border-bottom: 0 !important; border-top: 1px solid; padding-bottom: 1.2em !important;}
.bgtable tbody {background: var(--bg)}

/* MENU STYLES */
#aktivitet {
	width: calc(100% - 3em);
	margin-left: 6px;
	padding-inline-start: 0.5rem;
	}
#aktivitet table {
	width:100%;
	}
nav #leftmenu, nav #leftmenu ul {
  margin-top: 0;
  min-width: 20rem;
  list-style-type: none;
  padding-inline-start:0.5rem;
  background: var(--bg);
  max-width: calc(100% - 3em);
  margin-left: 0.5em;
  opacity:0.8;
}
nav #leftmenu ul {
  list-style-type: none;
  padding-inline-start:0px;

}
nav #leftmenu li:has(ul){
	background:url(/treeimages/cf.svg) no-repeat 0 0;
    background-size: 1.4em 1.4em;	
	}
nav #leftmenu li {
	padding: 3px;
	cursor: pointer;
	margin-right: 0.2rem;
}
nav #leftmenu li.open {
	background:url(/treeimages/of.svg) no-repeat 0 0;
    background-size: 1.6em 1.6em;
}
nav #leftmenu li > ul {
	display:none;
	background: transparent;
	margin-left:0;
	}
nav #leftmenu li.open > ul {
	display:block;
	}	
nav #leftmenu li > ul > li {
	background:url(/treeimages/dots.gif) no-repeat 0 0;
	background-size: 1.4em 1.7em;
    padding: 3px;
	}

nav #leftmenu li > ul > li:last-child {
	background:url(/treeimages/lastdots.gif) no-repeat 0 0;
	background-size: 1.4em 1.7em;
	}

nav #leftmenu li a {
  padding: 0.25em 0 0 2em;
  text-decoration: none; 
  font-weight:normal;
}
nav #leftmenu  li span {
  padding: 0.25em 2em;
}

nav #leftmenu  li a:hover, nav #leftmenu li a:focus {
  color: black;
  font-weight: normal;
}
#menu_close {
	padding:10px;
	opacity: 0.6;
	}
#menu_close img {
	width:2rem;
	}
@media all and (max-width: 1000px) {
	nav {
		min-width:100dvw;
		font-size: 1.3rem;
		}
}
#topmenubutton { width: 2rem; margin-left: 1rem; margin-right:0.5rem;}
#topmenubutton img { width: 2rem; opacity: 0.7;}


.topmenubutton {
	flex-shrink:0;
	flex-grow:0;
  background: transparent;
  border: 3px solid var(--button-color, #000);
  border-radius: .25rem;
  width:2rem;
  height: 2rem;
   padding:0;
   overflow:hidden;
}

.topmenubutton .line {
  transition: y 100ms ease-in 100ms, rotate 100ms ease-in, opacity 0ms 100ms;
  transform-origin: center;
}

.topmenubutton[aria-expanded="true"] .line {
  transition: y 100ms ease-in, rotate 100ms ease-in 100ms, opacity 0ms 100ms;
}

.topmenubutton[aria-expanded="true"] :is(.top, .bottom) {
  y: 45;
}

.topmenubutton[aria-expanded="true"] .top {
  rotate: 45deg;
}

.topmenubutton[aria-expanded="true"] .middle {
  opacity: 0;
}

.topmenubutton[aria-expanded="true"] .bottom {
  rotate: -45deg;
}

#korttext_result {
	background-color: var(--mix2);
	color: var(--mix1);
	z-index: 5;
	padding: 0.6rem;
	border: 1px solid #666666;
	display:none;
	}
.flextable > tbody > tr {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0 1rem;
	}
.flextable > tbody > tr > * {
	flex: 0 1 auto
	}
	
.commonLock {
	background-color: rgb(255, 180, 180);
	pointer-events: none;
	}	
.commonOpen {
	background-color: rgb(180, 255, 180);
	}
.commonLock[type="checkbox"] {
	outline: 2px solid rgb(255, 180, 180);
	}
.commonOpen[type="checkbox"]{
	outline: 2px solid rgb(180, 255, 180);
	}
@media print {
	body {color: black;}
	nav, header, #resultwindow,
	.dpmen, 
	.donotprint, 
	.material-icons, 
	.material-symbols-outlined,
	svg.icon, 
	svg.iconsmall, 
	svg.iconmedium, 
	svg.iconlarge, 
	svg.iconxl { display:none }
  }
table.responsivetable {  
display: grid;
grid-template-columns: auto;
}

table.responsivetable > thead,
table.responsivetable > tbody,
table.responsivetable > tfoot,
table.responsivetable > thead > tr,
table.responsivetable > tbody > tr,
table.responsivetable > tfoot > tr {
  display: contents;
}

table.striped.responsivetable > tbody > tr:nth-child(odd) td {
    background-color: var(--dark);
}
@media screen and (max-width: 900px) {
    table.responsivetable {
        display: grid;
        grid-template-columns: 1fr !important;
        grid-gap: 1rem;
		width: 95dvw;
		gap: 1.5rem;
    }
	table.responsivetable {
		font-size: .8em;
	}
	main:has(table.flextable, table.responsivetable) {
		font-size: 1.15em;
	}

    table.responsivetable > tbody > tr,
	table.responsivetable > tfoot > tr
	 {
		display: block;
        border: 1px solid gray;
        border-radius: .5em;
        padding: 10px;
		font-size: clamp(1.3em,2.2vw,1.6rem);
		box-shadow: 0 0.5em 0.5em rgb(from var(--mix2) r g b / .1);
    }

    /* Don't display the first item, since it is used to display the header for tabular layouts*/
    table.responsivetable > thead:first-child {
        display: none;
    }

    table.responsivetable > tbody > tr > td::before {
        content: attr(data-name);
    }

    table.responsivetable > tfoot > tr > td::before {
        content: attr(data-name);
		}
	
	
    /* Attribute name for first column, and attribute value for second column. */
    table.responsivetable > tbody > tr > td {
        display: grid;
        grid-template-columns: minmax(11em, 30%) 1fr;
    }
	table.striped.responsivetable > tbody > tr:last-child > td {
	    border-bottom: none;
	}
}
/*
@media (prefers-color-scheme: dark) {
  :root {
	  
  --mix1: black;
  --mix2: white;
  --light: 20%;
  --button-color: #CCC;
  --restcolor: color-mix(in srgb,#DECDA6,#000 15%);

  --darkcolr: color-mix(in srgb,#DD6666,#000 15%);
  --lightcolr: color-mix(in srgb,#FF8888,#000 15%);

  --darkcolp: color-mix(in srgb,#CC88CC,#000 15%);
  --lightcolp: color-mix(in srgb,#EEAAEE,#000 15%);

  --darkcolg: color-mix(in srgb,#88DD88,#000 15%);
  --lightcolg: color-mix(in srgb,#AAFFAA,#000 15%);

  --darkcoly: color-mix(in srgb,#DDD666,#000 15%);
  --lightcoly: color-mix(in srgb,#FFF888,#000 15%);

  --darkcolo: color-mix(in srgb,#DD9944,#000 15%);
  --lightcolo: color-mix(in srgb,#FFBB66,#000 15%);
  --bg: color-mix(in srgb,var(--dark),var(--mix1) 70%);

--ui_C: #333;
--ui_C5: #3A3A3A;
--ui_D: #222;
--ui_3: var(--megadark);
--ui_F6: #090909;
--ui_45: #BABABA;
--ui_ED: #121212;
--ui_2B: #D4D4D4;
--ui_F: #000;
--ui_A: #555;
--ui_E9: #161616;
  }
a, a:link,a:visited { color: #C3C3C3; }
a:visited.menyval, a:link.menyval, a:active.menyval, a.menyval { color: #FFF}
a:hover { color: #888}
a:hover.menyval { color: #C3C3C3}
nav #leftmenu  li a:hover, nav #leftmenu li a:focus {
  color: white;
}


}*/

[data-theme="dark"] {
	--mix1: black;
	--mix2: white;
	--light: 20%;
	--button-color: #CCC;
	--restcolor: color-mix(in srgb,#DECDA6,#000 20%);
	
	--darkcolr: color-mix(in srgb,#DD6666,#000 20%);
	--lightcolr: color-mix(in srgb,#FF8888,#000 20%);
	
	--darkcolp: color-mix(in srgb,#CC88CC,#000 20%);
	--lightcolp: color-mix(in srgb,#EEAAEE,#000 20%);
	
	--darkcolg: color-mix(in srgb,#88DD88,#000 20%);
	--lightcolg: color-mix(in srgb,#AAFFAA,#000 20%);
	
	--darkcoly: color-mix(in srgb,#DDD666,#000 20%);
	--lightcoly: color-mix(in srgb,#FFF888,#000 20%);
	
	--darkcolo: color-mix(in srgb,#DD9944,#000 20%);
	--lightcolo: color-mix(in srgb,#FFBB66,#000 20%);
	--dark: hsl(var(--base), var(--sat), var(--light)); 
	--bg: color-mix(in srgb,var(--dark),var(--mix1) 50%);
	--bg-trans: color-mix(in srgb,var(--bg),transparent 20%); 
	--darker: color-mix(in srgb,var(--dark),var(--mix2) 25%);   
	--medium: color-mix(in srgb,var(--dark),var(--mix1) 50%); 
	--medium-trans: color-mix(in srgb,var(--medium),transparent 20%); 
	--superdark: color-mix(in srgb,var(--dark),var(--mix2) 55%);   
	--megadark: color-mix(in srgb,var(--dark),var(--mix2) 85%);  
	
	--ui_C: #333;
	--ui_C5: #3A3A3A;
	--ui_D: #222;
	--ui_3: var(--megadark);
	--ui_F6: #090909;
	--ui_45: #BABABA;
	--ui_ED: #121212;
	--ui_2B: #D4D4D4;
	--ui_F: #000;
	--ui_A: #555;
	--ui_E9: #161616;
}

body[data-theme="dark"] a,body[data-theme="dark"] a:link,body[data-theme="dark"] a:visited { color: #EEE; }
body[data-theme="dark"] a:visited.menyval, body[data-theme="dark"] a:link.menyval, body[data-theme="dark"] a:active.menyval, body[data-theme="dark"] a.menyval { color: #FFF}
body[data-theme="dark"] a:hover { color: #CCC}
body[data-theme="dark"] a:hover.menyval { color: #EEE}
body[data-theme="dark"] nav #leftmenu  li a:hover,body[data-theme="dark"] nav #leftmenu li a:focus {color: white;}
body[data-theme="dark"] select option:hover, body[data-theme="dark"] select option:focus, body[data-theme="dark"] select option:active, body[data-theme="dark"] select option:checked { background: var(--superdark);}
.cke_editable.ui-widget-content{color:black}

body[data-theme="dark"] .commonLock {
	background-color: rgb(120, 0, 0);
	}	
body[data-theme="dark"] .commonOpen {
	background-color: rgb(0, 120, 0);
	}