/*-----------------------------------
  Typographic and Inline styles
-------------------------------------*/
body {
  background:#fff;
  font-size:13px;
  }
:focus { outline:0; }
h1, h2, h3, h4, h5, h6 {
  color:#333;
  margin:0;
  }
h1 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  line-height: 110%;
  letter-spacing: -2px;
  padding-bottom: 10px;
  }
h2 {
  line-height:36px;
  font-size: 25px;
  padding-bottom: 10px;
  }
h3 {
  font-size:18px;
  line-height:24px;
  padding-bottom: 5px;
  }
li {
  line-height:18px;
  }
p {
  margin: 0 0 20px;
}
table {
  background:#fff;
  max-width:100%;
  border-spacing:0;
  width:100%;
  margin:10px 0;
  border:1px solid #ddd;
  border-collapse:separate;
  *border-collapse:collapsed;
  -webkit-box-shadow:0 0 4px rgba(0,0,0,0.10);
   -moz-box-shadow:0 0 4px rgba(0,0,0,0.10);
      box-shadow:0 0 4px rgba(0,0,0,0.10);
  }
  table th,
  table td {
  padding:8px;
  line-height:18px;
  text-align:left;
  border-top:1px solid #ddd;
  }
  table th {
  background:#eee;
  background:-webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#eee));
  background:-moz-linear-gradient(top, #f6f6f6, #eee);
  text-shadow:0 1px 0 #fff;
  font-weight:bold;
  vertical-align:bottom;
  }
  table td {
  vertical-align:top;
  }
  table thead:first-child tr th,
  table thead:first-child tr td {
  border-top:0;
  }
  table tbody + tbody {
  border-top:2px solid #ddd;
  }
  table th + th,
  table td + td,
  table th + td,
  table td + th {
  border-left:1px solid #ddd;
  }
  table thead:first-child tr:first-child th,
  table tbody:first-child tr:first-child th,
  table tbody:first-child tr:first-child td {
  border-top:0;
  }
  tbody tr td a {
  color:#333;
  display:block;
  }
  #project-list tbody tr td a:hover,
  #project-list tbody tr:hover td {
    background-color:#f2faff;
    color:#003366;
    text-decoration:none;
    cursor:pointer;
    }
#projects td {
  text-align: right;
  }
#projects td:first-child {
  text-align: left;
  }

th.sort-header {
  cursor:pointer;
  }
th.sort-header::-moz-selection,
th.sort-header::selection {
  background:transparent;
  color:inherit;
  }
table th.sort-header:after {
  content:'';
  float:right;
  margin-top:7px;
  border-width:4px 4px 0;
  border-style:solid;
  border-color:#404040 transparent;
  visibility:hidden;
  }
table th.sort-header:hover:after {
  visibility:visible;
  }
table th.sort-up:after,
table th.sort-down:after,
table th.sort-down:hover:after {
  visibility:visible;
  opacity:0.4;
  }
table th.sort-down:after {
  border-top:none;
  border-width:0 4px 4px;
  }

a {
  color:#F04E23;
  }
a:hover {
  color:#F04E23;
  text-decoration:none;
}
input.button {
  cursor:pointer;
  -webkit-appearance:button;
  margin:0;
  font-size:100%;
  vertical-align:middle;
  *overflow:visible;
  line-height:normal;
  border:none;
  }
input[readonly] {
  cursor:default;
  background-color:#FFF;
  }

.button {
  background:#05A;
  color:#FFF;
  font-weight:bold;
  text-transform:uppercase;
  display:inline-block;
  text-align:center;
  padding:10px 40px;
  margin:20px auto 0;
  -webkit-border-radius:20px;
      border-radius:20px;
  }
  .button.disabled:hover,
  .button.disabled {
  background-color:#ccc;
  }
  .button:hover {
  background:#036;
  color:#FFF;
  }

.load {
  text-align:center;
  }

