/* This is a bit messy… but it does the job. */

@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, em, img, ins, kbd, q, s, small, strong, sub, sup, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

object,
embed {
    outline: none;
}

body {
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

a img {
    border: none;
}

img,
embed,
.main iframe {
    max-width: 100%;
}

a {
    cursor: pointer;
}

strong {
    font-weight: bold;
}

input,
textarea,
select,
optgroup,
button {
    margin: 0;
}

button {
    width: auto;
    overflow: visible;
}

html {
    overflow-y: scroll;
}

img {
    -ms-interpolation-mode: bicubic;
}

input::-moz-focus-inner,
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

em,
i {
    font-style: italic;
}

strong,
b {
    font-weight: bold;
}

.clear {
    display: block;
    visibility: hidden;
    clear: both;
    width: 0;
    height: 0;
    overflow: hidden;
}

html,
legend {
    color: #5b5b5b;
    background: #fff;
}

body {
    position: relative;
    border-top: 4px solid #333;
    font: normal 100%/1.5em Helvetica,Arial,Freesans,sans-serif;
}

#grid {
    position: absolute;
    top: 0;
    left: 50%;
    width: 941px;
    margin-left: -470px;
}

#grid .horiz {
    height: 21px;
    margin: 0;
    padding: 0;
    border-bottom: 1px dotted #aaa;
}

.accessibility {
    display: none;
}

#access {
    position: absolute;
    top: -1000em;
}

h1,
h2,
h3,
h4,
h5 {
    margin-bottom: .15em;
    font-weight: 300;
    line-height: 110%;
    color: #999;
}

h1 {
    margin: 29px 0 -5px 0;
    font-size: 2.5em;
    letter-spacing: -.02em;
}

h2 {
    font-size: 1.8em;
    letter-spacing: -.02em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.5em;
}

h5 {
    font-size: 1.33333em;
}

.page_title {
    margin-top: 0;
    margin-left: 160px;
    font-size: 1.8em;
    color: #bbb;
}

h1 .subtitle,
h2 .subtitle,
h3 .subtitle {
    font: italic 0.615em/1.38em "Palatino","Times New Roman",Times,serif;
    color: #bbb;
}

h1 a:hover .subtitle,
h2 a:hover .subtitle,
h3 a:hover .subtitle {
    color: #999;
}

p,
.main ul,
.main ol,
ol.posts > li,
pre {
    margin-bottom: 1.575em;
}

.main .posts ul li,
.main .posts ol li {
    margin-bottom: 0.5em;
}

code {
    font: normal 1em "Monaco","Courier New",Courier,sans-serif;
}

blockquote,
.blockquote {
    margin: 0 auto;
    font: italic 1.2em/1.31em "Palatino","Times New Roman",Times,serif;
    color: #777;
}

.blockquote.short {
    font-size: 26px;
}

.blockquote.long {
    font-size: 18px;
}

.cite {
    margin-bottom: 10px;
    font: normal 12px/12px Helvetica,Arial,Freesans,sans-serif;
    color: #777;
}

.cite a,
.cite a:visited {
    color: #555;
}

.ampersand {
    font: italic 130% Baskerville,"Goudy Old Style","Palatino","Book Antiqua",serif;
}

a,
a:visited,
.main .pagination a,
.main .pagination a:visited {
    text-decoration: none;
    font-weight: bold;
    color: #333;
}

a:hover,
a:focus,
a:active,
.main a:visited:hover {
    color: #d53c2e;
}

a:active {
    position: relative;
    top: 1px;
    text-decoration: none;
    outline: 0;
}

li {
    display: list-item;
}

ol li {
    list-style: decimal inside;
}

ul li {
    margin-left: 1.2em;
    list-style: square outside;
}

dl {
    margin-top: 22px;
}

dd {
    margin-bottom: 22px;
}

.notes li {
    margin-bottom: 0.5em;
    list-style: none;
}

button,
form input.button,
.submit input,
.button,
input[type="submit"],
.prev_next a,
.rss_link,
.prev_next a,
.utility_links li a,
.button,
.nav li a.active,
.tags li a {
    border-radius: 2px;
}

.puff {
    display: inline;
    padding: 0;
    border: 0;
}

.puff.right {
    float: right;
    margin: 0 0 10px 20px;
}

