:root {
	--ind_line_add: 0px;
	--box: 30px;
	--element: 20px;
	--highlight-color-1:#c9730a;
	--highlight-color-2:#ffe2c5;
}

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), url(fonts/Roboto.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Quicksand';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: local('Quicksand'), url(fonts/Quicksand.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@media print {
	:root {
		--ind_line_add: 8px;
	}
}

html {
	height: 100%;
}

body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #F0F0F0;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	width:100%;
}
/* @media print and (min-width: 1000px){ 
body { 
	transform: scale(0.8); 
	transform-origin: top left; 
	width: 100%; 
	height: auto; 
	overflow: hidden; 
} 
} */

header {
	background-color: #1F2338;
	color: #fff;
	padding: 10px 0;
}

a,
a:hover,
a:visited {
	text-decoration: none;
	color: #000;
}

a.link_b,
a.link_b:visited,
a.link_b:hover {
	text-decoration: none;
	color: #000;
	svg{
	position: relative;
	top: 5px;
	}
}

h2{
	margin:0;
}

.header-content {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	height: 25px;
	max-width: 1000px;
}

.header-content .project {
	font-size: clamp(8px,2vw,12px);
}

.header-content .project>a,
.header-content .project>a:hover,
.header-content .project>a:visited {
	color: #ffffff;
}

.logo {
	font-family: Quicksand;
	font-size: 20px;
}

.burger-menu {
	display: flex;
	align-items: center;
	color: #fff;
	button{
		background-color: transparent;
		border:none;
		cursor: pointer;
		padding:0;
	}
	a, a:visited, a:hover{
		color:#fff;
	}
}

.burger-menu img {
	vertical-align: middle;
	margin-right: 10px;
	height: 23px;
	width: 23px;
	object-position: center center;
}

#BurgerMenu {
	position: absolute;
	right: 5px;
	top: 10px;
	background-color: #2f3761;
	border-radius: 4px;
	border: 1px solid #1F2338;
	color: #FFF;
	padding: 10px 10px;
	width: 150px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 5px;
	z-index: 99;
	a{
		color: #FFF;
		font-size: 13px;
	}

	li {
		display: grid;
		list-style-type: none;
		padding: 5px;
		margin: 0px 0px;
	}
}

.onlyprint {
	display: none;
}

@media print {

	header,
	footer {
		display: none;
	}

	.onlyprint {
		display: inline-block;
	}

}



main {
	margin: 10px;
}

/*****COOKIE*/
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #333;
	padding: 5px;
	color: #fff;
	text-align: center;
	display: none;
	z-index: 100;
}

.cookie-banner-container {
	color: #fff;
	text-align: left;
	width: 800px;
	margin: auto;
}

.CookieSettings details {
	background-color: #5e5e5e;
	padding: 10px 10px 5px 10px;
	margin-bottom: 5px;
}

.CookieSettings summary {
	padding-left: 10px;
	padding-bottom: 5px;
	border-radius: 5px;
}

.cookie-btn-container {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding-bottom: 10px;
	padding-top: 10px;
}

.cookie-btn {
	background-color: #4CAF50;
	color: #fff;
	border: none;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	margin-left: 20px;
}

.cookie-btn:hover {
	background-color: #55cf59;
}

.switch {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 18px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .2s;
	transition: .2s;
	border-radius: 18px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 12px;
	width: 12px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	-webkit-transition: .2s;
	transition: .2s;
	border-radius: 50%;
}

input:checked+.slider {
	background-color: #2196F3;
}

input:focus+.slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
	-webkit-transform: translateX(18px);
	-ms-transform: translateX(18px);
	transform: translateX(18px);
}
/*Checkbox Slider Start*/
 label:has(.checkbox_slider){
	border: 1px solid var(--highlight-color-2);
	text-align: center;
	text-decoration: none;
	font-weight: normal;
	font-size: 14px;
	vertical-align: bottom;
	touch-action: manipulation;
	background-image: none;
	background-color: #ffe2c5;
	border-radius: 4px;
	padding: 4px 8px 4px 4px;
	line-height: 17px;
	display: flex;
	align-items: center;
	margin: 0px 2.5px;
	user-select: none;
	input{
		accent-color:  var(--highlight-color-1);  
	}
  }
  label:has(.checkbox_slider:checked){
	border: 1px solid var(--highlight-color-1);
  }
/*Chebox Slider*/


.CookieDetails {
	margin: 10px 0px;
	border: 0.5px solid silver;
	width: 920px;
	padding: 10px;
	background-color: rgb(217, 217, 217);
}

.CookieDetails table {
	border: 0.5px solid silver;
	width: 900px;
	margin: 10px;
	background-color: rgb(255, 255, 255);
}

.CookieDetails table td.left {
	width: 200px;
}

