html, body {
  background-color: white;
  color: black;
  font-family: 'Trebuchet MS', Verdana, Arial, sans-serif;
  font-size: 16px;
  margin: 0px;
/*  text-rendering: optimizeLegibility;*/
}

/* links */
a { text-decoration: none; }
a:link { color: blue; }
a:visited { color: navy; }
a:focus, a:hover, a:active { color: blue; }
a:link:focus, a:link:hover, a:link:active { color: navy; }

img { border: none; }
img#logo {
  position: absolute;
  left: 5px;
  top: 5px;
  height: 40px;
}

div.content {
  padding: 30px;
  margin: auto;
  width: 790px;
}
div.body, p, div.slogan {
  font-family: Palatino, 'Times New Roman', Times, serif;
  margin: 5px 0px;
}
div.slogan {
  text-align: center;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 0px;
}
div.slogan em { text-decoration: underline; }

div.more {
  margin-bottom: 0.5em;
}

/* header */
#header {
/*  background: navy url(/murfy.png) no-repeat 5px 3px;*/
}
#header h1 {
  background: navy;
  margin: 0px;
  padding-top: 1px;
  padding-bottom: 5px;
  font-size: 22px;
  text-align: center;
}
#header h1 a sup, #header h1 sup a {
  font-size: 16px;
  color: silver;
}
#header h1 a span {
  font-size: 30px;
  color: white !important;
}
#header div#bar {
/*  background: silver;*/
  height: 20px;
  padding: 3px 0.5em;
  margin: 0px;
  overflow: hidden;
  text-align: center;
}

/* menu bar */
ul.menu {
  margin: 0px 0px;
  padding: 0px;
  white-space: nowrap;
  text-align: center;
}
ul.menu li {
  display: inline;
}
ul.menu li:before {
  content: ' | ';
  color: navy;
}
ul.menu li:first-child:before {
  content: ' ';
}
ul.menu.visitor { float: left; }
ul.menu.admin {
  float: right;
}
ul.menu.admin li:before, ul.menu.admin a {
  color: transparent;
}
ul.menu.admin:hover li:before, ul.menu.admin:hover a {
  color: gray;
}
ul.menu.admin a:hover {
  color: blue;
}

/* footer */
#footer {
  position: absolute;
  width: 100%;
  background: silver;
  color: #444;
  padding-top: 11px;
  padding-bottom: 11px;
  text-align: center;
  font-size: 12px;
}
#footer a#C {
  position: absolute;
  bottom: 0px;
  right: 8px;
  font-size: 30px;
  font-weight: bold;
  border: none;
}

/* forms */
form div { padding: 5px; }
label {
  display: block;
  float: left;
  clear: left;
  width: 80px;
  text-align: right;
  margin-right: 20px;
}
input[type=submit] {
  margin-left: 100px;
  margin-top: 5px;
  display: block;
}
label.error {
  color: red;
}
form p {
  padding-left: 100px;
}

/* posts */
.post {
  margin-bottom: 100px;
}
.post img {
  border: 2px solid navy;
  padding: 2px;
  margin: 0px -4px;
}
.post .title {
  font-weight: bold;
  font-size: 24px;
  margin-right: 20px;
  margin-bottom: 10px;
  float: left;
}
.post .subtitle {
  float: right;
  color: gray;
}
.post .body {
  clear: both;
  font-size: 16px;
  line-height: 21px;
}
.post .body p {
  margin-bottom: 10px;
}
.post .body h1, .post .body h2, .post .body h3 {
  font-family: 'Trebuchet MS', Verdana, Arial, sans-serif;
}
.post .body h2 {
  font-size: 19px;
  margin-top: 1.5em;
  margin-bottom: 5px;
}
.post .body h3 {
  font-size: 17px;
  margin-bottom: 0px;
}
.post .tags {
  font-size: 12px;
  color: navy;
}

.post pre {
  padding: 0em 0.5em;
  background-color: #e8e8e8;
  border: 1px solid navy;
}
.post code, .post .CodeRay {
  font-size: 0.9em;
  font-family: monospace;
}

/* comments */
.comment {
  margin: 5px 30px;
  background: silver;
  color: black;
  padding: 5px 10px;
  padding-top: 3px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
.comment .username {
  text-align: right;
  font-size: 12px;
  color: #444;
  margin-top: 0;
}
.comment .body {
  margin-top: 2px;
  margin-bottom: 0px;
  font-size: 14px;
  overflow: auto;
  white-space: pre-wrap;
}

@media tty {
  html {
    background-color: black !important;
  }
}

p.footnote {
  color: gray;
  font-size: 0.9em;
  font-style: italic;
}
