.nchv-chart {
	max-height: 100% !important;
	max-width: 100% !important;
	position: relative;
}

.nchv-dashboard { }

	.nchv-dashboard sub, .nchv-dashboard sup {
		display: inline-block;
		font-size: 75%;
		line-height: 0.75em;
	}

.nchv-dashboard--cover {
	position: relative;
}

	.nchv-dashboard--cover .image {
		display: block;
		position: relative;
		z-index: 1;
	}
	
	.nchv-dashboard--cover .image img {
		aspect-ratio: 8 / 3;
		display: block;
		margin: 0;
		object-fit: cover;
	}
	
	.nchv-dashboard--cover .overlay {
		background: rgba(0,0,0,0.2);
		display: flex;
		flex-direction: column;
		justify-content: end;
		padding: 1.5rem;
		position: absolute; top: 0; right: 0; bottom: 0; left: 0;
		text-align: right;
		z-index: 2;
	}

		.nchv-dashboard--cover .overlay > * {
			color: #ffffff !important;
			text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
		}

.nchv-dashboard--flex {
	align-items: stretch;
	display: flex;
	gap: 1rem;
	margin: 1rem 0;
	width: 100%;
}

form.nchv-dashboard--flex {
	align-items: center;
	background: rgba(103,103,103,0.1);
	border: 1px solid rgba(103,103,103,0.2);
	border-radius: 6px;
	justify-content: center;
	padding: 12px;
}

	.nchv-dashboard--flex + .nchv-dashboard--flex { margin-top: 0; }
	.nchv-dashboard--flex .nchv-dashboard--flex:first-child { margin-top: 0; }
	.nchv-dashboard--flex .nchv-dashboard--flex:last-child { margin-bottom: 0; }
	
	.nchv-dashboard--flex > * {
		flex-grow: 1;
	}
	
	.nchv-dashboard--flex input {
		margin: 0 !important;
	}

.nchv-dashboard--title {
	font-size: 2.5rem;
	line-height: 0.9em;
	margin: 0 !important;
}

.nchv-dashboard--timestamp {
	background: #233252;
	border-radius: 6px;
	color: #ffffff;
	display: inline-block;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 1.167rem;
	font-weight: bold;
	margin: 0.5rem 0;
	padding: 0.5rem 0.75rem;
	text-shadow: none;
}

	.nchv-dashboard--timestamp small {
		font-size: 0.75rem;
		font-weight: normal;
	}
	
.nchv-hover-block {
	overflow: visible !important;
	position: relative !important;
}

	.nchv-hover-block-content {
		background: #ffffff;
		border: 1px solid #f06f1e;
		border-radius: 4px;
		color: #233252;
		display: none;
		font-size: 1rem;
		line-height: 1.5rem;
		padding: 0.5rem 0.75rem;
		position: absolute; top: 0.75rem; left: 0.5rem;
		text-align: left;
		width: clamp(180px, 33.33vw, 360px);
		z-index: 2;
	}
	
	.nchv-hover-block-content.min { white-space: nowrap; width: auto; }
	
	.nchv-hover-block:hover > .nchv-hover-block-content, .nchv-hover-block:focus > .nchv-hover-block-content {
		display: block;
	}
	
	.nchv-widget:last-child .nchv-hover-block-content {
		right: 0.5rem; left: auto;
	}

	.nchv-dashboard > div.nchv-dashboard--flex:last-of-type .nchv-hover-block-content {
		top: auto; bottom: 0.75rem;
	}

#nchv-lightbox {
	background: rgba(153,153,153,0.5);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	cursor: pointer;
	position: fixed; top: 0; right: 0; bottom: 0; left: 0;
	z-index: 999;
}

#nchv-lightbox--close {
	background: #424242;
	border: 2px solid #ffffff;
	border-radius: 100%;
	cursor: pointer;
	display: block;
	height: 44px;
	overflow: hidden;
	position: absolute; top: calc(15% - 22px); right: calc(5% - 22px);
	width: 44px;
	z-index: 2;
}

