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

/* Global Reset */

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background-color: white;
/*  font: 13.34px "Lucida Grande", Verdana, Arial, sans-serif;*/
  font: 13.34px helvetica, arial, clean, 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: black;
}

a:visited {
  color: #a0a;
}

table {
  font-size: inherit;
  font: 100%;
}

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

ul.posts {
  list-style-type: none;
  margin-bottom: 2em;
}

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

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

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

.site {
  font-size: 110%;
  text-align: justify;
  width: 500px;
  margin: 3em auto 2em auto;
  line-height: 1.5em;
}

.header {
  color: #0a0;
  font-weight: bold;
  margin-bottom: 2em;
  border-bottom:1px solid #ccc;
  text-align:left;
}

  .site .header h1 {
    font-family:"Lucida Grande",Verdana,Arial,sans-serif;
    font-size:26px;
    font-weight: normal;
  }

  .site .header a {
    color: #0a0;
    text-decoration: none;
  }
  
  .site .header a:hover {
    color: black;
  }

  .site .header a.extra {
    color: #666;
    text-decoration: none;
    margin-right: 2em;
  }
  
  .site .header a.extra:hover {
    color: black;
  }

  .site .header #tumblrlink {
    display: inline;
    float: right;
  }
  
  .site #intro {
    color: #000;
    font-size: 18px;
    margin-bottom: 1em;
  }

  .site .meta {
    color: #999;
  }

  .site .footer {
    font-size: 80%;
    color: #666;
    border-top: 4px solid #eee;
    margin-top: 2em;
    overflow: hidden;
  }
  
    .site .footer .contact {
      float: left;
      margin-right: 3em;
    }
    
      .site .footer .contact a {
        color: #8085C1;
      }
    
    .site .footer .rss {
      margin-top: 1.1em;
      margin-right: -.2em;
      float: right;
    }
    
      .site .footer .rss img {
        border: 0;
      }
    
/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

.post {
  font-size:14px;
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 1px solid #0a0;
}

.post p {
	margin-bottom: 1.6em;
}

  h2 a, h2 a:visited {
    color: #0a0;
    text-decoration: none;
    font-size: 16px;
  }
  
  .post h2 a:hover {
    text-decoration: underline;
  }
  
  .post .date {
    color: #666;
    text-justify: left;
    font-style: italic;
  }

  .post .comments-link {
	width: 100%;
    text-align: right;
  }

  .post .comments-link a, .post .comments-link a:visited {
	color: #666;
    text-decoration: none;
  }

  .post .comments-link a:hover {
	text-decoration: underline;
  }

  /* standard */
  .post p {
  }

  .post img, .post object {
	display: block;
	margin-left: auto;
	margin-right: auto;
  }
  
  .post ul, ol {
    margin-left: 3em;
    margin-bottom: 2.0em;
  }

  .post li {
	margin-bottom: 1.0em;
}

  hr { color: #ccc; background-color: #ccc; height: 0px; }
  .post .footnotes p { font-size: 12px; color:#666;}
 
  .post blockquote {
    border-left: 2px solid #666;
    margin-left: 3em;
    padding-left: 1em;
    font-style: italic;
    color: #666;
  }
  
  .post pre {
    border: 1px solid #ddd;
    background-color: #eef;
    padding: 0 .4em;
  }
  
  .post code {
    border: 1px solid #ddd;
    background-color: #eef;
    font-size: 95%;
    padding: 0 .2em;
  }
  
    pre code {
      border: none;
      overflow-x: auto;
    }
    
  /* terminal */
  
  .post pre.terminal {
    border: 1px solid black;
    background-color: #333;
    color: white;
  }
  
  .post pre.terminal code {
    background-color: #333;
  }

#related {
  margin-top: 2em;
}

  #related h2 {
    margin-bottom: 1em;
  }

/* Hide the disqus community page link */
#dsq-content a:nth-child(2) {
  display: none;
}
