/*** ICE2 table ***/
#ice2-table {
	min-width: 1220px;
	max-width: 1400px;
	padding: 20px;
	margin: auto;
}

.ice2-table-row {
	display: flex;
	justify-content: flex-end;
}

.ice2-table-cell {
	padding: 5px;
}

.ice2-table-row.thead .ice2-table-cell {
	text-align: center;
}

.ice2-table-row.thead .ice2-table-cell.col-id {
	text-align: left;
	margin-left: 42px;
}

.ice2-table-row.tbody .ice2-table-cell {
	height: 49px;
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
}

.ice2-table-row:nth-last-child(2) .ice2-table-cell {
	border-bottom: 1px solid #ddd;
}

.ice2-table-row:nth-last-child(1) .ice2-table-cell {
	border: none;
}

.ice2-table-cell, .ice2-table-cell * {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ice2-table-cell.heading {
	letter-spacing: 4px;
	font-size: 80%;
}

/* ICE2 table, ID Cell */
.col-id {
	min-width: 140px;
	flex-grow: 1;
}

.ice2-table-cell.col-id .name {
	font-size: 120%;
}

.ice2-table-cell.col-id .kind, .ice2-table-cell.col-id .sn {
	font-size: 80%;
	color: #999;
}

.ice2-table-cell.col-id .kind {
	padding-top: 1px;
}

.ice2-table-cell.col-id .kind.bad {
	color: #b22;
	background: no-repeat left/16px url("/img/warning.png");
	padding-left: 20px;
}

/* ICE2 table, singlestat cell */
.ice2-singlestat {
	line-height: 40px;
	text-align: right;
}

.ice2-singlestat .value {
	font-size: 150%;
}

.ice2-table-cell.bad .value {
	color: #900;
}

.ice2-singlestat i {
	width: 16px;
}

/* ICE2 table, temperature cell CELL TEMPERATURE & CO2 */
.col-temp {
	width: 100px;
}

.col-rh {
	width: 100px;
}

/* ICE2 table, CO2 cell */
.col-co2 {
	width: 130px;
}

/* ICE2 table, alarm cell */
.col-alarm {
	border-top: none !important;
	border-bottom: none !important;
	width: 42px;
	color: #900;
	text-align: right;
	opacity: 0.5;
	transition: opacity 0.2s;
}

.col-alarm.visible {
	cursor: pointer;
	background: no-repeat left/28px url("/img/warning.png");
}

.col-alarm.visible:hover {
	opacity: 1.0;
}

/* ICE2 table, status cell */
.col-stat {
	width: 110px;
}

.ice2-table-row.tbody .col-stat {
	text-align: center;
}

.ice2-table-row.tbody .col-stat:not(.two-row) {
	line-height: 40px;
}

.col-stat .stat-aux {
	display: none;
}

.col-stat .stat-aux .pump {
	color: #f00;
}

.col-stat.two-row .stat-aux {
	display: block;
}

/* ICE2 table, controls cell */
.col-ctl {
	width: 380px;
}

.ctl-adm, .ctl-pwr, .ctl-cfg {
	width: 50px;
}

.ctl-pwr-all {
	width: calc(100px + 0.25em);
}

.ctl-fan, .ctl-heat {
	width: 90px;
}

.col-ctl > * {
	line-height: normal;
	padding: 4px;
}

.col-ctl .ctl-prefix {
	font-size: 60%;
}

.col-ctl .label, .col-ctl i {
	font-size: 90%;
	margin-top: 0;
}

.admin-count {
	color: #888;
}

main .logo {
	position: absolute;
	top: 32px;
	right: 32px;
	width: 128px;
}
