/*****************************************************************************/
/*
/* 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;
}

.title {
  font-size: 100%;
}

h1,h2,h3 {
  margin-bottom: 0.7em;
  line-height: normal;
}
p { margin: 1em 0; }

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

/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.17em;
}

h4 {
  font-size: 1em;
}

h5 {
  font-size: .83em;
}

h6 {
  font-size: .67em;
}

.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
/*
/*****************************************************************************/

@media (min-width: 50em) {
  .site {
    font-size: 115%;
    text-align: justify;
    width: 48em;
    margin: 3em auto 2em;
    line-height: 1.5em;
  }
}

@media (max-width: 50em) {
  .site {
    font-size: 100%;
    text-align: justify;
    width: 90%;
    margin: 5% auto 1em;
    line-height: 1.5em;
  }
}

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

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

.title a {
  color: #a00;
}

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

.nav a.extra {
  color: #aaa;
  margin-left: 1em;
}

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

.meta {
  color: #aaa;
  margin-top: 0;
}

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

.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 h2 {
  margin-top: 0.5em;
}

@media (min-width: 50em) {
  .header-image img {
	width: 48em;
  }
}

@media (max-width: 50em) {
  .header-image img {
	width: 90%;
  }
}

@media (min-width: 50em) {
  img {
  width: 48em;
  }
}

@media (max-width: 50em) {
  img {
  width: 100%;
  }
}

a[rel=author] {
  text-decoration: none;
  color: black;
}

.header-image {
  width: 100%;
  text-align: center;
}

.header-image .attribution {
  display: block;
  width: 100%;
  padding:0 0 8px 0;
  border-bottom: 1px solid #e7e7e8;
  color: #626262;
  opacity: 0.75;
  font-size: 0.9em;
}


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

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

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

.post pre code {
  border: none;
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

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

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

.share {
    margin-top: 10px;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}

.footnotes {
  font-size: small;
  line-height: normal;
}

.footnotes p {
  margin: 0.3em 0;
}

.footnotes li:target {
  background: rgb(200,212,230);
}

a.footnote:before {   
  content: "[";
 }
 
 a.footnote:after {
     content: "]";
 }


 table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}

th {
  font-weight: bold;
}

.edit-notes {
  list-style: none;
  color: #4b4b4b;
  opacity: 0.75;
  font-size: 0.9em;
}