/* Basic */



@import url('https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,600,700,800,900');
html {
    font-family: 'Nunito Sans','Open Sans', 'Helvetica Neue', sans-serif;
    /*font-family:  'Open Sans', 'Helvetica Neue', sans-serif;*/
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

body {
    margin: 0;
    background: #f8f8fa;
    color: #333;
    font-size: 1em;
    font-weight: 300;
    line-height: 1.5;
}

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

.container {
    max-width: 42em;
    margin: 0 auto;
}

/* Headers */
h1 {
    font-size: 1.35em;
}

h2 {
    font-size: 1.2em;
}

h3 {
    font-size: 1.1em;
}

/* Links */

a {
    color: #1d60a3;
    text-decoration: none;
}

a:active,
a:hover {
    outline: 0;
}

a:hover,
a:focus {
    /*color: #a31d1d;*/
    border-bottom: 1px solid rgba(29, 96, 163, 0.9);
}

a:active {
    /*color: #a31d1d;*/
    opacity: 0.9;
    border-bottom: 1px dotted rgba(29, 96, 163, 0.5);
}

/* Table */
.table-wrapper {
    overflow-x: auto;
}

table {
    max-width: 100%;
    border-spacing: 0;
}

thead {
    background: lightgrey;
}

th, td {
    padding: 0.5em 1em;
    border: 1px double lightgrey;
}

/* Code */
pre {
    padding: 0.6em;
    /*background-color: #f1f1f1;*/
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 0.9em;
    border-radius: 4px;
}

.content blockquote > p > code,
.content > p > code,
.content > ul > li > code,
/*.content > p > pre,*/
.content > p > kbd {
    color: #7a7a7a;
    background-color: #eee;
    font-family: "JetBrains Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
    /*font-family: monospace;*/
    /*font-family: -apple-system, BlinkMacSystemFont, 'Montserrat', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;*/

    font-size: 0.8em;
    font-weight: 400;
    /*font-size: inherit;*/
    padding: 0.25em 0.4em 0.25em 0.4em;
    line-height: 1.5em;
    border-radius: 3px;
    /*color: red;*/
}


/*.content a > code {*/
/*    background-color: #eee;*/
/*    font-family: "JetBrains Mono", Menlo, Monaco, Consolas, "Courier New", monospace;*/
/*    font-size: 0.8em*/
/*}*/

.content a > code,
.content a > kbd {
    /*color: #7a7a7a;*/
    color: rgba(29, 96, 163, 1);
    background-color: #eee;
    font-family: "JetBrains Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
    /*font-family: monospace;*/
    /*font-family: -apple-system, BlinkMacSystemFont, 'Montserrat', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;*/

    font-size: 0.8em;
    font-weight: 400;
    /*font-size: inherit;*/
    padding: 0.2em 0.4em 0.2em 0.4em;
    line-height: 1.5em;
    border-radius: 3px;
    /*color: red;*/

}
/* Styles */

blockquote {
    border-left: 2px solid #cccccc;
    padding: 0.1em 1em;
    margin-left: 0.75em;
}

p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
}

ul ol, ol ol, ul ul {
    margin: 0em 2em;
}

/* Header */

header {
    display: flex;
    justify-content: space-between;
}

header h1 {
    font-size: 1em;
    margin-top: 1em;
    margin-bottom: 0;
    font-weight: normal;
}

header h2 {
    font-size: 1em;
    margin: 0;
    font-weight: normal;
}

header nav {
    margin-top: 1em;
    max-width: 100%;
    text-align: right;
    margin-bottom: 1em;
}

header nav a {
    margin-left: 2em;
}

header a {
    color: #333;
}






.site-header {
    white-space: nowrap;
}


.site-header-container {
    /*padding-top: $space-1;*/
    /*padding-bottom: $space-2;*/
    margin-bottom: 40px;
}

.site-header {
    /*padding-top: $space-1;*/
    /*padding-bottom: $space-2;*/
    text-shadow: none;
}
.site-header-container div.site-sub-header {
    padding-top: 5px;
    padding-left: 5px;
    font-size: 0.7em;
    color: #616e87;
}


.site-header a {
    color: #333;
    /*font-size: $h3;*/
    font-size: 1.6em;
    font-weight: 300;
    background-image: none;
}

