html, body {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	overflow: hidden;
}

canvas {
	position: absolute;
}

.about_box {
	display: none;
	position: absolute;
	width: 400px;
	height: 84%;
	left: 50%;
	margin-left: -200px;
	top: 10%;
	background: #ddd;
	box-shadow: 0 6px 12px grey;
	font-family: Calibri, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}
.about_title {
	height: 48px;
	padding: 0;
	background: #218C74;
	color: #FFF;
	font-size: 24px;
	font-weight: bold;
	line-height: 48px;
	text-align: center;
}
.about_actions {
	height: 64px;
	background: #BBB;
}
.about_text {
	padding: 8px 16px;
	font-family: Calibri, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 18px;
	text-align: center;
}

.dialog_box {
	display: none;
	position: absolute;
	width: 400px;
	height: 84%;
	left: 50%;
	margin-left: -200px;
	top: 10%;
	background: #aaa;
	box-shadow: 0 6px 12px grey;
	font-family: Calibri, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}
.dialog_title {
	height: 48px;
	padding: 0 16px;
	background: #FFCF0F;
	font-size: 24px;
	font-weight: bold;
	line-height: 48px;
	text-align: right;
	user-select: none;
	cursor: move;
}
.dialog_content {
	height: calc(100% - (48px + 24px + 64px));
	padding: 12px 0px;
	overflow: auto;
	background: #eee;
}
.dialog_form_field {
	display: flex;
	padding: 6px 16px;
}
.dialog_form_field label {
	line-height: 30px;
	color: #222;
	font-size: 16px;
	font-weight: bold;
}
.dialog_form_field label.textbox_label {
	width: 100px;
}
.dialog_form_field label.numbset_label {
	width: 160px;
}
.dialog_form_field label.selectb_label {
	width: 130px;
}
.dialog_form_field label.selectl_label {
	width: 200px;
}
.dialog_form_field label.checkbox_label {
	padding-left: 8px;
}
.dlg_input_text {
	flex-grow: 1;
	height: 24px;
	padding-left: 6px;
	font-family: Calibri, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 16px;
}
.dlg_input_textarea {
	width: 194px;
	resize: vertical;
	min-height: 24px;
	font-family: Calibri, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 16px;
}
.dlg_input_shorttext {
	width: 36px;
	height: 24px;
	text-align:center;
	font-family: Calibri, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 16px;
}
.dlg_input_number {
	width: 60px;
	height: 24px;
	padding-left: 6px;
	font-family: Calibri, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 16px;
}
.dlg_color_picker {
	width: 30px;
	height: 30px;
	margin-left: 4px;
	border-color: #767676;
}
.dialog_form_field select {
	width: 120px;
	height: 30px;
	font-family: Calibri, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 16px;
}

.dialog_actions {
	height: 64px;
	background: #3F3F7F;
}
.dialog_action_cancel,
.dialog_action_confirm,
.dialog_action_close {
	display: inline-block;
	width: 160px;
	height: 32px;
	border-radius: 16px;
	box-shadow: 0 4px 4px lightgrey;
	font-size: 18px;
	font-weight: bold;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
}
.dialog_action_cancel {
	margin: 16px 28px 16px 24px;
	background: #f88;
}
.dialog_action_confirm {
	margin: 16px 0 0 0;
	background: #8f8;
}
.dialog_action_close {
	margin: 16px 120px;
	background: #218C74;
	color: #FFF;
}

input:read-only {
  background-color: #DDDDDD;
}

.menu_box {
	display: none;
	position: absolute;
	top: 5.3vh;
	left: 100%;
	margin-left: -220px;
	width: 210px;
	height: 222px;
	padding: 0;
	background-color: white;
	box-shadow: 0 4px 8px grey;
}
.menu_item {
	line-height: 36px;
	font-family: Calibri, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	border-bottom: 1px solid grey;
	background-color: #DDDEEE;
}
.menu_item:hover {
	cursor: pointer;
	border-bottom: 1px solid white;
	background-color: #888AAA;
	color: white;
}

.tooltip {
	position: relative;
	cursor: help;
}

.tooltip .tooltip_text {
	visibility: hidden;
	width: 208px;
	background-color: #ffffdf;
	color: #000;
	line-height: 18px;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
	padding: 8px 16px;
	border-radius: 4px;
	position: absolute;
	z-index: 10;
	top: 34px; 
	left: -8px;
	opacity: 0;
	transition: opacity 0.5s;
	box-shadow: 0 6px 12px grey;
}

.tooltip .tooltip_license {
	visibility: hidden;
	width: 328px;
	background-color: #ffffdf;
	color: #000;
	line-height: 14px;
	font-size: 12px;
	font-weight: normal;
	text-align: center;
	padding: 8px 16px;
	border-radius: 4px;
	position: absolute;
	z-index: 10;
	top: 34px; 
	left: 20px;
	opacity: 0;
	transition: opacity 0.5s;
	box-shadow: 0 6px 12px grey;
}

.tooltip:hover .tooltip_text {
	visibility: visible;
	opacity: 1;
}

.tooltip:hover .tooltip_license {
	visibility: visible;
	opacity: 1;
}