#background_wrapper
{
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(160,216,239,1) 100%);
	height: 87.5%;
	width: 100%;
	z-index: -1;
	position: fixed;
	display: block;
	bottom: 0;
	left: 0px;
	margin: 0;
	padding: 0;
}

h1
{
	font-family: 'Brawler', serif;
	font-weight: 400;
	font-size: 2.0em;
    display: inline;
}

h2, h3, h4
{
    font-family: 'Brawler', serif;
    font-weight: 400;
    font-size: 1.5em;
}

.section-heading
{
    display: flex;
    width: 100%;
    margin-bottom: 0;
    justify-content: space-between;
    align-items: baseline;
}

.section-heading > .right
{
    flex: 1;
    text-align: right;
    margin-bottom: 0;
}

.section-heading > .left
{
    flex: 1;
    text-align: left;
    margin-bottom: 0;
}

article > h1
{
    border-bottom: 1px solid #000;
    display: block;
    width: 100%;
}

h6
{
    text-align: center;
	font-family: 'Istok Web', sans-serif;
    font-style: italic;
    margin-top: -1.5em;
    margin-bottom: 1.5em;
	font-weight: 400;
	font-size: 16px;
}

pre
{
    border: 1px solid;
    background-color: rgba( 200, 200, 200, 0.25 );
    font-size: 0.75em;
    font-family: monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    padding: 0.5em;
    width: 95%;
    margin: auto auto;
}

.title, a.title:link, a.title:visited, a.title:active, a.title:hover
{
	font-family: 'Brawler', serif;
	font-weight: 400;
	font-size: 2.0em;
	display: inline-block;
	width: 50%;
    position: relative;
    left: 0px;
    top: 0px;
    text-decoration: none;
}

.content-title
{
    display: table;
    border-bottom: 1px solid;
    margin-bottom: 1.0em;
    width: 100%;
}

h2.content-title-left
{
    vertical-align: bottom;
    display: table-cell;
    height: 100%;
	font-family: 'Brawler', serif;
	font-weight: 400;
	font-size: 2.0em;
}

h3.content-title-right
{
    vertical-align: bottom;
    text-align: right;
    display: table-cell;
    overflow: visible;
    white-space: nowrap;
	font-family: 'Istok Web', sans-serif;
	font-weight: 400;
	font-size: 0.75em;
}

h3.mod-date
{
    text-align: right;
    width: 100%;
	font-family: 'Istok Web', sans-serif;
	font-weight: 400;
	font-size: 0.75em;
    margin-top: -1.0em;
    margin-bottom: 1.0em;
}

h2 a, h2 a:link, h2 a:visited, h2 a:active,
h3 a, h3 a:link, h3 a:visited, h3 a:active
{
    text-decoration: none;
    opacity: 0.85;
    color: inherit;
}

h2 a:hover,
h3 a:hover
{
    /*text-shadow: inherit;*/
    opacity: 0.75;
    color: inherit;
}

a, a:link, a:visited, a:active
{
    text-decoration: underline;
    opacity: 0.85;
    color: inherit;
}

a.image-link, a.image-link:link, a.image-link:visited, a.image-link:active, a.image-link:hover
{
    opacity: 1.0;
}

a:hover
{
    text-decoration: none;
    text-shadow: 2px 2px 2px rgba(255,255,255,0.85);
    opacity: 0.75;
    color: inherit;
}

/* Icon styles */
a:link > i, a:visited > i, a:active > i
{
    text-decoration: none;
    opacity: 0.75;
}

a:hover > i
{
    opacity: 1.0;
}

.unpublished
{
    opacity: 0.75;
}

article
{
    padding: 2.5%;
}

section
{
    margin: 1.0em 0.0em;
}

.content
{
    padding-left: 2.5%;
    padding-right: 2.5%;
}

table {
    margin: auto auto;
    width: 85%;
    table-layout: fixed;
}

/* Table Styles for .datatable */
table.datatable {
    width: 100%;
    border-collapse: collapse;
    margin: auto auto;
    table-layout: auto;
}

table.datatable tr {
    cursor: pointer;
}

table.datatable tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: underline;
    text-shadow: 2px 2px 2px rgba(255,255,255,0.85);
    opacity: 0.75;
    color: inherit;
}

