/* cartogram */

img { width: 100%; height: auto; }

.content-inner { 
	max-width: 960px;
	margin: 0 auto;
	padding: 0px !important;
}

.chart-title {
	color: #666;
}

.mobile {
	display: block;
}
.desktop {
	display: none;
}

p, h2, li { font-family: 'Source Sans Pro',sans-serif; margin-bottom: .5em; }
p.key { text-align: center; color: #666; }
p.key span { margin-left: 2em; }

.row {
	text-align:center;
	width: 100%;
	position: relative;
}
.level-hed {
	margin-top: .5em;
	position: absolute;
	color: #999;
	text-transform: uppercase;
}
.city,
.state {
	display: inline-block;
	height: 3.1em;
	width: 3.1em;
	border: 1px solid #fff;
	color: #fff;
	text-align: center;
    font-family: 'Source Sans Pro',sans-serif;
    -webkit-transition: color .5s, background-color .5s;
    transition: color .5s, background-color .5s;
}
.city:first-of-type {
	margin-left: 2em;
}
#US {
	text-indent: -9999px;
    background-image: url("img/us.png");
    background-size: contain;
    border-radius: 6px;
}
.city { 
	border-radius: 100%;
	border: 2px solid #fff;
}

.null { background-color: #eee; }
.passed { background-color: #815ec3; cursor: pointer; }
.considering { background-color: #d1c5e9; cursor: pointer; }
.passed.considering { background-color: #472d76; cursor: pointer; }

.nullText { background-color: #eee; color: #eee; }
.passedText { background-color: #815ec3; color: #815ec3; }
.consideringText { background-color: #d1c5e9; color: #d1c5e9; }
.passedText.consideringText { background-color: #472d76; color: #472d76; }


.col-left { width: 100%; }
.col-left li {
	width: 20%;
	float: left;
}
.col-left a {
	text-decoration: none;
	display: block;
	background-color: #eee;
	padding: .25em .25em 0em .25em;
	opacity: .5;
    -webkit-transition: opacity .5s, color .5s, background-color .5s;
    transition: opacity .5s, color .5s, background-color .5s;
    border: 2px solid #fff;
}
.col-left a.active {
	opacity: 1;
}
.col-left a:hover {
	background-color: #f80;
}

.col-left ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin: 1em 0;
}

.cartogram {
	width: 100%;
}





/* Mobile */
@media only screen and (min-width : 320px) {
	.level-hed { font-size: .7em; }
	#US { font-size: 1.25em; }
	.city,
    .state {
    	font-size: .6em;
    	line-height: 2.5em;
    	width: 2.5em;
    	height: 2.5em;
    }
	.city {
    	font-size: .7em;
	}
  p.key { font-size: .75em; }
	p.key span { margin-left: 1em; }
}



/* Small Devices */
@media only screen and (min-width : 480px) {
	#US { font-size: 1.5em; }
	.state {
		font-size: .8em;
		line-height: 2.5em;
		width: 2.5em;
		height: 2.5em;
	}
	.city {
    	font-size: .8em;
	}
  p.key { font-size: .9em; }
	p.key span { margin-left: 2em; }
	.level-hed { font-size: .8em; }
}


@media only screen and (min-width : 640px) {
	#US { font-size: 1.75em; }
	.mobile {
		display: none;
	}
	.desktop {
		padding-left: .5em;
		display: block;
	}
	.col-left {
		width: 22%;
		float: right;
		padding-right: 1em;
	}
	.col-left li { width: 50%; }
	.cartogram {
		float:right;
		width: 75%;
	}
	.city,
	.state {
		font-size: .6em;
		line-height: 2.75em;
		width: 2.75em;
		height: 2.75em;
	}
	.city {
    	font-size: 1em;
	}
	.level-hed { font-size: .9em; }
}


/* Tablets */
@media only screen and (min-width : 768px) {
	.city,
  .state {
		font-size: .9em;
		line-height: 3em;
		width: 3em;
		height: 3em;
  }
	.city {
    	font-size: 1em;
	}
}
/* Desktop */
@media only screen and (min-width : 960px) {
    .city,
    .state {
    	font-size: 1em;
    }
}



/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    -webkit-transition: display .5s;
    transition: display .5s;
}

/* Modal Content/Box */
.modal-content {
    font-family: 'Source Sans Pro';
    background-color: #fefefe;
    margin: 5% auto;
    padding: 1em 2em;
    border: 1px solid #888;
    width: 80%;
    text-align: left;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 3em;
    -webkit-transition: color .5s;
    transition: color .5s;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* modal content */
h2 {
	margin-top: .5em;
	padding-left: .5em;
	padding-right: .5em;
	text-align: center;
	font-size: 1.4em;
}
h2.modal-title {
	text-align: left;
	padding-bottom: 1em;
	border-bottom: 1px solid #ddd;
}
.bill {
	margin-bottom: 1.25em;
	padding-bottom: 1.25em;
	padding-top: .25em;
	border-bottom: 1px solid #ddd;
}
.bill p {
	margin: .4em 0em .4em 1em;
}
.bill span.label {
	font-size: .75em;
	text-transform: uppercase;
	color: #888;
}
.bill span.passed, 
.bill span.considering {
	color: #fff;
	padding: .1em .5em;
}
p.close-this {
	text-align: center;
	margin-bottom: 1.5em;
}
p.close-this a {
	padding: .75em;
	margin: 0 1em;
	display: block;	
	background-color: #588fc7;
	color: #fff;
	text-decoration: none;
  -webkit-transition: color .5s, background-color .5s;
  transition: color .5s, background-color .5s;
}
p.close-this a:hover {
	background-color: #000;
	color: #fff;
}





/* Progress Bar */

#crumbs ul {
  list-style: none;
  display: inline-table;
  padding: 0;
  margin: 0  0 0 1em;
}
#crumbs ul li {
  display: inline;
}

#crumbs ul li a {
  display: block;
  float: left;
  height: 24px;
  background: #ccc;
  text-align: center;
  padding: 5px 3px 0px 15px;
  position: relative;
  margin: 0 2px 0 0; 
  text-decoration: none;
  color: #fff;
  font-size: .8em;
  cursor: default;
}
#crumbs ul li:first-of-type a {
	padding-left: 10px;
}
#crumbs ul li:last-of-type a {
	padding-right: 10px;
}
#crumbs ul li a:after {
  content: "";  
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 10px solid #ccc;
  position: absolute; 
  right: -10px; 
  top: 0;
  z-index: 1;
}
#crumbs ul li.active a:after {
	border-left-color: #fc0;
}
#crumbs ul li.active a {
	color: #000;
	background-color: #fc0;
}

#crumbs ul li a:before {
  content: "";  
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 10px solid #fff;
  position: absolute; left: 0; top: 0;
}

#crumbs ul li:first-child a:before {
  display: none; 
}

#crumbs ul li:last-child a:after {
  display: none; 
}
