/* 
  Base text color: #989898 
  The maroon:      #7e0e41
*/


body {
  font-family: “Nimbus Sans L”, Helvetica, Arial, Verdana, sans-serif;
  font-size: 26px;
  line-height: 1.2em;
  color: #989898;
  background-color: #fff;
}

#header, #container, #footer {
  width: 974px;
  margin: 0 0 0 4%;
  padding: 15px 0;
  overflow: hidden;
}

h4 {
  margin-bottom: 5px;
}

h4 + p {
  margin-top: 5px;
}

sub, sup {
  line-height: 0;
}

#container {
  margin-bottom: 105px; /* 5px less than footer height */
}

#container.user {
  margin-bottom: 25px;
}

#container #results {
  height: 310px;
  margin-top: 30px;
}

#container #results .result table,
#container #results #graphs,
#container #user_sponsor {
  float: left;
  border: 2px solid #000;
  width: 250px;
  height: 230px;
  margin-right: 29px;
}

#container #results #graphs,
#container #results #user_sponsor {
  border: none;
  width: 170px;
}

#container #results .result table td {
  padding: 0;
  margin: 0;
  text-align: center;
  vertical-align: middle;
}

#container #results .result table thead td,
#container #results .result table tfoot td {
  color: #fff;
  background-color: #7e0e41;
  font-size: 80%;
  text-transform: uppercase;
  height: 50px;
}

#container #results .result table tbody td {
  border-top: 2px solid #000;  
  border-bottom: 2px solid #000;
}

#container #results .result table .data {
  margin: 0;
  padding: 5px 0;
  color: #000;
  font-size: 240%;
  font-weight: bold;
}

#container #results .error_per_day_result {
  float: left;
  width: 445px;
  height: 230px;
  margin-right: 29px;
}

/* bar graph */
div#graphs {
  line-height: 1em;
  font-size: 55%;
  font-weight: bold;
}

div.graph {
  margin: 3px 0 20px;
}

div.bar_graph {
  height: 20px;
  position: relative;
  padding: 0 0 0 0;
  text-align: left;
  overflow: hidden;
  border: 1px solid #000;
}

div.bar_graph div {
  position: absolute;
  height: 20px;
  border: 0;
  background: none;
  left: 0px;
  top: 0px;
  overflow: hidden; 
}

div.bar_graph div.top {
  z-index: 20;
  background-color: #7e0e41;
  border-right: 1px solid #bbb;
}

div.bar_graph div.bottom {
  z-index: 10;
  background-color: #ddd;
  width: 90%;
}

div.bar_graph div.description {
  z-index: 5;
  padding: 3px 0;
  color: #fff;
  font-family: Verdana;
  font-size: 65%;
  font-weight: normal;
  text-align: center;
  background-color: #000;
  opacity: 0.7;
  width: 100%;
}

div.bar_graph:hover div.description {
  z-index: 100;
}
/* end bar graph */

#shared_links {
  margin-top: 10px;
  font-size: 70%;
  float: left;
  position: relative;
  top: 0;
}

#shared_links.ippnw {
  line-height: 1em;
}


/* Nuclear additions */
#header h1 .nuclear {
  color: #ff4500;
}

#container #results .result.nuclear table tbody td {
  background-image: url(mushroom.jpg);
  color: #fff;
}

#container #results .result.nuclear table .easter_egg_wrapper {
  padding: 0 3px;
  margin: 0;
  background-color: #000;
  filter:alpha(opacity=70);
  -moz-opacity:0.70;
  opacity:0.70;
  -khtml-opacity:0.70;
}

#container #results .result.nuclear table .data,
#container #results .result.nuclear table .milliscoble {
  color: #fff;
}

#fall_out {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  color: #000;
  font-size: 12px;
  line-height: 1.3em;
}

#fall_out a, a:visited, a:hover {
  color: blue;
}
/* End nuclear additions */


/* IPPNW (anti-nuclear) additions */
#header h1 .ippnw {
  color: #ff4500;
}

