
html {
	overflow-Y: scroll;
}

body {
  font: 12px Verdana, Verdana, Geneva, sans-serif;
  color: #282828;
  margin: 0;
  padding: 0;
  text-align: center;
 
  }
#main-content {
  width: 960px;
  margin: 0 auto;
  text-align: left;
}

h1,h2,h3 {
  font-weight: bold;
  margin: 0 0 5px;
  }
h4,h5,h6 {
  font-weight: normal;
  margin: 0 0 2px;
  font-size: 11px;
  }
h1 { font-size: 16px; }
h2 { font-size: 13px; }

#side-nav { 
	position: absolute;
	top: 10px;
	left: 10px;
	width: 150px; 
	background-color:#333; 
	list-style: none outside; 
	padding: 0; 
	margin: 0; 
	font-size: 12px; 
  }
#side-nav li { padding: 5px; border-bottom:1px solid #000; }
#side-nav li a:link { color: #CCC; }
#side-nav li a:visited { color: #CCC; }
#side-nav li a:hover { color: #fff; background-color:#1E1E1E;}
#side-nav li a:active { color: #fff; background-color:#1E1E1E;}

#top-nav {
   background-color: #333;
   padding: 10px;
   font-size: 15px;
   color: #FFF;
   border: 1px solid #333;
}

#top-nav h3 {
	float: right;
	margin: 0 3px 0 0;
	padding: 2;
}

#top-nav select { 
  border: 1px solid #ccc; 
  padding: 2px;
  font-size: 14px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  width: 280px;
}

#top-nav select option {
	font-size: 12px;
	text-indent: 1em;
	color: #333;
	height: 20px;
}
select option:hover {
	background-color:#e2e2e2;
	color: #00F;
}
hr {
	border: 0;
	color: #000;
	background-color: #000;
	height: 1px;
}
a {
  color: #63aece;
  text-decoration: none;
  }
  
a.button {
  font-family: Verdana, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 21px;
  display: block;
  text-align: center;
  font-weight: 100;
  width: 195px;
  height: 50px;
  line-height: 50px;
  background: #282828;
  -moz-transition: all 0.3s ease-out;  /* FF4+ */
  -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
  -webkit-transition: all 0.3s ease-out;  /* Saf3.2+, Chrome */
  transition: all 0.3s ease-out;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: 0px 3px 0px rgba(0,0,0,0.25);
  -webkit-box-shadow: 0px 3px 0px rgba(0,0,0,0.25);
  box-shadow: 0px 3px 0px rgba(0,0,0,0.25);
  margin-top: 15px;
  font-weight: normal!important;
  }
a.button:hover {
  background-color: #000;
  }
  


/*-----------------------------------
  Footer + CC
-------------------------------------*/
#footer {
  background: #282828;
  height: 70px;
  padding: 10px 0;
  font-size: 11px;
  color: #989898;
  }
#footer a {
  font-size: 14px;
  }
#footer ul {
  float: right;
  margin-top: 5px;
  }
#footer ul li {
  float: left;
  margin-left: 20px;
  line-height: 18px;
  }
#footer ul li.internews {
  display: block;
  text-align: right;
  width: 220px;
  }
#footer ul li a {
  width: 120px;
  height: 35px;
  }
#footer ul li a span {
  text-transform: uppercase;
  }
#footer ul li a.nai {
  background-position: 0 -35px;
  width: 132px;
  height: 37px;
  }
#footer ul li a.ds { background-position: 0 -74px; }

#footer .cc {
  float: left;
  color: #989898;
  }
#footer .cc span {
  font-size: 11px;
  line-height: 25px;
  margin-left: 10px;
  }
#footer .cc span a {
  font-weight: bold;
  font-size: 11px;
  }
  
/*-----------------------------------
  Map
-------------------------------------*/
#map {
  height: 560px;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  cursor: hand;
  }
#map img {
  border: 0!important;
  padding: 0!important;
  }

/* Zoom Controls */
a.zoomer {
  text-decoration: none;
  position: absolute;
  text-align: center;
  background: #282828;
  color: white;
  font-size: 14px;
  z-index: 1;
  width: 30px;
  height: 25px;
  line-height: 25px;
  font-weight: bold;
  top: 10px;
  left: 10px;
  }
a.zoomout {
  top: 35px;
  left: 10px;
  -moz-border-radius: 0px 0px 3px 3px;
  -webkit-border-radius: 0px 0px 3px 3px;
  border-radius: 0px 0px 3px 3px;
  border-top: 1px solid #111;
  }