#nchv-lightbox--close .nchv-icon {
	position: absolute; top: calc(50% - 12px); left: 0;
}

#nchv-lightbox--content {
	align-items: center;
	background: #233252;
	border: 5px solid #f06f1e;
	border-radius: 1rem;
	color: #ffffff;
	cursor: default;
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	position: absolute; top: 15%; right: 5%; bottom: 15%; left: 5%;
	z-index: 1;
}

#nchv-lightbox--content canvas {
	flex-grow: 1;
	height: auto !important;
	width: auto !important;
}

.nchv-lightbox--trigger {
	cursor: pointer;
}

.nchv-map {
	border: 3px solid #f06f1e;
	border-radius: 1rem;
	display: flex;
	flex: 50% 0 0;
	margin: 1rem 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}
.nchv-dashboard .nchv-map {
	margin: 0;
}

.nchv-map iframe {
	flex: 1 1 1;
	margin: 0;
	width: 100% !important;
}

.nchv-widget {
	background: #233252;
	border: 3px solid #f06f1e;
	border-radius: 0.75rem;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	font-family: 'Barlow Condensed', sans-serif !important;
	justify-content: space-between;
	margin: 1rem 0;
	padding: 1rem;
	position: relative;
	text-align: center;
	width: 100%;
}
.nchv-dashboard .nchv-widget { flex: 1 0 1; margin: 0; }

.nchv-widget--light {
	background: #d6e3ff;
	color: #4c4c4c;
}

.nchv-widget--large {
	font-size: 1.1rem;
}

.nchv-widget--wide {
	font-size: 0.8rem;
}

.nchv-widget--small {
	font-size: 0.8rem;
}

.nchv-widget * {
	font-family: 'Barlow Condensed', sans-serif !important;
}

.nchv-widget > * {
	line-height: 1.2em;
	margin: 0.5rem 0;
}

.nchv-widget--flex {
	align-items: center;
	display: flex;
	margin: 0 !important;
	justify-content: space-between;
}

.nchv-widget--flex--item {
	display: block;
	flex: 1 1 1;
	text-align: center;
}

h2.nchv-widget--location-name {
	color: #ffffff;
	font-size: 100%;
	font-weight: 900;
	margin: 0 0.5rem 0 0;
}

h3.nchv-widget--parameter-name {
	color: #ffffff;
	font-size: 175%;
	font-weight: 300;
	margin: 0 0.5rem 0 0;
}

.nchv-widget--light h2.nchv-widget--location-name, .nchv-widget--light h3.nchv-widget--parameter-name {
	color: #4c4c4c;
}

.nchv-widget--value {
	color: #f06f1e;
	font-size: 400%;
	font-weight: 900;
	line-height: 0.8em;
	margin: 0.5rem 0;
}

.nchv-widget--value-decimal {
	font-size: 66.666%;
	line-height: 0.8em;
}

.nchv-widget--value-degrees {
	display: inline-block;
	font-size: 66.666%;
	font-weight: 500;
	line-height: 0.8em;
	vertical-align: top;
}

.nchv-widget--unit {
	color: #e76c1e;
	display: inline-block;
	font-size: 55.555%;
	font-weight: 500;
	line-height: 0.8em;
	margin: 0 0.25rem;
}

.nchv-widget--datetime {
	font-size: 80%;
	font-weight: 300;
	margin: 0 0 0.5rem 0;
	opacity: 0.667;
}

@media screen and (max-width: 640px) {

	.nchv-dashboard--flex, .nchv-dashboard--flex-item, .nchv-dashboard .nchv-widget {
		display: block;
		margin: 1rem 0 !important;
		width: 100%;
	}
	
	.nchv-map, .nchv-map iframe {
		display: block;
		height: 220px;
	}

}