.posts-heading > h1 {
  text-align: center;
}

figure .highlight table {
  max-height: var(--max-figure-height);
  display: block;
  overflow-y: auto;
}

code {
  color: #1b2295;
  background-color: #f5f6ff;
};

.highlight td:first-child pre {
  padding-right: 0;
  border-radius: 0;
  min-width: 33px;
}

.highlight td:last-child pre {
  padding-left: 0;
}

.highlight td:last-child pre code {
  overflow-x: auto;
  display: block;
}

.highlight pre {
  margin-bottom: 0;
}

.box {
  margin: auto;
  padding: 0.5rem;
}

.box.floatright {
  float: right;
}

.box.floatleft {
  float: left;
}

figure .highlight+figcaption {
  color: #f8f8f2;
  background-color: #3c3d38;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 13px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  padding: 3px 9.5px 3px 9.5px;
  border-top: #7b806c solid 1px;
}

p + figure, figure + p {
  margin: 12px 0 6px 0;
}

figure .img {
  position: relative;
}

.navbar-custom {
  background-size: 100%;
  background-color: #092800;
  background-position-y: -216px;
}

.navbar-custom .navbar-brand, .navbar-custom .nav li a {
  color: #dbdbdb;
}

figcaption, .pswp__caption__center {
  text-align: center;
  font-style: italic;
}

figcaption {
  font-size: 80%;
}

figcaption a {
  position: revert;
}

hr {
  border-top: 1px solid #666;
}

#toc_container {
    background: #f9f9f9 none repeat scroll 0 0;
    border: 1px solid #aaa;
    display: table;
    font-size: 90%;
    margin-bottom: 1em;
    padding: 5px;
    padding-right: 10px;
    width: auto;
    min-width: 300px;
}


label.toc-visible-switch {
  float: right;
  padding: 0;
}

label.toc-visible-switch:hover { text-decoration: underline; }
input.toc-visible-switch { display: none; }
input.toc-visible-switch:checked ~ label:before { content: "-"; }
input.toc-visible-switch:not(:checked) ~ label:before { content: "+"; }
input.toc-visible-switch:not(:checked) ~ nav {
  visibility: hidden;
  height: 0;
}

.toc_title {
    font-weight: 700;
    text-align: center;
}

#toc_container li, #toc_container ul, #toc_container ul li{
  list-style: outside none none !important;
  padding-left: 15px;
  margin-bottom: 0;
}

#toc_container ul {
  padding-left: 0;
}