#container #results .result.ippnw table tbody td {
  background: url(ippnw.jpg) no-repeat top right;
}

/* End IPPNW additions */



/* Political additions */
#header h1 .politics_nut {
  color: #BF0A30;
}

#container #results .result.politics_nut table tbody td {
  background-image: url(animated_flag.gif);
  background-repeat: repeat-x;
  background-position: center -8px;
}

#container #results .result.politics_nut table thead td {
  background-color: #BF0A30;
}

#container #results .result.politics_nut table tfoot td {
  background-color: #002868;
}
/* End political additions*/


a, a:visited {
  color: #7e0e41;
}

a:hover {
  color: #b3145b;
}

#flash_message {
  color: #7e0e41; 
}

input.slick { 
  margin: 0; 
  font-size: 100%; 
  border: 1px solid #989898; 
  color: #989898; 
  display: inline;
  width: 185px;
}

input[type=submit] {
  font-size: 26px;
}

img.profile_image {
  padding: 0;
  margin: 0;
  position: relative;
  top: 5px;
}

.note {
  padding: 0;
  margin: 0;
  font-size: 70%;
}

p.note {
  line-height: 1.2em;
}

.stat_links {
  font-size: 60%;
  padding: 0;
  margin: 15px 0 0 0;
}

.clear {
  clear: both;
}

div.loading,
div.loaded {
  height: 40px;
  width: 40px;
  float: left;
  padding: 0;
  margin-right: 30px;
  border: 2px solid #000;
}

div.loaded {
  background-color: #7e0e41;
}


#header h1 {
  height: 50px;
  font-size: 240%;
  font-weight:bold;
  letter-spacing: -2px;
  margin: 30px 0;
}

#header h1 a {
  color: black;
  text-decoration: none;
}

.logo {
  color: #000;
}

.logo .cost {
  color: #7e0e41;
}

#user_sponsor {
  position: relative;
}

#user_sponsor #sponsor {
  position: absolute;
  top: -50px;
  left: 0;
}

#footer {
  font-size: 55%;
  color: #000;
  position: fixed; 
  z-index: 99999;
  height: 120px;
  bottom: 0; 
  background-color: #fff;
  padding-top: 0;

  /* Weird pixel-perfect thing. Inhereting the 10% margin leads to odd misalignments where footer is a couple pixles to the right */
  margin-left: 3.8%;
}

#footer.user {
  height: 15px;
}

#footer #sponsor {
  margin: 10px 0 0 0;
}

#footer #site_links {
  margin: -10px 0 10px 0;
}

div.scoble-photo {
 float: right; 
 margin-left: 10px;
 margin-top: 30px;
}

div.scoble-photo p {
  font-size: 50%;
}

a.milliscoble {
  color: #989898;
  text-decoration: none;
  border-bottom: 1px dashed #989898;
}


/* @aholic additions */
#header h1 .ataholic {
  color: #0084b4;
}

#header h1 .ataholic span {
  color: #000;
}

#container #results .result.ataholic table tbody td {
  background-image: url(at_aholic.png);
}



/* golden additions*/

/* BH - Found this image randomly on the 'net. Hope I don't get in trouble! */
#container #results .result.golden table tbody td {
  background-image: url(golden_calf.jpg?2);  
}

#container #results .result.golden table .easter_egg_wrapper,
#container #results .result.golden table .easter_egg_wrapper .note a {
padding: 0 3px;
margin: 0;
color: #FFD700;
background-color: #000;
filter:alpha(opacity=70);
-moz-opacity:0.70;
opacity:0.70;
-khtml-opacity:0.70;
}

body.golden #container #results .result table thead td,
body.golden #container #results .result table tfoot td,
body.golden #container #results div.bar_graph div.top {
  background-color: #FFD700;
}

body.golden #header h1 .golden,
body.golden #header h1.logo a,
body.golden #header h1.logo a .cost,
#container.golden #prompt a,
#container.golden #shared_links a,
#container.golden #shared_links a .logo,
#container.golden #shared_links a .logo .cost,
#footer.golden #site_links a {
  color: #FFD700;
}