#header h1 a {
  color:#737373;
  font-size:30px;
  letter-spacing:-1px;
  font-weight:bold;
  position:absolute;
  top:35px;
  left:610px;
  line-height:normal;
  }
  #header h1 a:hover {
  text-decoration:none;
  }
#header h2 {
  font-size: 13px;
  color: #737373;
  font-weight: normal;
  left: 610px;
  top: 10px;
  }
#header li, #footer li {
  list-style:none;
  }


#footer ul {
  padding:0;
  margin:0;
  }
  #footer ul li {
  line-height:normal;
  }



/*-----------------------------------
  Global Layout
-------------------------------------*/
#main {
  position:relative;
	min-height:630px;
  }
.container-fluid {
  margin-bottom:40px;
  }
#main-container {
  position: relative;
  margin: 0;
  }
  #main-container .span2 {
  padding-top: 20px;
  }

#app .view {
  float:left;
  margin:50px 0 35px;
  }
#nav-side-wrapper {
  margin-top:50px;
  }
  #nav-side ul {
  margin:0;
  }
nav-side-wrapper {
  width:200px;
}

/*-----------------------------------
  Clearfix
-------------------------------------*/
/*Markup free clearing
Details: http: //perishablepress.com/press/2009/12/06/new-clearfix-hack*/
.clearfix:after {
  content:'';
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
  }
* html .clearfix { height:1%; }
*:first-child + html .clearfix { min-height:1%; }


body.ie .inner-shadow { display: none; }

ul.nav li { font-size:13px; }
.navbar-inner { min-height: 38px; }


/*-----------------------------------
  Report
-------------------------------------*/

#prose {
  font: normal 14px/20px Helvetica,Arial,sans-serif;
  color: #444;
}

.affix {
  top: 20px;
  position: fixed;
}

#prose a {
  color: #333;
  font-style: italic;
}

#prose a:hover {
  color: #333;
}

#toc h4 {
  padding: 10px 20px;
  color: #555;
}

#toc a {
  color: #333;
}

#toc li.active a {
  color: #fff;
}

#prose ul li {
  list-style-type: circle;
}

#report-title {
  float: left;
  height: 0px;
  margin-top: 25px;
  float: left;
}
#report-title h1 {
  font-size: 19px;
  letter-spacing: 0px;
}
#report-title h2 {
  font-size: 19px;
  color: #F04E23;
  top: 300px;
  line-height: 1;
  letter-spacing: 1px;
  font-style: italic;
  margin: 0px;
  padding: 0px;
}
/*-----------------------------------
  Infographics
-------------------------------------*/

#vis {
  width: 940px;
  height: 630px;
  clear: both;
  margin-bottom: 10px;
}

#vis {
  width: 940px;
  height: 680px;
  clear: both;
  margin-bottom: 10px;
}

.years {
  font-size: 21px;
  fill: #aaa;
}

#data-report {
  text-align:center;  
  z-index: 1000;
  position: absolute;
  opacity: .9;
}

#tooltipContainer {
  position: absolute;
  bottom: 0;
  width: 230px;
  left: -125px;
  font-size: 12px;
  line-height: 16px;
  padding: 10px;
  border-radius: 3px;
  background: rgba(255,255,255,0.9);
  color: #000;
  box-shadow: 0 1px 5px rgba(0,0,0,0.4);
  -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.4);  
  border:1px solid rgba(200,200,200,0.85);
  text-align:center;
}

.tooltip .data-tail {
  position: absolute;
  bottom: -8px;
  left: 105px;
  width: 40px;
  height: 8px;
  background: url(../img/tail_white.png) 50% 0%;
}

.tooltip .data-type {
  text-transform: uppercase;
  text-align: left;
  font-size: 10px;
  margin-bottom: 2px;
  color:#666;
  text-align:center;  

}
.tooltip .data-rule {
  height:1px;
  margin:1px auto 3px;
  background:#ddd;
  width:130px;
}

