/* General Style */ 

@import 'errors.css';

body {
  font-family: sans-serif;
  background: gray;
  margin: 0;
  text-align: center;
}

body p, body ul.notes {
  line-height: 1.3em;
}

body ul.notes li {
  margin-bottom: 0.5em;
}

a, a#visited {
  color: maroon;
  text-decoration: none;
}

a.visited {
  
}


#whole_page {
  width: 50em;
  margin: auto;
  padding: 0;
  text-align: left;
  border-width:  0 1px 1px 1px;
  border-color:  black;
  border-style:  solid;
}


#header {
  color: white;
  background: maroon; /* No "ruby" defined in HTML color names! */
  font-size: 24pt;
  padding: 0.25em;
  margin-bottom: 0px;
}


#nav {
  color: black;
  font-size: 12pt;
  font-weight: bold;
  background: #ccc;
  padding: 0.5em;
}

#nav a, #nav a:visited  {
  color: maroon;
  text-decoration: none;
}

#nav a:hover {
  border-bottom: 2px dotted maroon;
}


#content {
  height: 100%;
  background:  white;
  padding: 1em 1em 1em 1em;
}

/* Hack to get IE to display fieldset/legend correctly */

html fieldset {
  position: relative; 
}
html legend { 
  position:absolute; 
  top: -1em; 
  left: .5em;
}
html fieldset {
  position: relative; 
  margin-top:1em; 
  padding-top:2em; 
  padding-bottom: 2em;
}


/* Form Styles */

fieldset { 
  background: #ddd; 
} 
legend { 
  color: white; 
  background: maroon; 
  padding: .4em 1em; 
} 
label { 
  width: 10em; 
  float: left; 
  text-align: right; 
  margin-right: 0.5em; 
  display: block; 
}
.form_row {
  white-space: nowrap;
  padding-bottom: .5em;
} 
.submit { 
    margin-left: 15em; 
}

/* Flash Notice Style */

#notice {
  border: 1px solid green;
  padding: 1em;
  margin-bottom: 2em;
  background-color: lightgray;
  font: bold smaller sans-serif;
}

/* Debug Style */

.debug_dump  {
  border-top: 1px dashed green;
}
#debug {
  margin: 10px 5px 5px 20px;
}
#debug a, #debug a.visited {
  text-decoration: none;
  color: maroon;
}
fieldset.debug_info {
  text-align: left; 
  border: 1px dashed #aaa; 
  padding: 1em; 
  margin: 1em 2em 1em 2em; 
  background: #eee;
}

/* Community Styles */

.letter, .letter_current {
  width:  1em;
  text-align:  center;
  border: 1px solid gray; 
  background: #fff; 
  padding: 5px 2px 1px 2px; 
  float: left; 
  margin: 2px
}

.letter:hover {
  background: #fe4;
}

.letter_current {
  background: #fe4;
  font-weight: bold;
  border:  1px solid black;
}

table.users {
  background:  #fff;
  margin-left:  2em;
}

table.users td.bottom {
  border-top: 1px solid #999;
  padding-top: 10px;
}

table.users th {
  color:  white;
  background:  maroon;
  font-weight:  normal;
}

table.users th a {
  color:  white;
  text-decoration: underline;
}

table.users tr.even {
  background:  #ddd;
}

table.users tr.odd {
  background:  #eee;
}