/* Defaults */
:root {
  --font-family: -apple-system, system-ui, sans-serif;
  --font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New, Courier, monospace;
}

/* Theme colors */
:root {
  --color-gray-20: #e0e0e0;
  --color-gray-50: #C0C0C0;
  --color-gray-90: #dad8d8;

  --background-color: #fff;

  --text-color: var(--color-gray-90);
  --text-color-link: #1493fb;
  --text-color-link-visited: #a6a6f8;

  --background-color: #000;
  --sidebar-color: #171717;
}


html {
  box-sizing: border-box;
}

body {
  background: white;
  height: 100%;
  margin: 0;
}

html,
button,
input,
select,
textarea,
.pure-g [class *="pure-u"] {
  font-family: 'Segoe UI', Helvetica, sans-serif;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.pure-g>div {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: black;
}

.loader {
  border: 2px solid lightgrey;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border-top: 2px solid rgba(43, 75, 111, 0.8);
  animation: spinner 2s infinite;
  margin-left: auto;
  margin-right: auto;
}


@keyframes spinner {
  0% {
    transform: rotate(0)
  }

  100% {
    transform: rotate(720deg)
  }
}

.url-standalone {
  display: block;
}

.blog-post p {
  margin-bottom: 10px;
}

.blog-post h2 {
  font-size: 1.5em;
}

.blog-post h3 {
  font-size: 1.35em;
}

.blog-post h4 {
  font-size: 1.25em;
  margin-bottom: 10px;
}

.blog-post h5 {
  font-size: 1.2em;
}

.blog-post {
  font-size: 1.2em;
}

.blog-post ol p {
  font-size: 1em;
}

.blog-post ul p {
  font-size: 1em;
}


.blog-post ol {
  margin-left: 20px;
}

.blog-post ul {
  margin-left: 20px;
}

.blog-post ul pre {
  font-size: 1.0em;
}

.blog-post ol pre {
  font-size: 1.0em;
}

.blog-post h2 {
  margin-top: 25px;
}

.blog-post h2,
.blog-post h1 {
  margin-left: -15px;
}

.blog-post h3 {
  margin-left: -10px;
}

#comments .action-call {
  border: 1px solid #2B4B6F;
  margin-top: 30px;
  padding: 10px;
  border-radius: 6px;
  background: rgb(28, 38, 29);
  color: white;
}

#comments article p {
  margin-left: 20px
}

#comments article footer p {
  margin-left: 0;
  color: rgba(43, 75, 111, 0.8);
}

#comments form label {
  display: block;
  margin-top: 10px;
}

#comments form input,
#comments form textarea {
  display: block;
  margin-top: 10px;
  margin-left: 20px;
  border: 0;
  border-bottom: 1px solid #D2D2D2;
  border-radius: 0;
}

#comments form input[type="submit"] {
  box-shadow: 1px 1px 1px;
  border: 1px solid #2B4B6F;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 0px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(43, 75, 111, 0.8);
  color: white;
  min-width: 100px;
}

#comments form input[type="submit"]:disabled {
  visibility: hidden;
}

#comments form textarea {
  height: 100px;
  width: 90%;
  margin-right: 20px;
}

#comments h2 {
  border-bottom: 1px solid rgba(43, 75, 111, 0.8);
}

#comments {
  padding: 20px;
  margin-top: 60px;
}

#comments .success {
  border: 1px solid #2B4B6F;
  margin-top: 30px;
  padding: 10px;
  border-radius: 6px;
}

#comments .failure {
  border: 1px solid #2B4B6F;
  margin-top: 30px;
  padding: 10px;
  border-radius: 6px;
  background-color: red;
}

