.jumbotron h1 {
	margin-top: 0;
}
h2 {
	font-family: 'Publico-Black';
	font-size:48px;
	margin-top:30px;
	margin-bottom:30px;
}
.label {
	display:block;
	font-family:'Boomer-Book';
	text-transform: uppercase;
	font-size:10px;
	white-space: pre-wrap;
	padding:0;
	font-weight:normal;
}
.value {
	font-family:'Boomer-Book';
}

.social a:hover {
	text-decoration: none; /*Twitter logo was being underlined awkwardly*/
}
body {
	background:none;
}

strong { color: #c7254e; }

img.pull-left {
	margin-right: 10px;
}
img.small {
    max-width: 300px;
    max-height: 500px;
}
img.medium, video.medium {
	max-width: 600px;
	max-height: 800px;
}
img.large {
	max-width: 1024px;
	max-height: 600px;
}
.section img {
	width:100%;
}
.section video{
	width:100%;
}

img.full {
	margin: 0px;
	width:100%;
}

p{
	font-family: 'PublicoText';
	font-size:19px;
	line-height:1.8em;
	margin-top:20px;
}

.overlay:first-child .scroll-over{
	box-shadow:none;
	margin-top:0px;
}
.text-section{
	border-top:1px dotted #bbb;
}
.text-section:first-child{
	border:none;
}
.text-row{
	max-width:800px;
	margin:50px auto;
}

.text-row p{
	padding-right:100px;
}

.text-row p:first-child:first-letter{
	float: left;
	color:#851079;
	font-size: 150px;
	line-height: 0.8em;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom:3px;
	font-family:'PublicoText-SemiBold';
}

.text-row p:first-child:first-line{
	float: left;
	color:#851079;
	font-size: 24px;
	letter-spacing:3px;
	text-transform: uppercase;
	line-height: 1.3em;
	font-family:'PublicoText';
}

.video{
	margin:20px auto;
}
.video video{
	width:100%;
}


/* bg videos */
#bg{
	background-color:#fff;
	position:fixed;
	z-index:0;
	top:0;
	left:0;
}

#bg-video {
	z-index: -100;
	/*background: url(polina.jpg) no-repeat;*/
	background-size: cover;
}

#bg div{
	display:none;
}
#bg div#bg-1{display:block;}

#bg img{
	width:auto;
}



.overlay{
	background:none;
	width:100%;
}
#top-bar{
	width:100%;
	position:fixed;
	top:0;
	left:0;
	z-index:1000;
	background-color:#fff;
	box-shadow: -10px -10px 5px 10px rgba(0,0,0,0.5);
	/*border-bottom:1px solid #eee;*/
}


#ie-overlay{
	width:100%;
	height:100%;
	background-image:url('/assets/img/ie_bg.png');
	background-repeat:repeat;
	position:fixed;
	top:0;
	left:0;
	z-index:3000;
}
#ie-overlay p{
	background-color:#fff;
	position:relative;
	margin:200px auto;
	max-width:500px;
	padding:10px;
	border-radius:5px;
	border:1px solid #bbb;
	text-align:center;
}

#top-logo{
	float:left;
}
#top-logo a img{
	margin:5px 5px 0px 5px;
}

#top-logo a:hover{
	text-decoration:none;
}

.top-right{
	float:right;
	display:inline;
	margin:10px 5px;
}
.top-right #title-switch{
	display:inline;
	margin-top:8px;
	padding:10px 10px 10px 0px;
	border-right:1px solid #bbb;
	vertical-align: middle;
}
.top-right #title-switch h3{
	display:inline;
	font-family:'Publico-Light';
	color:#272727;
	font-size:20px;
}
.top-right .social{
	display:inline;
	padding-left:15px;
}
.top-right .social a i{
	padding:0px 5px 0px 0px;
	font-size:20px;
	color:#851079;
	cursor:pointer;
	opacity:0.8;
	text-decoration:none;
}
.top-right .social a i:hover{
	opacity:1.0;
	text-decoration:none;
}


#headline{
		vertical-align: bottom;
		z-index:500;
		position:absolute;
		left:0;
		width:100%;
	}