table.datatable td,
table.datatable th {
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

table.datatable td:last-child,
table.datatable th:last-child {
    text-align: right;
}

table.datatable th {
    border-bottom: 1px solid #000;
}

table.datatable td svg,
table.datatable th svg {
    display: block;
    margin: auto;
}

table.datatable td a {
    color: inherit;
    text-decoration: none;
}

table.datatable td a:hover {
    text-decoration: underline;
}

.header
{
    display: table;
    width: 100%;
}

.header.left
{
    display: block;
    white-space: nowrap;
    /*height: 100%;*/
    margin-top: 0.0em;
}

.header.right
{
    display: block;
    text-align: right;
    white-space: nowrap;
    overflow: visible;
    height: 100%;
    margin-bottom: 0.0em;
}

.header > a > i
{
    vertical-align: middle;
    line-height: 1.0;
}

.header > a:link, .header > a:visited, .header > a:active
{
    text-decoration: none;
    line-height: 1.0;
}

.header > a:hover
{
    text-decoration: underline;
}

.fa-envelope
{
    position: relative;
    top: -1px;
    margin-right: 0.125em;
}

.fa-github 
{
    position: relative;
    top: -2px;
    margin-right: 0.125em;
    margin-left: 0.125em;
}
/******** End Header Styles ********/

/******** Main Styles ********/
h1.main
{
	font-weight: normal;
    font-size: 3.0em;
}

/******** End Main Styles ********/


main
{
    margin: auto auto;
    padding: 2.5%;
    max-width: 1024px;
}

.timestamp
{
	font-family: 'Istok Web', sans-serif;
	font-weight: 400;
	font-size: 0.75em;
	text-align: right;
	margin: -18px 0px 0px 0px;
	width: 100%;
	display: run-in;
	white-space: nowrap;
}

.date-small
{
    display: none;
}

.date-large
{
    display: inline;
}

.read-more-link
{
    display: block;
    width: 100%;
    text-align: center;
	font-family: 'Brawler', serif;
    font-size: 1.0em;
    padding-top: 1.0em;
    padding-bottom: 1.0em;
}

@media screen and (max-width: 500px)
{
    .content-title
    {
        display: block;
        width: 100%;
    }

    h2.content-title-left,
    .header.left
    {
        float: none;
        display: block;
        width: 100%;
        margin-top: 0.0em;
        margin-bottom: 0.0em;
    }

    h3.content-title-right,
    .header.right
    {
        float: none;
        display: block;
        white-space: normal;
        width: 100%;
        margin-top: 0.0em;
        margin-bottom: 0.0em;
    }

    .header-social-text
    {
        display: none;
    }

    .date-small
    {
        display: inline;
    }

    .date-large
    {
        display: none;
    }

    img
    {
        max-width: 95%;
    }
}

#posttitle
{
	display: table;
	position: relative;
	width: 100%;
}

#ruler
{
	border-top: 1px solid;
	display: block;
	width: 100%;
}

body
{
	font-family: 'Istok Web', sans-serif;
	font-weight: 400;
	font-size: 16px;
    margin: 0px;
    padding: 0px;
    height: 100%;
    min-width: 320px;
}

ul, ol
{
    font-weight: 400;
}

ul
{
    list-style-type: disc;
}

#leftcolumn
{
	float: left;
	display: block;
	position: fixed;
	width: 300px;
	height: 100%;
	margin: 0px;
}

ul.pagelist
{
	font-family: 'Brawler', serif;
    font-size: 1.0em;
    text-decoration: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: inherit;
    opacity: 0.85;
    list-style-type: none;
    padding-left: 0;
}

ul.pagelist a
{
    font-weight: normal;
    color: inherit;
    opacity: 0.85;
}

ul.pagelist a.pagearrow
{
    font-weight: normal;
    color: inherit;
    opacity: 0.85;
    text-decoration: none;
}

ul.pagelist a:hover
{
    color: inherit;
    opacity: 1.0;
}

ul.pagelist li
{
    display: inline-block;
    margin: 1.0em 0.5em;
    text-decoration: none;
}

li.current
{
    text-decoration: underline;
    color: inherit;
}

img
{
    max-width: 80%;
    height: auto;
    display: block;
    margin: 2.0em auto;
    border: 1px solid;
}

img.git-icon
{
    display: inline-block;
    width: 16px;
    height: 16px;
    border: none;
    position: relative;
    top: 3px;
    margin: auto;
}

a.social-link
{
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.commit-info tr {
    cursor: default;
}
.commit-info tr:hover {
    background-color: transparent;
}
.commit-info td {
    padding: 2px 8px;
    border: none;
}

/* Diff styles */
.diff-file {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #d1d5da;
    border-radius: 3px;
    background-color: rgba( 200, 200, 200, 0.25 );
}

.diff-header {
    background-color: transparent;
    padding: 8px 10px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 12px;
    border-bottom: 1px solid #777;
    font-weight: 600;
    color: #24292e;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.diff-content {
    font-family: monospace;
    font-size: 0.75em;
    overflow-x: auto;
    background-color: rgba( 200, 200, 200, 0.25 );
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 0.5em;
    line-height: 1.5;
}

.diff-add {
    background-color: rgba(200, 255, 200, 0.75);
    color: #24292e;
    white-space: pre;
    padding: 0 10px;
    display: block;
}

.diff-del {
    background-color: rgba(255, 200, 200, 0.75);
    color: #24292e;
    white-space: pre;
    padding: 0 10px;
    display: block;
}

.diff-chunk {
    background-color: rgba(200, 220, 255, 0.75);
    color: #0366d6;
    white-space: pre;
    padding: 0 10px;
    display: block;
}

.diff-chunk-header {
    font-weight: bold;
}

.diff-chunk-context {
    color: #666;
    font-style: italic;
}

.diff-meta {
    color: #586069;
    font-weight: bold;
    white-space: pre;
    padding: 0 10px;
    background-color: transparent;
    display: block;
}

.diff-ctx {
    color: #586069;
    white-space: pre;
    padding: 0 10px;
    display: block;
}

/* Markdown Styles */
.readme-container {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.markdown-body {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
}

.markdown-body h1, .markdown-body h2, .markdown-body h3 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.25;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

.markdown-body code {
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    background-color: rgba(27,31,35,0.05);
    border-radius: 3px;
    font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
}

.markdown-body pre {
    padding: 16px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    background-color: #f6f8fa;
    border-radius: 3px;
    border: none; /* Override default pre border */
}

.markdown-body pre code {
    padding: 0;
    background-color: transparent;
    font-size: 100%;
}

/* Syntax Highlighting */
.highlight { 
    background-color: rgba( 200, 200, 200, 0.25 ); 
    padding: 0.5em; 
    overflow: auto; 
    border: 1px solid; 
    font-size: 1.0em;
    font-family: monospace;
}

.highlight .c { color: #408080; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
.highlight .o { color: #666666 } /* Operator */
.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #0044DD } /* Generic.Traceback */
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #B00040 } /* Keyword.Type */
.highlight .m { color: #666666 } /* Literal.Number */
.highlight .s { color: #BA2121 } /* Literal.String */
.highlight .na { color: #7D9029 } /* Name.Attribute */
.highlight .nb { color: #008000 } /* Name.Builtin */
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.highlight .no { color: #880000 } /* Name.Constant */
.highlight .nd { color: #AA22FF } /* Name.Decorator */
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0000FF } /* Name.Function */
.highlight .nl { color: #A0A000 } /* Name.Label */
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #19177C } /* Name.Variable */
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #666666 } /* Literal.Number.Bin */
.highlight .mf { color: #666666 } /* Literal.Number.Float */
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
.highlight .sx { color: #008000 } /* Literal.String.Other */
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0000FF } /* Name.Function.Magic */
.highlight .vc { color: #19177C } /* Name.Variable.Class */
.highlight .vg { color: #19177C } /* Name.Variable.Global */
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */

/* Syntax Highlighting Layout Fixes */
.highlight table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 0;
    table-layout: auto;
}

.highlight thead {
    border-bottom: 1px solid #777;
}

.highlight td {
    padding: 0;
    border: none;
    vertical-align: top;
    text-align: left;
}

.highlight pre {
    border: none;
    background-color: transparent;
    white-space: pre;
    overflow: visible;
    padding: 0;
    margin: 0;
    width: auto;
    font-family: monospace;
}

.highlight .linenos {
    color: #777;
    padding-right: 10px !important;
    text-align: right;
    user-select: none;
    border-right: 1px solid #777 !important;
    width: 1%; /* Shrink to fit */
    white-space: pre;
}

.highlight .code {
    padding-left: 10px !important;
    width: 100%;
    overflow: auto;
}

/* Diff styles override for .highlight collision */
.diff-content.highlight {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    overflow: auto; /* Keep overflow handling from diff-content */
}

.diff-content.highlight pre {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.d-ln {
    display: inline-block;
    width: 3em;
    text-align: right;
    padding-right: 0.5em;
    margin-right: 0.5em;
    color: rgba(0,0,0,0.3);
    user-select: none;
    -webkit-user-select: none;
    vertical-align: top;
}

.d-content {
    display: inline;
}

button.icon-button
{
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background-color: transparent;
    font-size: inherit;
    font-family: inherit;
}

button.icon-button:hover
{
    text-decoration: underline;
    opacity: 0.75;
    color: inherit;
    text-shadow: 2px 2px 2px rgba(255,255,255,0.85);
}

.copy-tooltip {
    position: fixed;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
    transform: translate(0, -100%);
}

.copy-tooltip.visible {
    opacity: 1;
}
