body{
	margin:0;
	font-family:'Guardian Agate Sans', sans-serif;
	color:#333;
	-webkit-font-smoothing:antialiased;
}

.wrapper{
	background:#F6F6F6;
	max-width:620px;
	padding:1px 10px 0;
}

.introduction h1{
	font-size:18px;
	margin-bottom:0;
}

.introduction p{
	font-size:14px;
	line-height:1.3em;
	margin: 0.5em 0;
}

.pie-chart{
	position: relative;
	margin: 30px auto 0;
}
.pies{
	margin-top:20px;
}
.switch{
	position: absolute;
	top:-35px;
	left:0;
	z-index:5;
	border-radius:3px;
	/*-webkit-transform:translateX(-50%);*/
	
}
.switch div{
	display:inline-block;
	font-size:12px;
	background:#fff;
	cursor: pointer;
	padding:8px;
}
.switch div:hover{
	background:#ddd;
}

.switch div.current{
	background:#214583;
	cursor:default;
	color:#fff;
}

.switch div.current:hover{
	background:#214583;
	}

.alliances{
	position: absolute;
	top: 0;
	left: 0;
	width:100%;
	height:100%;
	/*opacity:0;*/
	display:none;
}

.alliances .slice{
	opacity:1;
	stroke:#F4F4EE;
	stroke-width:2;
}
.alliances .slice:hover{
	opacity:0.8;
}

.results{
	position:absolute;


}
.results .slice{
	opacity:1;
	stroke:#F4F4EE;
	stroke-width:1;
	-webkit-transform:translateY(10px);
	transform:translateY(10px);
}

.results .slice:hover{
	opacity:0.8;
}

.results path{
shape-rendering:geometricPrecision;
}

.legend{
	text-align:center;
	margin-top:0;
	padding-bottom:8px;
	width:100%;
}

.legend span{
	margin-left:5px;
}
.legend p{
	font-size:12px; display:inline;
	white-space: nowrap;
}

.tooltip{
	height:40px;
    padding: 5px 0;
    border-top:3px solid #333;
    margin-top:20px;
}

.tooltip p{
	font-size:14px;
	margin:0;
	display: inline;
}

.tooltip .allianceColor{
	width: auto;
	height:auto;
	margin:0 0 0 0;
	display:block;
	font-size:12px;
	line-height:1.1em;
}
.allianceColor{
	display: inline-block;
	width:10px;
	height:10px;
	margin-right:5px;
}

.tooltip p.tooltipParty{
	font-weight:bold;
}

.centreLine{
	shape-rendering:crispEdges;
	stroke-dasharray: 5,5;
}

@media (min-width:540px){	
.wrapper{
	padding:1px 0 0 0;
}

.switch{

	top:0px;

	
}

.introduction{
	width:210px;
	float:right;
	margin-right:20px;
}
.introduction h1{
	margin-top:40px;
}

.introduction p{
	line-height:1.3em;
}

.pie-chart{
	margin-left:20px;
	margin-top:30px;
	padding-top:1px;
}



}