a.zoomin {
  -moz-border-radius: 3px 3px 0px 0px;
  -webkit-border-radius: 3px 3px 0px 0px;
  border-radius: 3px 3px 0px 0px;
  }
a.zoomer:active {
  background-color: #000;
  }
a.zoomdisabled:active,
a.zoomdisabled {
  opacity: 0.35;
  -moz-opacity: 0.35;
  filter:alpha(opacity=35);
  border: none;
  cursor: default;
  }
  
/*Full screen button */
a.wax-fullscreen {
  text-decoration:none;
  position: absolute;
  background:#444 url('images/fullscreen.png') no-repeat center;
  top: 10px;
  left: 10px;
  width: 27px;
  height: 27px;
  z-index: 99999;
  color:#fff;
  line-height:25px;
  font-size:20px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border-top: 1px solid #111;
  }

/*Legend*/
.wax-legends {
  overflow: auto;
  position: absolute;
  left: 10px;
  bottom: 30px;
  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;
  line-height: 16px;
  font-weight: normal;
  font-size: 11px;
  color: #333;
  }
.wax-legends .wax-legend small {
  display: block;
  line-height: 14px;
  }
.wax-legends .wax-legend ul {
  margin: 5px 8px 0 8px;
  padding: 0;
  float: left;
  list-style: none outside;
  }
.wax-legends .wax-legend div.scale ul li{
  display: block;
  float: left;
  font-size: 9px;
  }
.wax-legends .wax-legend ul.bar-list li span {
  height: 20px!important;
  width: 40px!important;
  }
.wax-legends .wax-legend ul li span {
  display: block;
  float: left;
  margin-right: 8px;
  }
.wax-legends .wax-legend div.scale ul li { margin-bottom: 5px; }
.wax-legends .wax-legend div.scale ul.bar-list li { margin-bottom: 0; }
.wax-legends .wax-legend div.scale ul.min-max li {
  display: block;
  float: left;
  width: 99px;
  }
.wax-legends .wax-legend div.scale ul.min-max li.max { text-align: right;}
.wax-legends a:hover {
  color: #63aece;
  text-decoration: underline;
  }
.wax-legends .wax-legend ul.vertical-list li {
  margin-bottom: 5px;
  font-size: 11px;
  line-height: 10px;
  display: block;
  height: 10px;
  }
.wax-legends .wax-legend ul.vertical-list li span {
  -moz-box-shadow: 1px 1px 0px #989898;
  -webkit-box-shadow: 1px 1px 0px #989898;
  box-shadow: 1px 1px 0px #989898;
  width: 10px!important;
  height: 10px!important;
  }
.dot-legend {
  padding-bottom: 10px;
  line-height: 15px;
  font-size: 12px;
  }
.dot-legend .dot-title {
  margin-bottom: 5px;
  }
.dot-legend .dot-source {
  font-size: 9px!important;
  margin-top: 5px;  }
.wax-legend .source {
  clear: both;
  }
.overlay-legend .title {
  text-transform: uppercase;
  }
/*Tooltip*/
.wax-tooltip {
  z-index: 4;
  position: absolute;
  background: rgb(40,40,40);
  background: rgba(40,40,40,.90);
  color: #fff;
  padding: 10px;
  top: 10px;
  right: 10px;
  width: 280px;
  opacity: 1;
  -webkit-transition: opacity .3s;
  -moz-transition: opacity .3s;
  font-size: 12px;
  }
.wax-tooltip ul {
  margin: 0 8px ;
  padding: 0;
  float: left;
  list-style: none outside;
  }
.wax-tooltip h3 {
  font-weight: normal;
  font-size: 12px;
  margin: 0 0 3px;
  }
.wax-tooltip h4 {
  font-weight: bold;
  margin: 0 0 3px;
  }
.source {
  font-size: 10px;
  margin-bottom: 0;
}
/* tables stats */  
.wax-tooltip table, tr, td {
	border-collapse:collapse;
}
.wax-tooltip table td {
	padding: 0 5px;
	font-size: 10px;
	height: 17px;
}

.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;
}
  
.wax-attribution {
  position:absolute;
  background: rgb(255,255,255);
  background: rgba(255,255,255,.90);
  color:#333;
  font-size:10px;
  line-height:20px;
  z-index:4;
  text-align:left;
  padding:0 15px;
  bottom:0;
  left:0;
  width:100%;
  cursor: default;
}


