html, body {
	font-family: SourceSansPro-Light, Arial, sans-serif;
	background-color: #ffffff;
}

section#ReutersGraphicsCharts{
	width:100%;
	margin: 0 auto 0 auto;
	position:relative;
}

.zeroValue{
	display:none;
}

#fallback{
	margin:100px auto 100px auto;
	font-size: 20px;
	text-align: center;
	color: white;
}

section#ReutersGraphicsCharts header{
  position: fixed;
  text-align: center;
  top:0;
  left:-2px;
  width: 100%;
  padding: 10px 0 20px 0;
  background: #FFF;
  -webkit-box-shadow: 0 0px 10px -2px #cccccc;
  -moz-box-shadow: 0 0px 10px -2px #cccccc;
  box-shadow: 0 0px 10px -2px #cccccc;
  z-index: 10000000;
}

section#ReutersGraphicsCharts #logo{
	background-image: url('../img/thelogo.png');
	height:25px;
	background-position: center center;
	background-repeat: no-repeat;
	width:100%;
	margin-top:7px;
}

section#ReutersGraphicsCharts #mainGraphic{
  padding-bottom: 20px;
  width:800px;
  margin: 50px auto 30px auto;
  position: relative;
  overflow: hidden;
}

#instruction {
	margin-top: 60px;
	width: 100%;
	position: absolute;
	z-index: 9000;
}

.close {
	cursor: pointer;
	position: absolute;
	top:185px;
	right:2px;
}


.close p {
	font-family: SourceSansPro-Semibold, Arial, sans-serif;
	font-size: 20px;
	display: inline-block;
	margin-right: 3px;

}

.close img {
	vertical-align: text-bottom;
}

h1 {
	font-family: SourceSansPro-ExtraLight, Arial, sans-serif;
	font-size: 60px;
	font-weight:100;
	margin: 50px 0 20px 0;
	line-height:110%;
	/*text-align: center;*/
	/*margin: 50px auto 20px auto !important;*/
}

h2 {
	font-family: SourceSansPro-Semibold, Arial, sans-serif;
	font-size: 26px;
	margin: 0 0 20px 0;
	letter-spacing: normal;
	position: relative;
}

.h2light {
	font-family: SourceSansPro-Light, Arial, sans-serif;
  font-size: 15px;
  letter-spacing: normal;
}

h3 {
	font-family: SourceSansPro-Semibold, Arial, sans-serif;
	font-size:18px;
	margin: 35px auto 20px auto;
	width: 800px;
	text-align:left;
	line-height:110%;
}

p {
	font-family: SourceSansPro-Light, Arial, sans-serif;
	font-size:18px;
	margin:0 auto;
	line-height: 110%;
}

.bold{
font-family: SourceSansPro-Semibold, Arial, sans-serif;	
}


#holder{
	width: 500px;
	height: 360px;
	z-index: 5;
	position: absolute;
	top: 60px;
	right: 0px;
	overflow: hidden;

}

/* puts a hover on the map paths, and defines the turnedOn class for them */

.provinces{
	fill:#ffffff;
	stroke:#FFFFFF;
	stroke-width:1.05px;
}
.provinces:hover{
	fill: #666 !important;
}
.provinces.turnedOn{
	fill: #666 !important;
}

.intro{
	position: relative;
}

.key {
	text-align: center;
	margin-bottom: 40px;
}

.key2 {
	text-align: center;
	margin-bottom: 30px;
}

hr {
  border: 0;
  height: 1px;
  background: #cccccc;
  width: 800px;
	margin: 0 auto 50px auto;
}

hr.faded {
  clear: both; 
  float: none; 
  width: 240px; 
  height: 1px;
  margin: 1px 0px 60px 0px;
  border: none; 
  background: #ddd;
}

#intro .dek, .seconddek, .seconddek2 {
	margin-left:  0px !important;
	margin-bottom: 25px;
	font-size: 14pt;
	font-family: SourceSansPro-Light, arial, sans-serif;
	line-height: 120%;
	width: 342px;
}	

.dek, .seconddek, .halfdek{
	line-height: 120%;	
}

