@charset "UTF-8";
body, p, hr, h1, h2, h3, h4, h5, h6, ul, ol {
	margin: 0; padding: 0;
}
body {
	font-family: sans-serif;
	font-size: 10pt;
}
h1, h2, h3 {
	font-weight: normal;
}
a {
	color: #1386dd;
}
	a:hover {
		color: #8813dd;
	}
.centercenter {
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.message {
	background-color: #41c7f4;
	color: #fff;
	font-weight: bold;
	padding: 3px;
	box-sizing: border-box;
}

#header {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	background-color: #eee;
	box-sizing: border-box;
	padding: 15px 25px;
	color: #222;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

#mainwrap {
	box-sizing: border-box;
	width: 100%;
}

#main {
	padding: 5px 25px;
	box-sizing: border-box;
	width: 100%;
	max-width: 500px;
}
	.add_monitor .actionButton {
		display: flex;
		justify-content: center;
		align-items: center;
		background-color: #ccc;
		width: 50px;
		height: 50px;
		border-radius: 50%;
		margin-left: 160px;
		box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
	}
		.add_monitor .actionButton:hover {
			background-color: #bbb;
		}

#loading {
	padding: 0 15px;
	box-sizing: border-box;
	display: none;
}

#logoutButton {
	flex-grow: 1;
	display: flex;
	justify-content: flex-end;
}

#popover {
	display: none;
	min-width: 300px;
	z-index: 1000;
	position: absolute;
	top:0;
	left:0;
	box-sizing: border-box;
	margin: 15px;
	border: 3px solid #ddd;
	border-radius: 12px;
	box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
	background-color: rgba(255, 255, 255, 0.9);
}
	.popover-contents {
		box-sizing: border-box;
		padding: 28px;
	}
	.popover-contents #cancelButton {
		text-align: right;
		cursor: pointer;
		float: right;
	}
#monitors {
	display: flex;
	flex-direction: column;
}
.monitor {
	box-sizing: border-box;
	margin: 12px 0;
	max-width: 200px;
	font-family: monospace;
	font-size: 11pt;
}
	.monitor svg {
		width: 14px;
		height: 14px;
	}
	.monitor .title {
		font-weight: bold;
	}
		.monitor .title .label a {
			text-decoration: none;
		}
		.monitor .title .data a {
			text-decoration: none;
		}
	.monitor .info {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		border-bottom: 1px solid #ccc;
	}
	.monitor .data.negative_number {
		color: #c40505;
	}

#loginform {
	display: block;
	box-sizing: border-box;
	padding: 28px;
	border: 3px solid #ddd;
	border-radius: 12px;
	box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
}
	#loginform h1, h2 {
		margin-bottom: 12px;
	}
	#loginform .fieldspace,
	.popover-contents .fieldspace {
		width: 100%;
		box-sizing: border-box;
		display: flex;
		justify-content: space-between;
		height: 28px;
		margin: 4px 0;
	}
		#loginform .fieldspace label,
		.popover-contents .fieldspace label {
			width: 40%;
			line-height: 28px;
			text-align: right;
			box-sizing: border-box;
			padding-right: 5px;
		}
		#loginform .fieldspace input,
		.popover-contents .fieldspace input,
		.popover-contents .fieldspace select {
			width: 60%;
			box-sizing: border-box;
		}
		#loginform .fieldspace input[type="submit"],
		.popover-contents .fieldspace input[type="submit"] {
			width: 30%;
		}
