html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
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,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Roboto Condensed'
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
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;
}

body {
    font-size: 16px;
    line-height: 1.5em;
}

header,
#wrapper {
    padding: 0 10px;
}

#wrapper,
header>div,
nav ul {
    margin: auto;
    max-width: 910px;
}

a {
    text-decoration: none;
    color: #e67e22;
}

ul {
    list-style: outside disc;
}

ol {
    list-style: outside decimal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

h1,
h2 {
    font-size: 1.5em;
    line-height: 1em;
    margin: 1em 0;
}

h3 {
    font-size: 1.25em;
    line-height: 1em;
    margin: 1em 0;
}

div.infobox {
    font-size: .9em;
}

input[type="text"],
textarea {
    display: block;
    font-size: 1rem;
    width: 100%;
    padding: .365rem .5rem;
    margin: 0;
}

label {
    font-weight: 700;
    display: block;
    margin-top: .6em;
    margin-bottom: .4em;
}

img,
p,
.post>.highlight,
.highlighttable,
h4,
h5,
h6 {
    margin-top: 1.2em;
}

img+em {
    font-size: .8em;
}

blockquote {
    margin: 1.5em 1.5em 1.5em .75em;
    padding-left: .75em;
    border-left: 1px solid #EEE;
}

table {
    width: 100%;
    margin: 1em 0;
}

thead {
    border-bottom: 1px solid black;
}

.date,
time {
    color: black;
    clear: both;
    width: 130px;
    font-size: 1.1em;
    line-height: 1em;
    margin: 0 20px 1em 0;
}

.info {
    margin-top: 1.3em;
    font-family: sans-serif;
    text-align: right;
    color: #BBB;
}

.info a {
    color: inherit;
}

.info a.tags,
.post-category a {
    background-color: #5b5d5d;
    color: #ffffff;
    display: inline-block;
    padding: 0 .3em;
    border: 1px transparent solid;
    border-radius: 5px;
    margin: 0 0 0.3em 0;
}

.info a.tags:hover,
.post-category a:hover {
    background-color: #6e7070;
    color: white;
}

.info a.tags.selected {
    border: 1px #999 solid;
}

.authors {
    color: #666;
    float: left;
    clear: both;
    width: 130px;
    font-size: 1em;
    line-height: 1em;
    margin: 0 20px 1em 0;
}

.authors>ul {
    list-style: none;
    padding-left: 0px;
    margin: 0px;
}

.authors li {
    margin-top: 5px;
    color: #666;
}

.article_body {
    margin: 0 0 4.5em 150px;
}

.mobile_hidden {
    display: block;
    visibility: visible;
}

.mobile {
    visibility: hidden;
    display: none;
}

.post p {
    text-align: justify;
}

.post-preview {
    margin: 10px;
}

.post-meta {
    margin-bottom: 15px;
}

.post-thumbnail {
    overflow: hidden;
}

.post-thumbnail {
    /*transition: transform .5s ease;*/
    transform-origin: 50% 50%;
    transition: transform 0.3s, filter .25s ease-out;
}

.post-thumbnail:hover {
    transform: scale(1.05);
}

.preview-container {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 100%;
}

.page {
    margin: 0 90px;
}

.highlight {
    border-radius: 3px;
}

.code>.highlight {
    border-radius: 0px 3px 3px 0px;
}

.linenos {
    border-radius: 3px 0px 0px 3px;
    background-color: #073642;
    border-right: 1px solid #00232C;
    color: #586E75;
    text-shadow: 0px -1px #021014;
    font-size: 12.6px;
}

td.code {
    width: 100%;
    max-width: 100px;
}

.linenos a {
    color: #586E75;
}

img {
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.15);
    border-radius: 0.3em;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*sub and sup stolen from Twitter bootstrap.*/
sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

.post pre,
.page pre {
    padding: .8em;
    font-size: 12.6px;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    line-height: 18px;
    overflow: auto;
}

nav {
    float: right;
    display: inline-block;
}

nav ul {
    float: right;
    list-style: none;
    margin: 0 0 0 3em;
    padding: 0;
}

nav li {
    float: left;
}

nav a {
    display: block;
    padding: 1.5em 15px 10px 15px;
    font-weight: 500;
    color: black;
    background-color: #dddddd;
}

nav a:hover {
    background-color: #a0a0a0;
    color: black;
}

nav a.nav-item-line-1 {
    padding-top: 4.5em;
}

nav a.nav-item-line-2 {
    padding-top: 3em;
}

nav a.nav-item-line-3 {
    padding-top: 1.5em;
}

nav li.selected a {
    background-color: #e67e22;
    /* #15A9DB; */
    color: #FFF;
    font-weight: bold;
}

.colorbar {
    max-width: unset;
    width: 100%;
    height: 5px;
    background: linear-gradient(120deg, transparent 0%,
            #e84428 15%, #e84428 26%,
            #f1b500 26%, #f1b500 38%,
            #e4d900 38%, #e4d900 50%,
            #3dae61 50%, #3dae61 62%,
            #338abb 62%, #338abb 73%,
            #8d569a 73%, #8d569a 85%,
            transparent 100%)
}

footer {
    font-family: sans-serif;
    line-height: 2.5em;
    text-align: center;
    margin: 3em 0 0 0;
    color: #BBB;
    width: 100%;
    background: #272828;
    height: 92px;
}

.footer-wrapper {
    max-width: 912px;
    margin: auto;
}

footer p {
    margin: 0;
}

footer small {
    font-size: 80%;
    float: left;
    margin: 15px 20px;
    line-height: 1.5em;
    text-align: left;
}

footer .social img {
    display: inline-block;
    padding: 5px;
    height: 48px;
    margin: 15px 0px;
    float: right;
    box-shadow: none;
}

footer .social a:first-child img {
    margin-right: 20px;
}

.social img {
    filter: grayscale(100%);
    transition: all 0.25s ease;
    margin-top: 0px;
}

.social img:hover {
    filter: grayscale(0%);
    background: #373838;
}

header .social {
    width: 100%;
    max-width: unset;
    margin: 0;
    background-color: #373838;
    border-bottom: 1px solid red;
    height: 38px;
}

header .social_inner {
    max-width: 912px;
    padding: 5px 0px;
}

header .social img {
    height: 28px;
}

header .header_box {
    padding-top: .75em;
    padding-bottom: .25em;
    display: inline-block;
}

header img {
    margin: 0;
    margin-top: -25px;
    height: 92px;
    position: relative;
    float: left;
}

header .header_box>div {
    display: inline-block;
    margin-left: 10px;
    margin-top: -5px;
}

header h1 {
    font-size: 3em;
    line-height: 1em;
    margin: 0;
}

header h2 {
    font-size: 1em;
    margin: .1em 0;
    color: #DDD;
}

header {
    background: #272828
}

#content {
    margin-top: 3em;
}

