@charset "utf-8";
/*
	Author: Dominik Polić @ Elproms

*/

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0px;
}



:root {
	--light-color: #fff;
	--primary-color: #3A6765;  
	--dark-color: #000;
	--shadow: #ddd 0px 0px 10px;
	--text-dark: #016160;
	--text-light: #459998;
}
html {
	height: 100dvh;
	width: 100dvw;
}
body {
	height: 100%;
	width: 100%;
}

.mainbodycontainer{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
}

.bodycontainer{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 16px;
}

.headerdiv{
	height: 56px;
    align-self: stretch;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
	position: relative;
	border-radius: 0px 0px 24px 0px;
	box-shadow: var(--shadow);
	gap: 16px;
}

#mainuidiv{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: start;
	align-items: start;
	max-height: 100%;
    align-self: stretch;
    overflow-y: auto;
	padding: 16px 24px;
	gap: 24px;
}

.devicediv{
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 300px;
	padding: 24px;
	border-radius: 8px 24px 8px 24px;
	background: var(--light-color);
	box-shadow: var(--shadow);
	align-items: center;
	justify-content: space-between;
	position: relative;
	max-width: 100%;
}

.devimagenamecontainer{
	display: flex;
	flex-direction: row;
	gap: 8px;
	width: 100%;
	align-items: center;
}

.deletebtn{
	background: #912c2c;
    color: #fff;
    font-size: 10px;
    border-radius: 8px;
    border: solid 1px var(--primary-color);
    height: 30px;
}

.editnamebtn{
	background: #444;
    color: #fff;
    font-size: 10px;
    border-radius: 8px;
    border: solid 1px var(--primary-color);
    height: 30px;
}

.twobuttonsdivright{
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-self: stretch;
}

.rssitxt{
	position: absolute;
	top: 8px; right: 8px;
}

h3{
	font-size: 14px;
    color: var(--text-dark);
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.headerdiv h1{
	max-width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.devicediv-on img{
	filter: drop-shadow(0px 0px 6px green);
}

.devicediv-off img{
	filter: drop-shadow(0px 0px 6px red);
}
.chart-period-selector-div svg:hover{
		cursor: pointer;
	}

	.chart-range-select-div div:hover{
		cursor: pointer;
	}
.chart-display-div{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 24px;
	width: 100%;
	box-sizing: border-box;
	gap: 5px;
}

.voltage-current-display-title-div h1{
	color: var(--text-dark);
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin: 0px;
}

.voltage-current-display-title-div h2{
	color: var(--text-dark);
	text-align: right;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin: 0px;
	margin-left: 4px;
}

.chart-right-sum-div{
	display:flex;
	flex-direction: row;
	align-items: center;
	justify-content: start;
}

.actual-chart-div{
	width: 100%;
	height: 180px;
}

.voltage-current-display-title-div{
	display:flex;
	flex-direction: row;
	justify-content: space-between;
}

.chart-period-selector-div h1{
	color: #878D8F;
	text-align: center;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	line-height: 10px; /* 100% */
	margin: 0px;
}

.chart-arrow-disabled{
	opacity: 0.4;
}

.chart-right-sum-div{
	display:flex;
	flex-direction: row;
	align-items: center;
	justify-content: start;
}

.chart-period-selector-div svg{
	height: 16px;
}

.chart-period-selector-div{
	display:flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-top: 3px;
}

.chart-range-select-div{
	display: flex;
	width: 100%;
	padding: 4px;
	align-items: flex-start;
	border-radius: 8px;
	background: var(--text-light);
	margin-top: 16px;
}

.chart-range-select-div h1{
	color: var(--text-dark);
	text-align: center;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin: 0px;
}

.chart-range-select-div div{
	display: flex;
	height: 32px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex: 1 0 0;
	border-radius: 4px;
}

.chart-range-selected{
	background:  var(--light-color);
}

.devicediv img:hover{
	cursor: pointer;	
}

.devicediv img{
	height: 60px;
	width: 60px;
}

.headerdiv img{
	height: 100%;
}

.adddevicon{
	color: var(--primary-color);
	position: absolute;
	left: 16px;
}

.logouticon{
	color: var(--primary-color);
	position: absolute;
	right: 16px;
}

.usersettingsicon{
	color: var(--primary-color);
	position: absolute;
	right: 56px;
}

.logouticon:hover, .adddevicon:hover, 
.usersettingsicon:hover{
	cursor: pointer;
	opacity: 0.8;
}

.msg-info-overlay{
	top: 0px;
	position: absolute;
	width: 100%;
	min-width: 310px;
	height: 100%;
	z-index: 30;
	background: rgba(0, 0, 0, 0.80);
	backdrop-filter: blur(5px);
	display:flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 24px;
	box-sizing: border-box;
}

.ota-confirm-div{	
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	border-radius: 24px;
	background: var(--light-color);
	box-shadow: var(--shadow);
	max-width: 342px;
	overflow: auto;
    max-height: 90%;
}

.ota-confirm-div h3, .awaitable-msg-div h3{
    margin: 0px;
    color: var(--text-dark);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
	text-align: center;
}

.delete-confirm-div-bottom{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	flex-direction: column;
}

.delete-confirm-div-bottom button{
	height: 40px;
	width: 100%;
	background: #676;
    color: #fff;
    font-size: 10px;
    border-radius: 8px;
    border: solid 1px var(--primary-color);
    height: 30px;
}

.ota-confirm-div h2, .awaitable-msg-div h2{
    margin: 0px;
    color: var(--text-light);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
	text-align: center;
}

.loginreg-div{
	width: 360px;
    max-width: 100%;
    min-height: 500px;
    max-height: 100%;
    background: var(--light-color);
    border-radius: 8px 40px;
    box-shadow: var(--shadow);
	padding: 24px 40px;
	
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	justify-content: start;
	overflow-y: auto;
	margin-right: 30%;
}

.loginreg-div img{
	height: 96px;
	width: 96px;
}

form{
	display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    justify-content: stretch;
}

.mainbutton{
	width: 100%;
    min-height: 40px;
    border-radius: 24px;
    border: none;
    background: var(--text-light);
    color: var(--light-color);
    font-size: 16px;
}

.regrofgdiv{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-self: stretch;
}

button:hover{
	cursor: pointer;
	opacity: 0.8;
}

h1{
	color: var(--text-dark);
	font-size: 24px;
}

h2{
	color: var(--text-light);
	font-size: 20px;
}

label{
	color: var(--text-dark);
	font-size: 20px;
}

input{
    padding: 10px 16px;
    border-radius: 24px;
    border: solid 1px var(--text-dark);
}

h1, h2, h3, h4, h5, h6, label, button {
	margin: 0px;
	padding: 0px;
	font-family: "Roboto Mono", monospace;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	text-align: center;
}

.loginreg-body{
	background: var(--primary-color);
}

@media (prefers-color-scheme: dark) {
}

@media (orientation: portrait) {
}

@media (orientation: landscape) {
}

@media (hover: hover) and (pointer: fine) {
	
}

@media only screen and (max-width: 800px){	
	#mainuidiv{
		flex-direction: column;
		align-items: center;
		flex-wrap: nowrap;
	}
	
	.loginreg-div {
		margin-right: 0px;
	}
}

@media only screen and (max-width: 430px){	
	.headerdiv h1{
		font-size: 14px;
	}
	
	
}