/* top nav styles */

.row {
	max-width:75rem;
}

.nav-wrap {
	position:absolute;
	width:100%;
}

.nav-wrap *{
	position:relative;
}

#header{
	padding:10px;
	border:3px solid #fff;
	border-top:none;
	background-color:#41526B;
}

#nav-head-box{
	background-color:#EA5513;
	padding:15px;
	color:#fff;
	font-size:40px;
	line-height:0.8em;
	letter-spacing:1px;
	font-family:'Publico-Black';
}
#nav-head-box span{
	vertical-align:middle;
	display:inline-block;
}
#nav-head-box span:last-child {
	font-family:'BoomerCondBlack';
	font-size:50px;
}

#nav-head-box i{
	margin:0px 15px;
	font-size:60px;
}
#nav-text-box p {
	margin-top:10px;
	font-family:'Boomer-Book';
	font-size:14px;
	color:#fff;
	margin-bottom:0px;
}

#hero {
	background-image: url('../hero.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  /*background-attachment: none;*/
  background-size: cover;
}

#hero img{
	width:100%;
	margin-top:-200px;
	vertical-align:bottom;
}

#hero-caption {
	position:absolute;
	top:0px;
	right:5px;
	font-size:12px;
	font-family:'Boomer-Light';
	color:#333;
}


/*body styles*/
#body-wrap{
	background-color:#fff;
	position:relative;
}


h1.story-headline {
	font-size:120px;
	font-family:'ScoutCond';
	font-weight:bold;
	text-transform:uppercase;
	line-height:90px;
	margin-top:30px;
	margin-bottom:20px;
}

#intro-text-row{
	margin-top:10px;
}
.story-intro {
	/*margin-top:20px;*/
	-webkit-column-gap: 35px; /* Chrome, Safari, Opera */
    -moz-column-gap: 35px; /* Firefox */
    column-gap: 35px;
  	-webkit-columns: 2 auto;
   -moz-columns: 2 auto;
}

.story-intro p {
	font-family:'PublicoText';
	font-size:18px;
	line-height:1.4em;
	margin-top:0px;
	margin-bottom:15px;
}
.story-intro p strong {
	font-family:'PublicoText-SemiBold';
	font-size:22px;
}

.story-intro p:last-child {
	margin-bottom:20px;
}

p.byline {
	font-size:12px;
	line-height:1.6em;
	margin-top:14px;
	font-family:'Boomer-Light';
	text-transform:uppercase;
	margin-bottom:20px;
}


ul.story-list{
	margin-left:0px;
	padding-left:10px;
	border-left:3px solid #CED2D4;
}

ul.story-list > a > li {
	margin:0px;
	list-style-type:none;
	cursor:pointer;
	-webkit-transition: background-color 0.2s ease-in;
	  -moz-transition: background-color 0.2s ease-in;
	  -o-transition: background-color 0.2s ease-in;
	  transition: background-color 0.2s ease-in;
}


ul.story-list > a > li h4 {
	background-color:#41526B;
	padding:5px 10px;
	font-family:'Boomer-Book';
	font-size:16px;
	text-transform:uppercase;
	color:#fff;
	-webkit-transition: background-color 0.2s ease-in;
	  -moz-transition: background-color 0.2s ease-in;
	  -o-transition: background-color 0.2s ease-in;
	  transition: background-color 0.2s ease-in;
}
ul.story-list > a > li p {
	font-family:'PublicoText';
	line-height:1.3em;
	font-size:14px;
	padding:0px 10px 5px 10px;
	margin-bottom:0px;
	color:#000;
}
ul.story-list > a > li:hover {
	background-color:#eee;

}

ul.story-list > a > li:hover h4{
	background-color:#4D6A8E;
}

#intro {
	margin-bottom:50px;
	padding-bottom:50px;
	border-bottom:1px solid #ddd;
}


section{
	position:relative;
}

#chart-wrap {
	width:100%;
	/*padding-top:50px;*/
	padding-bottom:50px;
}

h2{
	font-family:'ScoutCond';
	font-weight:bold;
	font-size:90px;
	width:100%;
	border-bottom:1px solid #ddd;
	text-transform:uppercase;
	line-height:1.1em;
	margin-bottom:10px;
}

h3 {
	font-family:'ScoutCond';

	/*font-weight:bold;*/
	font-size:50px;
	text-transform:uppercase;
	line-height:1em;
}

#chart-note, #income-chart-note, #millennial-chart-note, #traffic-chart-note, #innovation-chart-note {
	font-family:'Scout';
	font-size:20px;
	margin-top:10px;
	text-transform:uppercase;
	text-align:center;
	/*letter-spacing:1px;*/
	font-weight:bold;
}

.chart-text p {
	font-family:'PublicoText';
	font-size:16px;
	margin-bottom:10px;
}

p#income-chart-text, p#millennial-chart-text, p#traffic-chart-text, p#innovation-chart-text{
	font-family:'PublicoText';
	font-size:20px;
	margin-bottom:10px;
}



.chart-text .data-source {
	font-family:'Boomer-Light';
	font-size:12px;
	text-transform:uppercase;
}

.legend {
	margin-top:20px;
	margin-bottom:20px;
	border:1px solid #ddd;
	padding:10px;
	font-family:'Scout-Light';
	font-size:18px;
	line-height:1.8em;
	text-transform:uppercase;
}
.legend i {
	margin-right:5px;
	font-size:12px;
	line-height:2em;
	margin-top:-5px;
	vertical-align: middle;
}