.puff.left {
    float: left;
    margin: 0 20px 10px 0;
}

figure {
    padding-bottom: 1em;
    *zoom: 1;
}

figure:after {
    content: "";
    display: table;
    clear: both;
}

figcaption {
    padding-top: .5em;
    font: italic 1.2em/1.31em "Palatino","Times New Roman",Times,serif;
    color: #777;
}

.alignright {
    display: inline;
    float: right;
}

.alignleft {
    display: inline;
    float: left;
}

.alignright {
    margin: -5px -240px 20px 20px;
}

.alignleft {
    margin: -5px 20px 20px -160px;
}

.alignright {
    margin: -5px -160px 20px 20px;
}


#wrapper {
    display: block;
    position: relative;
    width: 92%;
    margin: 0 auto;
    padding: 16px 10px 30px 10px;
    max-width: 600px;
}

#wrapper:after {
    content: "";
    display: table;
    clear: both;
}

a.rss_link,
a.rss_link:visited {
    position: absolute;
    top: -3px;
    right: 9px;
    padding: 3px 6px 4px 26px;
    border-radius: 0 0 2px 2px;
    text-align: right;
    font: bold 0.875em Helvetica,Arial,Freesans,sans-serif;
    color: #ddd;
    background-position: 4px 3px;
}

.no-box-shadow,
.notes img,
a.rss_link:hover,
#comments img,
#author-image img {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    -o-box-shadow: none !important;
}

a.rss_link:hover {
    color: #fff;
}

#header {
    float: left;
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    min-height: 70px;
}

#branding {
    margin: .66em 0 .5em;
    line-height: 120%;
    letter-spacing: -0.02em;
    font-size: 1.5em;
}

@media (min-width: 25.625em) {
    #branding {
        margin-top: 29px;
        font-size: 2em;
    }
}

#branding a,
#branding a:visited {
    display: block;
    font-weight: 300;
    color: #d53c2e;
}

.about {
    padding-top: .5em;
    clear: both;
}

.about p {
    margin-bottom: 0;
    line-height: 1.3;
}

.about img {
    display: inline;
    float: left;
    margin-right: 10px;
    margin-left: -82px;
    border: 4px solid #dddddd;
}

.navigation {
    font: bold 0.938em Helvetica,Arial,Freesans,sans-serif;
}

.navigation li {
    display: inline;
    margin-left: 0;
    padding: 0 20px 0 0;
    line-height: 21px;
    list-style: none;
}

#nav li#nav_port {
    margin-bottom: 0;
}

#nav li#nav_serv {
    margin-bottom: 2px;
}

#nav li#nav_cont {
    margin-bottom: 0;
}

.nav li a {
    height: 18px;
    padding: 4px 10px 4px 0;
}

.nav li a:hover {
    color: #D53C2E;
    background: none;
}

.nav li a.active {
    margin: 3px 0;
    padding: 2px 7px;
    color: #fff;
    background: #333;
}

.nav li a.active:hover {
    margin: 0;
    padding: 2px 7px;
    border: 0;
    color: #fff;
    background: #d53c2e;
}



.main h2,
.main h3,
.main h4,
.main h5 {
    margin-bottom: 0.2em;
}

.main h2 {
    padding-top: 0;
}

.main h3 {
    margin: 2px 0 8px;
    line-height: 1.08em;
}

.main h4 {
    margin: -3px 0 -1px 0;
}

.main a {
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
}

.main a:visited {
    color: #989898;
}

.main a:visited:hover,
.main .pagination a:hover {
    color: #d53c2e;
}

#sidebar li {
    margin-left: 0;
}

#searchform {
    display: none;
}

.main table {
    width: 100%;
}

.main img {
    -webkit-box-shadow: #999 0 0 5px;
    -moz-box-shadow: #999 0 0 5px;
    box-shadow: #999 0 0 5px;
    -o-box-shadow: #999 0 0 5px;
}

a {
    border-bottom: 1px solid #ddd;
}

#header a,
#sidebar a,
.title a,
.pagination a,
#dsq-footer a,
#dsq-toolbar-dropdown a,
.dsq-avatar a,
.notes > li > a,
.dsq-comment-header a,
.aside a {
    border-bottom: 0;
}

