html, body {
  font-family: sans-serif;
  background-color: white;
  color: #000;
}

html, body, div#header h1, div#header p {
  margin: 0;
  padding: 0;
}

body {
  padding: 1em;
  position: relative;
}

div#header {
  padding: 0.3em;
  background-color: #054600;
  color: #F0FFE6;
  /* And for no particular reason... */
  background-position: bottom right;
  background-repeat: no-repeat;
  background-image: url(/images/russ-avatar-72.jpg);
}

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

div#header p a {
  text-decoration: none;
  color: #F0FFE6;
}

div#header p a:hover {
  text-decoration: underline;
}

div#mainArea {
  margin-left: 13em;
  padding-right: 1em;
}

ul#bmarks {
  padding: 0.3em;
  border: 1px solid #ABC792;
  list-style-type: none;
  width: 10em;
  float: right;
  margin-left: 1em;
  background-color: #F0FFE6;
}

ul#bmarks li {
  font-size: 0.7em;
  list-style-type: square;
  list-style-position: inside;
}
ul#bmarks li.header {
  display: block; /* Otherwise it vanishes in Mozilla */
  list-style-type: none;
}
ul#bmarks li.more a:link, ul#bmarks li.more a:visited {
  font-weight: bold;
  text-decoration: underline;
  color: #054600;
}
ul#bmarks h4 {
  margin: 0;
  font-size: 1.2em;
  margin-bottom: 0.2em;
  border-bottom: 1px solid #ABC792;
}

div#menu {
  position: absolute;
  top: 5.1em;
  left: 1em;
  width: 12em;
  border-right: 1px solid #ABC792;
  border-left: 1px solid #ABC792;
  border-bottom: 1px solid #ABC792;
  margin-bottom: 1em;
}

div#menu h3 {
  margin: 0;
  border-bottom: 1px solid #ABC792;
  padding-left: 0.2em;
  font-family: helvetica, arial, sans-serif;
  line-height: 0.6em;
  padding: 0.8em 0.4em 0.2em 0.2em ;
}
form#searchForm {
  margin: 0.3em;
}

div#menu ul {
  padding: 0.3em;
  margin: 0;
  list-style-type: none;
}

h3 span.entryDate {
  float: right;
  font-style: italic;
  font-weight: normal;
  margin-right: 1em;
}
div.entry {
  padding-bottom: 1em;
  border-bottom: 1px solid #ABC792;
}

input, textarea { 
  background-color: white;
  color: inherit;
  border: 1px solid #ABC792;
}

input:focus, input:hover, textarea:focus, textarea:hover {
  border: 1px solid #360;
}

a:link, a:visited, a:hover, a:active {
  color: #360;
}

ul#bmarks a {
  text-decoration: none;
}
ul#bmarks a:visited {
  text-decoration: line-through;
}
a:link, a:visited, a:hover, a:active {
  background-color: inherit;
  color: #054600;
}

ul#bmarks a {
  text-decoration: none;
}
ul#bmarks a:visited {
  text-decoration: line-through;
}

a:visited {
  background-color: inherit;
  color: #789E54;
}

img {
  border: none;
}

/* Skip styles: see http://blog.tom.me.uk/2003/09/13/skipadeedoodah.php */
div#skip a {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 0;
}
div#skip a:active, div#skip a:focus {
  overflow: visible;
  width: auto;
  height: auto;
  top: 2px;
  right: 2px;
  background-color: yellow;
  color: red;
  padding: 5px;
  border: 2px solid red;
  font-weight: bold;
}

/* Element Styles */
blockquote {
  /* font-style: italic; - this causes horizontal scrollbars in IE6. Lord only knows why. */
  border-left: 0.25em solid #ABC792; 
  padding: 0 0.5em; 
  margin: 0.5em 1.5em 0.5em 2.5em; 
} 
div.blockquotesource {
  font-weight: bold;
  font-size: 0.8em;
  text-align: right;
  padding-top: 0.5em;
}
div.blockquotesource a {
  text-decoration: none;
  font-style: normal;
}

dt {
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 3px;
}
pre {
  padding-left: 1em;
  font-size: x-small;
  font-style: normal;
  voice-family: "\"}\"";
  voice-family: inherit;
  font-size: small;
}
blockquote pre {
  padding-left: 0;
}
cite {
  font-style: italic;
}
dfn {
  font-style: normal;
  font-variant: small-caps;
}
q {
  font-style: italic;
  quotes: '\201C' '\201D' '\2018' '\2019';
}
q:before {
  content: open-quote;
}
q:after {
  content: close-quote;
}
a.some {
  font-weight: bold;
}


/* Forms */
label, div.label {
  display: block;
  font-variant: small-caps;
  font-size: 0.9em;
}
label.remember {
  display: inline;
  font-variant: normal;
  font-size: 0.9em;
}
label {
  cursor: pointer;
}

/* Comment Styles */
div.comment {
  margin: 0.3em;
  padding: 0.5em;
  border-top: 1px solid #ABC792;
}
p.commentFooter {
  font-size: 0.8em;
}
div.pingback {
  margin: 0.5em;
  font-size: 0.8em;
  border: 1px dashed #ABC792;
  padding: 0.5em;
}
p.pingbackFooter {
  text-align: right;
}
div#addCommentForm {
  margin: 0.3em;
  padding: 0.5em;
  border-top: 1px solid #ABC792;
  border-bottom: 1px solid #ABC792;
}
div#addCommentForm textarea {
  height: 17em;
  width: 75%;
}
p#commentInstructions {
  float: right;
  width: 50%;
}
p#spamwarning {
  margin: 0 0 0.3em 0;
}

/* Tables */
table {
  border: 2px solid #360;
  margin-left: 2em;
}
table caption {
  font-style: italic;
  padding-bottom: 0.1em;
}
td.numeric {
  text-align: right;
}

/* Related entries */
ul.related {
  font-size: 0.8em;
}

/* Blogmarks section */
dl.blogmarklist p {
  margin: 0;
}
dl.blogmarklist p.via {
  font-size: 0.8em;
  font-style: italic;
  margin-top: 0.3em;
}

/* Search styles */

ol#searchResults li h4 {
  margin-bottom: 0.2em;
}

/* plinks */p a.plink {  text-decoration: none;  color:  #F0FFE6; /* the page background colour */}p:hover a.plink, p a:hover.plink {  color: #c8a8ff;}

p.plinkHighlight {
  border: 2px solid #c8a8ff;
}