.tooltip .data-desc {
  color:#666;
/*   text-transform:uppercase;*/
  font-size: 11px;   
  text-align:center;  
  font-style:italic;
}
.tooltip .data-date {
  text-align: left;
  font-size: 13px;
/*  width:170px;*/
 text-align:center;  
}
.tooltip .data-value {
/*  position:absolute;*/
 text-align:center;
  right:10px;
  top:28px;
  font-size: 16px;
/*  width:100px;*/
 text-align:center;  
  overflow:hidden;
  font-weight:bold;
}

.tooltip .data-valuesContainer {
  padding-top:7px; 
}

.legend rect {
  fill: white;
  stroke: black;
  opacity: 0.8;
}

text {
  font-size: 10px;
  font-family: Helvetica,Arial,sans-serif;
  fill: #333;
}

div#visualization text {
  fill: #fff;
}

#count {
  font-size: 30px;
  line-height: 30px;
  text-align: center;
}

#dates {
  font-size: 30px;
  line-height: 30px;
  text-align: center;
}

#date-slider, #det-slider {
  height:80px;
}

div.ui-rangeSlider-label {
  bottom:90px;
}
/*-----------------------------------
  Data
-------------------------------------*/

.limiter {
  width: 960px;
  margin: 0 auto;
}
select {
  width: 100%;
}
input {
  width: 80%;
}
td a {
  width: 15px;
  float: left;
}
#loader {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
  position: relative;
}
#iloader {
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
  position: absolute;
}
#prose-data {
  font-size: 20px;
  margin-top: 10px;
  line-height: 28px;
  margin: 20px 0 0;
  font-weight: normal;
  color: #666;
  max-width: 665px;
}
#data-list {
  position: relative;
  display: block;
  float: right;
  width: 260px;
  margin: 20px;
}
.popover-content .nav-list > .active > a, .popover-content .nav-list > .active > a:hover {
  background-color: #F04E23;
}
.popover-content .nav-list .active a {
  color: #fff;
}
.popover-content .nav-list a {
  color: #000;
}
.popover-content .nav-list a:hover {
  color: #F04E23;
}

.popover-content .nav-list .active a:hover {
  color: #fff;
}
/*-----------------------------------
  Map
-------------------------------------*/

#map { height: 500px;position: relative; }
.marker {
  background: url(/ext/img/markers.png) no-repeat 0 100%;
  position: absolute;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  color:#fff;
}
.wax-legends {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
}
.wax-legends .wax-legend {
  padding: 10px;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px;
  -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px;
  border: 1px solid #ccc;
  font-size: 11px;
  line-height: 16px;
  font-weight: normal;
  width: 270px;
  display:block;
}
.wax-legend .legend-title {
  text-align: left;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 100%;
}
.wax-legend .legend-scale ul {
  margin: 0;
  padding: 0;
  float: left;
  list-style: none;
}
.wax-legend .legend-scale ul li {
  display: block;
  float: left;
  width: 50px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 80%;
  list-style: none;
}
.wax-legend ul.legend-labels li span {
  display: block;
  float: left;
  height: 15px;
  width: 50px;
}
.wax-legend .legend-source {
  font-size: 70%;
  color: #999;
  clear: both;
}
.wax-legend a {
  color: #777;
}
.wax-legend {
  overflow: auto;
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
}
.wax-tooltip {
  z-index: 99999999999;
  position: absolute;
  background: rgb(40,40,40);
  background: rgba(40,40,40,.90);
  color: #fff;
  padding: 10px;
  right: 10px;
  top: 150px;
  width: 340px;
  opacity: 1;
  -webkit-transition: opacity .3s;
  -moz-transition: opacity .3s;
}
body.map-fullscreen-view .wax-tooltip {
  position: fixed;
  top: 10px;
}
.wax-tooltip h2 {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: capitalize;
  font-weight: bold;
  font-size: 18px;
  color:#fff;
}
.wax-tooltip .int_chart img {
  margin: 10px 0;
}
.wax-fade {
  opacity: 0;
}
.wax-fade {
  -webkit-animation-name: wax-fade;
  -webkit-animation-iteration-count: 1;
}
.wax-tooltip.hide { opacity:0; }
.wax-tooltip .close {
  display:block;
  position:absolute;
  top:0px;
  right:0px;
}
a.share {
  top: 170px;
}
.hider {
  display: none;
}
#prose-map, #ovtitle h2 {
font-size: 20px;
  margin-top: 10px;
  line-height: 28px;
  margin: 20px 0 0;
  font-weight: normal;
  color: #666;
}
/*-----------------------------------
  Infographics
-------------------------------------*/

