/*! Adapted from HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/* ==========================================================================
   Base styles from Boilerplate, condensed
   ========================================================================== */

::-moz-selection { background: #b3d4fc; text-shadow: none; }
::selection { background: #b3d4fc; text-shadow: none; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
audio,canvas,img,video { vertical-align: middle; }
fieldset { border: 0; margin: 0; padding: 0; }
textarea { resize: vertical; }

/* ==========================================================================
   Font Faces
   ========================================================================== */

@font-face {
    /* License: public domain http://www.fontsquirrel.com/license/Goudy-Bookletter-1911 */
    font-family: GoudyBookletter;
    src: url(GoudyBookletter1911.otf);
}
@font-face {
    font-family: Trypewriter;
    src: url(Kingthings_Trypewriter_2.ttf);
}
@font-face {
    /* License: GPL http://www.fontsquirrel.com/license/Cantarell */
    font-family: Cantarell;
    src: url(Cantarell-Regular.ttf);
}

html {
    /* set default font face */
    font-family: Cantarell, sans-serif;
}

/* ==========================================================================
   Color Scheme

           lightest -------------> darkest
   Greens: #b6d690 #76a557 #4d6a32 #2f3e29
   Grays:  #cecfd3 #929081 #53575a #2d2928

   ========================================================================== */

html,button,input,select,textarea {
    color: #2d2928;
}

body {
    background-color: #929081;
}

.articler, .fullarticle, #bio, .comment, .wallbox, .descrip {
    background-color: #cecfd3;
    border: solid #53575a;
    border-width: 0 .2em .2em 0;
}

.fullimage img {
    border: solid #53575a;
    border-width: 0 .4em .4em 0;
}

h1,h2,h3,h4,h5,h6 {
    color: #4d6a32;
}
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
    color: #4d6a32;
}

a {
    color: #4d6a32;
}
a:visited {
    color: #2f3e29;
}
a:hover {
    color: #76a557;
}

.articler .timestamper, .fullarticle .timestamper {
    color: #2d2928;
    background-color: #76a557;
    border-bottom: .2em solid #4d6a32;
}

.tags .tag {
    background-color: #76a557;
}

#navigation {
    background-color: #4d6a32;
}

#navigation a, #subnav a, #bottomnav a, .infoboxer a {
    color: #76a557;
}
#navigation a:hover, .infoboxer a:hover {
    color: #b6d690;
}

#navigation .active, header, #subnav .active {
    background-color: #2d2928;
    color: #929081;
}

#sitename a, #sitename a:visited, #links a, #links a:visited {
    color: #76a557;
}
#sitename a:active, #sitename a:hover, #subnav a:active, #subnav a:hover, #links a:hover, #links a:active, #bottomnav a:hover, #bottomnav a:active {
    color: #cecfd3;
}

#bottomnav {
    background-color: #53575a;
    border: solid #2d2928;
    color: #cecfd3;
    border-width: 0 .2em .2em 0;
}

footer {
    background-color: #2d2928;
    color: #cecfd3;
    border-top: .2em solid #cecfd3;
}

footer h3 {
    color: #b6d690;
}

header {
    border-bottom: .2em solid #53575a;
}

.infoboxer {
    background-color: #53575a;
    border: solid #2d2928;
    border-width: 0 .2em .2em 0;
    color: #cecfd3;
}

.infoboxer h4 {
    color: #b6d690;
    margin: .2em;
}

table#music tr, table#writings tr {
    background-color: #cecfd3;
}

table#music tr.dark, table#writings tr.dark {
    background-color: #b6d690;
}

table#music thead tr, table#writings thead tr {
    background-color: #4d6a32;
    color: #cecfd3;
    font-weight: bold;
}

.wallbox thead {
    color: #2d2928;
    background-color: #76a557;
    border-bottom: .2em solid #4d6a32;
}
/* ==========================================================================
   Images (experimental!)
   ========================================================================== */

header, footer, #navigation .active {
    background: url(concrete_darkest.jpg) fixed repeat;
}

body {
    background: url(concrete_medium.jpg) fixed repeat;
}

