body {
	margin: 0;
	padding: 0;
	color: black;
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
}

/* ----------------------- FRONTPAGE ----------------------- */

.svgforeignobject #browser {
	display: none;
}

.no-svgforeignobject #browser {
	display: block;
}

#browser {
	position: fixed;
	background: red;
	z-index: 999;
	width: 100vw;
	left: 0;
	height: 110px;
	bottom: 0;
	background: white;
	color: #017792;
	border-top: solid 6px #017792;
	-webkit-box-shadow: 0px -3px 10px 0px rgba(0,0,0,0.55);
	-moz-box-shadow: 0px -3px 10px 0px rgba(0,0,0,0.55);
	box-shadow: 0px -3px 10px 0px rgba(0,0,0,0.55);
}

#warning {
	width: 1100px;
	margin: 10px auto;
	background: pink;
	margin-top: 15px;
}

#warning .column {
	position: relative;
	float: left;
}

#warning #left {
	width: 790px;
}
#warning #right {
	width: 310px;
	text-align: right;
}

#browser h1 {
	margin: 0;
	padding: 0;
	font-size: 20px;
}

#browser h2 {
	margin: 0;
	padding: 0;
	margin-bottom: 25px;
	font-size: 16px;
}

.tip {
	position: relative;
	display: inline-block;
	width: 100px;
	text-decoration: underline;
	font-size: 12px;
	text-align: center;
}

.tip p {
	position: relative;
	top: -10px;
}

.tip img {
	width: 50px;
	height: auto;
}

#browser a {
	color: #017792;
}

/* ----------------------- NAVIGATION ----------------------- */

#container {
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;
	min-width: 1200px;
	min-height: 800px;
}

#menu {
	background: #9d9d9d;
	color: white;
	position: fixed;
	width: 100%;
	height: 40px;
	z-index: 9999;
}

#nav-container {
	width: 1100px;
	height: 40px;
	margin: 0 auto;
	text-transform: uppercase;
}

#sprockler {
	position: relative;
	float: left;
	height: 26px;
	width: 143px;
	margin-right: 20px;
}

#sprockler img {
	height: 100%;
	margin-top: 7px;
}

.nav {
	position: relative;
	background: #9e9e9e;
	float: left;
	width: auto;
	height: 30px;
	padding: 0 47px;
	padding-top: 10px;
	cursor: pointer;
}

.nav.selected {
	background: #61a534;
}

#submenu {
	width: 125px;
	text-transform: uppercase;
}

.subnav {
	position: relative;
	float: left;
	width: 100%;
	padding: 0;
	padding-top: 10px;
	text-align: center;
}

.subnav.view {
	background: #61a534;
	cursor: default;
}

a .nav {
	color: white;
}


/* ----------------------- FRONTPAGE ----------------------- */

#title {
	width: 100%;
	min-width: 1100px;
	height: 100%;
	min-height: 800px;
	background: url("img/background.jpeg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

#logo {
	position: absolute;
	bottom: 60px;
	left: 60px;
}

#title img {
	background: white;
	padding: 10px;
	width: 200px;
	height: auto;
}

#triangle {
	position: absolute;
	width: 0px;
	height: 0px;
	top: 0;
	left: 0;
	border-style: solid;
	border-width: 200px 1000px 0 0;
	border-color: #61a534 transparent transparent transparent;
	z-index: 1;
}

#introtitle {
	position: absolute;
	left: 70px;
	top: 45px;
	text-align: right;
	z-index: 2;
}

#introtitle h1 {
	font-size: 58px;
	text-transform: uppercase;
	margin: 0;
	-webkit-transform: rotate(-11deg);
	-moz-transform: rotate(-11deg);
	-o-transform: rotate(-11deg);
	color: white;
}

#introtext {
	position: absolute;
	margin: 0;
	padding: 0 50px;
	width: 400px;
	height: 100%;
	top: 0%;
	right: 25px;
	text-align: left;
	background: #873986;
}

#introtext h2 {
	font-size: 16px;
	margin-top: 80px;
	font-weight: 100;
	color: white;
	margin-bottom: 40px;
}

#introtext h2 a {
	color: white;
	text-decoration: underline;
}

