@font-face {
	font-family: 'BrandonGrotesque-Regular';
	src: url('../assets/BrandonGrotesque/BrandonGrotesque-Regular.eot?') format('eot'),
		 url('../assets/BrandonGrotesque/BrandonGrotesque-Regular.woff') format('woff'),
		 url('../assets/BrandonGrotesque/BrandonGrotesque-Regular.ttf') format('truetype'),
		 url('../assets/BrandonGrotesque/BrandonGrotesque-Regular.svg#BrandonGrotesque-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'BrandonGrotesque-Bold';
	src: url('../assets/BrandonGrotesque/BrandonGrotesque-Bold.eot?') format('eot'),
		 url('../assets/BrandonGrotesque/BrandonGrotesque-Bold.woff') format('woff'),
		 url('../assets/BrandonGrotesque/BrandonGrotesque-Bold.ttf') format('truetype'),
		 url('../assets/BrandonGrotesque/BrandonGrotesque-Bold.svg#BrandonGrotesque-Bold') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'BrandonGrotesque-Black';
	src: url('../assets/BrandonGrotesque/BrandonGrotesque-Black.eot?') format('eot'),
		 url('../assets/BrandonGrotesque/BrandonGrotesque-Black.woff') format('woff'),
		 url('../assets/BrandonGrotesque/BrandonGrotesque-Black.ttf') format('truetype'),
		 url('../assets/BrandonGrotesque/BrandonGrotesque-Black.svg#BrandonGrotesque-Black') format('svg');
	font-weight: normal;
	font-style: normal;
}





body {
	font-family: 'BrandonGrotesque-Regular', sans-serif;
	line-height: 1.5em;		  
}

h1 {
	font: normal 1.4em/1.1em 'BrandonGrotesque-Black', sans-serif;
	text-align: center;
	text-transform: uppercase;
}


/* key */

p.key {
	text-align: center;
	color: #666;
	padding: 1em 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
p.key .no-break {
  white-space: nowrap;
  display: inline-block;
  margin: 5px 0;
}
p.key .flag {
	padding: 0px 3px;
	display: inline-block;
	width: 3rem;
	border: 1px solid #ccc;
	height: 1.75rem;
	margin-bottom: -.5rem;
	margin-left: 3rem; 
}


.doesit1 {
	background-color: #8ab8ed;
}
.doesit0 {
  background-color: #fb5054;
}

.doesit0, .doesit1 {
  width: 1em;
  height: 1em;
  border-radius: 1em;
  display: inline-block;
  margin-top: 2px;
  margin-right: 10px;
  position: relative;
}


.doesit0:before, .doesit0:after {
  position: absolute;
  left: .49em;
  top: .2em;
  content: ' ';
  height: .6em;
  width: 1px;
  background-color: #444;
}
.doesit0:before {
  transform: rotate(45deg);
}
.doesit0:after {
  transform: rotate(-45deg);
}


.doesit1:after{
    position: absolute;
    left: .35em;
    top: .2em;
    content: '';
    display: block;
 
    /*Make it a small rectangle so the border will create an L-shape*/
    width: 4px;
    height: 8px;
 
    /*Add a white border on the bottom and left, creating that 'L' */
    border: solid #444;
    border-width: 0 1px 1px 0;
 
    /*Rotate the L 45 degrees to turn it into a checkmark*/
    transform: rotate(45deg);
  }
}



/* table */

table { table-layout: fixed; }

.state { white-space: nowrap; }

h3 {
	padding: 0px;
	margin: 0px;
	font: normal 1.1em/1.2em 'BrandonGrotesque-Bold', sans-serif;
}
thead th {
	padding-right: .75em;
	line-height: 1.2em;
	text-align: left;
	vertical-align: bottom;
}
td.state {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;  
}
td {
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
}

.yes-expanded-restrictiveness-of-existing-ban,
.yes-post-launch, .yes-temporary {
	background-color: #3a6de0;
	background-image: url('../img/new.gif');
	position: relative;
	background-size: 21px 27px;
}
.yes-expanded-restrictiveness-of-existing-ban:before,
.yes-temporary:before,
.yes-post-launch:before {
	content: 'NEW';
	position: absolute;
	left:0;
	top:3px;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #fff;
}
.yes-pre-launch {
	background-color: #8eb8ed;
}
.under-review {
	background-image: url('../img/under-review.gif');
	background-size: 25%;
	background-size: 21px 21px;
}
.no {
	background-color: #ff6966;
}



td.off {
	background-color: #fb5054;
}
td.on {
	background-color: #8ab8ed;
	-webkit-transition: background-color .5s;
	transition: background-color .5s;
}

td.off:hover,
td.off:focus {
	background-color: #b11d23;
	text-decoration: none;
	cursor: pointer;
}
td.on:hover,
td.on:focus {
	background-color: #4a729f;
	text-decoration: none;
}

td { 	cursor: pointer; }

table td.state {
	width: 14%;
}
table.fixed th.first {
	width: 17%;
}
table.fixed th {
	width: 12%;
}
table td, table th {
	width: 12%;
}

.recent {
	background-color: #ffff99;
}

th > div span { display: none; }


/* table header */

table {
	width: 100%;
	-webkit-border-horizontal-spacing: 0px;
	-webkit-border-vertical-spacing: 0px;
}
.hide { display:none; }
.fixed {
	background-color: #fff; 
	top: 0px;
	width: 100%;
  position:fixed;
}




/* legislation detail */

#popup {
	background-color:#5984af;
}
#popup #close {
	display: none;
}
p.close-this {
	border-top: 1px solid #b2c6da;
	text-align: center;
	margin-top: 2em;
	margin-bottom: 2em;
	padding-top: 2em;
}
p.close-this a {
	font-size: 1.3em;
	color: #fff;
}
#popup h2,
#infobox h2 {
	color: #fff;
	margin-top: 5px;
	font-family: 'BrandonGrotesque-Bold';
	font-weight: normal;
}