.CookieDetails>table>td>a,
.CookieDetails>table>td>a:hover,
.CookieDetails>table>td>a:active {
	color: #000;
}

/*COOKIE*****/

.versionhistory {
	border: 1px solid rgb(158, 158, 158);
	background-color: #fff;
	border-radius: 4px;
	padding: 10px 5%;
	margin-bottom: 10px;

	.version {
		font-weight: bold;
		font-size:1.5rem;
		line-height: 1.5em;
		margin:10px 0px 0px 10px;
		display: inline-block;
	}
	.date{
		display: inline-block;
		line-height: 1.5em;
		padding-left:15px;
		font-size: 0.8rem;
	}
	.description {
		>ul {
			padding-inline-start: 30px;
			>li{
				margin-bottom: 5px;
			}
			ul{
				padding-inline-start: 10px;
				list-style-type:'- ';
				li{
					font-size: 0.9rem;
				}
			}
		  }
	}
}

/*OVERLAY***/
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 999;
	
}

.popup {
	background: #fff;
	padding: 20px;
	border-radius: 5px;
	position: relative;
	max-width: 80%;
	text-align: left;
	z-index: 5;
}

.popup_support {
	background: #fff;
	border-radius: 5px;
	position: relative;
	text-align: left;
	z-index: 5;
	flex-grow: 1;
	max-width:400px;
	
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
}

.back-btn {
	display:none;
	position: absolute;
	top: 8px;
	left: 15px;
	font-size: 24px;
	cursor: pointer;
}

#openPopupBtn {
	cursor: pointer;
	border: none;
	padding:0;
}

#openDeleteBtn {
	cursor: pointer;
	border: none;
	padding:0;
}

#support {
	position: fixed;
	top: 50%;
	right: -17px;
	rotate: 90deg;
	button{
		background-color: var(--highlight-color-2);
		border-bottom: var(--highlight-color-1) solid 1px;
		border-left: var(--highlight-color-1) solid 1px;
		border-right: var(--highlight-color-1) solid 1px;
		border-top:0;
		padding:8px;
		cursor:pointer;
		border-radius: 0 0 4px 4px;
	}
}


#support-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	justify-items: center;
	margin: 20px 20px 20px 20px;

	input,
	textarea {
		border-radius: 2px;
		border: none;
		margin: 5px;
		width: 100%;
		background-color: #e9e9e9;
	}

	input[type='email'] {
		height: 30px;
		padding: 3px;
	}

	textarea {
		height: 200px;
		resize: none;
		font-family: Arial, Helvetica, sans-serif;
		padding: 3px;
	}
}

#sup_response{
	justify-self: end;
}

#sup_send:disabled{
		filter: grayscale(100%);
		cursor:not-allowed;
}

#support-header{
	background-color: var(--highlight-color-1);
	width:100%;
	text-align: center;
	line-height: 48px;
	border-radius: 5px 5px 0 0;
}

.openMenuBtn {
	cursor: pointer;
	border: none;
}
/* 
.captcha-container {
	width: 300px;
	background: #f3f3f3;
	padding: 20px;
	text-align: center;
	border-radius: 5px;
}
.slider {
	width: 100%;
	height: 30px;
	background: #ddd;
	position: relative;
	border-radius: 5px;
}
.slider-button {
	width: 40px;
	height: 30px;
	background: #007bff;
	position: absolute;
	left: 0;
	cursor: grab;
	border-radius: 5px;
} */

/***OVERLAY*/

/* TOAST */

.toast {
	background: #fff;
	height:27.6px;
	padding: 4px 10px 4px 10px;
	line-height: 20px;
	margin-right: 5px;
	border-radius: 5px;
	text-align: left;
	z-index: 5;
	color:rgb(53, 0, 0);
	border: 1px dashed rgb(53,0,0);
	text-wrap:nowrap;
	width:fit-content;
	display: inline-block;
}

.alert{
	background:#ffeeee;
	color:rgb(150, 0, 0);
	font-size: 0.8rem;
	svg {
		height:1.2rem;
		width:1.2rem;
		position: relative;
		top: 5px;
		fill:rgb(150, 0, 0);
	}
}
/* END-TOAST */


#transform-element {
	animation-duration: 4s;
	animation-name: demo-drag;
	animation-iteration-count: infinite;
}

@keyframes demo-drag {
	0% {}

	50% {
		transform: translateX(60px);
	}

	100% {
		transform: translateX(60px);
	}
}

.linearfade:before {
	content: "";
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to right, rgb(255, 255, 255), transparent 10% 90%, rgb(255, 255, 255));
}

