/*
    Copyright (C) 2016 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

@import url("GnuBoatColors.css");

.l-box {
	padding: 1em;
}

.header h1 img {
	height: 2em;
	width: auto;
}

#display {
	background-color: var(--gnuboat-primary-light);
	height: 9em;
	min-width: 14em;
	font-size: 12pt;
	font-weight: normal;
	padding: 0mm;
	position:relative;
	line-height: 1.5em;
	color: black;
}

#display h2 {
	font-size: 12pt;
	font-weight: normal;
	margin: 0em;
	padding: 0em;
}

#display span {
	font-size: 24pt;
	font-weight: bold;
	margin: 0em;
	padding: 0em;
}

#display #speedthroughwater {
	position: absolute;
	top: 0.5em;
	left: 0.5em;
}

#display .important {
	font-size: 40pt;
	line-height: 0.6em;
}

#display #speedoverground {
	position: absolute;
	top:  0.5em;
	left: 7em;
}

#display #waterdepth {
	position: absolute;
	top: 5em;
	left: 0.5em;
}

#display #watertemperature {
	position: absolute;
	top: 5em;
	left: 7em;
}

#display #gpsfix {
	position: absolute;
	top: 5em;
	left: 11em;
}

.viewportGeometry {
/* 	width: 100%; */
	height: 24em;
}

#mapViewport {
	border: 1px solid var(--gnuboat-primary-dark);
	margin-top: 1em;
}

.shutdown-button {
	background-color: var(--gnuboat-warning);
	color: white;
	font-weight: bold;
	height: 3em;
	width: 100%;
	margin-top: 3em;
}

#message .error {
	font-weight: bold;
	color: var(--gnuboat-warning);
}

#message .info {
	font-weight: bold;
	color: var(--gnuboat-primary-dark);
}

.logfiles-reload-button, .logfiles-reload-button:hover, .logfiles-reload-button:active, .logfiles-reload-button:focus {
	float: right;
	background:url('../resources/view-refresh.svg') no-repeat left center;
}

.hidden {
	display: none;
}

#mapLgend table {
	margin-top: 0.25em;
	margin-left: 1em;
}

#mapLegend table tr td.level {
	text-align: right;
}
