/* G E N E R A L
 * * * * * * * * * * * * * * * * * * * * * * * */

html {font-size:13px;color:#222;}
body {font:1em/1.6em Arial,sans-serif;}
.bigger {font-size:14px;}

html,body {margin:0;padding:0;}
h1,h2,h3,hr,p {margin:0;padding:0;}

a {color:#05c;text-decoration:none;}
a:hover {text-decoration:underline;}
a:focus {outline:none;}
a.disabled {color:gray; text-decoration:none;}

#center {
  margin: 0 auto;
  max-width: 960px;
}

/* B U T T O N S
 * * * * * * * * * * * * * * * * * * * * * * * */
button {
  background: #eee;
  background: -moz-linear-gradient(100% 100% 90deg, #e3e3e3, #f9f9f9);
  background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#f9f9f9), to(#e3e3e3));
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e3e3e3');

  border: 1px solid #bbb;
  border-top-color: #ccc;
  border-bottom-color: #999;
  border-radius: 2px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 2px;

  color: #222;
  cursor: pointer;
  display: inline-block;
  font:1em/1em Arial,sans-serif;
  text-shadow: 1px 1px 0 #fafafa;

  margin: 0;
  margin-right: 8px;
  outline: none;
  padding: 3px 8px;
  text-align: center;
  white-space: nowrap;
}
button:hover {
  border-color: #999;
}
button:active {
  border-color: #999;
  background: -moz-linear-gradient(100% 100% 90deg, #f5f5f5, #e0e0e0);
  background: -webkit-gradient(linear, 0% 40%, 0% 60%, from(#e0e0e0), to(#f5f5f5));
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0e0e0', endColorstr='#f5f5f5');
}

button.button {
  font:14px/18px Arial,sans-serif;

  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  top-left-radius: 0;
  bottom-left-radius: 0;
  -moz-border-radius: 0 3px 3px 0;
  -webkit-top-left-radius: 0;
  -webkit-bottom-left-radius: 0;
}

/** share icons */
.share {
  display: inline-block;
  padding-right:4px;
  width:16px;
  height:16px;
  vertical-align: middle;
}
.twitter {
  margin-top: 4px;
  display: inline-block;
  padding-right:4px;
  vertical-align: middle;
}
.share-end {display:block; clear:left;}
.share-bebo, .share-delicious, .share-digg, .share-facebook, .share-generic,
.share-livespaces, .share-myspace, .share-orkut, .share-twitter, .share-misterwong,
.share-reader, .share-technorati, .share-meneame, .share-igoogle, .share-buzz{
  background:no-repeat url(../images/sharing-sprite.gif)}
.share-bebo{background-position: 0 -112px;}
.share-delicious{background-position: 0 -32px;}
.share-digg{background-position: 0 -96px;}
.share-facebook{background-position: 0 0;}
.share-generic{background-position: 0 -64px;}
.share-livespaces{background-position: 0 -80px;}
.share-myspace{background-position: 0 -16px;}
.share-orkut{background-position: 0 -128px;}
.share-twitter{background-position: 0 -48px;}
.share-misterwong{background-position: 0 -144px;}
.share-reader{background-position: 0 -160px;}
.share-technorati{background-position: 0 -176px;}
.share-meneame{background-position: 0 -192px;}
.share-igoogle{background-position: 0 -208px;}
.share-buzz{background-position: 0 -224px;}


/* H E A D E R
 * * * * * * * * * * * * * * * * * * * * * * * */
#header {
  overflow: hidden;
}

#header a.logo {
  background: url(../images/sprite.png) no-repeat 0 0;
  float: left;
  width: 211px;
  height: 40px;
  margin-top: 15px;
  margin-bottom: 20px;
  margin-left: 0px;
  margin-right: 10px;
  text-indent: -100em;
  overflow: hidden;
}

#header p {
  margin: 20px 0;
  margin-bottom: 5px;
  padding: 0;
  white-space: nowrap;
}
#header input {
  border: 1px inset #ccc;
  border-right: none;
  font: 14px/1em Arial,sans-serif;
  padding: 4px 24px 4px 2px;
  margin: 0;
  width: 300px;
}
#header input:focus {
  outline: 2px solid #69f;
}
#header a.reset {
  background: url(../images/sprite.png) -60px -40px;
  cursor: pointer;
  display: inline-block;
  height: 16px;
  line-height: 30px;
  margin-bottom: -3px;
  margin-left: -16px;
  width: 16px;  /* margin-left and width must precisely offset one another */
}
#header a.reset:hover {
  background-position: -80px -40px;
}