.button {
	color: #000000;
	padding: 6px 10px;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
	font-weight: normal;
	font-size: 14px;
	vertical-align: bottom;
	touch-action: manipulation;
	background-image: none;
	background-color: #ffe2c5;
	border: 1px solid #c9730a;
	border-radius: 4px;

	img {
		position: relative;
		top: 3px;
	}
	&.-secondary{
		background-color: #ffffff;
		border: 1px solid #c9730a;
	}
	&.-big {
		height:40px;
		line-height: 20px;
		img {
			vertical-align: middle;
		}
	}
	&.-small {
		width: 18px;
		height: 18px;
		span.material-symbols-outlined {
			font-size: 16px;
			margin: auto;
		}
	}
}

.button:visited{
	color: #000;
}

.button:hover:not(.inactive){
	background-color: #ffd3a7;
	border: 1px solid #ab6209;
}

.button:active{
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125)
}

.inactive {
	opacity: 0.5;
	cursor: not-allowed;
}

.SiteHeader {
	max-width: 1000px;
	margin: auto;
	padding: 5px 0px;
}

@media print {
	.SiteHeader {
		padding: 0px;
		margin: 0px;
	}
}

.grid_1 {
	display: grid;
	gap: 20px;
	width: max-content;
	margin-inline: auto;
	padding: 5px;
	border: 1px solid rgb(158, 158, 158);
	background-color: #fff;
	border-radius: 4px;
}

@media print {
	.grid_1 {
		border: none;
	}
}

.grid_cards {
	display: grid;
	gap: 20px;
	width: max-content;
	height: 50px;
	margin-inline: auto;
	grid-auto-rows: minmax(50px, 1fr);
	grid-template-columns: repeat(1, 1fr);

	a {
		border: 1px solid rgb(158, 158, 158);
		background-color: #fff;
		border-radius: 4px;
		width: 200px;
		height: 150px;
	}
}

.flex_overview {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	width: 1000px;
	align-items: flex-start;

	a {
		border: 1px solid rgb(158, 158, 158);
		background-color: #fff;
		border-radius: 4px;
		min-width: 200px;
		min-height: 60px;
		padding: 10px;
	}

	.card_symbol {
		display: inline-block;
		padding: 5px 5px 5px 10px;

		img {
			position: relative;
			top: 5px;
		}
	}

	.card_title {
		display: inline-block;
		line-height: 50px;
		padding: 5px;
	}
}

.flex_subconlist {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
	padding-top: 15px;

	.sl_header {
		background-color: #fff6ed;
		display: flex;
		width: 100%;
		border: 1px solid gray;
		padding: 5px 5px;
		font-size: 0.8rem;
		font-weight: bold;
		border-radius: 4px 4px 0 0;

		div {
			padding: 5px 5px;
			width: 100%;
		}

		div:not(:first-child) {
			border-left: 1px solid gray;
		}
	}

	.sl_subcon {
		background-color: #FFF;
		width: 100%;
		display: flex;
		border: 1px solid gray;
		padding: 5px 5px;
		font-size: 0.8rem;

		div {
			padding: 5px 5px;
		}

		div:not(:first-child) {
			border-left: 1px solid lightgray;
		}

		.col-1 {
			color: gray;
		}

		.col-4,
		.col-5,
		.col-6,
		.col-7,
		.col-8 {
			text-align: right;
		}

		.col-8 {
			font-weight: bold;
		}

		div:last-child {
			border-radius: 0 0 4px 4px;
		}
	}

	.sl_subcon:last-child {
		border-radius: 0 0 4px 4px;
	}

	.sl_subcon:hover {
		background-color: #FBFBFB;
	}

	.col-1 {
		flex-basis: 3%;
	}

	.col-2 {
		flex-basis: 31%;
	}

	.col-3,
	.col-4,
	.col-5,
	.col-6,
	.col-7,
	.col-8 {
		flex-basis: 11%;
	}

	.col-33 {
		flex-basis: 33%;

		input {
			border: none;
			margin: -5px 0px;
			padding: 5px 10px;
			border-radius: 0px;
		}

		input:focus,
		input:active {
			border: none;
			outline: 1px solid orange;
		}

		input:hover {
			cursor: cell;
		}
	}

	.col-100 {
		flex-basis: 100%;
		text-align: center;
	}
}

.card {
	border: 1px solid rgb(158, 158, 158);
	background-color: #fff;
	border-radius: 4px;
	padding: 10px;
	h2 {
		padding: 5px 0px;
		margin: 0px;
	}
}

.optioncard{
	background-color: rgb(243, 243, 243);
	border: silver solid 2px;
	border-radius: 4px;
	padding: 15px;
	margin:10px;
	cursor:pointer;
}

#noprintcard{
	overflow-x: auto;
    resize: horizontal;
	max-width:max-content;
}

@media screen and (min-width: 1000px) {
	#noprintcard{
		width:1000px;
	}
}

.admin-grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;

	div {
		border: 1px solid rgb(158, 158, 158);
		background-color: #fff;
		border-radius: 4px;
		padding: 10px;
	}
}