.mobile-legend {
/*	margin-top:20px;
	margin-bottom:20px;*/
	border:1px solid #ddd;
	padding:10px;
	font-family:'Scout-Light';
	font-size:14px;
	line-height:1.8em;
	text-transform:uppercase;
}
.mobile-legend i {
	margin-right:5px;
	font-size:10px;
	line-height:2em;
	margin-top:-5px;
	vertical-align: middle;
}


#income-legend {
	margin-top:50px;
}


.stuck {
	position:fixed;
	top:0;
}

.unstuck {
	position:absolute;
}


section {
	margin-bottom:200px;
}
section:last-child {
	margin-bottom:50px;
}


rect {
	shapeRendering:crispEdges;
}

._2000{
	opacity:0.6;
}
._2012{
	opacity:1.0;
}


.line-text,.bartext, .changetext {
	font-family:'Boomer';
	font-size:10px;
	color:#333;
	line-height:2em;
}
.changetext{
	font-family:'Boomer';
	font-size:14px;
	color:#333;
	line-height:2em;
}
path.atlanta {
	stroke:#EA5513;
	stroke-width:4px;
	fill:none;
}
#atl {
	color:#EA5513;
}
.atlanta-bar, .atlanta, .ATL {
	fill:#EA5513;
}
path.charlotte {
	stroke:#5E7FA5;
	stroke-width:2px;
	fill:none;
	opacity:0.9;
}
#clt {
	color:#5E7FA5;
}
.charlotte-bar, .charlotte, .CLT {
	fill:#5E7FA5;
}
path.dallas {
	stroke:#2E4259;
	stroke-width:2px;
	fill:none;
	opacity:0.9;
}



#dal {
	color:#2E4259;
}
.dallas-bar, .dallas, .DAL {fill:#2E4259;
}
.axis-text{
	font-size:10px;
	font-family:'Boomer-Light';
}

.axis{
	stroke-width:1px;
	stroke:#ddd;
	fill:none;
	shape-rendering: crispEdges;
}

.grid .tick {
    stroke: lightgrey;
    opacity: 0.7;
}
.grid path {
      stroke-width: 0;
}


.axis .tick{
	stroke-width:1px;
}
.axis .tick text {
	stroke:none;
	fill:#333;
	font-size:11px;
	font-family:'Boomer-Light';
}

footer {
	width:100%;
	padding-top:20px;
	padding-bottom:20px;
	background-color:#333;

}

/* small screen and tablet */
@media only screen and (max-width: 64em) {


	#nav-head-box{
		background-color:#EA5513;
		padding:15px;
		color:#fff;
		font-size:30px;
		line-height:0.8em;
		letter-spacing:1px;
		font-family:'Publico-Black';
	}
	#nav-head-box span{
		vertical-align:middle;
		display:inline-block;
	}
	#nav-head-box span:last-child {
		font-family:'BoomerExtraCondBlack';
		font-size:40px;
	}

	#nav-head-box i{
		margin:0px 5px;
		font-size:50px;
	}
	#nav-text-box p {
		margin-top:10px;
		font-family:'Boomer-Book';
		font-size:12px;
		color:#fff;
		margin-bottom:0px;
	}

	h1.story-headline {
		font-size:50px;
		font-family:'ScoutCond';
		font-weight:bold;
		text-transform:uppercase;
		line-height:40px;
		margin-top:30px;
		margin-bottom:0px;
	}
	.story-intro {
		/*margin-top:20px;*/
		-webkit-column-gap: 0px; /* Chrome, Safari, Opera */
	    -moz-column-gap: 0px; /* Firefox */
	    column-gap: 0px;
	  	-webkit-columns: 1 auto;
	   -moz-columns: 1 auto;
	}

	.story-intro p {
		font-family:'PublicoText';
		font-size:16px;
		line-height:1.6em;
		margin-top:0px;
		margin-bottom:15px;
	}
	.story-intro p strong {
		font-family:'PublicoText-SemiBold';
		font-size:18px;
	}

	h2{
		font-family:'ScoutCond';
		font-weight:bold;
		font-size:50px;
		width:100%;
		border-bottom:1px solid #ddd;
		text-transform:uppercase;
		line-height:1.1em;
		margin-bottom:5px;
	}

	h3 {
		font-family:'ScoutCond';

		/*font-weight:bold;*/
		font-size:30px;
		text-transform:uppercase;
		line-height:1em;
	}

	#chart-note, #income-chart-note, #millennial-chart-note, #traffic-chart-note, #innovation-chart-note {
		font-family:'Scout';
		font-size:16px;
		margin-top:10px;
		text-transform:uppercase;
		text-align:center;
		/*letter-spacing:1px;*/
		font-weight:bold;
	}

	.chart-text p {
		font-family:'PublicoText';
		font-size:14px;
		margin-bottom:10px;
	}

	p#income-chart-text, p#millennial-chart-text, p#traffic-chart-text, p#innovation-chart-text{
		font-family:'PublicoText';
		font-size:14px;
		margin-bottom:10px;
	}



	.chart-text .data-source {
		font-family:'Boomer-Light';
		font-size:10px;
		text-transform:uppercase;
	}

}

@media only screen and (max-width: 40em) {



	#nav-head-box{
		background-color:#EA5513;
		padding:15px;
		color:#fff;
		font-size:20px;
		line-height:0.8em;
		letter-spacing:1px;
		font-family:'Publico-Black';
	}
	#nav-head-box span{
		vertical-align:middle;
		display:inline-block;
	}
	#nav-head-box span:last-child {
		font-family:'BoomerExtraCondBlack';
		font-size:30px;
	}

	#nav-head-box i{
		margin:0px 5px;
		font-size:40px;
	}
	#nav-text-box p {
		margin-top:10px;
		font-family:'Boomer-Book';
		font-size:12px;
		color:#fff;
		margin-bottom:0px;
	}

}