.confidential {
  background-color: #C42B2C;
  border-radius: 5px 5px;
  -moz-border-radius:5px 5px 5px 5px;
  padding: 6px 7px;
}

.confidential a {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.confidential a:hover {
  text-decoration: underline;
}

/* N A V I G A T I O N
 * * * * * * * * * * * * * * * * * * * * * * * */
#aside {
  float: left;
  padding: 0;
  width: 190px;
  padding-left: 31px;
}
#aside h2 {
  color: #888;
  display: none;
  font-size: 1em;
  font-weight: 400;
}
#aside input.number {
  width: 4em;
}
#aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#aside li {
  white-space: nowrap;
}

#aside hr {
  border: none;
  margin: 10px 0;
  border-bottom: 1px solid #C7D7F3;
}

.compare li {
  padding-left: 5px;
  padding-top: 1px;
  padding-bottom: 1px;
  margin-left: -5px;  /* must match .aside padding-left */
}

.compare li.selected {
  background: #C7D7F3;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  -o-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
  font-weight: bold;
}

/* M A N U A L
 * * * * * * * * * * * * * * * * * * * * * * * */
#manual {
  border-left: 1px solid #C7D7F3;
  overflow: hidden;
  padding: 0 20px;
}
#manual h1 {
  color: #190;
  font-size: 1.5em;
  font-weight: normal;
  padding-bottom: 0.5em;
}
#manual h2 {
  font-size: 1em;
  font-weight: normal;
  margin-top: 1em;
}
#manual div.examples {
  float: left;
  width: 50%;
}
#manual div.text {
  width: 100%;
}
#manual .paragraph {
  margin: 1.12em 0;
  margin-right: 5px;
}
#manual ul {
  padding-bottom: 0.5em;
}

/* D O C U M E N T A T I O N
 * * * * * * * * * * * * * * * * * * * * * * * */
.doc {
  border-left: 1px solid #C7D7F3;
  overflow: hidden;
  padding: 0 20px;
}
.doc h1 {
  color: #190;
  font-size: 1.5em;
  font-weight: normal;
  padding-bottom: 0.5em;
}
.doc h2 {
  font-size: 1em;
  font-weight: bold;
  margin-top: 2em;
}
.doc .paragraph {
  margin: 1.12em 0;
  margin-right: 5px;
}

/* T U T O R I A L
 * * * * * * * * * * * * * * * * * * * * * * * */