.pages {
    font-family: sans-serif;
    line-height: 2.5em;
    margin: 4.5em 0 3em;
    border-radius: 5px;
    background-color: #4a4c4c;
}

.pages a.next_page,
.pages a.prev_page {
    float: left;
    width: 140px;
    text-align: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: #5b5d5d;
}

.pages a.next_page:hover,
.pages a.prev_page:hover {
    background-color: #6e7070;
}

.pages a.next_page {
    float: right;
}

.pages a {
    color: inherit;
    border: none;
}

.pages a:hover {
    background-color: #DDD;
}

.pages span {
    display: block;
    margin: 0 160px;
    text-align: center;
}

code {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    box-sizing: border-box;
    color: #C7254E;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    font-size: 12.6px;
    line-height: 18px;
    padding-bottom: 2px;
    padding-left: 0px;
    padding-right: 4px;
    padding-top: 2px;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

body {
    background-color: #373838;
}

html,
body,
div,
span,
applet,
object,
iframe,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
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,
ruby,
section,
summary,
time,
mark,
audio,
video {
    color: white
}

.authors,
.authors li {
    color: #a9a9a9;
}

input[type="text"],
textarea {
    border: 1px solid #171818;
    background-color: #272828;
    color: white;
}

@media screen and (max-width: 1024px) {
    #wrapper {
        margin-left: 2.6em;
        padding: 1em;
    }
}

@media only screen and (max-width: 800px) {
    #wrapper {
        margin: 0;
        padding: 1em;
    }

    time,
    .date,
    .authors {
        width: 100%;
        margin: 0 0 .5em 0;
    }

    .page {
        margin: 0 0 4.5em 0;
    }

    .post pre,
    .post code {
        white-space: pre-wrap;
    }

    .archives {
        margin: 0 0 1.5em 0 !important;
    }

    .article_body {
        margin: 0 0 4.5em 0;
    }

    .mobile_hidden {
        visibility: hidden;
        display: none;
    }

    .mobile {
        display: block;
        visibility: visible;
    }

    .authors-mobile {
        float: none;
    }

    .authors-mobile li {
        display: inline-block;
    }

    .page {
        margin: 0;
    }
}

@media only screen and (max-width:745px) {
    nav {
        width: 100%;
    }

    nav ul {
        margin: 0 0 1em 0;
        float: left;
        width: 100%;
        background-color: #dddddd;
    }

    nav a {
        padding: 10px 10px 10px 10px;
    }
}

@media print {
    * {
        background: #fff;
    }

    #wrapper,
    #content {
        margin: 0;
        padding: 0;
    }

    header,
    footer,
    nav {
        display: none;
    }

    img {
        break-inside: avoid;
    }

    p,
    table,
    pre {
        widows: 3;
        orphans: 3;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        break-after: avoid;
    }

    h1,
    h2 {
        font-size: 14pt;
    }

    h3,
    h4,
    h4.date {
        font-size: 12pt;
    }

    .post p,
    .post ul li,
    .post ol li,
    .post table {
        font-size: 11pt;
    }
}

@page {
    margin: 1.5cm;
}
