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

body {
	background: #000;
	color: #fff;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
    display: table-cell;
    height: 100%;
    vertical-align: middle;
}

video {
	visibility: hidden;
}

.red {
	color: #f33835;
}

.yellow {
	color: #ffbf05;
}

.green {
	color: #4aae4f;
}

.orange {
	color: #ff9800;
}

.blue {
	color: #1e94f3;
}

.dashboard {
	display: flex;
	flex-direction: column;
	margin: 15px 15px;
	row-gap: 20px;
	column-gap: 20px;
}

.dashboard .row {
	display: flex;
	flex-direction: row;
	row-gap: 20px;
	column-gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

.dashboard .col {
	display: flex;
	flex-direction: column;
	row-gap: 20px;
	column-gap: 20px;
	justify-content: center;
}

.dashboard .col.horiz {
	flex-direction: row;
}

.dashboard .row .nowrap {
	flex-wrap: nowrap !important;
}

.dashboard .outside,
.dashboard .inside {
	background: #252525;
	padding: 20px;
	white-space: nowrap;
	width: 115px;
	height: 115px;
	border-radius: 15px;
}

.dashboard .sun,
.dashboard .time {
	width: 250px;
}

.dashboard .outside i,
.dashboard .inside i,
.dashboard .time i {
	font-size: 50%;
	opacity: 0.7;
	font-style: normal;
	padding-left: 5px;
	font-weight: normal;
}

.dashboard .outside i,
.dashboard .inside i {
	vertical-align: super;
}

.dashboard .outside > label,
.dashboard .inside > label {
	font-size: 20px;
	opacity: 0.7;
	margin-bottom: 10px;
	display: block;
}

.dashboard .outside > label,
.dashboard .inside > label {
	opacity: 1;
}

.dashboard .radiation,
.dashboard .temp.max,
.dashboard .temp.min,
.dashboard .dew,
.dashboard .moonpercent,
.dashboard .moonage,
.dashboard .moondist,
.dashboard .sunrise,
.dashboard .sunset,
.dashboard .sunrisein,
.dashboard .sunsetin,
.dashboard .outside > div i + label,
.dashboard .inside > div i + label {
	font-size: 14px;
	opacity: 0.7;
	display: block;
}

.dashboard .moonage,
.dashboard .moondist {
	display: none;
}

.dashboard label .fa {
	margin-right: 5px;
	width: 12px;
	text-align: center;
}

.dashboard label + span {
	margin-left: 5px;
}

.dashboard .temp.cur,
.dashboard .humidity,
.dashboard .uv,
.dashboard .wind.cur {
	font-size: 50px;
}

.dashboard .time {
	font-size: 50px;
	font-weight: bold;
	height: 290px;
	position: relative;
}

.dashboard .time .wicon {
	font-size: 40px;
	float: left;
	margin: 5px 30px 40px 5px;
	width: 50px;
}

.dashboard .time #date {
	font-size: 20px;
	opacity: 0.7;
	display: block;
	font-weight: normal;
	margin-top: 10px;
}

.dashboard .time canvas {
	margin-top: 10px;
}

.dashboard .time #chartpressure {
	margin-top: 0px;
}

.dashboard .time .pressure {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	font-weight: normal;
	margin-top: 15px;
}

.dashboard #alert {
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	position: absolute;
	width: 100%;
	width: calc(100% - 20px);
	bottom: 10px;
	left: 10px;
	border-radius: 15px;
	z-index: 1;
}

.dashboard #alert h2 {
	text-overflow: ellipsis;
	margin: 0;
	white-space: nowrap;
	display: inline-flex;
	flex-shrink: 1;
	font-size: 110%;
	line-height: 20px;
	margin-right: 10px;
	flex-grow: 4;
}

.dashboard #alert span {
	display: inline-flex;
	font-size: 100%;
	line-height: 20px;
	text-align: right;
	font-weight: normal;
}

.dashboard #alert .severe-alert-banner,
.dashboard #alert [class^="AlertHeadline"] {
	background: #cf0a0a;
	color: #fff;
}

.dashboard #alert .severe-alert-banner__separator {
	display: none;
}

.dashboard #alert a {
	white-space: nowrap;
	color: #fff;
	text-decoration: none;
	padding: 5px 15px;
	display: flex;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
}

.dashboard #alert svg {
	width: 14px;
	height: 14px;
	margin: 0 3px -2px 0;
}

.dashboard #alert svg[class^="AlertHeadline"] {
	margin: 3px 5px 0 -5px;
	--alert-fill: #ffffff;
	--alert-icon: #000000;
}

.dashboard #aq {
	font-size: 10px;
	white-space: initial;
	width: 70px;
	height: 30px;
	position: relative;
	z-index: 1;
	margin-top: 10px;
}

.dashboard #aq a {
	display: inline-block;
	margin: 3px;
}

.dashboard #aq .index-name-container,
.dashboard #aq .index-status-text,
.dashboard #aq h3 + div {
	display: none;
}