/* TODO: this is gross. go through these and turn it into human readable code */
.c33{vertical-align:middle;width:379.5pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c23{vertical-align:top;width:179.25pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c10{vertical-align:top;width:234.0pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c27{vertical-align:top;width:288.75pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c29{vertical-align:top;width:188.25pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c25{vertical-align:top;width:240.0pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c31{vertical-align:top;width:279.75pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c34{vertical-align:top;width:261.0pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c35{vertical-align:middle;width:126.75pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c22{vertical-align:middle;width:88.5pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c21{vertical-align:middle;width:106.5pt;border-style:solid;border-color:#ffffff;border-width:1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt}
.c28{list-style-type:decimal;margin:0;padding:0}
.c19{padding-top:18.0pt;direction:ltr;margin:0}
.c0{padding-top:0pt;direction:ltr;padding-bottom:0pt}
.c6{padding-top:12.0pt;direction:ltr;margin:0}
.c36{width:468.0pt;background-color:#ffffff;padding:72.0pt 72.0pt 72.0pt 72.0pt}
.c14{list-style-type:disc;margin:0;padding:0}
.c1{color:#222222;font-family:Courier New}
.c12{font-size:13pt;font-weight:bold}
.c7{padding-left:0pt;margin-left:36.0pt}
.c11{color:#009900;font-size:24pt}
.c18{color:#000099;text-decoration:underline}
.c4{color:inherit;text-decoration:inherit}
.c17{font-size:18pt}
.c16{font-style:italic}
.c26{font-size:8pt}
.c20{margin-right:-36.0pt}
.c3{height:11pt}
.c5{font-family:Courier New}
.c2{color:#333333}
.c32{text-align:center}
.c30{height:0pt}
.c9{line-height:1.0}
.c13{font-size:13pt}
.c8{font-size:14pt}
.c15{margin-right:20.0pt}
.c24{border-collapse:collapse}

/* R E S U L T S
 * * * * * * * * * * * * * * * * * * * * * * * */
#results {
  border-left: 1px solid #C7D7F3;
  overflow: hidden;
  padding: 0 20px;
  min-height: 300px;
}
#results h2 {
  font-size: 1em;
  font-weight: normal;
}
#results div.results {
  float: left;
  min-width: 50%;
}
#results ol {
  list-style: none;
  margin: 0;
  margin: 0 20px 0 -5px; /* (-; */
  padding: 0;
}
#results li {
  margin-bottom: 1px;
  padding: 0 5px; /* ;-) */
}
#results li.selected {
  background: #C7D7F3;
  border-radius: 2px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 2px;
}
#results li small {
  padding-right: 4px;
}
#results p.bottom {
  clear: both;
  font-size: 11px;
  padding-top: 20px;
  white-space: nowrap;
}

/* E N T R Y
 * * * * * * * * * * * * * * * * * * * * * * * */
#data-entry {
  border-left: 1px solid #C7D7F3;
  overflow: hidden;
  padding: 0 20px;
}
#data-entry h1 {
  color: #190;
  font-size: 2em;
  font-weight: normal;
  padding-bottom: 0.5em;
}
#data-entry h2 {
  margin-top: 1em;
  font-size: 1em;
  font-weight: normal;
}

/* C H A R T S
 * * * * * * * * * * * * * * * * * * * * * * * */
#results hr {
  border: none;
  border-bottom: 1px solid #C7D7F3;
  margin: 20px 0;
}
#results div.toggle {
  float: right;
  overflow: hidden;
  white-space: nowrap;
}

span.icon {
  background: url(../images/sprite.png) no-repeat;
  display: inline-block;
  height: 16px;
  line-height: 0;
  margin: 0 2px -3px 10px;
  width: 16px;
}
span.line {
  background-position: -100px -40px;
}
span.plot {
  background-position: -120px -40px;
}
span.maps {
  background-position: -140px -40px;
}

#results br {
  clear: both;
}
#results div.chart {
  width: 670px;
  height: 350px;
  margin: 10px 0;
  padding: 10px 0;
}

#line-chart {
  cursor: crosshair;
}

#line-legend {
  width: 670px;
  text-align: right;
}

.dygraph-ylabel {
  font-size: 13px;
}

.modal-dialog {
  z-index: 20;  /* above the dygraph labels, which have z-index = 10 */
}

/* F O O T E R
 * * * * * * * * * * * * * * * * * * * * * * * */
#footer {
  border-top: 1px solid #ddd;
  clear: both;
  color: #888;
  margin: 20px 10px;
  padding: 20px;
  text-align: center;
}

/* Upload page */
.upload-header {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 4px;
  vertical-align: middle;
}

.trix-embed {
  padding-bottom: 5px;
}

#upload-instructions {
  line-height: 1.3em;
  padding-top: 10px;

  /* The effect of these three properties is to center the div */
  width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* O N E B A R
 * * * * * * * * * * * * * * * * * * * * * * * */
#ghead {
   background: #f9f9f9;
   border-bottom: 1px solid #eee;
   height: 22px;
   position: relative;
   line-height: 15px;
}

#gog {
   background: none repeat scroll 0 0 #FFFFFF;
   padding: 3px 8px 0;
}

#gbar {
   float: left;
   height: 22px;
   padding-top: 1px !important;
}

#guser {
   padding-top: 1px !important;
   padding-bottom: 7px !important;
   text-align: right;
}

.gb1 {
   margin-right: 0.5em;
}

a.gb1, a.gb4 {
   text-decoration:underline;
}

a.gb1, a.gb2, a.gb3, a.gb4 {
   color:#0000CC !important;
}

.gbh {
   height: 0;
   position: absolute;
   top: 24px;
   width: 100%;
}

.gbh, .gbd {
   border-top: 1px solid #C9D7F1;
   font-size: 1px;
}

/* D A S H B O A R D
 * * * * * * * * * * * * * * * * * * * * * * * */