#vis {
  margin-left: -40px;
}

.axis path, .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.label {
  fill: #777;
}

.year.label {
  font: 500 196px Helvetica;
  fill: #ddd;
}

.year.label.active {
  fill: #aaa;
}

.overlay {
  fill: none;
  pointer-events: all;
  cursor: ew-resize;
}
.limiter {
  width: 960px;
  margin: 0 auto;
}
  	  
#view_selection {
  padding: 15px;
}
.data-scaleKeyCircle {
  stroke-width: 1;
  stroke: #999;
  stroke-dasharray: 2 2;
  fill: none;
}
#data-sizeKey {
  position: absolute;
  height: 110px;
  width: 200px;
  top: 630px;
  left: 35px;
}
.data-circleKeyLabel {
  position: absolute;
  border-top: solid 1px #CCC;
  width: 40px;
}
#data-sizeKey .data-circleKeyLabel span {
  font-size: 10px;
  color: #333;
  position: absolute;
  display: block;
  left: 45px;
  top: -11px;
  width: 80px;
  z-index: 100;
}
#data-overview {
  position: absolute;
  width: 310px;
  top: 100px;
  left: 10px;
}
#data-group-overview {
  position: absolute;
  width: 310px;
  top: 70px;
  left: 10px;
}
#data-overview h5, #data-group-overview h5 {
  margin: 3px 0px;
}
#data-overview p, #data-group-overview p {
  font-style:italic;
}
#prose-igraph {
  font-size: 20px;
  margin-top: 10px;
  line-height: 28px;
  margin: 20px 0 0;
  font-weight: normal;
  color: #666;
}
.data-type-label {
  position:absolute;
}
.data-agr-label {
  top: 150px;
  position: absolute;
  width: 200px; 
}
.data-agr-label p {
  font-style: italic;
}
.type {
  display: inline-block;
}
span.percents {
  display: inline-block;
  margin-left: 10px;
}
span.total {
  display:block;
}

#share_graphs {
  margin: 30px 100px;
  width: 528px;
  border: 1px solid #c5c5c5;
  padding: 30px;
}

#share_graphs .twitter {
  background:#0ac;
  border-color:#4ce;
}

#share_graphs .facebook {
  background:#359;
  border-color:#68c;
}

#share_graphs .twitter,
#share_graphs .facebook {
  display:inline-block;
  position:relative;
  padding:2px 18px;
  margin-right:10px;
  color:#fff;
  font-weight:bold;
  border:2px solid #ccc;
  border:1px solid #ccc;
  border-radius:3px;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  box-shadow:rgba(0,0,0,0.1) 0px 1px 3px;
  -moz-box-shadow:rgba(0,0,0,0.1) 0px 1px 3px;
  -webkit-box-shadow:rgba(0,0,0,0.1) 0px 1px 3px;
}


/*-----------------------------------
  About
-------------------------------------*/

div.about #prose {
  font: normal 16px/20px Helvetica,Arial,sans-serif;
}
div.about #prose p {
  padding-right: 50px;
  margin: 0 0 10px;
}
div.about #prose p:first {
  line-height: 25px;
}
div.about blockquote {
  font-style: italic;
}
