
/*---------------- full page ----------------*/

*, html, body {
  padding: 0;
  margin: 0;
}

.fullInteractive {
  font-family: Averta, sans-serif;
  margin-bottom: 20px;
}

/*---------------- header ----------------*/

#interactiveHeader {
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: left;
  font-family: 'Averta W01 Light', Averta, Helvetica, Arial, sans-serif;
  font-weight: 200;
  font-size: 36px;
  padding-top: 16px;
}

#interactiveSubheader,  #interactiveSubheaderMobile {
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: left;
  font-family: 'Averta W01 Regular', Averta, Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  padding-bottom: 16px;
}

#interactiveSubheaderMobile {
  font-size: 18px;
  display: none;
	padding-top: 4px;
}

/*---------------- interactive ----------------*/

#mainInteractive {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 500px;
}

#mainInteractiveMobile {
	position: relative;
	display: inline-block;
	width: 100%;
	display: none;
}

#mapBox {
	position: absolute;
	width: 700px;
}

#legendBox {
	position: absolute;
	left: 354px;
	top: 410px;
	font-family: Averta, sans-serif;
	font-size: 11px;
}

#legendFootnote {
	position: absolute;
	left: 353px;
	top: 493px;
	width: 200px;
	font-family: Averta, sans-serif;
	font-size: 11px;
}

path:hover {
	fill-opacity: .7;
}

div.infobox {
 	position: absolute;
	text-align: center;
	width: 250px;
	padding: 30px;
	font: 12px sans-serif;
	line-height: 16px;
	background: #ddd;
	color: #000;
	border: 0px;
	pointer-events: none;
	z-index: 1000;
}

.infoboxHeader {
	width: 100%;
	font-family: Averta, sans-serif;
	font-size: 22px;
	padding-bottom: 24px;
	text-align: left;
}

.infoboxSubhead {
	width: 100%;
	font-family: Averta, sans-serif;
	font-weight: bold;
	font-size: 13px;
	line-height: 16px;
	text-align: left;
	padding-bottom: 1px;
}

.infoboxDescription {
	width: 100%;
	font-family: Averta, sans-serif;
	font-size: 13px;
	line-height: 16px;
	text-align: left;
	padding-bottom: 10px;
}

#mapFootnote {
	padding-top: 40px;
	width: 100%;
	max-width: 700px;
	font-family: Averta, sans-serif;
	font-size: 10px;
	color: #999;
	text-align: left;
}

#mapFootnoteMobile {
	display: none;
	padding-top: 40px;
	width: 100%;
	max-width: 700px;
	font-family: Averta, sans-serif;
	font-size: 10px;
	color: #999;
	text-align: left;
}

#mapFootnote a:link, #mapFootnote a:visited, #mapFootnoteMobile a:link, #mapFootnoteMobile a:visited {
	color: #000;
	text-decoration: none;
}

#mapFootnote a:hover, #mapFootnoteMobile a:hover {
	color: #aaa;
}

.mobileStatus {
	position: relative;
	display: inline-block;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 20px;
	margin-bottom: 22px;
	background-color: #000;
	color: #fff;
	font-family: Averta, sans-serif;
	font-size: 20px;
	text-align: center;
}

.mobileState, .mobileStateLink {
	position: relative;
	display: inline-block;
	font-family: Averta, sans-serif;
	font-size: 22px;
	line-height: 28px;
	padding-top: 5px;
	padding-bottom: 6px;
	color: #999;
	border-top: 1px solid #f0f0f0;
}

.mobileStateLink {
	color: #8cc63e;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.mobileStateLink:hover {
	opacity: 0.6;
}

.mobileHideLink {
	color: #8cc63e;
	cursor: pointer;
}

.mobileDetails {
	position: relative;
	display: inline-block;
	height: 0px;
	width: 0px;
	padding-top: 0px;
	font-family: Averta, sans-serif;
	font-size: 18px;
	line-height: 24px;
	height: 0px;
	overflow: hidden;
	/*transition: all 0.5s ease-out;*/
	-webkit-tap-highlight-color: transparent;
}

.mobileDetails.animation {
	padding-top: 16px;
	animation: animFrames 0.5s ease-out;
	animation-fill-mode: forwards;
}

@keyframes animFrames {
    0% { height: 0px; width: 0px; }
    1%  { height: 0px; width: 100%; }
    100% { height: 210px; width: 100%; }
}

/*---------------- media query ----------------*/

@media only screen and (max-width: 700px) {
	#mainInteractive { display: none; }
	#mainInteractiveMobile { display: inherit; }
	#interactiveSubheader { display: none; }
	#interactiveSubheaderMobile { display: inherit; }
	#mapFootnote { display: none; }
	#mapFootnoteMobile { display: inherit; }
}