/* PROGRESS-LINES */
.progress_container {
	position: absolute;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 10px;
	border: 1px solod black;
}

.progress_line {
	position: relative;
	width: 1.6rem;
	height: 95px;
	border: 1px solid rgb(143, 143, 143);
	border-radius: 5px;
	background:
		linear-gradient(to top, var(--procolor) var(--properc), rgb(221, 221, 221) 0);

	span {
		font-size: 11px;
		text-align: left;
		line-height: 1.6rem;
		position: absolute;
		bottom: 2.5rem;
		left: -2.3rem;
		rotate: -90deg;
		width: 100px;
		height: 1.6rem;
	}
}

.progress_circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background:
		radial-gradient(closest-side, white 69%, transparent 70% 100%),
		conic-gradient(var(--procolor) var(--properc), rgb(151, 151, 151) 0);
	text-align: center;
	line-height: 40px;
	font-size: 11px;
}

/* PROGRESS-LINE END */

.skaliert_80 {
	scale: 80%;
	margin-inline: -5% auto;
}

.grid-container {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    gap: 12px;
    max-width: 1000px;
    margin-inline: auto;
}

.grid-container > * {
	width:100%;
}

.flexoneline{
	display: flex;
	flex-wrap: wrap;
    flex-direction: row;
	align-items: center;
	div:not(.right){
		flex-shrink: 1;
		flex-grow: 1;
		text-wrap: nowrap;
	}
}

@media (max-width: 650px) {
	.flexoneline:not(.SiteHeader) {
	  flex-direction: column;
	  align-items: start;
	}
  }

.hidden {
	display: none;
}

.step_container{
	button{
		svg{
			height:1.2rem;
			width:1.2rem;
			position: relative;
			top: 3px;
			fill:rgb(0, 0, 0);
		}
	}
	table{
		width:100%;
		height:100%;
	}
}

#rec_type{
	height:250px;
}

td.sc_text{
	max-width:200px;
	padding-left:30px;
}
td.sc_input{
	padding-left:30px;
}

td.sc_controll{
	text-align: right;
	height:45px;
}

/* WIZARD START */
.grid_new_entry{
	display:grid;
	grid-template-columns: min-content 1fr;
	margin-top:30px;
}

#step_container{
	margin:auto;
	justify-content: center;
}

.step_progress {
	list-style: none;
	padding: 5%;
	border-right: 2px lightgray solid;
	width:150px;
	.step {
			position: relative;
			text-align: left;
			height: 2rem;
			line-height: 1.9rem;
			font-size: 0.8rem;
			margin: 4px 0px;
			padding-left: 5px;
			&::before {
				content: attr(data-step);
				display: inline-block;
				background: #ffffff;
				border: 2px solid #e6e6e6;
				width: 25px;
				height: 25px;
				text-align: center;
				margin-bottom: -1rem;
				margin-right: 5px;
				line-height: 1.6rem;
				border-radius: 100%;
				z-index: 1;
			}
		}
	.is-active {
		&::before{
			background-color: #edf5fc;
			border:#96a7d8 2px solid;
			font-weight: 700;
		}
	}

	.is-done{
		&::before{
			background-color: #e3ffd4;
			border:#4CAF50 2px solid;
			color:#4CAF50;
			content:'\2713';
		}
	}

}

@media (max-width: 650px) {
	.grid_new_entry{
		grid-template-columns:auto;
	}
	.step_progress{
		border-right:none;
	}
  }

.list-tile {
	margin-bottom: 0px;
}
/* WIZARD END */
.tl_tile {
	position: relative;
	padding: 0px 5px 2px 5px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 5px;
	overflow: hidden;
	height: 70px;
	background-color: #FFF;
	border-radius: 4px;
	;
}

.tl_tile:hover {
	box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 5px;
}

div.tile-title {
	font-family: Arial, sans-serif;
	font-size: 14px;
	padding: 15px 5px 0px 5px;
}

div.tile-small {
	font-size: 10px;
	padding: 0px 5px 5px 5px;
}

div#tradelist {
	list-style: none;
	padding-left: 0px;
}

div.daysleft {
	position: absolute;
	right: 0px;
	top: 0px;
	margin: 15px;
	padding: 0px 8px;
	border-radius: 2px;
	font-size: 12px;
	line-height: 30px;
	width: 50px;
	text-align: right;
}

.dl_red{
	/* background-color: hsl(0, 100%, 90%); */
	background: rgb(255,223,223);
	background: linear-gradient(125deg, rgba(255,223,223,1) 0%, rgba(255,157,157,1) 100%); 
	color:rgb(139, 0, 0);
	border: 1px solid rgb(139, 0, 0);
}