.dashboard #aq > div {
	display: inline-block;
}

.dashboard #aq h3 {
	color: transparent;
	width: 16px;
	height: 16px;
	overflow: hidden;
	padding: 0 2px 0 2px;
	margin: 5px 0 0 0;
}

.dashboard #aq h3:before {
	font-family: "Font Awesome 6 Pro";
	color: #fff;
	content: "";
	font-weight: 300;
}

.dashboard #aq div:nth-child(1) h3:before {
	content: "\f724";
}

.dashboard #aq div:nth-child(2) h3:before {
	content: "\f4d8";
}

.dashboard #aq div:nth-child(3) h3:before {
	content: "\f55f";
}

.dashboard #aq ul {
	margin: 0;
	padding: 0;
	float: left;
}

.dashboard #aq li {
	width: 17px;
	height: 10px;
	overflow: hidden;
	color: transparent;
	text-align: center;
}

.dashboard #aq .index-status-color {
	height: 3px;
	border-radius: 3px;
	width: 5px;
	margin-left: 6px;
}

.dashboard #aq svg {
	filter: invert(1);
	width: 16px;
	height: 16px;
	box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, .5);
	border-radius: 50%;
}

.dashboard #aq svg svg,
.dashboard #aq li svg {
	filter: invert(0);
}

.dashboard #aq li svg {
	width: 5px;
	height: 5px;
}

.dashboard #aq li svg circle[fill="#f27200"] {
	fill: #f33835;
}

.dashboard #aq li svg circle[fill="#ebbb02"] {
	fill: #ffbf05;
}

.dashboard #aq li svg circle[fill="#a5eb02"] {
	fill: #4aae4f;
}

.dashboard #aq li svg circle[fill="#cecece"] {
	fill: transparent;
}

.dashboard .sun {
	position: relative;
}

.dashboard .sun .fa-sun-bright {
	font-size: 30px;
	background: radial-gradient(#ff9800, #ffff00);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	margin-left: 7px;
	margin-top: 7px;
}

.dashboard .sunrisein,
.dashboard .sunsetin {
	position: absolute;
}

.dashboard .sunsetin {
	right: 20px;
}

.dashboard .sunrise {
	float: left;
}

.dashboard .sunset {
	float: right;
}

.dashboard #sunpos {
	position: absolute;
	left: 30px;
	top: 45%;
}

.dashboard #chartsun {
	margin-bottom: 15px;
}

.dashboard #daylength {
	position: absolute;
	left: 50%;
	left: calc(50% - 15px);
	margin-left: -15px;
	top: 50%;
	color: rgba(255, 255, 255, 0.7);
}

.dashboard .uv .level {
	border-radius: 10px;
	width: 10px;
	height: 0;
	display: inline-block;
	position: relative;
	overflow: hidden;
	transition: all 1s;
}

.dashboard .uv._1 .level {
	height: 4px;
}

.dashboard .uv._2 .level {
	height: 7px;
}

.dashboard .uv._3 .level {
	height: 11px;
}

.dashboard .uv._4 .level {
	height: 14px;
}

.dashboard .uv._5 .level {
	height: 17px;
}

.dashboard .uv._6 .level {
	height: 21px;
}

.dashboard .uv._7 .level {
	height: 24px;
}

.dashboard .uv._8 .level {
	height: 27px;
}

.dashboard .uv._9 .level {
	height: 31px;
}

.dashboard .uv._10 .level {
	height: 35px;
}

.dashboard .uv .level:before {
	content: "";
	background-image: linear-gradient(to top, rgba(255, 255, 0, 1), rgba(255, 0, 0, 1));
	background-repeat: no-repeat;
	width: 100%;
	height: 40px;
	display: block;
	bottom: 0;
	position: absolute;
}

.dashboard .wind.cur {
	position: relative;
	height: 100%;
	width: 100%;
	text-align: center;
	position: relative;
}

.dashboard .wind.cur #chartwind {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.dashboard .wind.cur #owind {
	font-size: 45px;
	padding-top: 25px;
	display: block;
	position: relative;
	z-index: 1;
}

.dashboard .wind.cur i {
	display: block;
	font-size: 14px;
	position: relative;
	z-index: 1;
}

.dashboard .wind.cur .direction {
	border: 3px solid #fff;
	border-radius: 50%;
	width: 80%;
	height: 80%;
	top: calc(10% - 2px);
	left: calc(10% - 2px);
	position: absolute;
}

.dashboard .wind.cur .direction .n,
.dashboard .wind.cur .direction .ne,
.dashboard .wind.cur .direction .e,
.dashboard .wind.cur .direction .se,
.dashboard .wind.cur .direction .s,
.dashboard .wind.cur .direction .sw,
.dashboard .wind.cur .direction .w,
.dashboard .wind.cur .direction .nw {
	position: absolute;
	font-size: 14px;
}

