* {
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
	font-family: segoe ui;
}

body {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

#cvs {
	background-image: url(../img/transparent.png);
	cursor: crosshair;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

#info {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.85);
	border: 1px solid grey;
	border-radius: 2px;
}

#info table {
	width: 100%;
	border-collapse: collapse;
	font-size: 10pt;
}

#info table tr>td:nth-child(1) {
	padding-right: 10px;
}
#info table tr>td:nth-child(2) {
	padding: 2px 5px;
}
#info table col:first-of-type {
	border-right: 1px solid grey;
}

#info table tr:nth-of-type(3),
#info table tr:nth-of-type(6),
#info table tr:nth-of-type(11),
#info table tr:nth-of-type(19),
#info table tr:nth-of-type(23) {
	border-top: 1px solid grey;
}

#info table td {
	padding-top: 5px;
}

#info table input[type="text"],
#info table input[type="number"] {
	width: 80px;
}

.align-right {
	float: right;
}

.overlay {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(80,80,80,0.6);
	display: none;
}
.overlay.focus {
	display: block;
}
.overlay>div {
	-webkit-box-shadow: 0px 0px 100px 20px black;
	-moz-box-shadow: 0px 0px 100px 20px black;
	box-shadow: 0px 0px 100px 20px black;
	position: absolute;
	background-color: white;
	padding: 20px;
}
#loadimage_overlay>div {
	left: 50%;
	top: 40%;
	transform: translate(-50%, -50%);
}

#loadimage {
	margin-bottom: 20px;
}

#loadimage_input_image,
#loadimage_input_name {
	width: 200px;
}

#loadimage_input_image,
#loadimage_input_name,
#loadimage_input_submit {
	margin: 5px;
	padding: 3px;
}

#loadimage_cvs {
	width: 256px;
	height: 256px;
	background-image: url(../img/transparent.png);
	margin-right: 20px;
	border: 1px solid #CCC;
}

#takeunit_overlay>div {
	left: 10px;
	top: 10px;
}

#takeunit_input_realdistance,
#takeunit_input_unit {
	margin: 5px;
	padding: 3px;
}

.button {
	background-color: #CCC;
	border: 1px solid grey;
	border-radius: 2px;
	padding: 1px 8px;
	cursor: pointer;
	width: 100px;
	-webkit-transition: background-color 0.1s;
	-moz-transition: background-color 0.1s;
	-ms-transition: background-color 0.1s;
	transition: background-color 0.1s;
}

.button:hover:not(.disabled) {
	background-color: #EEE;
}

.button.disabled {
	cursor: default;
	color: #555;
}