.plotter {
	text-shadow: none;
}

.plotter_tabs {
	padding:0;
	margin:0;
	height: 27px;
	position: relative;
	z-index: 1;
}

.plotter_tabs li {
	font-family: Arial, sans-serif;
	font-size: 12px;
	list-style: none;
	display:inline-block;
	border: 1px solid lightgray;
	border-bottom: none;
	text-align: center;
	min-width: 60px;
	padding: 3px 10px;
	/*margin-bottom: -1px;*/
	position: relative;
	/*z-index: 1;*/
	background: white;
	bottom:-5px;
}

.plotter_tabs li.active {
	/*border-bottom-color: transparent;*/
	bottom:-2px;
	/*margin-bottom: -1px;*/
	padding-bottom: 8px;
}

.plotter .pane {
	background: white;
	border: 1px solid lightgray;
	position: relative;
	display: none;
}

.plotter .pane.show-yaxis-label {
	padding-left: 20px;
}

.plotter .pane.show-xaxis-label {
	padding-bottom: 20px;
}

.plotter .title {
	font-size: 20px;
	line-height: 25px;
	text-align: center;
	display: none;
}

.plotter .label-y-axis {
	position: absolute;
	left: 0;
	top: 50%;
	-webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
	-webkit-transform-origin: 12px 50%;
    transform-origin: 12px 50%;
	display: none;
	font-weight: bold;
}

.plotter .label-x-axis {
	bottom: 0;
	left: 0;
	width: 100%;
	position: absolute;
	text-align: center;
	display: none;
	font-weight: bold;
}

.plotter .pane.show-xaxis-label .label-x-axis,
.plotter .pane.show-yaxis-label .label-y-axis,
.plotter .pane.show-title .title {
	display: block;
}

.plotter.live .pane.plotter_live,
.plotter.channels .pane.plotter_channels,
.plotter.archive .pane.plotter_archive,
.plotter.config .pane.plotter_config {
	display: block;
}

.plotter label.follow {
	white-space: nowrap;
	position: absolute;
	top: 0;
	right: 0;
	width: 100px;
	line-height: 36px;
	display: none;
}

.plotter.live label.follow {
	display: block;
}

.channel_wrap {
	padding: 10px;
}

.plotter_channels table {
	width: 100%;
	word-break: break-all;
}

.plotarea {
	overflow: hidden;
	background: white;
}

body.zooming .plotarea canvas {
	display: none;
}

.flot-escape {
	display: none;
	position: absolute;
	box-sizing: border-box;
	/*background: rgba(255,255,0,0.3);*/
}

.flot-escape canvas {
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
}
/*
body.zooming .flot-escape {
	display: block;
}
*/
.plotter_controls {
	padding: 0 10px;
	height: 36px;
}

.plotter_archive .plotter_controls {
	padding-top: 10px;
	padding-bottom: 10px;
}

.plotter_controls > * {
	width: 32px;
	height: 32px;
	display: inline-block;
	background: no-repeat center;
	/*padding: 5px 8px;*/
	padding: 5px 5px;
}

.plotter_controls .zoom_in {
	background-image: url('../img/plotter/icon_zoom_in.png');
}

.plotter_controls .zoom_out {
	background-image: url('../img/plotter/icon_zoom_out.png');
}

.plotter_controls .left {
	background-image: url('../img/plotter/icon_left.png');
}

.plotter_controls .right {
	background-image: url('../img/plotter/icon_right.png');
}

.plotter_controls .up {
	background-image: url('../img/plotter/icon_up.png');
}

.plotter_controls .down {
	background-image: url('../img/plotter/icon_down.png');
}

.plotter_controls .expand {
	background-image: url('../img/plotter/icon_expand.png');
}

.plotter_controls .expand.on {
	background-image: url('../img/plotter/icon_expand_on.png');
}

.archive_controls {
	position: absolute;
    /*right: 10px;*/
    top: 0;
	/*height: 64px;*/
	/*padding-right: 40px;*/
	pointer-events: none;
	box-sizing: border-box;
	padding-left: 340px;
	width: 100%;
	right: 0;
	padding-right: 50px;
}

.archive_controls label {
/*	width: 64px;
	display: inline-block;*/
	margin-right: 5px;
	/*overflow: hidden;*/
}

.archive_controls input {
	width: 100px;
	height: 25px;
	margin: 0;
	padding: 0;
	pointer-events: auto;
}

.archive_controls .row {
	display: inline-block;
	/*height: 25px;*/
	/*line-height: 25px;*/
	/*padding-right: 40px;*/
	/*vertical-align: middle;*/
}

.archive_controls .row + .row {
	/*margin-top: 5px;*/
	margin-left: 10px;
}

.archive_controls .go {
	position: absolute;
	right: 0;
	/*top: 15px;*/
	top: 50%;
	margin-top: -16px;
	width: 32px;
	height: 32px;
	background: url('../img/plotter/icon_go.png') no-repeat center;
	pointer-events: auto;
	margin-right: 10px;
}

.archive_controls .cell {
	display: table-cell;
    height: 55px;
    text-align: right;
    vertical-align: middle;
    width: 250px;
}

.plotter_config .wrapper {
	padding: 10px;
}

.pane.plotter_config,
.pane.plotter_channels {
	overflow-y: auto;
}

.pane.plotter_config fieldset {
	border-width: 1px;
	padding: 10px;
}

.pane.plotter_config label.auto input {
	vertical-align: middle;
}

.chart-type {
	display: inline-block;
	width: 32px;
	height: 32px;
	/*border: 1px solid black;*/
}

.chart-type.selected {
	box-shadow: 0 0 10px skyblue;
}

.chart-type + .chart-type {
	margin-left: 10px;
}

.chart-type.bar {
	background-image: url('../img/plotter/chart_bar.png');
}

.chart-type.line {
	background-image: url('../img/plotter/chart_line.png');
}

.chart-type.point {
	background-image: url('../img/plotter/chart_point.png');
}

.chart-type.area {
	background-image: url('../img/plotter/chart_area.png');
}

.plotter.bright .plotarea {
	background: lightgray;
}

.chart-type.bright {
	background-image: url('../img/plotter/sun.png');
}

.chart-type.dark {
	background-image: url('../img/plotter/half_moon.png');
}

.plotter.bright .plotarea {
	background: #eee;
}

.plotter.dark .plotarea {
	background: #444;
}

.plotter.dark {
	color: white;
}

.plotter.bright .pane {
	background: #eee;
	border-color: #333;
}

.plotter.bright fieldset {
	border-color: #333;
}

.plotter.dark .pane {
	background: #444;
}

.plotter.bright .plotter_tabs li {
	background: #eee;
	border-color: #333;
}

.plotter.dark .plotter_tabs li {
	background: #444;
}

.plotter button.apply {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 100px;
	height: 45px;
}