/* Header */
header {
  padding: 15px 0;
  border-bottom: 3px solid #eee;
  text-align: center;
  background: #232629;
}
header .logo {
  max-height: 160px;
  max-width: 100%;
  margin: 15px 0;
}
header pre {
  margin: 0;
}

.container {
  max-width: 950px;
}

/* Content */
blockquote {
  border-left: 3px solid #eee;
  padding-left: 15px;
  color: #545e6b;
  font-style: italic;
}
blockquote p {
  margin-bottom: 5px;
}
.content pre.inline {
  display: inline;
  margin-left: 5px;
}
.content a.active {
  color: #014c8c;
  text-decoration: underline;
}
.content table {
  margin-bottom: 15px;
}
.gallery p {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.gallery a {
  width: 24%;
}
.gallery img {
  margin-bottom: 10px;
}
div.smartphoto {
  background: rgba(0, 0, 0, 0.85);
}

#footnotes {
  font-size: 80%;
}
h1:before,
h2:before,
h3:before,
h4:before,
h5:before,
h6:before {
  content: '';
  position: relative;
  margin-left: -25px;
  padding-left: 25px;
}
.anchor-hint {
  margin-left: -20px;
  font-size: 1rem;
  line-height: 200%;
  padding-right: 5px;
  float: left;
  display: none;
  z-index: 100;
  position: relative;
}
h1:hover .anchor-hint,
h2:hover .anchor-hint,
h3:hover .anchor-hint,
h4:hover .anchor-hint,
h5:hover .anchor-hint,
h6:hover .anchor-hint {
  display: inline;
}
.tags {
  font-size: 85%;
  color: #777;
}
.tags > a:after {
  content: ', '
}
.tags > a:last-child:after {
  content: ''
}
.post, .page {
  padding-top: 20px;
  text-align: justify;
}
.post__head > *, .timeline-footer > small {
  margin-right: 15px;
  display: inline-block;
}
.post__toc {
  background: #fff;
  font-size: 75%;
}

@media (min-width: 550px) {
  .post__toc {
    padding-left: 20px;
    float: right;
    margin-top: 5px;
  }
}
.post .toc {
  background: #f9f9f9;
  border: 2px solid #eee;
  padding: 10px 10px 10px 5px;
  list-style: none;
}
.post .toc .toc-level-1 > a {
  display: none;
}
.post .toc ol {
  padding-left: 10px;
  counter-reset: item;
  list-style: none;
}
.post .toc ol ol {
  padding-left: 15px;
}
.post .toc ol li:before {
  content: counters(item, ".") ". ";
  counter-increment: item
}
.post__body {
  padding-top: 20px;
  padding-bottom: 20px;
}
.post__body img {
  max-width: 100%;
}
.post__body h1,
.post__body h2,
.post__body h3,
.post__body h4 {
  text-align: left;
}
.post__body h1 {
  border-bottom: 3px solid #eee;
  padding-bottom: 7px;
  margin-bottom: 35px;
}
.post__body h2 {
  border-bottom: 2px solid #eee;
  padding-bottom: 7px;
  margin-top: 35px;
  margin-bottom: 1rem;
}
.post__body h3 {
  border-bottom: 1px solid #eee;
  padding-bottom: 7px;
  margin-top: 25px;
  margin-bottom: 1rem;
}
.post__body h4 {
  margin-top: 25px;
  margin-bottom: 1rem;
}
.post__body table {
  text-align: left;
}

.post__share {
  text-align: right;
}
.post__share > a {
  margin-left: 5px;
  margin-bottom: 15px;
}
.post__related {
  text-align: left;
  padding-bottom: 25px;
}
.post__comments {
  border-top: 3px solid #eee;
  padding-top: 25px;
}

@media (min-width: 550px) {
  .about__portrait {
    float:right;
    margin-left: 10px;
  }
}
@media (max-width: 549px) {
  .about__portrait {
    text-align: center;
    margin-bottom: 35px;
  }
}

/* Right row */
.right-row {
  padding-top:35px;
  padding-bottom: 35px;
}
@media (max-width: 767px) {
  .right-row {
    border-bottom: 3px solid #eee;
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
  }
}


/* Footer */
footer {
  border-top: 3px solid #eee;
  padding-bottom: 5px;
}
footer > .container > * {
  margin-left: 25px;
}


/* Timeline */
.timeline {
  text-align: left;
  list-style: none;
  padding: 15px 0 20px 0;
  position: relative;
  margin-left: 7px;
  margin-bottom: 0;
  min-height: 100%;
}
.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eeeeee;
  left: 40px;
}
.timeline > li:first-child {
  top: 25px;
  padding-bottom: 15px;
}
.timeline > li {
  margin-bottom: 15px;
  position: relative;
}
.timeline > li:after {
  clear: both;
}
.timeline .timeline-heading {
  margin-top: 0;
  font-size: 20px;
}
.timeline > li > .timeline-panel {
  margin-left: 100px;
  padding-bottom: 20px;
  position: relative;
  margin-bottom: 20px;
}
.timeline > li > .timeline-badge {
  color: #000;
  width: 70px;
  height: 70px;
  line-height: 60px;
  font-size: 35px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 40px;
  margin-left: -35px;
  background-color: #fff;
  z-index: 100;
  border-radius: 50%;
  border: 5px solid #eee;
}
.timeline > li > .timeline-badge > .icon {
  position: absolute;
  top: 8px;
  left: 8px;
  bottom: 8px;
  right: 8px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.timeline-footer {
  margin-top: 10px;
}


/* Simple Timeline */
.simple-timeline {
  text-align: left;
  list-style: none;
  padding: 0;
  position: relative;
  margin-left: 7px;
  margin-bottom: 35px;
}
.simple-timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 2px;
  background-color: #eeeeee;
  left: 55px;
}
.simple-timeline > li {
  margin-bottom: 15px;
  position: relative;
}
.simple-timeline .simple-timeline__badge {
  position: absolute;
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.simple-timeline .simple-timeline__badge:before {
  content: '';
  display: block;
  position: absolute;
  border: 6px solid #ccc;
  border-radius: 6px;
  left: 50px;
  top: 6px;
}
.simple-timeline .simple-timeline__text {
  margin-left: 80px;
}


/* prism.js */
body :not(pre) > code[class*="language-"], body pre[class*="language-"] {
  background: #F9F9F9;
  border: 1px solid #eee;
  margin: 0 0 25px 0;
}
