/* border box */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.page-content p, .page-content li, .page-content span {
    line-height: 140%;
}

blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  margin: 15px 0;
  border-left: 4px solid #DDD;
  padding: 0 15px;
  color: #777;
}

blockquote>:first-child {
  margin-top: 0px;
}

blockquote>:last-child {
  margin-bottom: 0px;
}

code {
  margin: 0;
  padding: 0;
  border: 0;
}

h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
  font-size: inherit;
}

h1 {
    margin: 10px 0;
    font-size: 2em;
}

h2 {
    margin: 8px 0;
    font-size: 1.7em;
}

h3 {
    margin: 6px 0;
    font-size: 1.4em;
}

.post-text h2 {
    border-bottom: 1px solid #ccc;
}

p {
    margin: 10px 0;
}

pre, code {
  font-size: 12px;
  font-family: Consolas, "Liberation Mono", Courier, monospace;
}

code{
  margin: 0 0px;
  padding: 0px 0px;
  white-space: nowrap;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
}

pre>code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background: transparent;
}

pre {
  margin: 15px 0;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}

pre code{
  background-color: transparent;
  border: none;
}


img {
  max-width: 100%;
}

a {
    text-decoration: none;
}

a img {
    border: none;
}

body {
    margin: 0;
    background-color: rgb(234, 230, 209);
    font-family: "Noto Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.topbutton {
    font-weight: bold;
    color: #333;
}

.previous_page_button {
    color: #ff0000;
}

header {
    margin: 0;
    padding: 15px 0;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    background: #2980b9;
    box-shadow: 1px 0px 2px rgba(0,0,0,0.75);
    height: 100%;
/*    max-height: 106px;
    min-height: 106px;
*/
}

h1.header_title {
/*    font-size: 40px;
    line-height: 54px;
*/
    font-family: "Copse","Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #f3f3f3;
    text-shadow: 0px 2px 0px rgba(35,87,150,0.2);
    margin: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

p.header_subtitle {
    color: #d8d8d8;
    text-shadow: rgba(0,0,0,0.2) 0 1px 0;
    font-size: 16px;
    margin: 0px;
}

.banner {
    background: #fc0;
    border: 1px solid #cca300;
}

.banner .button {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    padding: 10px;
    margin: 6px;
    border-radius: 4px;
    background: #ffe064;
    color: #333;
    display: inline-block;
    border: 1px solid #cca300;
    box-shadow: inset 0 0 6px rgba(255,255,255,0.2),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 1px rgba(0,0,0,0.05);
    text-decoration: none;
    cursor: auto;
}

.banner .rss-button {
    float: right;
    margin: 9px;
    text-decoration: none;
    cursor: auto;
    width: 32px;
    height: 32px;
}

.page-content {
    margin: 10px 0px;
}

.wrapper {
    max-width: 1100px;
    padding: 0 15px;
    margin: 0px auto;
    overflow: hidden
}

.left-page {
    display: block;
    background-color: rgb(255, 255, 255);
    padding: 10px 15px 5px 15px;
    float: left;
    max-width: 960px;
    width: 75%;
    border: 2px solid #a1a1a1;
    border-radius:10px;
    box-shadow:2px 2px 3px #aaaaaa;
}

.right-page {
    float: left;
    width: 20%;
    padding: 0 0 0 20px;
}

#disqus_thread {
    margin-top: 20px;
}

.label#author {
    margin-left: 10px;
}

.label#tags {
    margin-left: 10px;
}

#tag-unit {
    color: #0033FF;
    margin: 0 1px;
}

/* post list in index page, tags page and archives page. */
span.post-date {
    margin: 0 5px;
}

div#post-list {
    line-height: 200%;
}

.icon {
    width: 32px;
    height: 32px;
    margin: 0 3px;
}

/* Settings for phone browsers. iPhone 4

*/
@media (max-width: 500px) {
    h1 {
        margin: 10px 0;
        font-size: 1.6em;
    }

    h2 {
        margin: 8px 0;
        font-size: 1.4em;
    }

    h3 {
        margin: 6px 0;
        font-size: 1.2em;
    }
  
    ul {
        padding-left: 20px;
    }

    .banner .button {
        padding: 5px 5px;
        margin: 6px 2px;
    }
    
    .banner .rss-button {
        margin: 8px 4px;
        width: 24px;
        height: 24px;
    }

    .wrapper#banner-wrapper {
        padding: 0 8px;
    }
    .wrapper {
        padding: 0 2px;
    }

    .page-content {
        margin: 2px 0px;
    }

    .left-page {
        width: 100%;
        padding: 4px 4px 2px 4px;
    }

    .right-page {
        width: 100%;
        padding: 0;
    }
    
    span.post-date {
        margin: 0 2px;
    }
    
    .label#link {
        display: none;
    }
    
    .label#author {
        display: none;
    }
}
