#body {

}

/*================ header ================*/
#header {
  overflow: hidden;
  position: fixed;
  top: 0;
  height: 30px;
  width: 100%;
  background: url(../images/header.gif) repeat-x 0 0;
  font-size: 16px;
}

#header-container {
  width: 100%px;
  margin: auto;
  margin-top: 5px;
}

#title {
  z-index: 100;
}

#nav {
}

#author {
  float: right;
}


/*================ map ================*/
#map {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

#d3-map {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

#d3-map .hovered{
  opacity:1.0;
}

#d3-map .unhovered{
  opacity:0.6;
}

#d3-map .selected{
  visibility: visible;
}

#d3-map .unselected{
  visibility: hidden;
}

.stations-grp .show{
  opacity:1.0;
}

.stations-grp .unshow{
   opacity:0;
}

/*================ linechart ================*/
#linechart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 320px;
  height: 370px;
  z-index: 20;
  opacity: .8;
  -moz-transition: opacity 0.25s;
  -webkit-transition: opacity 0.25s;
  -o-transition: opacity 0.25s;
  transition: opacity 0.25s;
}

#linechart:hover {
  opacity: 1;
}

/*================ record list ================*/
#recordlist {
  position: fixed;
  right: 0px;
  /*top: 30px;*/
  bottom: 5px;
  width: 320px;
  z-index: 20;
  overflow: scroll;
  background-color: white;
  opacity: .9;
  -moz-transition: opacity 0.25s;
  -webkit-transition: opacity 0.25s;
  -o-transition: opacity 0.25s;
  transition: opacity 0.25s;
  font-size: 14px;
  line-height: 1.8;
}

#recordlist:hover {
  opacity: 1;
}

#recordlist .hovered{
  font-size: 14px;
  opacity:1;
}

#recordlist .unhovered{
   opacity:0.6;
}

#recordlist .selected{
  font-size: 14px;
  opacity:1;
}

#recordlist .unselected{
   opacity:0.6;
}

span.PM25, span.O3, span.CO, span.NO2, span.SO2{
  cursor: pointer;
  font-size: 90%;
}

#recordlist .label {
  color: #666;
}

#recordlist .label .level-1 {
  color: #00E400;
}

#recordlist .label .level-2 {
  color: #FFFF00;
}

#recordlist .label .level-3 {
  color: #FF7E00;
}

#recordlist .label .level-4 {
  color: #FF0000;
}

#recordlist .label .level-5 {
  color: #99004C;
}

#recordlist .label .level-6 {
  color: #7E0023;
}
