/* --------------- Layout ---------------- */

.traveler-type-distribution {
	position: relative;
	font-size: 14px;
	font-family: "Roboto", Arial, Helvetica sans-serif;
	line-height: normal;
}

.traveler-type-distribution * {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* -------- Merged distribution ---------- */

.traveler-type-distribution.merged-distribution {
	width: 400px;
}

.traveler-type-distribution.merged-distribution .chart-wrapper {
	float: right;
	width: 180px;
	height: 180px;
}

.traveler-type-distribution.merged-distribution .chart {
	width: 100%;
	height: 100%;
}

.traveler-type-distribution.merged-distribution .legend {
	float: left;
}

.traveler-type-distribution.merged-distribution .legend ul {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.traveler-type-distribution.merged-distribution .legend li {
	display: block;
	clear: both;
	margin: 15px 0;
	color: #333;
	font-weight: 300;
	font-size: 1.1em;
	cursor: pointer;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
}

.traveler-type-distribution.merged-distribution .legend li:hover {
	font-weight: 500;
}

.traveler-type-distribution.merged-distribution .legend li:first-child {
	margin-top: 0;
}

.traveler-type-distribution.merged-distribution .legend li .ty-icon {
	float: left;
	margin: -2px 7px 0 0;
	padding-top: 5px;
	width: 25px; 
	height: 25px;
	border-radius: 50%;
	background: #333;
	color: #fff;
	text-align: center;
	font-size: .85em;
}

.traveler-type-distribution.merged-distribution .legend li span {
	color: #bbb;
	font-weight: 500;
	font-size: .8em;
}

/* --------- Split distribution ---------- */

.traveler-type-distribution.split-distribution {
	width: 100%;
}

.traveler-type-distribution.split-distribution .traveler-type {
	float: left;
	margin-right: 20px;
	margin-bottom: 5px;
	min-height: 60px;
}

.traveler-type-distribution.split-distribution .traveler-type .chart-wrapper {
	position: relative;
	float: left; 
	margin-right: 10px;
	width: 55px;
	height: 55px;
}

.traveler-type-distribution.split-distribution .traveler-type .chart {
	width: 100%;
	height: 100%;
}

.traveler-type-distribution.split-distribution .traveler-type .ty-icon {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	display: block;
	padding: 18px 0 0 2px;
	width: 100%;
	color: #333;
	text-align: center;
	font-size: 1.3em;
}

.traveler-type-distribution.split-distribution .traveler-type h2 {
	margin: 0;
	margin-left: 65px;
	padding: 7px 0 0;
	border: none;
	text-align: left;
	font-weight: 300;
	font-size: 1.2em;
	line-height: normal;
}

.traveler-type-distribution.split-distribution .traveler-type h3 {
	margin: 0;
	margin-left: 65px;
	padding: 0;
	border: none;
	color: #3498db;
	text-align: left;
	font-weight: 500;
	font-size: .9em;
	line-height: normal;
}

.traveler-type-distribution.split-distribution .traveler-type h3 span {
	color: #bbb;
}

/* Horizontal exceptions */

.traveler-type-distribution.split-distribution.horizontal .traveler-type {
	float: left;
	margin-right: 20px;
}

.traveler-type-distribution.split-distribution.horizontal .traveler-type h2 {
	margin-left: 65px;
}

.traveler-type-distribution.split-distribution.horizontal .traveler-type h3 {
	margin-left: 65px;
}