.dl_orange{
	/* background-color: hsl(44, 100%, 90%); */
	background: rgb(255,248,223);
	background: linear-gradient(125deg, rgba(255,248,223,1) 0%, rgba(255,219,157,1) 100%);
	color:rgb(171, 114, 0);
	border: 1px solid rgb(171, 114, 0);
}

.dl_green{
	/* background-color: hsl(108, 100%, 90%); */
	background: rgb(237,255,223);
	background: linear-gradient(125deg, rgba(237,255,223,1) 0%, rgba(207,255,157,1) 100%);
	color:rgb(2, 139, 0);
	border: 1px solid rgb(2, 139, 0);
}

div#tradelist a,
a:hover,
li a:active,
li a:visited {
	color: #000;
}

.trade_add {
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	font-size: 40px;
	color: rgb(0, 0, 0, 0.16);
}

#donedetails summary {
	user-select: none;
	margin: 10px 5px;
}



/*Kachel*****/

div.tile {
	display: inline-block;
	width: 200px;
	height: 25px;
	border: 1px solid black;
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 5px;
	text-align: center;
	margin: 5px;
	padding-top: 4px;
}

/* div.project_tile_list {
	display: grid;
} */

div.project_tile_list {
	display: flex;
	flex-direction:column;
	width:auto;
	margin:0px auto;
	gap:10px;
}

div.project-tile {
	font-size: min(calc(9px + 0.5vw),15px);
	width:min(500px,80%);
	margin: 0px auto;
	border: 1px black solid;
	border-radius: 5px;
	height: fit-content;
	background-color: #FFF;
	cursor: pointer;
	padding: 5px 0px 5px 10px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 0px 10px;
	display:flex;
	flex-direction: row;
	align-items: center
}

div.project-tile:hover {
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
}

.project-tile img {
	vertical-align: middle;
	border-radius: 5px;
	margin-right: 10px;
	border: 2px solid #FFF;
	height: clamp(40px,10vw,80px);
	aspect-ratio: 1/1;
	object-fit: cover;
	object-position: center center;
}

.center {
	text-align: center;
	vertical-align: middle;
	margin:auto;
}

.margin-auto{
	margin:auto;
	
}

.center-box-1000 {
	max-width: 1000px;
	margin: 0px auto;
	padding: 0px;
}

.overflow-1000{
	/* max-width: 1000px; */
	overflow-x:auto;
	margin: auto;
	scrollbar-width: none;
}

.sticky{
	position:sticky;
	left:0;
	z-index:10;
}

td.tradeline.sticky:hover {
	background-color:rgb(243, 243, 243);
}

#download-excel{
	cursor:pointer;
}

#menu-modify-week {
	margin:0;
	max-width: 1000px;
}

#menu-view {
	max-width: 1000px;
	span{
	display: flex;
	flex-wrap: wrap;
	}
}

table.timetable{
	border-collapse: separate;
	border-spacing: 0px;
	margin: auto;
	margin-bottom:20px;
	width: max-content;
	user-select: none;
	&:last-child, &:first-child {
		margin-bottom:5px;
	}
	tbody > tr:nth-child(even):not(.hidden) > td:not(.sticky,.done,.cdatelv,.cdatea,.cdater,.cdatev,.cdateb){
		background-color: #f8f8f8;
	}
}

td.lineindicator {
	position: relative;
}

td.lineindicator>div {
	position: absolute;
	content: '';
	height: 20px;
	width: calc(var(--ind_line) + var(--ind_line_add));
	background-color: rgba(0, 0, 0, 0.125) !important;
	left: 3px;
	top: 0px
}

td.weekbox_header {
	background-color: #CCC;
	width: 20px; /* 15px */
	height: 22px; /* 20px */
	font-size: 10px;
	text-align: center;
	align-content: center;
	border-left: 1px solid #AAA;
}

td.weekbox {
	background-color: #FFF;
	width: 20px; /* 15px */
	height: 22px; /* 20px */
	font-size: 10px;
	text-align: center;
	border-bottom: 1px solid #DDD;
	border-left: 0.5px solid #DDD;
	padding: 0px;
}
.ew-resize{
cursor:ew-resize;
}

td.tradeline {
	background-color: #FFF;
	font-size: 14px;
	align-content: center;
	vertical-align: middle;
	line-height: 20px;
	border-bottom: 1px solid #DDD;
	border-left: 0.5px dotted #DDD;
	padding: 0px 5px;
	width: 300px;
}

.sm_text {
	font-size: 12px !important;
}

.sm_text>a {
	font-size: 14px !important;
}


td.current-week {
	border: 0.5px red solid;
	background-color: rgb(255, 175, 175);
}

td.cdatelv {
	/* background-color: #ffd166; #FF4 */
	background-color: rgb(249, 199, 79);
}

td.cdatea {
	/* background-color: #118ab2; #9BF */
	background-color: rgb(0, 119, 182);
	color:#fff;
}