.main ol {
    margin-bottom: 22px;
}

.article_header {
    float: left;
    clear: both;
    position: relative;
    width: 100%;
    margin-bottom: 28px;
    padding-bottom: 9px;
    border-bottom: 1px solid #ececec;
    background: none;
}

li.article_header {
    height: 55px;
    margin-bottom: 14px;
    padding-bottom: 9px;
}

li.article_header:last-child {
    border: 0;
}

h1.title {
    display: block;
    margin: -5px 0 0.3em 0;
    font-size: 2em;
    color: #333;
}
@media (min-width: 37.5em) {
    h1.title {
        font-size: 2.5em;
    }
}

h1 a,
h1.title a,
h2 a,
h3 a {
    font-weight: 300;
    color: #d53c2e !important;
}

h1 a:hover,
h1 a:visited:hover,
h1.title a:hover,
h1.title a:visited:hover,
h2 a:hover,
h2 a:visited:hover,
h3 a:hover,
h3 a:visited:hover {
    color: #333;
}

.article_header .date {
    position: absolute;
    top: 16px;
    left: 0;
}

li.article_header .date {
    top: 17px;
}

ol.posts > li {
    position: relative;
    list-style: none;
}

.post_content {
    border-bottom: 1px solid #ececec;
}

.about,
.blog_nav ul,
.blog_nav ol,
.blog_nav p {
    font-size: 0.929em;
    line-height: 160%;
    color: #777;
}

.blog_nav .credits {
    font-size: 0.8em;
    color: #bbb;
}

.blog_nav .credits a {
    text-decoration: none;
    font-weight: normal;
    color: #999;
}

.blog_nav ul.children {
    margin-bottom: 0;
}

.blog_nav li {
    list-style: none;
}

.blog_nav li a {
    text-decoration: none;
    font-weight: normal;
}

.prev_next {
    margin-bottom: 30px;
    font: bold 0.938em Helvetica,Arial,Freesans,sans-serif;
}

.prev_next a {
    padding: 4px 10px;
    text-decoration: none;
    line-height: 100%;
    color: #fff;
    background: #bbb;
}

.prev_next a:hover,
.prev_next a.next:hover,
.prev_next a.prev:hover {
    color: #fff;
    background: #d53c2e;
}

.prev_next .prev {
    padding-left: 13px;
}

.prev_next .next {
    padding-right: 11px;
}

.pagination a:active,
.pagination a:focus {
    outline: 0;
}

.pagination .next {
    float: right;
    width: 40%;
    padding: 8px 0;
    text-align: right;
}

.pagination .prev {
    float: left;
    width: 40%;
}

.aside p {
    margin-bottom: 0.5em;
    color: #bbb;
}

span.date,
p.date {
    display: block;
    margin-bottom: 0.5em;
    font: italic 120% "Palatino","Times New Roman",Times,serif;
    color: #bbb;
}

a:hover span.date,
a:focus span.date {
    color: #969696;
}

.tags {
    margin-top: 1em;
}

.main .posts .tags li {
    margin-bottom: 0.8em;
    margin-left: 0;
    list-style: none;
}

.tags li a,
.tags li a:visited {
    padding: 3px 6px;
    font-weight: normal;
    color: #fff;
    background: #c6c6c6;
    -webkit-font-smoothing: antialiased;
}

.tags li a:hover,
.tags li a:visited:hover {
    color: #fff;
    opacity: 1;
    background: #d53c2e;
}

.standfirst {
    width: 140px;
    padding-top: 0.05em;
    font: italic 1.143em/1.38em "Palatino","Times New Roman",Times,serif;
    color: #bbb;
}

.standfirst p {
    margin-bottom: 1.36em;
}

#comments {
    clear: both;
}

.dsq-collapse-toggle,
#dsq-subscribe,
#dsq-sort-by,
#dsq-sort-by + h3 {
    display: none;
}

#disqus_thread {
    min-height: 300px;
}

#author-image {
    float: right;
    width: 80px;
    height: 80px;
    margin: 0 0 5px 20px;
    border-radius: 50%;
    overflow: hidden;
}

#author-image img {
    margin: 0;
    border: 0;
}

.post_teasers .teaser {
    display: inline;
    float: left;
    clear: both;
    width: 100%;
    margin-bottom: 31px;
    overflow: hidden;
    list-style: none;
}

