﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-indent: 0;
    list-style: none none inside;
    border: 0 none;
    color: inherit;
    background-color: transparent;
    font-size: inherit;
    font-family: inherit;
    line-height: 1.33;
}

html, body {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
    font-size: 4vw;
}

body {
    flex-grow: 1;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

a:link {
    text-decoration: underline;
}

header {
    display: flex;
    flex-direction: column;
}

header a:link {
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

nav#site {
    display: none;
    flex-direction: column;
    padding: 2vmin;
}

body.show-navigation nav#site {
    display: flex;
    background-color: #419e1c;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    color: #fff;
}

#site-structure {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

nav#site > form {
    width: 100%;
    padding: 1vmin;
}

nav#site > aside li {
    display: block;
    padding: 0 0 0 5vmin;
}

nav#site > aside li a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

aside#labels li.show-all-labels-trigger ~ li {
    display: none;
}

aside#labels ul.all-labels-showing li.show-all-labels-trigger {
    display: none;
}

aside#labels ul.all-labels-showing li.show-all-labels-trigger ~ li {
    display: block;
}

nav#site > form input#search-field {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background-color: #fff;
    padding: 0.2vw 1vw 0.2vw 1vw;
    border-radius: 5px;
    color: #003d0c;
}

nav#site > aside {
    padding: 1vmin;
    display: flex;
    flex-direction: column;
}

nav#site > aside + aside {
    padding: 1vmin;
    border-top: 1px dashed #fff;
    display: flex;
    flex-direction: column;
}

nav#site > aside > h2 {
    font-size: 100%;
}

#headings {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background: #003d0c url('greenbeard2.png') no-repeat scroll 0% 50%;
    background-size: contain;
    padding: 2vh 2vw 2vh 20vw;
    min-height: 15vw;
    color: #fff;
}

#headings > .inner {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#headings > .toggle-navigation {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

button#do-toggle-navigation {
    width: 6vw;
    height: 6vw;
    padding: 1vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-around;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease-in-out;
    outline: 0 none;
    border-radius: 0.8vw;
    cursor: pointer;
}

button#do-toggle-navigation:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.show-navigation button#do-toggle-navigation {
    background-color: rgba(255, 255, 255, 0.9);
}

.show-navigation button#do-toggle-navigation:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

button#do-toggle-navigation > hr {
    background-color: #fff;
    display: block;
    height: 0.5vw;
    transition: background-color 0.2s ease-in-out;
}

button#do-toggle-navigation > hr:nth-child(2) {
    margin: 0.5vw 0 0.5vw 0;
}

.show-navigation button#do-toggle-navigation > hr {
    background-color: #003d0c;
}

#content {
    flex-grow: 1;
    background-color: #fff;
    padding: 2vmin;
    display: block;
}

#content > article {
    border: 1px solid rgba(0, 0, 0, 0.25);
    background-color: rgba(0, 0, 0, 0.1);
    padding: 1vmin;
    background-color: #eee;
    overflow: hidden;
}

#content > article:not(:last-child) {
    margin-bottom: 5vmin;
}

#content > article > 

::placeholder               { font-style: italic; }
::-webkit-input-placeholder { font-style: italic; }
::-moz-placeholder          { font-style: italic; }
:-ms-input-placeholder      { font-style: italic; }
::-ms-input-placeholder     { font-style: italic; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Franklin Gothic Medium', 'Helvetica', 'Arial Narrow', Arial, sans-serif;
}

#headings > .inner > h1 {
    font-size: 4vw;
}
#headings > .inner > h2 {
    font-size: 3vw;
}

.screen-reader-text {
    display: none;
}

@media speech {
    .screen-reader-text {
        display: inline-block;
    }
}

@media (min-width: 400px) {
    body {
        font-size: 16px;
    }
}

@media (min-width: 500px) {
    body {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: stretch;
    }
}

@media (min-width: 955px) {
    #headings > .toggle-navigation {
        display: none;
    }
    
    #site-structure {
        flex-direction: row-reverse;
    }
    
    nav#site {
        display: flex;
        font-size: 16px;
        border-left: 1px dashed rgba(0, 0, 0, 0.25);
        min-width: 320px;
    }
    
    nav#site aside h2 {
        font-size: 24px;
        color: #003d0c;
    }
    
    nav#site aside li {
        padding-left: 1em;
    }

    nav#site > aside li a {
        max-width: 24vw;
    }

    #content > article > .entry-content > code, #content > article > .entry-content > h3.pre-code {
        max-width: 58vw;
    }
}

article code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 80%;
}

article h2.entry-title {
    font-size: 160%;
}

article > .entry-content > * {
    padding-top: 2vmin;
}

article > .entry-content > * code {
    display: inline-block;
    background-color: #333;
    padding: 0 0.5em 0 0.5em;
    color: #fff;
    outline: 1px solid rgba(65, 158, 28, 0.1);
}

article > .entry-content > * a code {
    text-decoration: underline;
}

article h3 {
    font-size: 140%;
}

article > .entry-content > code {
    display: block;
    white-space: pre;
    background-color: #333;
    color: #fff;
    padding: 0.5em;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 30em;
}

article > .entry-content li {
    list-style: disc inside none;
    text-indent: -1em;
    padding-left: 2em;
}

article > .entry-footer {
    font-size: 80%;
    font-style: italic;
    padding: 2vh 0 2vh 0;
}

h3.pre-code {
    background-color: #333;
    color: #fff;
    padding: 0.5em;
    margin-bottom: 0;
    margin-top: 0.5em;
    font-size: 110%;
}

h3.pre-code + code {
    margin-top: 0;
}