#dashboard {
  margin: 0 auto;
  max-width: 960px;
}

#dashboard h1 {
  white-space: nowrap;
  color: #190;
  font-size: 1.5em;
  font-weight: normal;
}

#dashboard table {
  cellpadding: 1;
  cellspacing: 1;
  width: 50%;
}

/* C O M I C
 * * * * * * * * * * * * * * * * * * * * * * * */
#page-nav {
  padding-top: 1px !important;
  text-align: right;
}

/* UPLOAD DIALOG
 * * * * * * * * * * * * * * * * * * * * * * * */

/* Styles for goog.ui.Dialog */
.modal-dialog-bg {
  position: absolute;
  background-color: #666;
  top: 0;
  left: 0;
}

.modal-dialog {
  position: absolute;
  padding: 5px;
  background-color: #bcf;
  border: 1px solid #000;
  font-family: arial, sans-serif;
  width: 400px;
  color: #000;
  outline: none;
}

.modal-dialog a,
.modal-dialog a:link,
.modal-dialog a:visited  {
  color: #0066cc;
  cursor: pointer;
}

.modal-dialog-title {
  position: relative;
  background-color: #ebeff9;
  color: #000000;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  vertical-align: middle;
  cursor: pointer;
  cursor: hand;
}

.modal-dialog-title-close {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 15px;
  height: 16px;
  background: url("../images/dialog_close_box.gif") no-repeat center;
  cursor: default;
}

.modal-dialog-content {
  /* padding: 15px; */
  font-size: 90%;
  background-color: #fff;
}

.modal-dialog-buttons {
  padding: 0 15px 15px;
  background-color: #fff;
}

.goog-buttonset-default {
  font-weight: bold;
}

/* UPLOAD TABS
 * * * * * * * * * * * * * * * * * * * * * * * */

/* Tabs in dialog */
/*
 * Styles used by goog.ui.TabRenderer.
 */
.goog-tab {
  position: relative;
  padding: 4px 8px;
  color: #00c;
  text-decoration: underline;
  cursor: default;
}

.goog-tab-bar-top .goog-tab {
  margin: 1px 4px 0 0;
  border-bottom: 0;
  float: left;
}

.goog-tab-bar-top:after,
.goog-tab-bar-bottom:after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.goog-tab-bar-bottom .goog-tab {
  margin: 0 4px 1px 0;
  border-top: 0;
  float: left;
}

.goog-tab-bar-start .goog-tab {
  margin: 0 0 4px 1px;
  border-right: 0;
}

.goog-tab-bar-end .goog-tab {
  margin: 0 1px 4px 0;
  border-left: 0;
}

/* State: Hover */
.goog-tab-hover {
  background: #eee;
}

/* State: Disabled */
.goog-tab-disabled {
  color: #666;
}

/* State: Selected */
.goog-tab-selected {
  color: #000;
  background: #fff;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #6b90da;
}

.goog-tab-bar-top {
  padding-top: 5px !important;
  padding-left: 5px !important;
  border-bottom: 1px solid #6b90da !important;
}

/* Warning message when uploading -- based on Gmail butter bar */
.message {
  background: #FFF1A8;
  border-color: #FFF1A8;
  color: black;
  padding: 0 7px;
  font-weight: bold;
  text-align: center;
  border: 3px solid transparent;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  font-family: arial,sans-serif;
  margin: auto auto;
  width: 300px;
}

.csv-instructions {
  padding: 0 7px;
  font-family: arial,sans-serif;
  margin: auto auto;
}

/*
 * Shift selected tabs 1px towards the contents (and compensate via margin and
 * padding) to visually merge the borders of the tab with the borders of the
 * content area.
 */
.goog-tab-bar-top .goog-tab-selected {
  top: 1px;
  margin-top: 0;
  padding-bottom: 5px;
}

.goog-tab-bar-bottom .goog-tab-selected {
  top: -1px;
  margin-bottom: 0;
  padding-top: 5px;
}

.goog-tab-bar-start .goog-tab-selected {
  left: 1px;
  margin-left: 0;
  padding-right: 9px;
}

.goog-tab-bar-end .goog-tab-selected {
  left: -1px;
  margin-right: 0;
  padding-left: 9px;
}


/*
 * Styles used by goog.ui.TabBarRenderer.
 */