/*Embed Code*/
#embed {
  position: absolute;
  width: 105px;
  height: 100px;
  z-index: 4;
  top: 135px;
  left: 70px;
  }
a.embed {
  background: #63aece url(../images/sprite.png) no-repeat -387px 5px;
  position: absolute;
  left: -60px;
  z-index: 1;
  width: 30px;
  height: 25px;
  display: block;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  }
.tip {
  display: none;
  position: absolute;
  width: 140px;
  left: 50%;
  margin-left: -70px;
  z-index: 4;
  bottom: 10px;
  }
.tip .inner {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  word-wrap: break-word;
  -moz-box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.10);
  -webkit-box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.10);
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.10);
  }
.tip span.point {
  display: block;
  width: 10px;
  height: 45px;
  background: transparent url(../images/sprite.png) no-repeat -365px 5px;
  z-index: 1;
  position: absolute;
  top: 25px;
  left: -9px;
  }
.tip input {
  width: 110px;
  margin-bottom: 5px;
  }
.active .tip {
  display: block;
  }

/*-------------
 * Bandwidth detector
 * ------------ */
#bwtoggle {
  font-size: 13px;
  font-weight:bold;
  width:20px;
  height:20px;
  padding:2px 5px;
  color:#fff;
  position:absolute;
  top:164px;
  background:#63AECE;
  left:10px;
  z-index:4;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

a.lq {
  background:#989898 !important;
}

/*-----------------------------------
  modal Screen for Data
-------------------------------------*/
#overlay {
  background: #000;
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  z-index: -1;
  opacity: 0;
  filter:alpha(opacity=0);
  transition:opacity .25s;
  -moz-transition:opacity .25s;
  -webkit-transition:opacity .25s;
  }
html #overlay {
  opacity: 0.5;
  filter: alpha(opacity=50);
  z-index: 5;
  }
#overlay,
#modal {
  display: none;
  }
#modal {
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  z-index: 5;
  }
#modal .popup {
  position: fixed;
  left: 50%;
  top: 70px;
  width: 960px;
  margin: 0px 0px 0px -480px;
  box-shadow: 0px 0px 5px rgba(0,0,0,.75);
  -moz-box-shadow: 0px 0px 5px rgba(0,0,0,.75);
  -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,.75);
  }
#modal .header {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 50px;
  background: #282828;
  color: #989898;
  }
#modal .header h2 {
  margin-left: 20px;
  line-height: 50px;
  }
#modal .header .close {
  background-color: black;
  margin: 0px;
  position: absolute;
  right: 0px;
  top: 0px;
  background-position: 20px -215px;
  width: 60px;
  height: 50px;
  }
#modal .content {
  position: absolute;
  top: 50px;
  left: 0px;
  right: 0px;
  padding: 20px;
  max-height: 390px;
  overflow: auto;
  background: #fff;
  -moz-box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.10);
  -webkit-box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.10);
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.10);
  }
#modal .content::-webkit-scrollbar {
  width: 12px; 
  }
#modal .content::-webkit-scrollbar-track-piece {
  border-radius: 10px;
  background-color: #eee;
  }
#modal .content::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #ccc;
  }
#modal .content h2,
#modal .content h3,
#modal .content h4,
#modal .content h5,
#modal .content h6 {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: capitalize;
  font-weight: bold;
  }
#modal .content h2 {
  font-size: 24px;
  margin: 15px 0 10px;
  }
#modal .content h3 {
  font-size: 18px;
  }
#modal .content ul {
  margin: 10px 0 10px 20px;
  }
#modal .content ul,
#modal .content ul li {
  list-style: disc;
  list-style-position: inside;
  }
#modal .content a:hover {
  text-decoration: underline;
  }

.map-tile {
  opacity:0;
}

.map-tile-loaded {
  -webkit-animation-name: 'fade-in';
  -webkit-animation-timing-function: ease-in;
  -webkit-animation-duration: .1s;
}

@-webkit-keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wax-tooltip {
  -webkit-animation-name: 'fade-in';
  -webkit-animation-timing-function: ease-in;
  -webkit-animation-duration: .1s;
 }

/*-----------------------------------
  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%; } /* IE6 */
*:first-child + html .clearfix { min-height: 1%; } /* IE7 */
