/*

	TOWING IN BOSTON
	boston.com
	Nov. 21, 2011
	
	By Tom Giratikanon
	
	Dependencies: 
	...
	
	Story by Andrew Ryan and Matt Carroll
	Data cleanup by Matt Carroll
	
	Concept feedback from David Butler,
	Dan Zedek ...
	
 */

/*
	INTERACTIVE STYLES
	
 */


ul, .item {
	list-style: none;
	margin: 0;
	padding:0
}

.preview .interactive-container {
	margin: 2em;
}

body {
	text-align: left;
}

.interactive-container {
	width: 959px;
}

.interactive-sidebar {
	float: left;
	width: 20%;
	margin-top: 2em;
}

.interactive-body {
	margin-left: 20%;
}

.interactive-footer {
	float: left;
	width: 100%;
	margin: 1em 0 0;
	border-top: 1px solid #ddd;
	padding-top: 1em 0 0;
}

.interactive-intro {
	padding: 0 0 0 0;
	border: 1px solid #ddd;
	border-width: 0 0 1px;
}

#chart-controls.sticky {
	position:fixed; 
	top:0; 
	z-index:2000; 
	width:162px;
}

/*
	SLIDE STYLES
	
 */

.slide {
	float: left;
	width: 100%;
	padding: 2em 0;
	border: 1px solid #ddd;
	border-width: 0 0 1px;
}

#slide1 {
	width: 766px;
}

#slide3 {
	border-width: 0;
}

.slide-body {
	position: relative;
}

.slide-title {
	margin: 0 0 1em;
}

/*
	NAVIGATION
	
 */

.nav-triangle {
	border-color: #B7CDFF transparent transparent transparent;
	border-style: solid;
	border-width: 10px;
	border-top: 18px solid transparent;
	border-left: 18px solid #2851A2;
	border-right: 0px solid transparent;
	border-bottom: 18px solid transparent;
	height: 0;
	position: absolute;
	bottom: -21px;
	left: 160px;
	top: 0px;
	display: none;
	z-index: 100;
}

#chart-controls {
	width: 85%;
}

#chart-controls ul {
	padding: 0;
	-webkit-padding-start 0;
	z-index: 100;
}

#chart-controls li {
	list-style: none;
	text-align: left;
	font-size: 15px;
	margin-left: 0;
	padding: 0;
	position: relative;
	z-index: 100;
}

.hotspot:hover  {
	background-color: #eee;
}

.hotspot:hover .location-link {
	border-top: 1px dotted #ccc;
	border-bottom: none;
}

.hotspot.hover .nav-triangle {
	display: block;
}

.hotspot.hover .location-link {
	background-color: #2851A2;
	color: white;
	border-top: 1px dotted #ccc;
	border-bottom: none;
	padding-right: 10px;
}

.location-link {
	border-top: 1px dotted #ccc;
	padding: 9px 0 9px 5px;
	display: block;
	font-size: 14px;
	height: 16px;
}

.tease {
	margin-top: 20px;
}

/*
	MAP
	
 */


.tilemill {
	float: left;
	width: 100%;
	border: 1px solid #999;
}

.interactive-container .wax-tooltip {
	background-color: white;
	color: #333;
	border: 1px solid #ccc;
	line-height: 1.3;
	padding: 7px;
	opacity: 0.98;
}

.wax-tooltip h2 {
	font-size: 13px;
}


/*
	
	WHY PEOPLE GET TOWED

 */
 
.reason-chart {
	width: 393px;
	float: left;
	margin-right: 40px;
}

.reason-chart .description,
.time-charts .description {
	font-size: 14px;
	line-height: 1.5;
}
 
.reason-chart .box-chart {
	width: 163px;
} 
 
.reason {
	float: left;
	width: 100%;
	margin: 0;
	border-bottom: 1px dotted #ddd;
	padding: 0.35em 0;
}