td.cdater {
	background-color: #FFF; /*#FFF*/
}

td.cdatev {
	/* background-color: #06d6a0; #0F4 */
	background-color: rgb(167, 201, 87);
}

td.cdateb{
	/* background-color: #ef476f; */
	background-color: rgb(231, 111, 81);
}

@media print {
	td.cdatelv {
		background-color: #FF4;
		border: 1px solid #FF4;
	}

	td.cdatea {
		background-color: #9BF;
		border: 1px solid #9BF;
		color:#fff;
	}

	td.cdater {
		background-color: #FFF;
		border: 1px solid #FFF;
	}

	td.cdatev {
		background-color: #0F4;
		border: 1px solid #0F4;
	}

	td.kommentar,
	.button {
		display: none;
	}

	body {
		background-color: #FFF;
	}
}

td.done {
	background-color: rgb(233, 233, 233);
	border-bottom: 1px solid #ffffff;
	border-left: 0.5px dotted #ffffff;
	color:#000;
}

td.line_red {
	box-sizing: border-box;
	border-left: 1px solid rgba(255, 0, 0, 0.5);
	border-right: 1px solid rgba(255, 0, 0, 0.5);
}

form.left {
	align-items: left;
}

#log-in {
	background-color: #FFF;
	border-radius: 5px;
	border: 1px solid rgb(158, 158, 158);
	width: 300px;
	padding: 10px 30px 30px 30px;
	margin: auto;
	margin-top: 100px;
}

.lf_footer{
	font-size:11px;
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	padding:5px 5px;
	input[type=checkbox]{
		position: relative;
		top:2px;
		accent-color:  var(--highlight-color-1);  
	}
}

.textlink{
	cursor:pointer;
	&:hover{
		text-decoration: underline;
	}
}

input.inp_login {
	font-size: 13.35px;
	padding: 20px 0px;
	padding-left:10px;
	margin-bottom: 10px;
	height: 50px;
	border: none;
	border-bottom: solid 1px rgba(0, 0, 0, .1);
	background: #fff;
	width: 100%;
	box-sizing: border-box;
	color: #000;
	font-weight: 400;
	&:focus{
		outline: 1px solid gray;
		border-radius: 4px;
	}
}
input.inp_login:-webkit-autofill,
input.inp_login:-webkit-autofill:hover, 
input.inp_login:-webkit-autofill:focus{
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
  transition: background-color 5000s ease-in-out 0s;
}


/* MODAL START*/
.modal {
	display: block; 
	position: fixed; 
	z-index: 1; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	overflow: auto; 
	background-color: rgb(0,0,0); 
	background-color: rgba(0,0,0,0.4); 
  }
  
  .modal-content {
	background-color: #fefefe;
	margin: 15% auto; 
	padding: 20px;
	border: 1px solid #888;
	max-width: 50%; 
  }
  

  .close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
  }
/* MODAL END */

#usertable {
	width: 100%;
	font-size: 10px;
	padding-bottom: 5px;
	tr:nth-child(odd) {
		background-color: #dfdfdf;
	}
	th {
		background-color: #bdbdbd;
	}
	td {
		padding-left: 10px;
	}
}

#projecttable {
	width: 100%;
	font-size: 10px;
	padding-bottom: 5px;
	tr:nth-child(even) {
		background-color: #dfdfdf;
	}
	th {
		background-color: #bdbdbd;
	}
	td {
		padding-left: 10px;
	}
}

.nobox{
	border:none;
	padding: 0;
	margin:0;
	box-sizing: content-box;
	background-color: transparent;
	min-width:100%;
	&.highlight{
		background-color: rgb(255, 255, 192);
	}
}

.green-box{
	background-color: rgb(232, 255, 232);
	width:fit-content;
	padding: 4px 10px 4px 10px;
	line-height: 20px;
	margin-right: 5px;
	border-radius: 5px;
	text-align: left;
	z-index: 5;
	color:rgb(20, 53, 0);
	border: 1px dashed rgb(20, 53, 0);
	text-wrap:nowrap;
	display: inline-block;
	font-size: 14px;
}

.orange-box{
	background-color: rgb(255, 252, 232);
	width:auto;
	padding: 6px 10px;
	line-height: 20px;
	margin-right: 5px;
	border-radius: 5px;
	text-align: left;
	z-index: 5;
	color:rgb(100,70, 0);
	border: 1px dashed rgb(100, 70, 0);
	text-wrap:nowrap;
	display: inline-block;
	font-size: 14px;
}

.red-box{
	background-color: rgb(255, 232, 232);
	width:auto;
	padding: 6px 10px;
	line-height: 20px;
	margin-right: 5px;
	border-radius: 5px;
	text-align: left;
	z-index: 5;
	color:rgb(53, 0, 0);
	border: 1px dashed rgb(53, 0, 0);
	text-wrap:nowrap;
	display: inline-block;
	font-size: 14px;
}