.overlay #headline h1{
	vertical-align: bottom;
	font-size:75px;
	color:#fff;
	text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.6);
	font-family: 'Publico-Black';
	z-index:500;
	opacity:1.0;
	font-weight:normal;
	position:relative;
	float:left;
	line-height:1em;
	padding-left:10px;
	padding-top:0px;
	margin-top:0px;
}
.overlay #headline p{
	opacity:1.0;
	text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
	font-size:18px;
	font-family:'Boomer-Light';
	text-transform:uppercase;
	position:relative;
	float:right;
	vertical-align: bottom;
	letter-spacing:0.1em;
	padding-right:10px;
	line-height:1.4em;
	color:#fff;
}
#story-progress{
	height:3px;
}
#top-bar-content{
	width:100%;
}
progress {
	vertical-align: top;
	background-color:#851079;
	/*top:60px;*/
	z-index:2000;
	opacity:1.0;
	/*position:fixed;*/
	/* Positioning */

  /* Dimensions */
  width: 100%;
  height: 3px;

  /* Reset the appearance */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;

  /* Get rid of the default border in Firefox/Opera. */
  border: none;

  /* Progress bar container for Firefox/IE10+ */
  background-color: #eee;

  /* Progress bar value for IE10+ */
  color: #851079;
}
progress::-webkit-progress-bar {
  background-color: transparent;
}

progress::-webkit-progress-value {
  background-color: #851079;
}

progress::-moz-progress-bar {
  background-color: #851079;
}
#bar-content{
	width:100%;
	display:block;
}


#content{
	position:relative;
}

.section{
	padding-top:50px;
	padding-bottom:50px;
	background-color:#fff;
	z-index:100;
}
.section#section1{
	padding-top:0px;

}

.section .container {
	max-width:1080px;
}


.pull-quote{
	padding-top:10px;
	float:right;
	width:300px;
	border-top:4px solid #851079;
	margin:50px 0px 50px 50px;
	font-family:'PublicoText';
	font-size:24px;
	color:#555;
}
.pull-quote strong{
	font-family:'Publico-Bold';
	color:#555;
}
.quotemark{
	float: left;
	color:#851079;
	font-size: 170px;
	line-height: 0.1em;
	padding-top: 70px;
	padding-right: 15px;
	font-family:'PublicoText';
	margin-bottom:-20px;
}
.pull-aside{
	max-width:350px;
	display:inline-block;
	padding:0px 0px 0px 10px;
	float:right;
	text-align:left;
	border-left:4px solid #851079;
	margin:20px 0px 20px 30px;
	font-family:'PublicoText';
	font-size:20px;
	color:#777;
}
.mug{
	width:100%;
	float:left;
	margin-top:0px;
	margin-bottom:15px;
}
.mug p{
	vertical-align: middle;
	font-family:'Publico';
	font-size:22px;
	color:#333;
	padding:0px;
	margin:0px;
	line-height:1em;
}
.mug p:first-child:first-letter{
	float:none;
	font-size: 22px;
	line-height: 22px;
	padding-top: 0px;
	padding-right: 0px;
	margin:0px;
	font-family:'BoomerSlab';
}
.mug:last-child{
	margin-bottom:0px;
}
.mug .person-title{
	font-size:14px;
	color:#999;
	font-style:italic;
	margin:0px;
	padding:0px;
	line-height:0.8em;
}
.mug img{
	border:1px solid #ccc;
	max-width:100px;
	max-height:100px;
	margin-right:10px;
}


.gallery-img{
	margin-top:20px;
	margin-bottom:70px;
	width:100%;
}

.gallery-next, .gallery-prev{
	position: absolute;
	display: block;
	line-height: 1em;
	font-size: 40px;
	cursor: pointer;
	top: 50%;
	margin-top: -10px;
	padding: 0;
	border: none;
	outline: none;
	color:#ccc;
	opacity:0.8;
}
.gallery-next{
	right: 10px;
}
.gallery-prev{
	left:10px;
}

p.gallery-caption{
	font-size:12px;
	max-width:100%;
	margin:10px auto 0px auto;
	padding:0px;
	font-family:'Publico';
	line-height:1.2em;
}
.gallery-img{
	height:600px;
}
.gallery-img img{
	width:auto;
	max-height:80%;
	margin:20px auto;
}
.pcred {
	font-size: .7em;
	color: #969696;
	text-align: right;
	margin-top: -20px;
}

/*----Video controls----*/

.video {
}

