body {
	font-family: sans-serif;
}

input {
    margin: 10px;
    min-width: 200px;
    padding-left: 10px;
    border-radius: 3px;
    border: solid 1px #AAA;
}

input[type="button"] {
}

input[type="submit"] {
	margin: 10px;
	min-width: 200px;
	padding: 10px;
}


.page_controls {
	width: 125px;
}

.nav_button {
	max-width: 100px;
	min-width: 50px;
	cursor: pointer;
	background: #EEE;
	border: solid 1px;
	text-align: center;
}

select {
	min-width: 200px;
	padding: 10px;
	margin-right: 20px;
}

table {
	width: 100%;
}

th {
	background: #AAA;
	padding: 10px;
	border-radius: 5px;
}

.toggle_button_off {
    background: #AAA;
}

.toggle_button_on {
    background: #AFA;
}

.device_grid {
    margin: 10px;
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 10px;
}

.device_card {
    border: solid 1px #AAA;
    border-radius: 3px;
    min-height: 50px;
    grid-auto-columns: 50px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.device_card_title {
    font-weight: bold;
}

.device_card_title_active {
    background: #AFA;
}

.device_card_last_report {
    font-style: italic;
    text-align: center;
}

.device_card_description {
    min-height: 20px;
    background: cornsilk;
}

.device_details {
}

.device_name {
    font-size: 2em;
    font-weight: bold;
}

.device_last_entry {
    font-style: italic;
    font-size: .75em;
}

.device_description {
    width: 50%;
    background: cornsilk;
    min-height: 100px;
    padding: 10px;
    border-radius: 10px;
}

.device_data {
    height: 600px;
}

.menu_bar a {
	font-weight: bold;
	text-decoration: none;
	max-width: 100px;
    border: solid 1px #AAA;
	display: block;
	margin: 0px;
	padding: 10px;
	border-radius: 5px;
	color: #000;
    float: left;
}

.menu_bar a:visited {
	color: #000;
}

#filter_bar {
	float: left;
	width: 25%;
	border-right: solid 1px #CCC;
	min-height: 500px;
}

#device_list {
	float:right;
	width: 73%;
}