.articler, .fullarticle, #bio {
    background: url(dotted.png) fixed repeat;
    border-radius: 1em 0 0 1em;
}


/* ==========================================================================
   Layout and styling that's not colors
   ========================================================================== */
html { font-size: 1em; }

#wrapcore {
    margin: 0 auto 40px auto;
}

#navigation {
    text-align: center;
    vertical-align: center;
    font-size: 20px;
}

#navigation ul {
    list-style: none;
    margin: 0; padding: 0;
    display: inline;
}

#navigation li {
    margin: 0; padding: 0;
}
#navigation .links li {
    display: inline;
}

#navigation li a {
    text-decoration: none;
    font-weight: bold;
    padding: 0 1em;
}

#navigation .active {
    text-align: center;
    font-weight: bold;
    padding: .5em 1em 2em 1em;
}

#subnav, #bottomnav {
    text-align: center;
    margin: .5em 0 0 0;
    font-size: 18px;
}

#bottomnav {
    margin: 0 auto 2em auto;
    width: 620px;
}

#subnav ul, #bottomnav ul
{
    text-align: center;
    font-weight: bold;
	padding: 0;
    list-style-type: none;
    margin: 0;
    display: inline;
}

#subnav li, #bottomnav li {
	display: inline;
    padding: 0 5px;
}

#subnav .active, #bottomnav .active {
    padding: 0 1em;
}

#subnav a, #bottomnav a {
    text-decoration:none;
}

#sitename {
    float:left;
    padding: .1em 20px;
}
#sitename h1 {
    margin: 0; padding: 0;
    font-family: Trypewriter, sans-serif;
    font-size: 2.6em;
    font-weight: normal;
    height: 40px;
}
#sitename a {
    text-decoration:none;
}
#site_subtitle {
    font-size: .9em;
}

#links {
    text-align: center;
    width: 700px;
    margin: auto;
}

footer {
    text-align: center;
    padding: 1em;
    clear: both;
}

header {
    text-align: center;
    padding: 0 0 0.5em 0;
    position: sticky;
    top: 0; right: 0;
    width: 100%;
    z-index: 9999
}

#links li {
    display: inline;
    margin: 1em;
}

#search {
    float:right;
    font-size: .8em;
    margin: .3em;
}
#search input {
    width: 8em;
}

#search p {
    margin: 0;
}


.articler, .fullarticle, #comments {
    margin: 1em auto;
    width: 700px;
}

#comments label {
    font-weight: bold;
}

#comments label strong {
    font-style: italic;
}

#bio {
    padding: 1em;
    margin: 1em auto;
    width: 700px;
}

.articler div, .fullarticle div, #bio {
    font-family: GoudyBookletter, Times New Roman, serif;
    font-size: 16pt;
}

.articler p, .fullarticle p, #bio p {
    padding: 0 30px 0 30px;
    text-indent: 2em;
}

.articler .insert, .fullarticle .insert {
    padding: .5em;
    text-indent: 0;
    text-align: center;
}

.side.insert {
    float: right;
}

.articler img, .fullarticle img {
    max-width: 100%;
}

.articler div h2, .articler div h3, .articler div h4, .articler div h5, .articler div h6,
.fullarticle div h2, .fullarticle div h3, .fullarticle div h4, .fullarticle div h5, .fullarticle div h6  {
    margin: .5em 2em;
}

h2 a, #writings h2 {
    font-family: Trypewriter, sans-serif;
    text-decoration:none;
    font-size: 32pt;
    font-weight: normal;
    margin: 20px;
    line-height: 28pt;
    padding: .3em 0 0 0;
    display: block;
}

.timestamper {
    display:block;
    font-size: 13pt;
    margin: 0 0 0 -30px;
    padding: 0 10px;

}

.tags {
    position: relative;
    left: 703px;
    height: 0;overflow:visible;
    width: 10em;
    margin: -10px 0;
}

