:root {
	/*** colors ***/
	--ice-blue:			#40FFFD;

	/*** Menu theme colors ***/
	--dark-blue:		#070040;
	--blue-grey:   		#32586E;
}

html {
/*	width: 100vw;*/
/*	height: 100vh;*/
	height: 100%;
	margin: 0;

}

body {	
	background-color: lightcyan;
}

h1 {
	display: block;
	text-align: center;
}

#container {

	position: absolute;
	top:0; left:0; bottom:0; right:0;
	margin: 0;
	padding: 0;

}

#widget {

	position: absolute;
	display: inline-block;

	background-color: #2D237D;
	color: #9FDCFF;
	text-shadow: 0 0px 5px black;

	font-family: "Lucida Console", "Courier New", monospace;
	font-size: 2em;
	font-weight: bold;
	text-align: center;
	overflow: hidden;

	/*top: 3;
	left: 3;*/
/*	transform: translateX(-50%);*/

	width: 322px;
	height: 322px;

	padding: 0;

	border: 3px solid var(--blue-grey);
	border-radius: 5px;
	z-index: 2;
}

#configuration {

	position: relative;
	display: inline-block;
	vertical-align: top;

/*	background-color: red;*/
	color: black;

	font-family: "Lucida Console", "Courier New", monospace;
	font-size: 1em;
	font-weight: bold;
	text-align: center;

/*	top:0; left:0; bottom:0; right:0;*/

	margin: 5px;
	padding: 0;

}

.config-view {
	margin: 5px;
	position: relative !important;
}

.config-form {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

#config-form > div {
	flex-shrink: 1;

	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	padding-top: 10px;
	padding-bottom: 10px;
}

#config-form > div > label {
	flex-basis: 200px;
	text-align: right;
}

#config-form > div > input {
	flex-basis: 100px;
}

#config-form input[type="submit"] {
	margin-left: auto;
	margin-right: auto;
}

.inactive {
	display: none !important;
}

#data-container {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;

	height: 100%;
	width: 100%;
	margin: 0;
}

#data-container span {
	z-index: 2;
}

#data-container > div:first-child {
	display: flex;
	position: relative;
	flex-direction: column;
	justify-content: center;

/*	background-color: green;*/
	flex-grow: 2;
}

#data-container > div:nth-child(2) {
	display: flex;
	flex-direction: row;
	justify-content: center;

/*	background-color: orange;*/
	flex-grow: 1;
}

#data-container > div:nth-child(2) > div {
	flex-basis: 100%;
}

.major-title {
	font-size: 1.15em;
}

.minor-title {
	font-size: 1em;
}

.major-value {
	font-size: 2em;
}

.minor-value {
	font-size: 1.25em;
}

.bubble {
	position: absolute;
	display: inline-block;
	border-radius: 50%;

	background-color: rgba(200, 200, 200, 0.75);
	top: 110%;
	left: 50%;

	width: 15px;
	height: 15px;
	border: 2px solid rgba(0, 0, 255, 0.5);
	box-sizing: border-box;
}

#minmax-error-message {
	color: red;
}

