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

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

html, body { height: 100%; }

body {
  background-color: #fcfafc;
  color: #222;
  font-size: 22px;
  line-height: 32px;
  font-family: ff-meta-web-pro, Helvetica, Arial, sans-serif;
}

.meta {
  font-family: adelle, serif;
}

h1, h2, h3, h4, h5 {
  font-family: "adelle-n1", adelle, serif;
  font-weight: normal;

  clear:right;
}

h1 {font-size: 42px;}
h2, h3 {font-size: 32px;}


h1, h2, h3, h4, h5 {line-height: 64px;}

h1 { margin: 0px 0px 24px 0px; }
p { margin: 1em 0; }

a         { color: #8000b3; text-decoration: none;}
a:hover   { color: #8000b3; text-decoration: underline; }
a:visited { color: #7500a3; }

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


.container {
  max-width: 750px;
  min-width: 600px;
  margin: 0px auto;
  padding: 0 2em 2em 2em;
}

ul, ol {
  margin-left: 2em;
}

img {
  max-width: 100%;
}

.post img {
  float: right;
  margin: 0px 0px 24px 24px;
}

.post img.retinize {
  width: 150px;
  margin-bottom: 10px;
}

li.active {
  font-weight: bold;
}

.main-navigation, .footer {
  list-style: none;
  font-size: 25px;
  margin-left: 0;
  margin: 2em 0px;
  font-family: "adelle-n1", adelle, serif;
  text-align: center;
  border-left: 1px solid #8400b8;
  border-right: 1px solid #8400b8;
}

.footer {
  clear: both;
}


.main-navigation li, .footer li {
  display: inline;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

ul.posts {
  list-style: none;
  margin-left: 0;
}

.posts span {
  display: inline-block;
  width: 170px;
  padding-right: 1em;
  text-align: right;
}

.posts a {
 width: 65%;
}

blockquote {
  padding-left: 1em;
  border-left: 1px solid #8400b8;
}

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

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

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



/* ads */


#fusionparent {
  font-size: 12px;
  line-height: 1.3;
}

.fusion-text {
    color: #999;
    display:block;
    line-height: 1.5em;
}

#fusionads .fusion-poweredby {
  color: black;
}

@media (max-width: 1079px) {

  #fusionads {
    width: 500px;
    float:right;
  }

  #fusionparent {
    margin: 30px 0 20px;
    background-color: #f6f6f6;
    height: 100px;
    font-size: 14px;
    text-align: right;
  }
  .fusion-text {
    margin-left: 20px;
    margin-top: 18px;
  }

  .fusion-text:hover {
    color: #2d692d;
    text-decoration: none;
  }
  .fusion-img {
    height: 90px;
    margin-bottom: 10px;
    float: right;
    padding-left: 20px;
  }
  #fusionads .fusion-poweredby {
    display: block;
    margin-top: 10px;
    margin-left: 150px;
  }

}

@media (min-width: 1080px) {
  body .container {
    display: relative;
    left: 20px;
  }

  #fusionparent {
    position: fixed;
    left: 10px;
    bottom: 10px;
    width: 140px;
    margin: 0;
    text-align: left;
  }
  .fusion-img {
    display: block;
    margin-left: 0;
    margin-right: 5px;
  }
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#nextnav {
  font-size: 0.8em;
  clear: both;
  padding-top: 1em;
  margin-bottom: -1em;
}

#prev {
  float: right;
}

.warning {
  padding-left: 1em;
  border-left: 2px solid #ff8315;
}
