h1 {
  font-size: 1.9em;
}

h2 {
  font-size: 1.6em;
}

h3 {
  font-size: 1.3em;
}

.panel {
  text-align: left;
}

h3,
h4 {
  text-align: left;
}

.link-anchor {
  font-size: 0.7em;
  margin-left: 10px;
  margin-right: 10px;
  opacity: 0;
  transition: all 0.4s ease;
  margin-bottom: 2px;
}

h1:hover > .link-anchor {
  opacity: 1;
}

.link-anchor:hover {
  color: #111116;
}

.verb {
  padding: 3px 5px;
}

.param {
  margin: 0 -11px;
  color: #777;
}

table {
  width: 100%;
  margin-bottom: 20px;
  margin-top: 10px;
}

th {
  height: 1.5em;
  padding: 6px;
  min-width: 20%;
  background: #f5f5f5;
}

code {
  white-space: pre-wrap;
  font-size: 110%;
  background: #eee;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0px 2px;
}

h2 > code:not(.verb) {
  background: white;
  border: none;
}

tr.odd {
  background: #fafafa;
}

tr.even {
  background: #f5f5f5;
}

td {
  padding-bottom: 10px;
  padding-top: 10px;
  padding-left: 6px;
}

pre {
  background: #eee;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
}

pre > code {
  border: initial;
  padding: initial;
}

.panel a:not(.link-anchor) {
  color: #ff6c00;
  font-weight: bold;
}

.m-center ul {
  margin-left: 30px;
  margin-bottom: 30px;
  list-style: unset;
}

#toc {
  font-size: 85%;
}

#toc ol {
  counter-reset: item;
}

#toc li {
  display: block;
  margin: 5px 0;
}

#toc li:before {
  content: counters(item, ".") ". ";
  counter-increment: item;
  font-weight: bold;
}

@media (max-width: 1072px) {
  .right {
    order: -1;
  }

  #toc {
    width: 100%;
  }
}

@media (max-width: 768px) {
  table,
  pre {
    overflow-x: scroll;
    display: block;
  }
}
/*  ==============================================================================
                           Haddock (pandoc built-in style)
    ==============================================================================
    Style based on Haddock's source highlighting:
        https://www.haskell.org/haddock/
    This stylesheet was produced using Pandoc v2.0.5.
    Pandoc is (c) 2006-2017 John MacFarlane (jgm@berkeley.edu).
    Released under the GPL, version 2 or greater.
    ------------------------------------------------------------------------------
*/
a.sourceLine {
  display: inline-block;
  line-height: 1.25;
}
a.sourceLine {
  pointer-events: none;
  color: inherit;
  text-decoration: inherit;
}
a.sourceLine:empty {
  height: 1.2em;
  position: absolute;
}
.sourceCode {
  overflow: visible;
}
code.sourceCode {
  white-space: pre;
  position: relative;
}
div.sourceCode {
  margin: 1em 0;
}
pre.sourceCode {
  margin: 0;
}
@media screen {
  div.sourceCode {
    overflow: auto;
  }
}
@media print {
  code.sourceCode {
    white-space: pre-wrap;
  }
  a.sourceLine {
    text-indent: -1em;
    padding-left: 1em;
  }
}
pre.numberSource a.sourceLine {
  position: relative;
}
pre.numberSource a.sourceLine:empty {
  position: absolute;
}
pre.numberSource a.sourceLine::before {
  content: attr(data-line-number);
  position: absolute;
  left: -5em;
  text-align: right;
  vertical-align: baseline;
  border: none;
  pointer-events: all;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0 4px;
  width: 4em;
  color: #aaaaaa;
}
pre.numberSource {
  margin-left: 3em;
  border-left: 1px solid #aaaaaa;
  padding-left: 4px;
}
div.sourceCode {
}
@media screen {
  a.sourceLine::before {
    text-decoration: underline;
  }
}
code span.al {
  color: #ff0000;
} /* Alert */
code span.an {
  color: #008000;
} /* Annotation */
code span.at {
} /* Attribute */
code span.bu {
} /* BuiltIn */
code span.cf {
  color: #0000ff;
} /* ControlFlow */
code span.ch {
  color: #008080;
} /* Char */
code span.cn {
} /* Constant */
code span.co {
  color: #008000;
} /* Comment */
code span.cv {
  color: #008000;
} /* CommentVar */
code span.do {
  color: #008000;
} /* Documentation */
code span.er {
  color: #ff0000;
  font-weight: bold;
} /* Error */
code span.ex {
} /* Extension */
code span.im {
} /* Import */
code span.in {
  color: #008000;
} /* Information */
code span.kw {
  color: #006fff;
} /* Keyword */
code span.op {
} /* Operator */
code span.ot {
  color: #ff4000;
} /* Other */
code span.pp {
  color: #ff4000;
} /* Preprocessor */
code span.sc {
  color: #008080;
} /* SpecialChar */
code span.ss {
  color: #008080;
} /* SpecialString */
code span.st {
  color: #008080;
} /* String */
code span.va {
} /* Variable */
code span.vs {
  color: #008080;
} /* VerbatimString */
code span.wa {
  color: #008000;
  font-weight: bold;
} /* Warning */