audio {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.page-footer {
  font-size: 0.8em;
  padding: 10px 50px;
  min-height: 70px;
  margin-top: 10px;
}

.content {
  min-height: calc(100vh - 120px);
  padding-left: 2rem;
  padding-right: 2rem;
}

nav .pure-menu-link {
  color: #2B4B6F;
  margin: 10px;
  font-size: 1.2em;
  border-radius: 6px;
}

nav.pure-menu-horizontal {
  white-space: normal;
  line-height: 2.5rem;
}

nav .pure-menu-link:hover {
  background-color: #2B4B6F;
  color: white;
}

nav .pure-menu-link:first-child {
  margin-left: 0px;
}


.blog-info {
  background: var(--sidebar-color);
  color: white;
  padding: 10px;
}

.blog-info h3,
.blog-info h4 {
  color: var(--color-gray-90);
}


.stub {
  margin-top: 20px;
  list-style: none;
  border-left: 1px solid rgb(131, 157, 159);
  padding-left: 10px;
}

.stub h1 {
  font-size: 1.5em;
}

.stub h2 {
  font-size: 1.0em;
  color: black;
  display: inline-block;
  margin-bottom: 0;
  margin-top: 0;
  padding-bottom: 0;

}

.stub p {
  margin-top: 0;
  padding-top: 0;
  margin-left: 2.5rem;
}

.stub a:link,
.stub a:visited {
  text-decoration: none;
}

.stub a:hover {
  text-decoration: underline;
}

.blog-post h2:after {
  content: ' ';
  display: block;
  border: 1px solid black;
  opacity: 0.5;
  margin-top: 5px;
}

.blog-post h3:after {
  content: ' ';
  display: block;
  border: 1px solid black;
  opacity: 0.3;
  margin-top: 5px;
}

.blog-post h4:after {
  content: ' ';
  display: block;
  border: 1px solid black;
  opacity: 0.1;
  margin-top: 5px;
}

.about {
  margin-top: 150px;
}

.about a svg {
  margin-right: 5px;
}

.about a:link,
.about a:visited {
  text-decoration: none;
  margin-left: 20px;
}

.about a:hover {
  text-decoration: underline;
}

.external-button-link {
  color: #2B4B6F;
  margin: 10px;
  border-radius: 6px;
  padding: 10px;
}

.external-button-link:hover {
  background-color: #2B4B6F;
}

a.external-button-link:hover {
  color: white;
  text-decoration: none;
}

.articles-stub-list {
  margin-top: 50px;
}

.blog-info h4 a {
  font-size: 0.5em;
  color: #2B4B6F;
  text-decoration: none;
  background: white;
  border: 1px solid #2B4B6F;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #738CA6;
}

.blog-info h1 a:link,
.blog-info h1 a:visited {
  color: white;
  text-decoration: none;
}

.blog-info a:hover {
  text-decoration: underline;

}

.blog-info .pure-button {
  background-color: var(--background-color);

}

.blog-info .icon {
  margin-right: 4px;
}

.blog-info header {
  text-align: right;
}

footer p {
  max-width: 100%;
  text-align: left;
}

footer p:last-of-type {
  text-align: center;
}

/* .content {
  padding: 10px 5%;
  max-width: 768px;
} */

.content-offset {
  margin-left: 10px;
  margin-right: 10px;
}

@media screen and (min-width: 48em) {
  .content-offset {
    margin-left: 25%;
  }
}



.icon {
  display: inline;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  margin-right: 0.5rem;
}

.sidebar-contact-list {
  margin-top: 0.5rem;
}

.sidebar-icon {}

.icon-connection {
  width: 1.25em;
}

.icon-bubbles {
  width: 1.125em;
}

.icon-bubbles2 {
  width: 1.125em;
}

.content article {
  /* max-width: 37.5rem; */
}

article .retired-post {
  opacity: 70%;
}

article .warning {
  padding: 10px;
  margin: 10px;
  margin-bottom: 15px;
  border: 1px solid rgb(238, 211, 215);
  background-color: rgb(242, 222, 222);

  color: rgb(155, 45, 43);
  /* color: rgb(185, 74, 72); */
}

article ins {
  text-decoration: none;
}

article section h1 {
  font-size: 1.5em;
}

article .content-image {
  margin-left: auto;
  margin-right: auto;
}

.snippet {
  padding: 20px 5px 20px;
  border-right: 1px solid rgb(104, 130, 136);
  font-size: 1.3em;
}

.snippet-limited {
  max-height: 300px;
}

.snippet-grouping pre {
  margin-bottom: 0;
}

.strikethrough {
  text-decoration: line-through;
}


blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C" "\201D" "\2018" "\2019";
  color: black;
}

blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: block;
}

.chat-bubble-left {
  max-width: 300px;
  border-radius: 25px;
  background: lightgray;
  padding: 10px 20px;
  margin-top: 10px;
}

.chat-bubble-right {
  max-width: 300px;
  margin-left: 50px;
  border-radius: 25px;
  background: lightblue;
  padding: 10px 20px;
  margin-top: 10px;
}

.chat-wrapper {
  margin-left: auto;
  margin-right: auto;
  width: 320px;
}

@media screen and (max-width: 400px) {
  .chat-wrapper {
    width: 260px;
  }
}

@media screen and (max-width:400) {

  .blog-post h2,
  .blog-post h1 {
    margin-left: -5px;
  }

  .blog-post h3 {
    margin-left: 0px;
  }
}