.site-header a {

    text-shadow: none;
    /*font-size: $h2;*/
    font-weight: bold;
    padding: 3px 10px;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.site-header a:hover {
    background-color: #EBE4E6;
    border: none;
}

/*.site-nav {*/
/*    margin-top: $space-2;*/
/*}*/

/*.site-header nav a {*/
.container header nav a {
    text-shadow: none;
    padding: 4px 8px;
    font-size: 0.7em;
    /*font-weight: 400;*/
    font-weight: 400;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.container header nav a:hover {
    background-color: #EBE4E6;
    border: none;
}


/*//.site-header nav a:hover,*/
/*//.site-header nav a:focus,*/
/*//.site-header nav a:active {*/
/*  //  color: #444;*/
/*  //  opacity: 1;*/
/*  //  border-bottom: 2px solid #444;*/
/*  //}*/

.site-nav a + a {
    margin-left: 1em;
}

.site-header a:hover,
.posts .post a:hover .post-meta,
.posts .post a:hover .post-title,
.posts .post a:hover .post-summary {
    opacity: 0.88;
}

article.post-list header h1 {
    margin-top: 0.4em;
    font-size: 1.5em;
}

.site-header {
    text-align: center;
}

.site-header .site-nav {
    text-align: center;
}



/* Pages */
main h1 {
    margin-top: 1em;
    font-weight: normal;
    line-height: 1.1em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.post-short-list:first-of-type {
    margin-top: 1em;
}

/* Articles */


article:not(:last-of-type) {
    border-bottom: thin solid #f1f1f1;
    padding-bottom: 2em;
}

article header h1 {
    font-size: 1.35em;
    line-height: 1.1em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

article header h1 a {
    border: none;
    text-decoration: none;
    color: #333;
}

.article-info {
    font-size: 0.75em;
    color: grey;
    margin-top: 1em;
}

.article-info a {
    color: grey;
}

.article-info a:hover {
    color: #a31d1d;
}

.post-short-list .article-info {
    margin-top: 0;
    margin-bottom: 1.5em;
}

article.post .article-info {
    margin-top: 0;
    margin-bottom: 1.5em;
}

.article-taxonomies {
    display: inline;
}

.article-date {
    font-style: italic;
    white-space: nowrap;
}

.article-categories {
    display: inline;
    list-style-type: none;
    padding: 0;
}

.article-categories li {
    display: inline;
    margin-right: 1em;
}

.article-tags {
    display: inline;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.article-tags li {
    display: inline;
    margin-right: 1em;
}

article img {
    max-width: 100%;
    display: block;
    height: auto;
    margin: 0 auto .5em;
}

.read-more {
    margin-top: 0.7em;
    font-size: 0.85em;
}

.divider {
    display: block;
    height: 1px;
    border: 0;
    border-top: thin solid #f1f1f1;
    width: 25%;
    margin: 1em auto;
}

/* Other pages */
.terms {
    list-style-type: none;
    padding: 0;
    line-height: 2em;
}

/* Pagination */

.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 3em;
}

.pagination {
    text-align: center;
}

.pagination-item {
    background: #fafafa;
    padding: 0.75em 0.75em;
}

.disabled {
    visibility: hidden;
}

.pagination-item a {
    color: #333333;
}

.pagination-item a:hover, .pagination-item   a:focus {
    color: #a31d1d;
    border-bottom: 0;
}

/* Footer */

footer {
    border-top: thin solid #f1f1f1;
    margin-top: 5em;
    font-size: 10px;
    color: dimgrey;
}

/* Media Queries */

@media (max-width: 840px) {
    .main-wrapper {
        margin: 0;
        max-width: none;
        overflow-x: hidden;
        padding-left: 25px;
        padding-right: 25px;
    }

    .container {
        max-width: 90%;
        margin: 0 auto;
    }

    .pagination-item {
        padding: 0.5em 0.5em;
        font-size: 14px;
    }

    header {
        display: block;
    }

    .site-header {
        text-align: center;
    }

    header nav {
        margin-top: 1em;
        max-width: 100%;
        text-align: center;
        background: #fafafa;
        padding: 0.5em 0;
    }

    header nav a:first-of-type {
        margin-left: 0;
    }

    header nav a {
        margin-left: 5%;
    }
}



div.content blockquote {
    font-size: 0.9em;
}

div.content blockquote span.update {
    font-weight: bold;
    color: darkgrey;
}