.sm {
	padding: 4px 8px;
	line-height: 17px;
	font-weight: normal;
	font-size: 12px;
	margin-bottom: 3px;
}

.ani-fadeOut {
	animation: fadeOut forwards;
	animation-duration: 1.5s;
	animation-delay: 5s;
}

@keyframes fadeOut {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;

    }
  }

/*FORM*/
.nce {
	border-radius: 2px;
	border: none;
	padding: 5px;
	background-color: #e9e9e9;
	margin: 2px;
}

.nce[type='number'] {
	border: 2px solid silver;
	border-radius: 4px;
	padding: 5px;
	appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	-moz-appearance: none;
	width: 40px;
	text-align: center;
}

select.nce {
	border: 2px solid silver;
	border-radius: 4px;
	padding: 5px;
	appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	-moz-appearance: none;
	width: 30px;
	text-align: center;
}

.tradeheader {
	display: flex;
	flex-wrap: nowrap;
	padding-bottom: 19px;
	gap: 10px;
}

input.editable_h2 {
	font-size: 24px;
	line-height: 24px;
	font-weight: bold;
	font-family: Roboto, Arial, sans-serif;
	padding: 3px 5px;
	border-radius: 4px;
	border: 2px solid silver;
}

input.editable {
	font-size: 18px;
	font-family: Roboto;
	border-radius: 4px;
	border: 2px solid silver;
	background-color: #fff;
}

select#tradecategory {
	font-size: 18px;
	font-family: Roboto;
	border-radius: 4px;
	border: 2px solid silver;
	background-color: #fff;
	text-align: center;

	option {
		font-family: Arial;
		font-size: 16px;
		text-align: center;
	}
}

.trade_table_container {
	border: 1px solid rgb(158, 158, 158);
	background-color: #fff;
	border-radius: 4px;
	padding: 5px 15px 0px 15px;
}

.trade_table {
	border-collapse: collapse;
}

.trade_table input[type=text] {
	width: 96%;
}

.trade_table td:first-child,
.trade_table td:last-child {
	width: 150px;
}

.trade_table td:last-child {
	width: 50px;
	text-align: center;
}

.trade_table tr td {
	border-bottom: 1pt solid rgb(158, 158, 158);
	padding: 4px 0px;
}

.trade_table tr:last-child td {
	border: none;
	padding-bottom: 8px;
}

.isBox{
	height:23.6px;
	margin:0;
}

/*FORM*/

/*Drag&Drop
ul.uldd {
  padding: 0px;
}

ul.uldd .draggable {
  will-change: transform;
  height: 50px;
  list-style-type: none;
  margin: 10px;
  background-color: #DDD;
  color: #212121;
  width: 250px;
  line-height: 3.2;
  padding-left: 10px;
  cursor: move;
  transition: all 200ms;
  user-select: none;
  margin: 10px auto;
  position: relative;
}

ul.uldd .draggable:hover:after {
  opacity: 1;
  transform: translate(1);
}

.over {
  transform: scale(1.1, 1.1);
}
*/

/*<a href="https://iconscout.com/icon-pack/user-interface-198" target="_blank">Free User Interface Icon Pack</a> by <a href="https://iconscout.com/contributors/eva-icons">Akveo</a> on <a href="https://iconscout.com">IconScout</a>*/

img.glyph {
	width: 1.2em;
	height: 1.2em;
	vertical-align: middle;
}

@media print {
	img.glyph{
		display: none;
	}
	.noprint {
		display: none;
	}
}

footer {
	background-color: #1F2338;
	font-size: clamp(8px,1vw,12px);
	color: #FFF;
	line-height: 25px;
	height: 25px;
	text-align: right;
	margin-top: auto;
}

footer>div>a,
footer>div>a:hover,
footer>div>a:active,
footer>div>a:visited {
	color: #FFF;
}

/*Start-ToDo*/

.todo-container {
	padding: 5px;
	position: relative;
	overflow-x: hidden;
	max-width: 800px;
}

.todo-container .todo-icon {
	position: absolute;
	top: 0;
	height: 100%;
	width: 120px;
	display: flex;
	align-items: center;
}