.seconddek, .seconddek2{
	position: absolute;
	top 0px;
}

.seconddek {
	width: 200px !important;
}

.seconddek2 {
	width: 240px !important;
}

.halfdek{
	position: relative !important;
	display: block;
	width: 100%;
	top: 0px;
}

.halfbox{
	height: 100px;
	width: 360px;
	display: inline-block;
	margin-right: 35px;
	margin-top: 40px;
	top: 0px;
}


#byline {
	margin: 25px auto 25px auto;
	width: 800px;
	font-size: 0.8em;
}

.subhead{
	font-family: SourceSansPro-Semibold, arial, sans-serif;
	margin-bottom: 10px;
	top:0px;
}

#chart {
	width: 100%;
	overflow: hidden;
	background-repeat: no-repeat;
	/*background-image: url(../img/explainer2.png);*/
	background-position: right top;
	margin-bottom: 50px;
}

#spacer{
	width: 640px;
	height: 580px;
	position: relative;
	float: right;
	top: 0px;
}

.emptyholder1{
	position: relative;
	height: 530px;
}

.emptyholder2{
	position: relative;
	height: 430px;
}

#vis{
	position: relative;
	top: 0px;
	right: 0px;
}


section #mainGraphic #source {
	color: #666;
	margin-top: 50px;
	margin-bottom: 30px;
	display: block;
}

#source p {
	font-size: .9em;
	line-height: 1.3em;
}

/* BUTTONS */


.buttonbar1{
	width: 120px;
	position: absolute;
	display: inline-block;
}

.select.crop {
	margin-left: 50px;
}

.btn{
	background-color: ;
	cursor: pointer;
}

.btn2{
	background-color: ;
	cursor: pointer;
}

.select .btn, .select .btn2 {
	border-radius: 0.4em;
	border-style: none;
	color: #111;
	display: block;
	/*padding: 0.6em 0.8em;*/
	text-decoration: none;
	text-align: center;
	margin-bottom: 10px;
}

.select .btn {
	display: block;
	margin-bottom: 10px;
	width: 120px;
	height: 40px;
}

.select .btn2 {
	display: inline-block;
	margin-left: 10px;
	width: 65px;
	height: 100px;
}


/* SPRITES */

#Grains, #Cereal, #Rice, #Wheat, #Corn, #Beans, #Tubers {
	background: url(../img/sprites-crops.png);
	text-indent: -9999px;	
}

#Cereal{
	background-position: -65px 0;
}

#Rice {
	background-position: -130px 0;
}

#Wheat {
	background-position: -195px 0;
}

#Corn {
	background-position: -260px 0;
}

#Beans {
	background-position: -325px 0;
}

#Tubers {
	background-position: -390px 0;
}

#Grains:hover {
	background-position: 0 -100px;
}

#Cereal:hover {
	background-position: -65px -100px;
}

#Rice:hover {
	background-position: -130px -100px;
}

#Wheat:hover {
	background-position: -195px -100px;
}

#Corn:hover {
	background-position: -260px -100px;
}

#Beans:hover {
	background-position: -325px -100px;
}

#Tubers:hover {
	background-position: -390px -100px;
}

#Grains.active {
	background-position: 0 -200px;
}

#Cereal.active {
	background-position: -65px -200px;
}

#Rice.active {
	background-position: -130px -200px;
}

#Wheat.active {
	background-position: -195px -200px;
}

#Corn.active {
	background-position: -260px -200px;
}

#Beans.active {
	background-position: -325px -200px;
}

#Tubers.active {
	background-position: -390px -200px;
}

#Lead, #Mercury, #Cadmium, #Chromium, #Arsenic {
	background: url(../img/sprites-metals.png);
	text-indent: -9999px;	
}

#Lead {
	background-position: 0 -40px;
}

#Mercury {
	background-position: 0 -80px;
}

#Chromium {
	background-position: 0 -120px;
}

#Arsenic {
	background-position: 0 -160px;
}

#Cadmium:hover {
	background-position: -120px 0;
}

#Lead:hover {
	background-position: -120px -40px;
}

#Mercury:hover {
	background-position: -120px -80px;
}

#Chromium:hover {
	background-position: -120px -120px;
}