.wp_syntax {
    margin-bottom: 28px !important;
}

li.article_header .title {
    width: 460px;
    margin-right: 20px;
}

li.article_header .excerpt {
    display: inline;
    float: left;
    width: 240px;
    line-height: 16px;
    color: #999;
}

li.article_header .excerpt p {
    margin-bottom: 0;
    font: italic 1em/1.3em "Palatino","Times New Roman",Times,serif;
}

.template_archive #header {
    margin-bottom: 29px;
}

.template_archive .article_header {
    float: left;
    margin-bottom: 23px;
    overflow: hidden;
}

.template_archive .article_header.title {
    margin-bottom: 24px;
    border-bottom: 0;
}

.template_archive .article_header:last-child {
    margin-bottom: 0;
}

.template_archive .article_header .page_title {
    margin-top: 8px;
}

.search-results #header {
    height: 63px;
    margin-bottom: 0;
}

.search-results .page_title {
    margin-bottom: 0;
}

.search-results .article_header .title {
    margin-top: 4px;
}

.main .result_title {
    margin-bottom: 1em;
}

a,
#nav .on a,
button,
form input.button,
.submit input,
.button,
.prev_next a,
.prev_next a.next,
.prev_next a.prev,
h1 a .subtitle,
h2 a .subtitle,
h3 a .subtitle {
    -moz-transition-property: color background-color;
    -webkit-transition-property: color background-color;
    -o-transition-property: color background-color;
    transition-property: color background-color;
    -moz-transition-duration: 0.33s;
    -webkit-transition-duration: 0.33s;
    -o-transition-duration: 0.33s;
    transition-duration: 0.33s;
}

.search_query:before {
    content: '“';
}

.search_query:after {
    content: '”';
}

.com {
    color: #93a1a1;
}

.lit {
    color: #195f91;
}

.pun,
.opn,
.clo {
    color: #93a1a1;
}

.fun {
    color: #dc322f;
}

.str,
.atv {
    color: #268bd2;
}

.kwd,
pre .tag {
    color: #195f91;
}

.typ,
.atn,
.dec,
.var {
    color: #CB4B16;
}

.pln {
    color: #738181;
}


code,
pre {
    border-radius: 3px;
    font-family: Monaco,Andale Mono,Courier New,monospace;
    font-size: 0.875em;
}

code {
    padding: 1px 3px;
    color: rgba(0,0,0,0.75);
    background-color: #f7c9b6;
}

pre code {
    font-size: 1em;
}

#social-presence,
#author-info {
    width: auto;
    padding-top: 1.5em;
    clear: both;
}

.social_links {
    text-align: center;
    padding-top: .5em;
    margin-bottom: 0;
    border-top: 1px solid #ececec;
}

.social_links li {
    display: inline-block;
    margin: 0 1em;
}

.prev_next,
.post-notes,
.tags {
    display: none;
}

.aside .date {
    display: inline-block;
    width: 50%;
}

.aside .notes-comments {
    display: inline-block;
    width: 48%;
    text-align: right;
    font-size: .875em;
}

.avatar_frame img {
    border-radius: 8px;
    bottom: -3px;
    position: relative;
    margin-right: 6px;
}

@media (min-width: 48.75em) {

    #wrapper {
        max-width: 800px;
    }
    h1.title {
        margin-top: -10px;
    }
    .main {
        float: left;
        position: relative;
        padding-left: 200px;
        overflow: visible;
    }
    .about {
        float: right;
        width: 220px;
        margin-top: -5em;
        clear: none;
        overflow: hidden;
    }
    .aside {
        float: left;
        width: 180px;
        padding-right: 20px;
        padding-top: 20px;
        margin-left: -200px;
    }
    .aside .notes-comments {
        padding-top: 5px;
    }
    .aside .date,
    .aside .notes-comments {
        width: auto;
        display: block;
        text-align: left;
    }
    #searchform {
        margin: 1em 0 2em;
        text-align: center;
    }

    #header {
        margin-bottom: 1em;
    }

    #sidebar,
    #sidebar .credits {
        clear: both;
    }

    #sidebar .credits {
        padding-top: 1em;
        border-top: 1px solid #ececec;
    }
}
