.linesv3-columns-container {
	position: absolute; left: 30px; right: 0; top: 0;
	background: white; border: 1px solid #c6c6c6;
}
.linesv3-column { float: left; margin-left: 1px; }
.linesv3-column:first-child { margin-left: 0; }
.linesv3-bricks { 
	float: left; height: 100%; position: relative;
	width: 100%; 
}
.linesv3-brick, .linesv3-brick-label {
	position: absolute; left: 0;
	width: 100%;
}
.linesv3-brick { 
	position: absolute; left: 0;
	width: 100%; overflow: hidden;
}
.linesv3-brick > span {
	border: 1000px solid red; 
	border-color: inherit;
	/*position: absolute; left: 0; top: 0; display: block; height: 1px; opacit1y: .2;*/
}
.linesv3-brick-label {
	display: block; 
	text-align: center;
	font: normal 10px/12px Arial; color: white;
}
.linesv3-brick-label-light-bg { color: black; }

.linesv3-nums-container {
	position: absolute; left: 0; top: 0;
	width: 26px; 
}
.linesv3-num, .linesv3-line { position: absolute; right: 0; }
.linesv3-num { position: absolute; right: 3px; font: normal 11px/13px Arial; color: #666666; }
.linesv3-line { left: -4px; height: 1px; background: transparent url(//fom.ru/vis/charts/v3/linesv3-dotted.png) left top repeat; }
.linesv3-num-1, .linesv3-line-1 { top: 5px; }
.linesv3-num-2, .linesv3-line-2 { top: 25%; }
.linesv3-num-3, .linesv3-line-3 { top: 50%; }
.linesv3-num-4, .linesv3-line-4 { top: 75%; }
.linesv3-num-5, .linesv3-line-5 { top: 100%; }
.linesv3-num > span {
	display: block; height: 20px;
	position: relative; top: -7px;
}

.linesv3-column-titles-container { 
	overflow: hidden; padding-left: 30px; 
	font: normal 10px/12px Arial,Tahoma,Verdana,sans-serif; color: #666;
}
.linesv3-column-title { 
	float: left; margin-left: 1px; position: relative;
}
.linesv3-column-title:before {
	content: " "; display: block; width: 100%; height: 4px;
	position: absolute; left: -1px; top: 0;
	border-left: 1px solid #c8c8c8; border-top: 1px solid #c8c8c8;
}
.linesv3-column-title > span {
	display: block; padding-top: 8px;
	position: relative; left: -2px;
}


.linesv3-bar-legend .html-bar-legend-item, .linesv3-bar-legend .html-bar-legend-item:hover, .linesv3-bar-legend .html-bar-legend-item b { color: #3E576F; cursor: default; }
.linesv3-column-titles-v .linesv3-column-title { padding-bottom: 10px; }
.linesv3-column-titles-v .linesv3-column-title > span {
	text-align: right; padding-top: 4px; display: inline-block; 
}
.linesv3-column-titles-v .linesv3-column-title > span  > span {
	display: inline-block; 
	text-align: right;
	position: relative; left: -100%; top: 3px;
	-o-transform: rotate(-90deg);
	-o-transform-origin: right top;
	-webkit-transform: rotate(-90deg);
	-webkit-transform-origin: right top;
	-moz-transform: rotate(-90deg);
	-moz-transform-origin: right top;
	-ms-transform: rotate(-90deg);
	-ms-transform-origin: right top;
	transform: rotate(-90deg);
	transform-origin: right top;
}

.ie8 .linesv3-column-titles-v .linesv3-column-title > span  > span {
	left: 0; font-size: 12px;
	background: white; padding-bottom: 3px;
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=3.061515884555943e-16, M12=1, M21=-1, M22=3.061515884555943e-16, SizingMethod='auto expand'), progid:DXImageTransform.Microsoft.Chroma(Color='#ffffff');
}

.html-bar-legend-item { display: inline-block; padding: 0 10px; color: #3E576F; cursor: pointer; }
.html-bar-legend-item > div { 
	float: left; width: 16px; height: 12px; 
	border-radius: 2px; -moz-border-radius: 2px; margin-top: 3px; 
	position: relative;
}
.html-bar-legend-item > div i {
	display: block; width: 1px; height: 1px;
	position: absolute; background: white;
}
.html-bar-legend-item > div > i { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90); }
.html-bar-legend-item > div > i > i { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40); }
.html-bar-legend-item > div > i.lt > i.v, .html-bar-legend-item > div > i.rt > i.v { top: 1px; }
.html-bar-legend-item > div > i.lb > i.v, .html-bar-legend-item > div > i.rb > i.v { top: -1px; }
.html-bar-legend-item > div > i.lt > i.h, .html-bar-legend-item > div > i.lb > i.h { left: 1px; }
.html-bar-legend-item > div > i.rt > i.h, .html-bar-legend-item > div > i.rb > i.h { left: -1px; }
.html-bar-legend-item > div i.lt { left: 0; top: 0; }
.html-bar-legend-item > div i.rt { right: 0; top: 0; }
.html-bar-legend-item > div i.lb { left: 0; bottom: 0; }
.html-bar-legend-item > div i.rb { right: 0; bottom: 0; }
.html-bar-legend-item > b { 
	display: inline-block; padding-left: 5px; 
	font-weight: normal; font-size: 13px; line-height: 15px; 
	cursor: pointer;
}
.html-bar-legend-item-hidden > div { background: #c0c0c0 !important; }
.html-bar-legend-item-hidden { color: #c0c0c0; }
.html-bar-legend-item:hover { color: black; }

.html-bar-legend { 
	text-align: left; padding-left: 0; padding-bottom: 10px;
}
.html-bar-legend-item { padding-left: 0; padding-right: 20px; }
.html-bar-legend-item > div { width: 26px; height: 9px; margin-top: 6px; }
.html-bar-legend-item > b { padding-left: 9px; font-size: 11px; }


.html-bar-legend { 
	margin-top: 10px; margin-bottom: 4px; margin-left: 5px; padding-top: 10px; padding-bottom: 3px;
	background: transparent url("linesv3-dotted.png") left top repeat-x;
}
.linesv3-bar-legend, .html-bar-legend.linesv3-bar-legend { 
	clear: both;
	padding-left: 0; 
	color: #4C4C4C; font: 15px/17px Arial,Tahoma,Verdana,sans-serif; 
	background: transparent url(//fom.ru/vis/charts/v3/linesv3-dotted.png) left top repeat-x;
}
.linesv3-bar-legend .html-bar-legend-item > div { margin-top: 6px; }
