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

/* Global Reset */

* {
  margin: 0;
  padding: 0;
}

@media screen and (min-width:960px){
  div.site {
    width: 800px;
    margin: 5px auto;
  }
}

@media screen and (min-width:640px) and (max-width: 959px) {
  div.site {
    width:640px;
    margin: 5px auto;
  }
}

@media screen and (min-width:480px) and (max-width: 639px) {
  div.site {
    width:480px;
    margin: 5px auto;
  }
}

@media screen and (max-width:480px){
  div.site {
    width:320px;
    margin: 5px auto;
  }
}

html, body {
  height: 100%;
  background:#FDFDFD;
}

body {
  font: 13.34px helvetica, arial, clean, sans-serif;
  /*font-size: small;*/
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  /*font-size: 100%;*/
  margin: 30px 0;
}

h1 {
  margin-bottom: 1em;
}

p {
  margin: 1em 0;
}

a {
  color:#4096ae;
}

a:hover {
  color:#e1300e;
}

a:visited {
  color: orange;
}

.title > a {
  text-align: left;
}

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

em {
  font-style:italic;
}

h1 {
  size:1.8em;
  color:#444;
}

span.red {
  color:#e1300e;
  font-family:'Monaco', "Courier New", monospace; 
}

span.blue {
  color:#4096ae;
}

div.code {
  background: rgb(240,240,240);
  padding: 1rem;
  color: #3b3b3b;
}

div.title a {
  font-family:'Monaco', "Courier New", monospace; 
}

ul, ol {
  color:#666;
  margin-bottom:30px;
}

blockquote {
  border-left: 1rem solid #4096ae;
  padding: 1rem;
  background: rgb(240,240,240);
}

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

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

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

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

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

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

.title {
  color: #a00;
  font-weight: bold;
  margin-bottom: 2em;
}

  .site .title a {
    text-decoration: none;
  }

  .site .title a.extra {
    color: #aaa;
    text-decoration: none;
    margin-left: 1em;
  }

  .site .title a.extra:hover {
    color: black;
  }

  .site .meta {
    color: #aaa;
  }

  .site img {
    width:800px;
  }

  .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;
      }

      h2 {
        color:#464646;
      }

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

#post {
  text-align:justify;
}

  /* standard */

  #post pre {
    border: 1px solid #ddd;
    background-color: #333;
    color:#fafafa;
    padding: .4em;
    line-height: 1;
  }

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

  #post code {
    border: 1px solid #ddd;
    background-color: #333;
    color:#fafafa;
    font-size: 85%;
    padding: 0 .2em;
  }

    #post pre code {
      border: none;
    }

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

  .extra {
    visibility: hidden;
  }

  p {
    color:#464646;
  }

  .title {
    margin-top:30px;
    text-align:left;
    /*background:#464646;
    -moz-border-radius:3px 3px 3px 3px;
    -o-border-radius:3px 3px 3px 3px;
    -webkit-border-radius:3px 3px 3px 3px;
    border-radius:3px 3px 3px 3px;*/
  }

  .title a {
    text-align:left;
    color:#444;
    font-size:2.5em;
    font-weight:lighter;
    /*padding: 5px 10px;*/
  }

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

  .contact p a:hover{
    color:#520904;
  }

  .rss {
    visibility: hidden;
  }