.video-controls{
	width:100%;
	position:absolute;
	bottom:5px;
	left:0;
	background-color:rgba(0,0,0,0.3);
	opacity:0;
	transition: opacity .5s ease-in-out .15s;
   -moz-transition: opacity .5s ease-in-out .15s;
   -webkit-transition: opacity .5s ease-in-out .15s;

}

.video:hover .video-controls{
	 opacity: 1;
}

.video-controls i{
	display:block;
	font-size:50px;
	padding:10px 20px;
	color:#eee;
	opacity:0.9;
	cursor:pointer;
	text-shadow: 2px 2px 10px rgba(10, 10, 10, 0.8);
}
.video-controls i:hover{
	opacity:1.0;
	text-shadow: 2px 2px 10px rgba(10, 10, 10, 1);

}




/*footer*/
.footer {
	width:100%;
	padding-top:20px;
	padding-bottom:20px;
	background-color:rgba(0,0,0,0.75);
	box-shadow: -80px -100px 300px 400px rgba(0,0,0,0.75);
	z-index:100;
}
.footer #byline p{
	font-family:'Boomer-Light';
	font-size:14px;
	color:#eee;
	letter-spacing:0.15em;
	line-height:1.5em;
	margin:0px 0px 0px 20px;
	text-transform: uppercase;
}

.footer #byline p a{
	font-size:14px;
	color:#F6A6D6;
}
.footer #byline p a:hover{
	font-size:14px;
	color:#A35E90;
}	



/*---Charts---*/

.data-section{
	box-shadow: -100px 0px 150px 250px rgba(0,0,0,0.8);
	padding-top:0px;
	padding-bottom:50px;
	background-color:rgba(0,0,0,0.8);
	z-index:100;
	color:#fff;
}

.data-title{
	margin-top:50px;
	border-bottom:1px solid rgba(250,250,250,0.7);
}

.data-title h3{
	font-family:'BoomerSlab';
	text-transform:uppercase;
	font-size:42px;
	line-height:1.3em;
	margin:0px 0px 5px 0px;
}
.data-title p {
	font-family:'Boomer-Light';
	font-size:22px;
	margin:0px 0px 10px 0px;
	line-height:1.5em;
}
.data-section h4{
	text-align:left;
	font-family:'BoomerSlab-Book';
	text-transform:uppercase;
	font-size:20px;
	font-weight:normal;
}
.data-descrip{
	min-height:80px;
	margin: 0px 0px 15px 0px;
}
.data-descrip p{
	font-family:'Boomer-Light';
	font-size:14px;
	margin:0px;
	line-height:1.5em;
}
.data-section h4{
	text-align:left;
	font-family:'BoomerSlab-Book';
	text-transform:uppercase;
	font-size:20px;
	font-weight:normal;
}
.data-source {
	color: #969696;
	font-size: .8em;
	padding: 0px 5px;
	text-transform:uppercase;
}

.data-info.row{
	padding-bottom:30px;
	margin-bottom:50px;
}

video#brain{
	width:100%;
}

.data-section .row{
	padding-top:20px;
	padding-bottom:20px;
}


.graphics h3{
	margin:10px;
	font-family:'BoomerSlab';
	font-size:18px;
	color:#710056;
}


.lineChart {
	font-size: 10px;
	font-family:'Boomer-Light';
	float: left;
	/*text-transform:uppercase;*/
}
svg text.innerLabel {
	font: 9px 'Boomer-Light';
	pointer-events: none; /*this prevents triggering mouseout if tip gets in way of cursor*/
}
.purple {
	fill: #A35E90;
}
.axis path,
.axis line {
  fill: none;
  stroke: #777;
  shape-rendering: crispEdges;
}

.line {
  fill: none;
  stroke-width: 2px;
}
svg text{
	fill: #fff;
	font-size: 10px;
	font-family:'Boomer-Light';
}
.tick {
	font-size: 9px;
	font-family:'Boomer-Light';
	float: left;
	/*text-transform: uppercase;*/ /* k is always lowercase when representing thousands */
	fill: none;
}
.legend {
	margin: 15px;
}

/*#tooltip {
  color: #000;
  position: absolute;
  padding: 8px;
  background-color: white;
  border:1px solid #e1e1e1;
  pointer-events: none;
  z-index: 9999;
  display: none;
  font-family:'Boomer-Light';
}*/

.labelDiv p {
  font-size: 9px;
  text-align: center;
  line-height: 1em;
}

