.consumption {
	/*background: #838383;*/
}

.consumption .toolbar {
	padding-left: 3px;
	border-bottom: 1px solid black;
	background: #bcc7d8;
	white-space: nowrap;
	overflow: hidden;
}

.consumption .toolbar > * + * {
	margin-left: 5px;
}

.consumption .toolbar .icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	padding: 4px;
	margin-top: 4px;
	background: center no-repeat;
	vertical-align: top;
}

.consumption .toolbar .refresh {
	background-image: url('../img/consumption/refresh.png');
}

.consumption .toolbar .configure {
	background-image: url('../img/lightscene/LightScene_Configure_32x32.png');
}


.consumption .toolbar .hidelist {
	background-image: url('../img/consumption/chevron_left.png');
}

.consumption .toolbar .hidelist.hidden {
	background-image: url('../img/consumption/chevron_right.png');
}

.consumption .toolbar select,
.consumption .toolbar input {
	border: 2px solid #abbadc;
	border-radius: 5px;
	height: 36px;
	padding: 0;
	margin-top: 2px;
	padding-left: 3px;
	background: white;
}

.consumption .toolbar input {
	margin-top: 4px;
	height: 32px;
}

.consumption .toolbar select {
	-webkit-appearance: listbox;
}

.consumption .toolbar select.preset {
	width: 146px;
}

.consumption .toolbar select.calc {
	width: 221px;
}

.consumption .toolbar select.chart {
	width: 116px;
}

.consumption .toolbar input.date {
	width: 216px;
}

.consumption_editor {
	position: absolute;
	background: #757575;
	border: 1px solid #484848;
	padding: 6px;
	text-shadow: none;
	font-family: Arial, sans-serif;
	font-size: 14px;
}

.consumption_editor .titlebar {
	color: white;
	line-height: 22px;
}

.consumption_editor .titlebar .cross {
	position: absolute;
	width: 28px;
	height: 28px;
	background: url('../img/consumption/cross.png') no-repeat center;
	right: 7px;
	top: 0;
}

.consumption_editor .inner {
	border: 1px solid #484848;
	background: #838383;
}

.consumption_editor .toolbar {
	height: 40px;
	background: url('../img/consumption/bogus_bar.png') no-repeat 0 0;
}

.consumption_editor .bottombar {
	padding: 12px;
	height: 20px;
	text-align: right;
}

.consumption_editor .bottombar button {
	min-width: 65px;
}

.consumption_editor table {
	border-collapse: collapse;
	line-height: 16px;
	font-size: 11px;
}

.consumption_editor .table-wrapper {
	background: white;
	overflow: auto;
}

.consumption_editor thead td {
	background: #707070;
	color: white;
	border: 1px solid #484848;
	white-space: nowrap;
	padding: 3px;
}

.consumption_editor tbody td {
	border: 1px solid #d2d2d2;
	white-space: nowrap;
	padding: 0;
	padding: 3px;
}

.consumption_editor tbody td.nopadding {
	padding: 0;
}

.consumption_editor tbody tr.selected td {
	background: #f8e695;
}

.consumption_editor .color-square {
	width: 14px;
	height: 14px;
	display: inline-block;
	border: 1px solid #c5c5c5;
	vertical-align: top;
	margin-right: 5px;
}

.consumption_editor td[data-column="Select"] {
	min-width: 10px;
	background: #707070 !important;
	border: 1px solid #484848;
}

.consumption_editor tr.selected td[data-column="Select"]:after {
	content: '\25B6';
	color: #dcdcdc;
}

.consumption_editor td[data-column="Expander"],
.consumption_editor td[data-column="Spacer"] {
	min-width: 15px;
	border: none;
	text-align: center;
	background: none !important;
}

.consumption_editor td[data-column="Expander"].open:after {
	content: '\25BC';
}

.consumption_editor td[data-column="Expander"].closed:after {
	content: '\25B6';
}

.consumption_editor td[data-column="Name"] {
	min-width: 154px;
	border-right-style: double;
	border-right-width: 3px;
}

.consumption_editor td[data-column="Color"] {
	min-width: 93px;
}

.consumption_editor td[data-column="UserName"] {
	min-width: 114px;
}

.consumption_editor td[data-column="Email"] {
	min-width: 114px;
}

.consumption_editor input[type="text"],
.consumption_editor input[type="number"]{
	padding: 3px;
	border: none;
	font-size: inherit;
	color: inherit;
	background: transparent;
	width: auto;
}