#infobox {
	width: 100%;
	padding:1em;
	background-color:#5984af;
	position:fixed;
	left:0;
	bottom:0;
	display:none;
  max-height: 100%;
  overflow-y: auto;
  z-index: 2;
  transform: translate3d(0px, 0px, 0px); 
  opacity: 1;
  overflow: auto;
}

#close {
	float: right;
	padding-right: .25em;
	color:#b2c6da;
	font-size: 5em;
	cursor: pointer;
}
.row {
	clear: left;
	overflow: hidden;
	padding-bottom: .75em;
}
.row div {
	float: left;
}

.newsection {
	border-top: 1px solid #b2c6da;
	margin-top: 1em;
	padding-top: 1em;
	overflow: hidden;
}

.label {
	color:#b2c6da;
}
.label .category {
	background-color:#4575a2;
	padding: 3px;
}
.info {
	color:#fff;
  font-size: 1.3em;
  line-height: 1.3em;
	width: 85%;
}



@media (max-width:680px) {
		p.key .flag {
			margin-left: 1em;
		}
		thead th {
				height: 200px;
				white-space: nowrap;
				line-height: 1.2em;
				padding-left: 1em;
				font-size: .8em;
				border-left: 1px solid #ccc;
		}
		thead th.first { 
			padding-left: 0px;
			border-left: 0px;		
			white-space: normal;
		}
		th > div span {
			display: inline;
		}
		th > div {
			transform: rotate(270deg);
			width: 10px;
		}
		td { font-size: .8em; }

		#infobox .row {
			margin-bottom: 1em;
		}
		.info,
		.label {
			width: 90%;
		}

		thead th.first { 
			width: 20%;
		}
		table td, table th {
			width: 10%;
		}


}
@media (max-width:980px) {
		thead th {
				font-size: .85em;
		}	
}