.reason.header {
	font-weight: bold;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.meta {
	float: left;
	width: 230px;
	font-size: 13px;
}

.meta .label {
	float: left;
	width: 160px;
	font-size: 14px;
}

.meta .number {
	float: left;
	width: 50px;
	text-align: right
}

.box-chart {
	float: left;
	width: 125px;
}

.reason-chart .chart-bar {
	height: 12px;
}

.chart-bar {
	background-color: #770000;
	height: 10px;
	float: left;
	margin-top: 3px;
}

.tower-chart .chart-bar {
	background-color: #eee;
}


.chart-bar.cleaning,
.cleaning .swatch {
	background-color: #CCCCCC;
}

.chart-bar.private,
.private .swatch {
	background-color: darkorange;
}


.box-chart-column {
	float: left;
	width: 7px;
}

.box {
	background-color: #ccc;
	width: 6px;
	height: 6px;
	margin: 0 1px 1px 0;
	float: left;
}

.bar-chart {
	float: left;
	width: 366px;
}


/*

	TOWING COMPANIES
	
 */


.tower-chart {
	float: left;
	width: 295px;
	margin-right: 20px;
}

.tower-chart .meta .label {
	width: 100px;
}

.tower-chart .meta {
	width: 170px;
}

.company {
	float: left;
	width: 24%;
	margin-right: 1%;
	text-align: center;
	margin-top: 10px;
}

.company.inout {
	margin-right: 0;
}

.company .map {
	margin-top: 10px;
}

.primary {
	width: 100%;
	clear: both;
	text-align: left;
	margin-top: 0;
	margin-bottom: 15px;
}

.primary .map {
	width: 48%;
	float: right;
	overflow: hidden;
	margin-top: -24px;
}

.primary .map img {
	margin-top: 0px;
}

.map img {
	width: 100%
}

.company-label {
	position: absolute;
}

.company h3 {
	font-size: 13px;
}

.company-label .number,
.company .number {
	font-size: 14px;
}

.company .number {
	font-size: 13px;
}

.company-label .number span {
}

.company-label p {
	color: #666;
}

.roberts {
	left: 348px;
	top: 125px;
	width: 130px;
}

.swatches {
	float: left;
	margin-bottom: 10px;
}

.swatch-group {
	float: left;
	margin-bottom: 3px;
	margin-right: 10px;
}

.swatch {
	background-color: #eee;
	width: 10px;
	height: 10px;
	float: left;
	margin-right: 6px;
	margin-top: 1px;
}

.swatch-group .label {
	font-size: 12px;
	float: left;
}

/*
	
	BAR CHARTS

 */
 

.time-charts {
	float: left;
	width: 325px;
}

.time-chart {
	margin-bottom: 25px;
	float: left;
	width: 100%;
}

.time-chart .meta {
	float: left;
	width: 100%;
}

.time-chart .meta .label {
	margin-bottom: 12px;
	font-size: 12px;
	width: 100%;
	text-transform: uppercase;
}

.bar-chart {
	position: relative;
	height: 55px;
	float: left;
	width: 100%;
}

.cleaning .bar-chart {
	height: 110px;
}

.bar {
	position: absolute;
	bottom: 0px;
	background-color: #770000;
	width: 11px;
}

.bar-chart .line {
	position: absolute;
	top: 0;
	height: 100%;
	border-left: 1px dotted #ddd;
}

.bar-chart .label {
	position: absolute;
	top: 0;
	font-size: 10px;
	color: #AAA;
	margin-left: 6px;
}

.bar-chart .tic {
	border-bottom: 1px solid #ddd;
	position: absolute;
	width: 5px;
	height: 1px;
	right: 28px;
}

.bar-chart .tic-label {
	font-size: 10px;
	color: #AAA;
	position: absolute;
	right: 0px;
	width: 23px;
	margin-bottom: -4px;
	
	text-align: left;
}	

.cleaning .bar-chart .label {
	display: block;
}

.time-chart .note {
	float: right;
	font-size: 10px;
	color: #AAA;
}