/* global */

* {
	margin: 0px;
	padding: 0px;
	font-family: 'Arial';
	font-size: 15px;
	user-select: none;
}

body,
html {
	width: 100%;
	height: 100%;
}

input {
	padding: 3px 5px;
}

select {
	padding: 3px 3px;
}

input,
select {
	color: #995555;
	background-color: #ffffff;
	border: none;
	border-radius: 3px 3px 3px 3px;
}

.hidden {
	display: none;
}

	

/* headline */

#headline {
	padding: 10px;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 38px;
	font-weight: normal;
	color: #995555;
	overflow: hidden;
}

#headline span {
	font-size: 33px;
	font-weight: bold;
	font-style: italic;
	margin-right: 15px;
}

#headline a,
#headline a:link,
#headline a:visited,
#headline a:hover,
#headline a:active {
	text-decoration: none;
	font-size: 10px;
	color: #995555;
	position: absolute;
	right: 10px;
}



/* feedback */

#feedback {
	padding: 5px;
	position: absolute;
	top: 58px;
	left: 420px;
	right: 10px;
	font-weight: bold;
	text-align: center;
	color: #ffffff;
	overflow: hidden;
	border-radius: 5px 5px 0px 0px;
	background-color: #ff0000;
	z-index: 2147483646;
}



/* lockscreen */

#lockscreen {
	background-color: #808080;
	border-radius: 5px;
	position: absolute;
	top: 58px;
	left: 10px;
	right: 10px;
	bottom: 10px;
	background-size: 250px;
	background-image: url('../svg/lockscreen.svg');
	background-repeat: no-repeat;
	background-position: center;
	cursor: wait;
	z-index: 2147483647;
}



/* panel */

#panel {
	position: absolute;
	top: 58px;
	left: 10px;
	bottom: 49px;
	width: 380px;
	display: flex;
	flex-direction: column;
}

#panel .instructions {
	border-radius: 5px 5px 0px 0px ;
	padding: 10px;
	background-color: #995555;
	width: 100%;
	font-weight: bold;
	color: #ffffff;
}

#panel .instructions p + p {
	margin-top: 5px;
}

#panel .data {
	padding: 10px;
	background-color: #995555;
	height: 100%;
	width: 100%;
	color: #ffffff;
	overflow-x: hidden;
	overflow-y: auto;
	border-top: 1px solid #ffffff;
}



/* navigation */

#navigation {
	border-radius: 0px 0px 5px 5px;
	font-weight: bold;
	position: absolute;
	left: 10px;
	bottom: 10px;
	height: 38px;
	width: 400px;
	color: #ffffff;
}

#navigation #back {
	border-radius: 0px 0px 0px 5px;
	background-color: #995555;
	padding: 10px;
	position: absolute;
	top: 0px;
	left: 0px;
	min-width: 0px;
	bottom: 0px;
}

#navigation #progress {
	border-radius: 0px 0px 5px 5px;
	background-color: #995555;
	text-align: center;
	padding: 10px;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

#navigation #next {
	border-radius: 0px 0px 5px 0px;
	background-color: #995555;
	padding: 10px;
	position: absolute;
	text-align: right;
	top: 0px;
	right: 0px;
	min-width: 0px;
	bottom: 0px;
}

#navigation #back.active:hover,
#navigation #next.active:hover {
	background-color: #b38080;
	cursor: pointer;
}



/* main */

.main {
	border-radius: 5px;
	position: absolute;
	top: 58px;
	left: 420px;
	right: 10px;
	bottom: 10px;
}



/* step 1 */

.step1.data input {
	margin-top: 5px;
	cursor: pointer;
}

.step1.main {
	background-color: #808080;
	border: 1px solid #808080;
	opacity: 0.5;
	background-size: 250px;
	background-image: url('../svg/upload.svg');
	background-repeat: no-repeat;
	background-position: center;
}

.step1.main.dragover {
	background-color: #995555;
}



/* step 2 */

.step2.data table {
	color: #ffffff;
	width: 100%;
}

.step2.data table tr + tr td {
	padding-top: 5px;
}

.step2.data table td {
	white-space: nowrap;
}

.step2.data table td + td {
	padding-left: 5px;
}

.step2.data table td:first-child {
	text-align: right;
}

.step2.data table td:last-child {
	width: 100%;
	text-align: right;
}

.step2.data table img {
	height: 20px;
	cursor: pointer;
}

.step2.data table select + *,
.step2.data table input + * {
	margin-left: 5px;
}

.step2.data table input {
	user-select: auto;
	width: 50px;
}

.step2.main {
	border: 1px solid #808080;
}

.step2.main .markerDisabled {
	fill: #000000;
	opacity: 0.5;
}

.step2.main .markerEnd,
.step2.main .markerEnabled {
	fill: #000000;
	opacity: 1;
}

.step2.main .segment {
	stroke-width: 10;
	stroke-opacity: 1;
}

.step2.main .segment.default {
	stroke: #33cc33;
}

.step2.main .segment.highway {
	stroke: #3333cc;
}

.step2.main .segment.remove {
	stroke: #cc3333;
}

.step2.main .segment.highlight {
	stroke: #000000;
}

.step2.main .directionMarker {
	fill: #ffffff;
}



/* step 3 */

.step3.data table {
	color: #ffffff;
	width: 100%;
}

.step3.data table tr + tr td {
	padding-top: 5px;
}

.step3.data table td {
	white-space: nowrap;
}

.step3.data table td + td {
	padding-left: 5px;
}

.step3.data table td:first-child {
	text-align: right;
}

.step3.data table td:last-child {
	width: 100%;
	text-align: right;
}

.step3.data table img {
	height: 20px;
	cursor: pointer;
}

.step3.data table input + * {
	margin-left: 5px;
}

.step3.data table input {
	user-select: auto;
}

.step3.data table input.name {
	width: 100px;
}

.step3.data table input.altitude {
	width: 55px;
	text-align: right;
}

.step3.main #step3-image {
	border-radius: 5px;
	border: 1px solid #808080;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 50%;
	margin-bottom: 5px;
}

.step3.main #step3-image svg {
	width: 100%;
	height: 100%;
}

.step3.main #step3-map {
	border-radius: 5px;
	border: 1px solid #808080;
	position: absolute;
	top: 50%;
	left: 0px;
	right: 0px;
	bottom: 0px;
	margin-top: 5px;
}

.step3.main #step3-map .segment {
	stroke-width: 10;
	stroke-opacity: 1;
}

.step3.main #step3-map .segment.default {
	stroke: #33cc33;
}

.step3.main #step3-map .segment.highway {
	stroke: #3333cc;
}

.step3.main #step3-map .directionMarker {
	fill: #ffffff;
}

.step3.main #step3-map .markerDisabled {
	fill: #000000;
	opacity: 0.5;
}

.step3.main #step3-map .markerEnabled {
	fill: #ff0000;
	opacity: 1;
}
.step3.main #step3-map .markerDisabled.highlight,
.step3.main #step3-map .markerEnabled.highlight {
	fill: #000000;
}