.consumption_editor input[type="text"].focus,
.consumption_editor input[type="number"].focus {
	background: #fdf6db;
}

.consumption .inner {
	position: relative;
	/*margin-right: 5px;*/
}

.consumption.bright > .inner {
	background: white;
}

.consumption .channels {
	position: absolute;
	left: 0;
	background: white;
	height: 100%;
	width: 30%;
	font-family: Arial, sans-serif;
	font-size: 14px;
	/*border: 1px solid black;*/
	border-bottom: 1px solid black;
	text-shadow: none;
}

.consumption .settings {
	position: absolute;
	right: 0;
	background: #bcc7d8; /*white;*/
	height: 100%;
	width: 30%;
	font-family: Arial, sans-serif;
	font-size: 14px;
	/*border: 1px solid black;*/
	/*border-bottom: 1px solid black;*/
	text-shadow: none;
	overflow: auto;
}

.consumption .settings .inner {
	padding: 5px;
}

.consumption .settings fieldset {
	border: 1px solid black;
	padding: 5px;
}

.consumption .settings fieldset + fieldset {
	margin-top: 5px;
}

.consumption .settings table {
	width: 100%;
}

.consumption .settings select {
	width: 90%;
}

.consumption .settings td + td {
	text-align: right;
}

.consumption .settings input[type="text"],
.consumption .settings input[type="number"]{
	width: 90%;
}

.consumption .plotarea {
	position: absolute;
	right: 30%;
	/*background: #838383;*/
	background: #555;
	height: 100%;
	/*width: 70%;*/
	width: 40%;
	text-shadow: none;
}

.consumption.bright .plotarea {
	background: white;
}

.consumption .plotarea .stagewrapper {
	position: absolute;
    top: 2px;
	left: 2px;
    width: 100%;
	/*padding: 0 10px;*/
}

.consumption .plotarea .stage {
	/*margin: 0 10px;*/
}

.consumption .list-hidden .channels {
	display: none;
}

.consumption .settings-hidden .settings {
	display: none;
}

.consumption .settings-hidden .plotarea {
	right: 0;
}

.consumption .list-hidden .plotarea,
.consumption .settings-hidden .plotarea {
	width: 70%;
}

.consumption .list-hidden.settings-hidden .plotarea {
	width: 100%;
}

.consumption .channels ul {
	margin: 0;
	padding-top: 10px;
	padding-left: 20px;
}

.consumption .channels ul ul {
	padding-top: 0;
	/*padding-left: 20px;*/
}

.consumption .channels li {
	list-style: none;
	line-height: 35px;
	border-top: 1px solid #d0d0d0;
}

.consumption .channels li.selected > .entry {
	background: #3399ff;
}

.consumption .channels .collapsed ul {
	display: none;
}

.consumption .channels .entry .cbwrap {
	width: 35px;
	/*height: 35px;*/
	/*background: #eef5ff;*/
	display: inline-block;
	text-align: center;
}

.consumption .channels .entry input {
	/*margin-right: 5px;*/
	margin: 0;
	/*
	width: 30px;
	height: 30px;
	vertical-align: middle;
	*/
}

.consumption .channels .entry .right {
	padding-right: 3px;
	float: right;
}

.consumption .channels .entry .costs {
	display: none;
}

.consumption .channels.cost .entry .amount {
	display: none;
}

.consumption .channels.cost .entry .costs {
	display: inline;
}

.consumption .channels .entry .color-square {
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	margin-left: 5px;
}

.consumption .channels .inner {
	height: 100%;
	border-left: 1px solid black;
	border-right: 1px solid black;
	overflow-y: auto;
}

.consumption .plotarea .buttons {
	height: 40px;
	text-align: center;
	line-height: 50px;
	color: white;
	font-family: Arial, sans-serif;
}

.consumption .plotarea .buttons button {
	margin-top: 10px;
	height: 20px;
	line-height: 100%;
}

.consumption .plotarea button.active {
	box-shadow: 0 0 4px yellow;
}

.daterange-picker {
	background: white;
	position: absolute;
	padding: 5px;
	border: 2px solid #abbadc;
	font-family: Arial, sans-serif;
	white-space: nowrap;
}

.daterange-picker > .calendar {
	display: inline-block;
}

.daterange-picker > .calendar  + .calendar {
	margin-left: 3px;
}

.daterange-picker .title {
	padding-bottom: 5px;
}

.daterange-picker .bottombar {
	text-align: right;
	padding-top: 20px;
}

.ui-datepicker { font-size: 9pt !important; }

.clickshield {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0,0,0,0.5);
}