body {
	font-family: sans-serif;
	font-size: 15px;
	margin: 0px;
}
body.nis {
	overflow: auto;
}

body.nis #alerts {
	display: none;
}
body.nis #status {
	display: none;
}

#container {
	display: flex;
	flex-direction: column;
}
.farmcurrent {
}
.farmcrop {
	position: relative;
	box-sizing: border-box;
	clear: both;
}
.farmcrop-button {
	float: right;
	margin: 2px;
	width: 20px;
	height: 20px;
	background: #888;
}
.farmcrop-button:hover {
	background-position: 0px -20px;
}
.farmcrop-remove {
	background: url("removebutton.png");
}
.farmcrop-reset {
	background: url("resetbutton.png");
}
.farmcrop-name {
}
.farmcrop-bar {
	height: 5px;
	border: 1px solid #000;
	position: relative;
	margin-right: 50px;
}
.farmcrop-barsep {
	width: 1px;
	height: 100%;
	background: #000;
	position: absolute;
}
.farmcrop-barinner {
	background: #888;
	height: 100%;
	position: absolute;
}
.farminput {
	width: 100%;
	box-sizing: border-box;
}
.farmoutput {
	height: 120px;
	overflow-y: scroll;
	background: rgba(0, 0, 0, 0.3);
	border: solid #514949;
	padding: 2px;
	border-width: 0px 1px 1px;
}
.farmoutputheader {
	text-align: center;
	background: linear-gradient(to right, rgba(128, 128, 128, 0), rgba(128, 128, 128, 0.2), rgba(128, 128, 128, 0));
}
.farmoutputentry {
	cursor: default;
}

.cb-group {
	padding: 0px 5px;
	margin: 4px;
	border-radius: 5px;
	background: #3b3b3e;
}
.cb-group.collapsed {
	border-bottom: 1px solid rgba(0, 0, 0, 0.6);
}
.cb-titlebar {
	display: flex;
	white-space: nowrap;
}
.cb-title {
	display: block;
	font-size: 110%;
	cursor: default;
	line-height: 30px;
	flex: 1;
	min-width: 0px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cb-all {
	float: right;
	cursor: pointer;
	width: 20px;
	height: 20px;
	margin: 4px 2px;
}
.cb-all.checked {
	background-position: 0px -20px;
}
.cb-all.intermediate {
	background-position: 0px -40px;
}
.cb-collapse {
	width: 20px;
	height: 20px;
	background: url(expandbutton.png);
	float: left;
	margin-right: 3px;
	transition: transform 0.1s;
	margin-top: -3px;
	cursor: pointer;
}
.cb-group.collapsed .cb-collapse {
	background-position: 0px -20px;
	transform: rotate(-90deg);
}
.cb-group.collapsed .cb-sub {
	display: none;
}
.cb-sub {
	clear: both;
	background: var(--nis-col-backsub);
	padding: 5px;
	color: var(--nis-col-std);
}
.cb-sub > label {
	padding: 2px 0px;
}
.cb-descr {
	margin: 6px 0px;
}
.cb-cb {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cb-multicolum {
	column-count: 2;
}
.cb-state {
	float: right;
	font-size: 120%;
	font-weight: bold;
	flex: 0 0 auto;
	line-height: 30px;
	cursor: default;
}
.cb-toolbar {
	background: url("toolbar.png");
}
.cb-alert {
	background: url("alert.png");
}
.cb-settingsclose {
	width: 20px;
	height: 20px;
	cursor: pointer;
	float: right;
	background: url("closebutton.png") left top/100% 200%;
}
.cb-settingsclose:hover {
	background-position: bottom;
}

.cb-settings {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background: url("/nis/alt1-currentskin/background.png");
}
.cb-settingstitle {
	text-align: center;
	font-size: 120%;
	margin: 3px 0px;
	font-weight: bold;
}

.perm-root {
	position: fixed;
	top: 10px;
	left: 30px;
	right: 30px;
	background: #ccc;
	padding: 5px;
	border: 1px solid #555;
	color: #000;
}
.perm-close {
	float: right;
	width: 16px;
	height: 16px;
	cursor: pointer;
	background: #888;
}
