@import url('https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i|Merriweather:700,700i');
@import url('https://cdn.jsdelivr.net/npm/hack-font@3/build/web/hack.css');

html, body, .wy-grid-for-nav {
  font-family: 'Lato', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Helvetica', 'Arial',
  sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  background: #f0f0f0;
  margin: 0;
  word-break: break-word;
}

.wy-nav-side {
  font-size: 18px;
}

.wy-nav-top {
  line-height: 30px;
}

.wy-nav-content-wrap {
  background: #f0f0f0;
}

.wy-nav-content {
  background: white;
  max-width: 960px;
  margin: 0;
}

.wy-nav-content p {
  font-size: inherit;
}

.wy-side-nav-search > a, .wy-side-nav-search .wy-dropdown > a {
  font-weight: inherit;
}

.wy-nav-top > a {
  font-size: 125%;
}

.wy-side-nav-search input {
  font-family: inherit;
}

.wy-side-nav-search > a {
  margin: 0;
  display: block;
}

.wy-side-nav-search > a img.logo {
  max-width: 11.5em;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

.wy-menu .project-badges {
  padding: 0.4em 1.45em 0 1.45em;
  display: block;
  position: relative;
  line-height: 1em;
}

.wy-menu.wy-menu-vertical .project-badges a {
  display: inline;
  padding: 0;
}

.wy-menu.wy-menu-vertical .project-badges a:hover {
  background: inherit;
}

.wy-breadcrumbs-aside {
  margin-top: 0.225em;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI',
  'Helvetica', 'Arial', serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  font-weight: 700;
  margin-bottom: 16px;
}

/* Code block wrappers */
.rst-content div[class*='highlight'] {
  overflow: inherit;
}

/* Both code blocks and literals */
pre, code, kbd, var, samp, tt,
div[class*='highlight'] pre, .rst-content div[class*='highlight'] pre,
pre.literal-block, .rst-content pre.literal-block,
code.literal, .rst-content code.literal,
tt.literal, .rst-content tt.literal,
.wy-menu-vertical li code,
.wy-menu-vertical li tt {
  font-family: 'Hack', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace;
  font-weight: inherit;
  font-size: 87.5%;
  word-break: break-all;
}

/* Code blocks only */
pre,
div[class*='highlight'] pre, .rst-content div[class*='highlight'] pre,
pre.literal-block, .rst-content pre.literal-block {
  padding: 8px 12px 12px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  color: inherit;

  /* Not sure why, but horizontal scrollbar does not go away without this on Chrome Linux */
  width: 99.9%;
}

/* Literals only */
code, kbd, var, samp, tt,
tt.literal, .rst-content tt.literal,
code.literal, .rst-content code.literal {
  padding-left: 0;
  padding-right: 0;
  background: rgba(0,0,0,0.05);
  border-radius: 3px;
  color: inherit;
  border: none;
  white-space: pre-wrap;
}

/* Literals in menu */
.wy-menu tt,
.wy-menu code {
  padding-left: 0;
  padding-right: 0;
  background: inherit;
  border-radius: 0;
  font-size: inherit;
  color: inherit;
  border: none;
  white-space: pre-wrap;
}

/* Add small padding around a literal. */
code::before, code::after,
kbd::before, kbd::after,
var::before, var::after,
samp::before, samp::after,
tt::before, tt::after {
  letter-spacing: -0.3em;
  content: "\00a0";
}

/* Do not add small padding around a literal in menu. */
.wy-menu tt::before,
.wy-menu tt::after,
.wy-menu code::before,
.wy-menu code::after {
  content: "";
}

/* Do not add color to the literals in a hyperlink. */
a .highlight * {
  color: inherit !important;
}

.btn, .rst-content {
  font-family: inherit;
}

/* Use justify-align and hyphenation. */
p, .rst-content li {
  text-align: justify;
}
p, .rst-content li, .wy-menu li {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Insert space for the nested list which comes after a paragraph. */
.rst-content li > p + ul,
.rst-content li > p + ol {
  padding-bottom: 1em;
}

/* Do not insert bottom margin if it's the last child. */
.rst-content li:last-child > .admonition:last-child {
  margin-bottom: 0;
}

/* Do not use monospace font for download links */
.rst-content tt.download {
  font-family: inherit;
}

/* Adjust table width */
.rst-content table.docutils, .rst-content table.field-list {
  width: 100%;
}

/* Adjust table padding */
.rst-content table.docutils thead th, .rst-content table.docutils td,
.rst-content table.field-list thead th, .rst-content table.field-list td {
  padding: 6px 10px;
}

/* Adjust table header borders */
.wy-table thead th, .rst-content table.docutils thead th, .rst-content table.field-list thead th {
  border-left: solid 1px #e1e4e5;
  border-right: solid 1px #e1e4e5;
  border-bottom-width: 1px;
}

/* Allow wrapping table content */
.wy-table-responsive table td {
  white-space: inherit;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: justify;
}

/* Do not add left-margin for line-blocks */
.rst-content .line-block {
  margin-left: 0;
}

/* Adjust the height of the top navbar */
.wy-nav-top {
  line-height: 43px;
}

/* Center the PlantUML diagrams */
.plantuml {
  text-align: center;
}

/* Plural suffix inside code should not be monospaced. */
code .plural-suffix {
  font-family: 'Lato', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Helvetica', 'Arial',
  sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

/* highlightjs style begins */
div.hljs {
  background: inherit;
  padding: 0;
}
pre.hljs {
  background: rgba(0, 0, 0, 0.01); /* 1% darker background */
}
td.hljs-ln-numbers {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  text-align: right;
  color: #ccc;
  border-right: 1px solid #CCC;
  vertical-align: top;
  padding-right: 8px !important;
}
td.hljs-ln-code {
  padding-left: 8px !important;
}
/* highlightjs style ends */

/* GitHub Corners style begins. */
.github-corner svg {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
}
.github-corner:hover .octo-arm {
  animation: octocat-wave 560ms ease-in-out
}
@keyframes octocat-wave {
  0%, 100% {
    transform: rotate(0)
  }
  20%, 60% {
    transform: rotate(-25deg)
  }
  40%, 80% {
    transform: rotate(10deg)
  }
}
@media (max-width: 500px) {
  .github-corner:hover .octo-arm {
    animation: none
  }
  .github-corner .octo-arm {
    animation: octocat-wave 560ms ease-in-out
  }
}

@media screen and (max-width: 768px) {
  .github-corner > svg {
    top: 50px;
  }
}
/* GitHub Corners style ends */

/* Central Dogma branding begins. */
.wy-side-nav-search, .wy-nav-top {
  background-color: #1e2834;
}

.wy-side-nav-search input[type="text"] {
  border-color: #1e2834;
}

.wy-nav-side {
  background-color: #323c48;
}

.wy-menu-vertical a:active, .wy-menu-vertical a:hover {
  background-color: #424c58;
}

.wy-menu-vertical li.current a {
  border-right-width: 0;
}
/* Central Dogma branding ends. */