@media screen and (min-width: 768px) {
  .blog-info {
    padding: 10px;
    position: fixed;
    top: 0;
    bottom: 0;
  }

  .blog-info header {
    margin: 80% 2em 0;
  }

  .content {
    margin-left: 25%;
  }

  .page-footer {
    margin-left: 25%;
  }
}

@media screen and (min-width: 968px) {
  .blog-info h4 a {
    font-size: 0.8em;
  }
}

@media screen and (max-height: 455px) {
  .blog-info header {
    margin: 10% 2em 0;
  }
}

/* Global stylesheet - evently template */
* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
}

p:last-child {
  margin-bottom: 0;
}

p,
.tmpl-post li {
  line-height: 1.45;
}

a[href] {
  color: var(--text-color-link);
}

a[href]:visited {
  color: var(--text-color-link-visited);
}

main {
  padding: 2rem;
}

/* main :first-child {
  margin-top: 1rem;
} */


table {
  margin: 1em 0;
}

table td,
table th {
  padding-right: 1em;
}

pre,
code {
  font-family: var(--font-family-monospace);
  line-height: 1.5;
}

pre {
  font-size: 14px;
  line-height: 1.375;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  -moz-tab-size: 2;
  -o-tab-size: 2;
  tab-size: 2;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  padding: 1em;
  margin: .5em 0;
  background-color: #f6f6f6;
}

code {
  word-break: break-all;
}

/* Header */
.home {
  padding: 0 1rem;
  float: left;
  margin: 1rem 0;
  /* 16px /16 */
  font-size: 1em;
  /* 16px /16 */
}

.home :link:not(:hover) {
  text-decoration: none;
}

/* Nav */
.nav {
  padding: 0;
  list-style: none;
  float: left;
  margin-left: 1em;
}

.nav-item {
  display: inline-block;
  margin-right: 1em;
}

.nav-item a[href]:not(:hover) {
  text-decoration: none;
}

.nav-item-active {
  font-weight: 700;
  text-decoration: underline;
}

/* Posts list */
.postlist {
  list-style: none;
  padding: 0;
}

.postlist-item {
  display: inline;
  flex-wrap: wrap;
  align-items: baseline;
  counter-increment: start-from -1;
  line-height: 1.8;
}

.postlist-item:before {
  display: inline-block;
  pointer-events: none;
  content: "" counter(start-from, decimal-leading-zero) ". ";
  line-height: 100%;
  text-align: right;
}

.postlist-date,
.postlist-item:before {
  font-size: 0.8125em;
  /* 13px /16 */
  color: var(--color-gray-90);
}

.postlist-date {
  word-spacing: -0.5px;
}

.postlist-link {
  padding-left: .25em;
  padding-right: .25em;
  text-underline-position: from-font;
  text-underline-offset: 0;
  text-decoration-thickness: 1px;
}

.postlist-item-active .postlist-link {
  font-weight: bold;
}

.tmpl-home .postlist-link {
  font-size: 1.1875em;
  /* 19px /16 */
  font-weight: 700;
}


/* Tags */
.post-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 0.75em;
  /* 12px /16 */
  padding: 0.08333333333333em 0.3333333333333em;
  /* 1px 4px /12 */
  margin-left: 0.6666666666667em;
  /* 8px /12 */
  margin-top: 0.5em;
  /* 6px /12 */
  margin-bottom: 0.5em;
  /* 6px /12 */
  color: var(--color-gray-90);
  border: 1px solid var(--color-gray-50);
  border-radius: 0.25em;
  /* 3px /12 */
  text-decoration: none;
  line-height: 1.8;
}

a[href].post-tag,
a[href].post-tag:visited {
  color: inherit;
}

a[href].post-tag:hover,
a[href].post-tag:focus {
  background-color: var(--color-gray-20);
}

.postlist-item>.post-tag {
  align-self: center;
}

/* Infobox */
:root {
  --color-infobox: #082840;
}


.infobox {
  background-color: var(--color-infobox);
  color: var(--color-gray-90);
  padding: 1em 0.625em;
  /* 16px 10px /16 */
}

.infobox ol:only-child {
  margin: 0;
}

/* Direct Links / Markdown Headers */
.direct-link {
  font-family: sans-serif;
  text-decoration: none;
  font-style: normal;
  margin-left: .1em;
}

a[href].direct-link,
a[href].direct-link:visited {
  color: transparent;
}

a[href].direct-link:focus,
a[href].direct-link:focus:visited,
:hover>a[href].direct-link,
:hover>a[href].direct-link:visited {
  color: #aaa;
}

.center-text {
  text-align: center;
}