.page.autoSize.halPage {
	padding-right: 95px;
}

.lineLegend p {
	line-height: 18px;
	margin-bottom: 0px;
}

.lineLegend p:first-child {
	margin-top: 1px;
}

.lineLegend p:last-child {
	margin-bottom: 10px;
}

#halContainer {
	width: 75%;
	min-height: 140px;
	position: relative;
	visibility: hidden;
	margin-top: 4px;
}

.calculatedContainer {
	display: none;
}

#hal {
	width: 100%;
	height: 100%;
	cursor: pointer;
}

#bigHalDim {
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 2;
	top: 0;
	left: 0;
}

#bigHalContainer {
	margin: auto;
  	position: absolute;
	width: 380px;
	height: 250px;
	top: 0; left: 0; bottom: 0; right: 0;
	transform: scale(1.5, 1.5);
	cursor: pointer;
}

#bigHal {
	width: 100%;
	height: 100%;
}

.fullScreenButton {
	width: 32px;
	height: 15px;
	position: absolute;
	bottom: 4px;
	right: 0px;
	color: white;
	text-align: center;
	line-height: 15px;
	background-color: rgba(84, 110, 85, 0.8);		
	cursor: pointer;
}

.fullScreenButton .text {
	font-size: 35px;
	margin-top: -4px;
	height: 15px;
	line-height: 0px;
	vertical-align: top;
	display: inline-block;
}

.fullScreenButton .text:before {
	content: "...";
}
.horizontal {
	position: absolute;
	margin-left: 110px;
	bottom: -4px;
}

.static .horizontal {
	bottom: 10px;
}

.vertical {
	position: absolute;
	margin-left: 360px;
	bottom: 12px;
}

.static .vertical {
	bottom: 25px;
}

.static {
	width: 380px;
	height: 250px;
}

.static #halStatic {
	width: 100%;
	height: 100%;
}

.legend {
	position: absolute;
	right: 0px;
	font-size: 12px;
	height: 166px;
}

.bigLegend.legend {
	height: 250px;
}

.legendRowContainer {
	height: 120px;
	position: absolute;
	top: 40%;
	margin-top: -60px;
	right: -59px;
}

.bigLegend .legendRowContainer {
	background-color: white;
	padding: 10px;
	right: -79px;
}

.static .legendRowContainer {
	height: 75px;
	margin-top: -37px;
	
}

.legendRow {
	height: 30px;
	line-height: 30px;
	margin-bottom: 15px;
}

.legendRow:last-child {
	margin-bottom: 0;
}

.legendColor {
	display: inline-block;
	width: 10px;
	height: 100%;
}

.legendText {
	height: 100%;
	display: inline-block;
	line-height: 30px;
	vertical-align: top;
	margin-left: 1px;
}

.h_d .legendColor {
	background-color: #f4bf3b;
}

.q .legendColor {
	background-color: #cd4237;
}

.w .legendColor {
	background-color: #546e55;
}

.static {
	position: relative;
}

.static.vertical {
	margin-left: 380px;
}