code > span.keyword {
    color: #9cf;
}

code > span.framework {
    color: #cf9;
}

code > span.identifier {
    color: #f9c;
}

code > span.global {
    color: #fc6;
}

code > span.literal {
    font-weight: bold;
}

code > span.comment {
    font-style: italic;
    color: #999;
}

#content form label {
    display: block;
}

#content form input, #content form textarea, #content form select {
    display: block;
    background-color: #fff;
    color: #003d0c;
    border: 1px solid #003d0c;
    border-radius: 5px;
    width: 100%;
    padding: 0.25em;
}

#content form input[type=checkbox] {
    width: 1em;
    height: 1em;
}

#content form input[type=submit] {
    background-color: #419e1c;
    color: #fff;
    width: auto;
    padding: 0.25em 2em 0.25em 2em;
}

#content form .g-recaptcha {
    margin-bottom: 1em;
}

#content form + h3.comments {
    margin-top: 2em;
}

#content form textarea {
    height: 3em;
    transition: height 0.25s ease-in-out;
}

#content form textarea:focus {
    height: 8em;
}

ul.comment-list li {
    clear: both;
    overflow: hidden;
    margin-top: 0.5em;
    padding-top: 0.5em;
    border-top: 1px dashed rgba(0, 0, 0, 0.25);
}

ul.comment-list img {
    float: left;
    margin: 0 1em 1em 0 ;
}

ul.comment-list ul li {
    padding-left: 10vw;
    background-color: #ddd;
}

nav.pagination {
    padding: 1em;
}

nav.pagination ul li {
    display: inline-block;
    white-space: nowrap;
    padding: 0 1vw 0 1vw;
    font-size: 80%;
}

nav a:link {
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

span.figure {
    display: block;
}

span.figure img {
    width: 40vw;
    max-width: 300px;
}

span.figure img, span.figure em {
    display: block;
}

span.figure.left {
    float: left;
    margin: 0 1em 1em 0;
}

span.figure.right {
    float: right;
    margin: 0 0 1em 1em;
}

/*
article h2 {
    font-family: 'Franklin Gothic Medium', 'Helvetiva', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    font-size: 130%;
}

h2.archive-title {
    font-family: 'Franklin Gothic Medium', 'Helvetiva', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    font-size: 150%;
}

article h3 {
    font-family: 'Franklin Gothic Medium', 'Helvetiva', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    font-size: 110%;
}

article h4 {
    font-family: 'Franklin Gothic Medium', 'Helvetiva', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 100%;
}

article h2.entry-title {
    font-size: 160%;
}

article .entry-content > *+* {
    margin-top: 1em;
}

article a:link, article a:visited {
    color: #419e1c;
    text-decoration: underline;
}


article strong, nav strong {
    font-weight: bolder;
}

em {
    font-style: italic;
}

article ul {
    list-style: square none outside;
    margin-left: 3em;
}

article ol {
    list-style: decimal none outside;
    margin-left: 3em;
}


.entry-footer {
    font-style: italic;
    font-size: 80%;
    padding-top: 1em;
    padding-bottom: 1em;
}

nav.pagination > ul {
    list-style: none none inside;
}

nav.pagination > ul > li {
    display: inline-block;
    margin: 0;
    padding: 0 0.25em 0 0.25em;
    border-right: solid 1px rgba(0, 0, 0, 0.25);
}

nav.pagination > ul > li:last-child {
    border-right: 0;
}

form label {
    display: block;
    color: #419e1c;
}

form input {
    display: block;
}

form input[type=text], form input[type=email], form input[type=url] {
    border: 1px solid rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
    padding: 1px 4px;
}

form input[type=submit], form input[type=button]{
    border: 0;
    background-color: #419e1c;
    color: #fff;
    padding: 1px 8px;
    cursor: pointer;
    border-radius: 2px;
}

form textarea {
    border: 1px solid rgba(0, 0, 0, 0.5);
    width: 100%;
    min-height: 6em;
    box-sizing: border-box;
    padding: 1px 4px;
}

form br {
    display: none;
}

form .g-recaptcha {
    clear: both;
}

ul.comment-list {
    list-style: none none inside;
    margin: 0;
    padding: 0;
    text-indent: 0;
}

li.comment {
    overflow: hidden;
    margin: 0 0 1em 0;
    padding: 0;
    text-indent: 0;
}

li.comment img.gravatar {
    float: left;
    border-radius: 5px;
    margin: 0 1em 1em 0;
}

li.comment li.comment {
    background-color: rgba(65, 158, 28, 0.1);
    padding: 5px;
    clear: left;
    margin-bottom: 0;
    margin-left: 64px;
}

li.comment li.comment + li.comment {
    border-top: 1px solid rgba(65, 158, 28, 0.5);
}

article .figure img, article .figure em {
    display: block;
}

@media (min-width: 600px)
{
    img.alignleft {
        float: left;
        margin: 0 0.5em 0.5em 0;
    }

    form input[type=text], form input[type=email], form input[type=url] {
        max-width: 500px;
    }

    form textarea {
        max-width: 500px;
    }

    article .figure.right {
        float: right;
        width: 250px;
        margin: 0 0 1em 1em;
    }
}

@media (min-width: 1020px) {
    form {
        overflow: hidden;
    }

    form label {
        width: 150px;
        float: left;
        clear: left;
        text-align: right;
        padding-right: 10px;
    }

    form input, form textarea {
        float: left;
        margin-bottom: 2px;
    }

    form input[type=submit] {
        clear: left;
        margin-left: 160px;
    }

    form .g-recaptcha {
        clear: both;
        margin-left: 160px;
    }
}*/