.legend {
	list-style: none;
	padding: 0px;
	margin: auto;
	cursor: pointer;
	display: inline-flex;
}

span.closeItems {
	font-weight: bold;
}

div.closeItems {
	color: black;
	text-decoration: underline;
}

.legend div {
	float: left;
	/*margin-right: 10px;*/
	display: inline;
}

.legend span {
	float: left;
	min-height: 12px;
	width: 45px;
	text-align: center;
	border-radius: 2px;
	display: inline-table;
	color: #fff;
}

.legendTable {
	margin: auto;
}

.legendTable td {
	text-align: left;
	padding: 0px 5px;
}

.pieChart {
	display: none;
	min-width: 500px;
	max-width: 630px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.floatL {
	float: left;
}

.floatR {
	float: right;
}

#resultArea {
	clear: both;
	text-align: center;
	display: none;
	width: 100%;
}

/*cost time toggle button*/
.switch {
	position: relative;
	display: inline-block;
	width: 56px;
	height: 28px;
	top: -10px;
}

.switch > #costTimeCheckbox {
	display: none;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #3e7327;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 22px;
	width: 22px;
	left: 4px;
	bottom: 3px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

#costTimeCheckbox:checked + .slider {
	background-color: #77b659;
}

#costTimeCheckbox:focus + .slider {
	box-shadow: 0 0 1px #3e7327;
}

#costTimeCheckbox:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 28px;
}

.slider.round:before {
	border-radius: 50%;
}

.costTimeToggleIcon {
	height: 30px;
}

.costTimeToggleIcon img {
	max-height: 30px;
	max-width: 40px;
}

.costTimeToggleIconWrapper {
	margin: auto;
	display: inline-block;
}

.costTimeToggleWrapper {
	border: 2px solid rgb(84, 130, 53);
	border-radius: 10px;
	margin: 0px auto;
	float: right;
	margin: 0px auto;
}

.resultDiagramElement {
	width: 74px;
	display: inline-block;
	padding: 5px 5px 2px 5px;
	cursor: pointer;
}

.resultDiagramElement .iconInverted {
	display: none;
}

.resultDiagramElement img {
	height: 30px;
}

.highlightChartToggle {
	background-color: blue;
	border-radius: 5px;
}

.highlightChartToggle > div {
	color: white;
}

.highlightChartToggle .iconInverted {
	display: block;
}

.highlightChartToggle .iconNormal {
	display: none;
}

.legendContainer {
	margin: auto;
}

.legendCut {
	max-width: 200px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

#chartTooltip {
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	border-radius: 2px;
	padding: 10px;
	transition: opacity 0.2s linear;
	opacity: 0;
	z-index: 100;
	position: absolute;
	display: none;
	cursor: pointer;
	word-break: none;
	white-space: nowrap
}

@media (max-width : 575.98px) {
	.pieChart {
		min-width: 370px;
		width: 100% !important;
	}
}

@media (max-width : 1199.98px) {
	.pieChart {
		width: 60%;
	}

	.toggleCol2Row {
		width: 100% !important;
		display: -ms-flexbox !important;
		display: flex !important;
		-ms-flex-wrap: wrap !important;
		flex-wrap: wrap !important;
		margin: 1.5rem 0rem;
	}
}

@media (min-width : 1200px) {
	.toggleCol2Row {
		-ms-flex-preferred-size: 0;
		flex-basis: 0;
		-ms-flex-positive: 1;
		flex-grow: 1;
		max-width: 100%;
	}
}