.dashboard .wind.cur .direction .ne,
.dashboard .wind.cur .direction .se,
.dashboard .wind.cur .direction .sw,
.dashboard .wind.cur .direction .nw {
	opacity: 0.0;
}

.dashboard .wind.cur .direction .n {
	top: -20px;
	left: calc(50% - 5px);
}

.dashboard .wind.cur .direction .e {
	right: -15px;
	top: calc(50% - 5px);
}

.dashboard .wind.cur .direction .s {
	bottom: -20px;
	left: calc(50% - 5px);
}

.dashboard .wind.cur .direction .w {
	left: -20px;
	top: calc(50% - 5px);
}

.dashboard .wind.cur .direction .ne {
	right: calc(25% - 30px);
	top: calc(25% - 30px);
	transform: rotate(-45deg);
}

.dashboard .wind.cur .direction .se {
	right: calc(25% - 30px);
	bottom: calc(25% - 30px);
	transform: rotate(45deg);
}

.dashboard .wind.cur .direction .sw {
	left: calc(25% - 32px);
	bottom: calc(25% - 32px);
	transform: rotate(-45deg);
}

.dashboard .wind.cur .direction .nw {
	left: calc(25% - 32px);
	top: calc(25% - 32px);
	transform: rotate(45deg);
}

.dashboard .wind.cur .direction_arrow {
	position: absolute;
	top: 10%;
	left: 10%;
	width: 80%;
	height: 80%;
	z-index: 1;
	transition: all 1s;
}

.dashboard .wind.cur .direction_arrow:before {
	content: "";
	border-top: 20px solid #1e94f3;
	border-right: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 7px solid transparent;
	width: 0;
	height: 0;
	position: absolute;
	top: -7px;
	left: calc(50% - 7px);
}

.dashboard .moonpic {
	display: block;
	width: 85px;
	height: 85px;
	background: url(../images/moon.png) 50% 50% no-repeat;
	background-size: 100% 100%;
	margin: 0 auto 15px auto;
	position: relative;
	overflow: hidden;
	border-radius: 50%;
}

.dashboard .moonshadow {
	position: absolute;
	top: 0;
	width: 0;
	height: 100%;
	border-radius: 50%;
	background: rgba(0,0,0, 0.7);
}

.dashboard .rain {
	position: relative;
	text-align: center;
	margin-bottom: 25px;
	margin-top: 5px;
}

.dashboard .rain #oraintoday {
	font-size: 45px;
	display: block;
	position: relative;
	z-index: 1;
}

.dashboard .rain i {
	display: block;
	font-size: 14px;
}

.dashboard .rainglass {
	border: 3px solid #fff;
	border-top: 0;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	width: 80px;
	height: 80px;
	display: block;
	position: absolute;
	left: calc(50% - 42px);
	top: 0;
}

.dashboard .rainglass:before,
.dashboard .rainglass:after {
	content: "";
	display: block;
	position: absolute;
	left: -16px;
	top: 0;
	border-top: 3px solid #fff;
	border-radius: 5px;
	width: 15px;
}

.dashboard .rainglass:after {
	left: auto;
	right: -16px;
}

.dashboard .rainglass .raingage {
	display: block;
	width: 1px;
	height: 60px;
	position: absolute;
	left: 7px;
	top: 10px;
	overflow: hidden;
	opacity: 0.5;
}

.dashboard .rainglass .raingage:before {
	content: "";
	border-left: 5px solid #fff;
	border-left-style: dotted;
	height: 600px;
	display: block;
}

.dashboard .rainglass .rainfill {
	position: absolute;
	bottom: -1px;
	border: 3px solid #1e94f3;
	background: rgba(30, 148, 243, 0.3);
	width: 75px;
	height: 0;
	left: -1px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.dashboard .rainglass .fa {
	position: absolute;
	top: 10px;
	right: -20px;
	opacity: 0.5;
}

.dashboard .dew,
.dashboard .moonpercent {
	text-align: center;
}

.dashboard .gust {
	margin-top: 10px;
}

.dashboard #otempfeel,
.dashboard #ogust,
.dashboard #windmax {
	font-size: 20px;
}

.dashboard #otemp span,
.dashboard #itemp span {
	font-size: 50%;
}

.dashboard .temp.feels i,
.dashboard .gust i,
.dashboard .wind.max i {
	font-size: 70%;
}

.dashboard .battery {
	margin-top: 15px;
}

@media (max-width: 500px) {
	.dashboard .col {
		flex-direction: row;
	}

	.dashboard .moon,
	.dashboard .sun,
	.dashboard .time {
		width: 290px;
	}

	.dashboard .moon {
		height: 85px;
	}

	.dashboard .moonpic {
		float: left;
		margin: 0 20px 0 0;
	}

	.dashboard .moonpercent,
	.dashboard .moonage,
	.dashboard .moondist {
		display: block;
		text-align: left;
		margin-top: 5px;
	}

	.dashboard .time {
		height: 315px;
	}

	.dashboard .col.horiz {
		flex-wrap: wrap;
	}
}
