
html{
	width: 100%;
	height: 100%;
}

body {
	width: calc(100% - 32px);
	height: calc(100% - 32px);
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	padding: 16px;
}

body:has(.container.dm){
	background: #121212;
}

.container{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.container .row{
	display: flex;
	flex-direction: column;
}


.sensor{
	/*width: 300px;
	height: 75px;*/
	margin-bottom: 16px;
	aspect-ratio: 5/1;
	border-radius: 10px;
	background: #3BDA37;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.sensor .titles{
	margin: 0 16px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.sensor .titles h5{
	/*font-size: 14px;*/
	font-size: 1.1vw;
	margin: 0;
	padding: 0;
}
.small .sensor .titles h5{
	font-size: 0.6vw;
}
.sensor > .items{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}
.sensor > .items > .item{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.sensor > .items > .item > div {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.sensor > .items > .item > div .material-icons{
	/*font-size: 18px;*/
	font-size: 1.2vw;
}
.small .sensor > .items > .item > div .material-icons{
	font-size: 0.7vw;
}
.sensor > .items > .item > div .value{
	/*font-size: 18px;*/
	font-size: 1.2vw;
	font-weight: bold;
}
.small .sensor > .items > .item > div .value{
	font-size: 0.7vw;
}
.sensor > .items > .item > span{
	/*font-size: 10;*/
	font-size: 0.8vw;
	color:#000000 !important;
}
.small .sensor > .items > .item > span{
	font-size: 0.4vw;
}

.status0{
	background: transparent !important;
}
.status1{
	background: #3BDA37 !important;
}
.status2{
	background: #ffcc00 !important;
}
.status3{
	background: #a6a6a6 !important;
}
.status4{
	background: #F8A6A6 !important;
}

.error4{
	color: #ff0000;
}


#cannotAlert{
	position: fixed;
	top: 32px;
	left: 32px;
	background: #ff0000;
	padding: 16px 32px;
	border-radius: 8px;
}

.modal{
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.modal.hide{
	display: none !important;
}

.modalInner{
	width: min(80%, 400px);
	background: #ffffff;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
    align-items: center;
	padding: 16px;
}
.modalInner h5{
	font-size: 24px;
	font-weight: bold;
	margin: 0;
	margin-bottom: 16px;
    text-align: center;
    color: #ff0000;
}
.modalInner p{
	font-size: 14px;
	margin: 0;
	color: #3e3e3e;
	margin-bottom: 8px;
}
.modalInner p:last-child{
	font-size: 10px;
}
.modalInner button{
	margin-top: 8px;
	width: min(100%, 100px);
}