.goog-tab-bar {
  margin: 0;
  border: 0;
  padding: 0;
  list-style: none;
  cursor: default;
  outline: none;
  background: #ebeff9;
}

.goog-tab-bar-clear {
  clear: both;
  height: 0;
  overflow: hidden;
}

.goog-tab-bar-start {
  float: left;
}

.goog-tab-bar-end {
  float: right;
}

/*
 * IE6-only hacks to fix the gap between the floated tabs and the content.
 * IE7 and later will ignore these.
 */
/* @if user.agent ie6 */
* html .goog-tab-bar-start {
  margin-right: -3px;
}

* html .goog-tab-bar-end {
  margin-left: -3px;
}
/* @endif */

.bar {
  background-color: #EBEFF9;
  padding: 6px 8px;
  font-size: 15px;
  font-weight: bold;
}

.tab-hidden {
  position: absolute;
  left: -9999px;
}

/* Drawing demo */
#draw_div {
  margin-left: auto;
  margin-right: auto;
  cursor: url(http://www.google.com/images/icons/feature/pencil-o24.png) 0 24, auto;
}

/* Upload box */
html>body .goog-inline-block {
  display: -moz-inline-box; /* This is ignored by FF3 and later*/
  display: inline-block; /* This is ignored by pre-FF3 Gecko */
}

.goog-inline-block {
  position: relative;
  display: inline-block;
}

* html .goog-inline-block {
  display: inline;
}

*:first-child+html .goog-inline-block {
  display: inline;
}

.search-input-container .search-input {
  vertical-align: top;
  height: 21px;
  line-height: 21px;
}

.search-input-container .search-input input {
  background-color: #fff;
  border: none;
  color: #000;
  outline: none;
  padding: 0;
}

.search-input-container {
  position: relative;
  height: 21px;
  width: 25em;
  vertical-align: top;
  background: none repeat scroll 0 0 #FFFFFF;
  border-color: #999 #ccc #ccc;
  border-right: 1px solid #ccc;
  border-style: solid;
  border-width: 1px;
  border-spacing: 0;
  padding: 1px;
  font-size: 16px;
  overflow: hidden;
}

#search-filters-container {
  height: 21px;
  line-height: 21px;
  padding-right: 2px;
}

.filter-chip {
  background: none repeat scroll 0 0 #d0dbed;
  border: 1px solid #bac8e6;
  border-radius: 3px;
  color: #000;
  cursor: default;
  height: 17px;
  line-height: 17px;
  margin: 1px;
  outline: medium none;
  vertical-align: top;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.filter-chip-label {
  font-size: 12px;
  height: 17px;
  padding-right: 5px;
  text-align: middle;
  vertical-align: top;
}


.filter-banner-table {
  height: 21px;
  line-height: 21px;
  vertical-align: top;
  border-collapse: collapse;
  border-spacing: 0;
  zoom: 1;
}

.filter-banner-table td {
  padding: 0;
}

.search-input-container .search-input-clear {
  position: absolute;
}

.search-input-clear {
  top: 5px;
  right: 2px;
  vertical-align: top;
  height: 19px;
  font-size: 19px;
  color: #a1b9ed;
  cursor: pointer;
  outline: none;
}

.search-input-clear-focused,
.search-input-clear-hovered {
  color: #36C;
}

.filter-chip {
  width: 272px;
  padding-left: 5px;
}

.filter-banner {
  height: 20px;
}

#search-input-container {
  height: 22px;
}

.search-input-container {
  width: 300px;
}

button {
  margin-left: -1px;
}

.spell {
  font-size: medium;
  font-weight: normal;
  color: #C00;
}

.google-icon {
  background: url(../images/sprite.png) no-repeat;
  display: inline-block;
  height: 16px;
  width: 16px;
  margin-left: 10px;
  vertical-align: middle;
  background-position: 0 -40px;
}

.youtube-icon {
  background: url(../images/sprite.png) no-repeat;
  display: inline-block;
  height: 16px;
  width: 16px;
  margin-left: 10px;
  vertical-align: middle;
  background-position: -20px -40px;
}

#butter-container {
  text-align: center;
}

#butter-message {
  padding: 5px;
  background-color: #ffff99;
  font-size: small;
  border-bottom: 1px solid #e5e5e5;
}