#introtext h1 {
	font-size: 24px;
	font-weight: 400;
	color: white;
	margin-top: 40px;
}

#introtext .button {
	background: white;
	color: #873986;
	width: 250px;
	margin: 0 auto;
	text-align: center;
	margin-top: 10px;
}

.button h3 {
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
	padding: 15px;
}

 a {
	text-decoration: none;
}

#content-intro {
	width: 1100px;
	margin: 0 auto;
}

#content-intro h3 {
	color: #2b2d6b;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	margin: 40px 0;
	margin-bottom: 10px;
}

#content-intro h4 {
	color: #2b2d6b;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	margin: 40px 0;
	margin-top: 0;
}


/* ----------------------- VISUALISATION ----------------------- */

#content {
	width: 1100px;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
	margin-top: 50px;
	margin-bottom: 100px;
}

.block-title {
	background: #61a534;
	width: 1100px;
	height: 100px;
	margin-bottom: 20px;
}

.block-title h2 {
	padding: 0;
	margin: 0;
	padding-top: 20px;
	text-transform: uppercase;
	text-align: center;
	font-size: 42px;
	color: white;
}

.block h3 {
	color: #2b2d6b;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	margin: 40px 0;
	margin-bottom: 10px;
}

.block h4 {
	color: #2b2d6b;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	margin: 40px 0;
	margin-top: 0;
}

.question-title {
	background: #f16e22;
	width: 1100px;
	height: 100px;
	margin-bottom: 20px;
}

.question-title h2 {
	padding: 0;
	margin: 0;
	padding-top: 20px;
	text-transform: uppercase;
	text-align: center;
	font-size: 42px;
	color: white;
}

.result {
	position: relative;
	width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.explanation {
	position: absolute;
	background: #61a534;
	color: white;
	width: 220px;
	height: auto;
	max-height: 300px;
	overflow: scroll;
	border-radius: 15px;
	padding: 15px;
	display: none;
}
audio { 
	background-color: white;
	border: solid 1px white;
}
.story.visible {
	display: block;
}

.table {
	position: relative;
	width: 500px;
	left: 300px;
	color: #2b2d6b;
}

.table-title h3 {
	width: 100%;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	margin: 0;
	padding: 0;
	padding-bottom: 20px;
	line-height: 1;
}

.image {
	width: 450px;
	height: auto;
	margin: 0 auto;
	margin-bottom: 40px;
}

svg {
	overflow: visible;
}

svg text {
	fill: #2b2d6b;
	font-size: 14px;
}

svg path {
	stroke: #873986;
	fill: none;
}

.table svg foreignObject {
	line-height: 1.3;
}

svg line {
	stroke: #873986;
    stroke-width: 5;
}

.details {
	position: absolute;
	width: 220px;
	height: 394px;
	top: 0;
	right: 0px;
}

.personinfo {
	position: absolute;
	background: #61a534;
	color: white;
	width: 190px;
	height: auto;
	max-height: 370px;
	overflow: scroll;
	padding: 15px;
	border-radius: 15px;
	display: none;
}
.personinfo.visible {
	display: block;
}

.legend {
	position: absolute;
	width: 150px;
	height: auto;
	right: 0;
	bottom: 20px;
}

.legend foreignObject {
	line-height: 1.3;
	color: black;
}


/* ----------------------- CIRCLES ----------------------- */

svg circle {
	fill: black;
	stroke: white;
}

.Afghanistan {
	fill: #e30951;
}
.Pakistan {
	fill: #0b9517;
}

.Female {
	fill: #5e3e8f;
}

.Male {
	fill: #7fb600;
}

.Herat {
	fill: #0b9517;
}
.Khyber {
	fill: #7fb600;
}
.Nangarhar {
	fill: #5e3e8f;
}
.Punjab {
	fill: #e30951;
}
.Sindh {
	fill: #ec7700;
}
.Takhar {
	fill: #fec900;
}

.wcg {
	fill: #0b9517;
}
.wac {
	fill: #7fb600;
}
.wcso {
	fill: #5e3e8f;
}
.wind {
	fill: #e30951;
}
.wpart {
	fill: #ec7700;
}
.wother {
	fill: #fec900;
}