#values p {
  text-align: center;
  z-index: 9999;
  font-size: 18px;
}
.legend-icon {
	display: inline-block;
	width: 10px;
	height: 10px;
}
.legend-item {
	margin: 10px;
	padding: 5px;
}

.table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
	border: none;
	padding:0px 8px 5px 8px;
}

.table > tbody > tr:first-child > td{
	padding:5px;
}

tr:last-child {
	border-top: solid #777 1px;
	font-weight: bold;
	font-size: 1.2em;
	color: #A35E90;
}
.table-bordered{
	border-color:#777;
}
#costGovt{
	margin-top:60px;
}
#costPerAdult{
	margin-top:40px;
}

rect.negative {
	fill: #5D284F;
}
svg text.negative {
	text-anchor: end;
}
.data-section svg:not(:root) {
	overflow: visible;
}

.visible{
	display:block;
}
.hidden{
	display:none;
}


.ipad-data-section{
	box-shadow: -100px 0px 150px 250px rgba(0,0,0,0.8);
	padding-top:0px;
	padding-bottom:50px;
	background-color:rgba(0,0,0,0.8);
	z-index:100;
	color:#fff;
}



/* mobile/tablet styles */

@media all and (max-width: 992px){

	.section{
		padding-top:0px;
		padding-bottom:0px;
	}
	.text-row{
		margin-left:-15px;
		margin-right:-15px;
	}
	.text-row p {
		padding-right:0px;
		font-size:16px;
	}
	.pull-quote, .pull-aside{
		float:none;
		width:95%;
		margin:30px auto;
		padding:10px 0px;
	}
	.pull-aside{
		float:right;
		width:100%;
		margin:10px auto;
		padding:20px;
		border:none;
		display:inline-block;
	}
	.text-row p:first-child:first-letter{
		float: left;
		color:#851079;
		font-size: 80px;
		line-height: 0.8em;
		padding-top: 5px;
		padding-right: 10px;
		padding-bottom:3px;
		font-family:'PublicoText-SemiBold';
	}

	.text-row p:first-child:first-line{
		float: left;
		color:#851079;
		font-size: 20px;
		letter-spacing:3px;
		text-transform: uppercase;
		line-height: 1.3em;
		font-family:'PublicoText';
	}
	#headline{
		vertical-align: bottom;
		z-index:500;
		position:absolute;
		left:0;
		width:100%;
	}
	.overlay #headline h1{
		font-size:35px;
		color:#fff;
		text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
		font-family: 'Publico-Black';
		z-index:500;
		opacity:0.95;
		font-weight:normal;
		line-height:1em;
		width:100%;
		padding-left:5px;
		margin-bottom:5px;
		float:left;
	}
	.overlay #headline p{
		text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
		font-size:16px;
		font-family:'Boomer-Light';
		font-weight:100;
		letter-spacing:0.2em;
		text-transform:uppercase;
		line-height:1em;
		color:#fff;
		float:left;
		margin-top:0px;
		padding:0px 0px 0px 5px;
	}
	.data-title h3{
		font-size:32px;
	}
	.data-title p{
		font-size:18px;
	}

	p.gallery-caption{
		font-size:11px;
		max-width:100%;
		margin:10px auto 0px auto;
		padding:0px;
		font-family:'Publico';
		line-height:1.1em;
	}

	#bg img{
		width:100%;
		height:auto;
		margin-top:20px;
	}

}

@media all and (max-width: 768px){
	.gallery-img{
		height:400px;
	}

	p.gallery-caption{
		line-height:1.1em;
		font-size:12px;
		max-width:500px;
		margin:10px auto 0px auto;
		padding:0px;
		font-family:'Publico';
	}
	#headline{
		left:0px;
	}
	.overlay #headline h1{
		font-size:28px;
		color:#fff;
		text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
		font-family: 'Publico-Black';
		z-index:500;
		opacity:1.0;
		font-weight:normal;
		line-height:1em;
		width:95%;
		padding-left:1%;
		float:left;
	}
	.overlay #headline p{
		text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
		font-size:14px;
		font-family:'Boomer-Light';
		font-weight:100;
		letter-spacing:1px;
		text-transform:uppercase;
		line-height:1em;
		color:#fff;
		float:left;
		margin-top:0px;
		padding:0px 0px 0px 5px;
	}
}