.tags .tag {
    display: block;
    text-align: left;
    margin: 0 0 20px 0;
    font-family: sans-serif;
    font-size: 12pt;
    padding: 0 10px 0 20px;
    text-decoration: none;
    font-weight: bold;
    color: #2d2928;
    border: solid #4d6a32;
    border-width: 0 0 .2em 0;
}

.tag:hover {
    margin-left: -10px;
    padding-left: 30px;
    color: #2f3e29;
}

.comment {
    padding: .5em;
}

.comment .header {
    margin: 0; padding: .1em .2em;
    font-weight: bold;
    font-style: italic;
}

.comment .avatar {
    float: left;
    margin: 0 .5em .5em 0;
}

.admin.comment {
    background-color: #b6d690;
}

.wallbox {
	display: inline-block;
	width: 205px;
	text-align: center;
	margin: 1em .4em 0 .4em;
}

.wallbox .type {
    position: absolute;
    background-color: white;
    padding: 2px;
    opacity: 0.5;
}

.wallbox thead {
    font-weight: bold;
}

.infoboxer {
    margin: 1em auto;
    padding: .5em;
    width: 700px;
}

.infoboxer.side {
    float: right;
    width: 210px;
    margin: 1em;
}

.fullimage {
    text-align: center; /*actually for aligning the image, not text */
}

.fullimage .descrip {
    float: center;
    width: 700px;
    margin: 1em auto;
    text-align: left;
    padding: 1em;
}

table#music, table#writings {
    margin: 2em;
}

table#music td, table#writings td {
    padding: .5em;
}

.articler table, .fullarticle table {
    margin: 0 2em;
    text-align: center;
    font-family: Cantarell, sans-serif;
}

.articler table thead, .fullarticle table thead {
    background: url("concrete_darkest.jpg") repeat fixed 0 0 rgba(0, 0, 0, 0);
    color: #76A557;
}

.articler table td, .fullarticle table td {
    border: 1px solid #4d6a32;
}

.articler .note, .fullarticle .note {
    vertical-align: super;
    font-size: small;
}

.articler .footnotes, .fullarticle .footnotes {
    border-top: 1px solid black;
    font-size: smaller;
}

blockquote {
    position: relative;
    font-style: italic;
}

.articler blockquote p, .fullarticle blockquote p {
    text-indent: .5em;
    margin: 0;
}

blockquote:before {
    display: block;
    content: "\201C";
    font-size: 60px;
    position: absolute;
    top: -20px;
    color: #7a7a7a;
}

blockquote:after {
    display: block;
    content: "\201D";
    font-size: 60px;
    position: absolute;
    bottom: 0;
    right: 0;
    color: #7a7a7a;
}

cite:before {
    content: "\2014";
}

cite {
    display: block;
    font-style: normal;
    text-align: right;
    margin: 0;
}

.footnote_anchor {
    position: relative;
    top: -100px;
}

.strike {
    text-decoration: line-through;
}

/* ==========================================================================
   TEMP STUFF for testing purposes only
   ========================================================================== */


/* ==========================================================================
   Helper classes, condensed
   ========================================================================== */

.ir {background-color: transparent; border: 0; overflow: hidden;
    *text-indent: -9999px;
}
.ir:before { content: ""; display: block; width: 0; height: 150%; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: " "; /* 1 */
    display: table; /* 2 */
}
.clearfix:after { clear: both; }
.clearfix {
 *zoom: 1;
}

/* ==========================================================================
   Breakpoints & media queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (max-width: 70em) {
    #search {
        /* search otherwise overlaps weirdly with tabs at this width */
        float:none;
        text-align: right;
    }
    #navigation .active {
        padding: 0.2em;
    }
}

@media only screen and (max-width: 35em) {
    /* Fixed header breaks down at this height, so make it absolute instead */
    #sitename {
        float:none;
    }
    header {
        display: block;
        position: static;
    }

    #navigation .links li, #navigation ul.links {
        display: block;
    }

    #navigation .active {
        padding: 0.2em;
        line-height: 2.1em;
    }

    #links, .articler, .fullarticle, #navigation, .fullimage, #bio, .infoboxer {
        width: auto;
    }
    #search {
        text-align: center;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
