@font-face {
    font-family: "Fira Sans";
    font-display: swap;
    src: url('../fonts/FiraSans-Regular.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/FiraSans-Regular?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/FiraSans-Regular.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/FiraSans-Regular.ttf') format('truetype'),
    url('../fonts/FiraSans-Regular.woff2') format('woff2'),
}

html {
    color: #232333;
    font-family: 'Fira Sans', sans-serif;
    font-size: x-large;
    line-height: 1.6em;
}
p, ul, ol {
    font-size: large;
    line-height: 1.5em;
}

/* Markdown */
:root {
    --maincolor: darkgrey;
    --calloutcolor: grey;
    --hovercolor: lightgrey;
    --darkMaincolor: lightgrey;
}

body {
  display: block;
  margin: 8px;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

::selection {
  background: var(--maincolor);
  color: #fff;
}



.toc {
    background-color: #ececec;
    border-radius: 5px;
    color: #232333;
    margin-left: 20px;
    max-width: 100%;
    padding: 10px;
    font-size: large;
    line-height: 1.5em;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.toc ol {
    padding-left: 2ch;
}

.toc ol li {
    /*text-indent: -2ch;*/
}

.toc ol>li::before {
    content: '';
    font-weight: bold;
}

/* Common */
.title h1 {
    margin-bottom: 0;
}

address {
    opacity: 80%;
}

.author {
    color: grey;
}

.author a {
    text-decoration: none;
}

address>time {
    clear: both;
}

address>time::before {
    content: "";
    display: block;
}

/* Posts */
article .title {
    margin-bottom: 0em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1.2em;
    margin-top: 1em;
}

h2 {
    font-size: xx-large;
    margin-bottom: 1.5em;
    line-height: 1.1em;
}

h3 {
    font-size: 1em;
}

/* Footer */
footer {
    display: flex;
    align-items: center;
    border-top: 0;
    padding: 1em;
    margin-top: 1em;
}

.footer-info {
    padding: 0;
    font-size: x-small;
    line-height: 0.75rem;
    opacity: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}
.soc { /*XXX DO I USE THIS? XXX*/
  display: flex;
  align-items: center;
  border-bottom: none;
}
.border { /*XXX DO I USE THIS? XXX*/
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  border: 1px solid;
}

.printonly-link {
    display: none;
}

.printonly-footnotes {
    display: none;
}

.spacer {
    display: none;
}

.altformats {
    font-size: small;
    line-height: 1.5em;
    margin-bottom: 2em;
}

.titlepage-print {
    display: none;
}

.publisher-rule {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

/* ******************************************************* */
/* ******************************************************* */
/* ******************************************************* */
/* ******************************************************* */
/* ******************************************************* */
/* ******************************************************* */
/* ******************************************************* */
/* ******************************************************* */
/* ******************************************************* */
/* ******************************************************* */



hr {
  margin: 1em 0;
}

blockquote {
  border-left: 3px solid var(--bordercl);
  color: #737373;
  margin: 0;
  padding-left: 1em;
}

a {
  border-bottom: 3px solid var(--maincolor);
  color: inherit;
  text-decoration: none;
}
a:hover {
    background-color: var(--hovercolor);
    color: #fff;
}

/* Images */
img {
  border: 3px solid #ececec;
  max-width: 100%;
}

figure {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  max-width: 100%;
}

figure img {
  max-height: 500px;
}

@media screen and (min-width: 600px) {
  figure {
    padding: 0 40px;
  }
}

figure h4 {
  font-size: 1rem;
  margin: 0;
  margin-bottom: 1em;
}
figure h4::before {
  content: '↳ ';
}


/* Containers */
.content {
  margin-bottom: 4em;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  padding: 0 1ch;
  word-wrap: break-word;
}

/* Header */
header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 1em 0;
  line-height: 2.5em;
}

header .main {
  font-size: 1.5rem;
}

.meta {
  color: #999;
  letter-spacing: -0.5px;
}

.post-container {
  align-items: flex-start;
  display: flex;
  gap: 20px;
}

.post-content {
  flex: 3;
  min-width: 0;
}

.toc {
  background-color: #ececec;
  border-radius: 5px;
  color: #232333;
  flex: 0 0 auto;
  height: auto;
  margin-left: 20px;
  max-width: 300px;
  overflow-y: auto;
  padding: 10px;
  position: sticky;
  top: 20px;
}



/* Common */
.title h1 {
  margin-bottom: 0;
}

time {
  color: grey;
}

/* Posts */
article .title {
  margin-bottom: 1em;
}

.title a {
  border-bottom: 0;
}

.original_url_web {
  font-size: small;
  margin-top: -0.5em;
}

.original_url_web a {
  border-bottom: 0;
}

.original_url_print {
  display: none;
}

.site-description {
display: flex;
justify-content: space-between;
}
.tags li::before{
  content: "🏷 ";
}
.tags a{
  border-bottom: 3px solid var(--maincolor); 
}
.tags a:hover{
  color:white;
  background-color: var(--hovercolor); 
}
svg{
  max-height: 15px;
}
.soc:hover{
  color: white;
}
.draft-label{ 
    color: var(--bordercl);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 6px;
    background-color: #f9f2f4;
}
.highlight {
  position: relative;
  -webkit-overflow-scrolling: touch;
}
/* table */
table {
  border-spacing: 0;
  border-collapse: collapse;
}

table th{
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
  font-size: large;
}

table td{
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}