#Arsenic:hover {
	background-position: -120px -160px;
}

#Cadmium.active {
	background-position: -240px 0;
}

#Lead.active {
	background-position: -240px -40px;
}

#Mercury.active {
	background-position: -240px -80px;
}

#Chromium.active {
	background-position: -240px -120px;
}

#Arsenic.active {
	background-position: -240px -160px;
}

/* END SPRITES */


#scatterplot {
	position: absolute;
	top: 0px;
	right: 0px;
}

#arrowhoriz {
	width: 50px;
	height: 500px;
	background-repeat: no-repeat;
	background-position: center 0;
	overflow: hidden;
	background-image: url(../img/arrow.png);
	background-size: contain;
}

#arrowvert {
	width: 610px;
	height: 40px;
	background-repeat: no-repeat;
	background-position: center 0;
	overflow: hidden;
	background-image: url(../img/arrow2.png);
	background-size: contain;
}

.flatimage{
	width: 800px;
	height: 260px;
	background-repeat: no-repeat;
	background-position: center 0;
	overflow: hidden;
	background-size: contain;
	margin-bottom: 30px;
}

#clean{
	background-image: url(../img/dig.png);
}

#bio{
	background-image: url(../img/bio.png);
	height: 400px !important;
}

/* CHART */

.background path {
	fill: none;
	stroke: #ddd;
	shape-rendering: crispEdges;
}

.foreground path {
	fill: none;
	stroke: steelblue;
}

.brush .extent {
	fill-opacity: .3;
	stroke: #fff;
	shape-rendering: crispEdges;
}

.axis line {
	fill: none;
	stroke: #AFBABF;
	stroke-dasharray: 2,2;
	shape-rendering: crispEdges;
}

.axis path {
	fill: none;
	stroke: none;
	shape-rendering: crispEdges;
}

.axis text {
	text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
	font-size: 0.9em;
	/*font-family: SourceSansPro-Semibold, Arial, sans-serif;*/
	fill: grey;
}

.dot {
	stroke: #fff;
	fill: #e11f26;
}
.dot:hover{
	fill:black !important;
}
.dot.turnedOn{
	fill:black !important;
}

.dot.turnedOff{
	fill-opacity: 0.5 !important;
	stroke: none;
}

.tooltip {
	position: absolute;
	text-align: center;
	width: 160px;
	height: 60px;
	padding: 2.5px;
	background: black;
	color: white;
	border: 0px;
	border-radius: 6px;
	pointer-events: none; 
	line-height: 1.2em;
	z-index: 5;
}

.mapTooltip {
	position: absolute;
	text-align: center;
	width: 120px;
	height: 30px;
	padding: 2.5px;
	background: black;
	color: white;
	border: 0px;
	border-radius: 6px;
	pointer-events: none; 
	line-height: 30px;
	z-index: 5;
}

#report {
	background-image: url(../img/soil-pollution.png);
	background-size: 100% 100%;
	width:800px;
	height:477px;
	margin: 0px auto 0px auto;
	position: absolute;
}

#soil-pollutants {
	background-image: url(../img/pollutants.png);
	background-size: 100% 100%;
	width:800px;
	height:383px;
	margin: 0px auto 50px auto;
	position: absolute;
}


/* FOOTER */

footer {
  float: left;
  background-color: #F3F3F3;
  border-top: 1px solid #EAEAEA;
  color: #aaa;
  width: 100%;
  position: relative;
  bottom: 0;
}

footer .wrapper {
  padding: 1.5em 0;
  color:#666666;
	text-decoration:none;
}

footer a:link, footer a:visited {
  color: #949494;
  text-decoration: none;
}

footer a:hover, footer a:active, footer a:focus {
  color: #444444;
}

footer ul {
  margin-bottom: 0.5em;
  color: #ddd;
  font-size: .75em;
  text-align: center;
}

footer li {
  display: inline;
  border-right: 1px solid #bebebe;
  margin-right: .3em;
  padding-right: 0.6em;
}

footer li.last-child {
  border: none;
}

footer p {
	text-align:center;
	font-size: .6em;
	color:#666666;
}
