/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

/* Global Reset */
* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  background-color: #FFF;
  font: 13.34px Helvetica, Arial, sans-serif;
  font-size: small;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%; }

h1 { margin-bottom: 1em; }
p { margin: 1em 0; }

a         { color: #00a; }
a:hover   { color: #000; }
a:visited { color: #a0a; }

/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/
.posts {
  list-style-type: none;
  margin-bottom: 2em;
}

.posts li {
  line-height: 1.75em;
}

.posts span {
  color: #aaa;
  font-family: Monaco, "Courier New", monospace;
  font-size: 80%;
}

/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/

.site {
  font-size: 115%;
  text-align: justify;
  width: 42em;
  margin: 0em auto 0em;
}

.header {
  background-color: #750000;
  padding-top: 3em;
  padding-bottom: 1em;
  margin-bottom: 2em;
}

.header a {
  font-weight: bold;
  text-decoration: none;
}

.title {
  display: inline-block;
  margin-bottom: 2em;
}

.title a {
  font-size: 17px;
  color: white;
}

.title a:hover {
  color: #ffdada;
}

.header h2 {
  color: white;
  font-size: 34px;
}

.header h2.smaller {
  font-size: 26px;
  margin-bottom: 1em;
}

.header a.extra {
  display: none;
  font-size: 17px;
  color: #c19999;
  margin-left: 1em;
}

.header a.extra:hover {
  color: #000;
}

.header a.rss {
  font-size: 17px;
  color: #fd9932;
  float: right;
  display: block;
}

.header a.rss:hover {
  color: #ff8100;
}

.meta {
  font-size: 16px;
  color: #dddddd;
}

.footer {
  font-size: 80%;
  color: #666;
  /*border-top: 4px solid #eee;*/
  margin-top: 1em;
  overflow: hidden;
  clear: both;
}

.footer .contact {
  float: left;
  margin-right: 3em;
}

.footer .contact a {
  color: #8085C1;
}

.footer .rss {
  margin-top: 1.1em;
  margin-right: -.2em;
  float: right;
}

.footer .rss img {
  border: 0;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

/* standard */
.post, .footer {
  line-height: 1.5em;
}

.post pre {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .4em;
}

.post ul, .post ol {
  margin-left: 1.35em;
  margin-bottom: 1.35em;
}

.post code {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .2em;
}

.post pre code {
  border: none;
}

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
}

.post pre.terminal code {
  background-color: #333;
}

.post img:not(.fill):not(.wide) {
  float: right;
  clear: right;
  max-width: 250px;
  margin: 6px 0px 6px 18px;
  padding: 2px;
  border: 1px solid silver; 
}

.post .small img {
  max-width: 120px;
}

.post img.fill {
  text-align: center;
  max-width: 42em;
}

.post img.wide {
  text-align: center;
  padding-top: 24px;
  padding-bottom: 24px;
  max-width: 100%;
}

.post h3 {
  font-size: 17px;
  border-bottom: 1px solid silver;
}

.post h$ {
  font-size: 15px;
}

.post h5 {
  font-size: 14px;
  font-style: italic;
}

.post blockquote {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .4em;
  margin: 1em 0;
}

.post blockquote p {
  margin: 0.5em 0.5em;
}

.pre-footer {
  clear: both;
  margin-top: 1.5em;
  background-color: #F7F7F7;
  padding: 1.8em .8em 1.6em .8em;
}

.donate p {
  font-size: 14px;
  margin: 4px 0px;
}

.donate .buttons {
  margin-top: 16px;
}

.donate form {
  display: inline-block;
}

.donate input.img, .donate .flattr {
  margin-right: 1em;
}

.donate input.img, .donate img {
  vertical-align: -3.3px;
}

.donate .flattr {
  display: inline-block;
  vertical-align: -4px;
}

.bitcoin {
  display: inline-block;
  padding: 2px 9px;
  background-color: #FFECD9;
  border: 1px solid #FFE2C4;
  border-radius: 3px;
  font-size: 14px;
}

.bitcoin img {
  margin-right: .2em;
}

.bitcoin a {
  color: black;
  text-decoration: none;
}

.donate hr {
  margin: .8em 0 .5em 0;
  border: 0px;
  border-top: 1px solid #bebebe;
}

.license {
  color: #4d4d4d;
  font-size: 12px;
}