.todo-icon:first-child {
	left: 0;
	display: none;
	background: linear-gradient(90deg, #F0F0F0 70%, transparent);
}

.todo-icon:last-child {
	right: 0;
	justify-content: flex-end;
	background: linear-gradient(-90deg, #F0F0F0 70%, transparent);
}

.todo-icon span {
	width: 30px;
	height: 30px;
	cursor: pointer;
	font-size: 1.2rem;
	text-align: center;
	line-height: 30px;
	border-radius: 50%;
	background: #f5f4fd;
	border: 1px solid #d8d5f2;
}

.todo-icon:first-child span {
	margin-left: 15px;
}

.todo-icon:last-child span {
	margin-right: 15px;
}

.todo-container .todo-box {
	display: flex;
	gap: 12px;
	list-style: none;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

.todo-box.dragging {
	scroll-behavior: auto;
	cursor: grab;
}

.todo-box .todoelement {
	cursor: pointer;
	font-size: 1rem;
	white-space: nowrap;
	background: #f5f4fd;
	padding: 10px 20px;
	border-radius: 5px;
	border: 1px solid #d8d5f2;
}

.todo-box .todoelement:hover {
	background: #efedfb;
}

.todo-box.dragging .todoelement {
	user-select: none;
	pointer-events: none;
}

/*End-ToDo*/

/*Start-Sidebar*/

.sidebar {
	position: absolute;
	overflow: hidden;
	top: 55px;
	left: 10px;
	width: 60px;
	height: 500px;
	background: #e5e5e5;
	transition: width 0.4s;
	border-radius: 5px;
}

.sidebar.open {
	width: 200px;
}

.sidebar-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 200px;
}

.sidebar-header {
	display: flex;
	align-items: center;
	height: 40px;
	background: rgb(0 0 0 / 15%);
}

.sidebar-burger {
	width: 60px;
	height: 72px;
	display: grid;
	place-items: center;
	color: black;
}

.sidebar-logo {
	height: 28px;
}

.sidebar-menu {
	display: grid;
	padding: 10px;
}

.sidebar-button {
	display: flex;
	gap: 16px;
	align-items: center;
	height: 56px;
	width: 100%;
	font-family: "Poppins";
	font-size: 17px;
	text-transform: capitalize;
	line-height: 1;
	padding: 0 10px;
	border-radius: 8px;
	color: #000000;
	opacity: 0.8;
}

.sidebar-button:hover {
	background: rgb(0 0 0 / 30%);
	opacity: 1;
}

.sidebar-button:hover>span {
	opacity: 1;
	color: black;
}

.sidebar-logo,
.sidebar-button p {
	opacity: 0;
	transition: 0.3s;
}

.sidebar.open :is(.sidebar-button p, .sidebar-logo) {
	opacity: 1;
}

.sidebar-button>img {
	width: 24px;
	height: 24px;
}

.sidebar-button>span {
	opacity: 0.5;
	color: black;
}

/*End-Sidebar*/

/*START-PROGRESS*/
.progress-bar {
	display: flex;
	width: fit-content;
	justify-content: space-between;
	list-style: none;
	padding: 5px 0 0 0;
	margin: 0 0 1px 0;
}

.progress-bar li {
	flex: 2;
	position: relative;
	padding: 4px 0 0 0;
	font-size: 8px;
	line-height: 1.5;
	color: #383;
	font-weight: 600;
	white-space: nowrap;
	overflow: visible;
	min-width: 0;
	width: 40px;
	text-align: center;
	border-top: 2px solid #e8e8e8;
}

.progress-bar li:first-child,
.progress-bar li:last-child {
	flex: 1;
}

.progress-bar li:before {
	content: "";
	display: block;
	width: 4px;
	height: 4px;
	background-color: #e8e8e8;
	border-radius: 4px;
	border: 2px solid #fff;
	position: absolute;
	left: calc(50% - 6px);
	top: -5px;
	z-index: 3;
	transition: all .2s ease-in-out;
}

.progress-bar li:first-child:before {
	left: 0;
}

.progress-bar li:last-child:before {
	right: 0;
	left: auto;
}

.progress-bar li span {
	opacity: 0;
}

.progress-bar .is-complete:not(:first-child):after,
.progress-bar .is-active:not(:first-child):after {
	content: "";
	display: block;
	width: 100%;
	position: absolute;
	top: -2px;
	left: -50%;
	z-index: 2;
	border-bottom: 2px solid #2f3761;
}

.progress-bar .is-complete:last-child:after,
.progress-bar .is-active:last-child:after {
	width: 200%;
	left: -100%;
}

.progress-bar .is-complete:before {
	background-color: #2f3761;
}

.progress-bar .is-active:before {
	background-color: #fff;
	border-color: #2f3761;
}

/*END-PROGRESS*/

/* TEST START*/
.progress-indicator-container{
	margin-top:10px;
	--barheight:2px;
	ul{
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		justify-content: space-between;
	}
	ul>li{
		font-size:10px;
		line-height: 16px;
		position: relative;
		list-style-type: none;
		content:'';
		display: block;
		width:100%;
		height:var(--barheight);
		background-color: rgb(237, 235, 235);
		border-radius: calc(var(--barheight)/2);
		margin-right:2px;
		&[done]{
			background: rgba(106, 207, 106,1);
		}
		&[active]{
			background: rgba(133, 166, 245,1);
		}

	}
}
/* TEST END*/