/*
 * "Darkfish" Rdoc CSS
 * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
 *
 * Author: Michael Granger <ged@FaerieMUD.org>
 *
 */

/* vim: ft=css et sw=2 ts=2 sts=2 */
/* Base Green is: #6C8C22 */

.hide { display: none !important; }

* { padding: 0; margin: 0; }

body {
  background: #fafafa;
  font-family: Lato, sans-serif;
  font-weight: 300;

  /* Layout */
  display: grid;
  grid-template-columns: auto 1fr;
}

body > :last-child {
  grid-column: 1 / 3;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
  position: relative;

  display: none;
  padding-left: 1em;
  line-height: 0;
  vertical-align: baseline;
  font-size: 10px;
}

h1 span { top: -1.3em; }
h2 span { top: -1.2em; }
h3 span { top: -1.0em; }
h4 span { top: -0.8em; }
h5 span { top: -0.5em; }
h6 span { top: -0.5em; }

h1:hover span,
h2:hover span,
h3:hover span,
h4:hover span,
h5:hover span,
h6:hover span {
  display: inline;
}

h1:target,
h2:target,
h3:target,
h4:target,
h5:target,
h6:target {
  margin-left: -10px;
  border-left: 10px solid #f1edba;
}

:link,
:visited {
  color: #6C8C22;
  text-decoration: none;
}

:link:hover,
:visited:hover {
  border-bottom: 1px dotted #6C8C22;
}

code,
pre {
  font-family: "Source Code Pro", Monaco, monospace;
  background-color: rgba(27,31,35,0.05);
  padding: 0em 0.2em;
  border-radius: 0.2em;
}

em {
  text-decoration-color: rgba(52, 48, 64, 0.25);
  text-decoration-line: underline;
  text-decoration-style: dotted;
}

strong,
em {
  background-color: rgba(158, 178, 255, 0.1);
}

table {
  margin: 0;
  border-spacing: 0;
  border-collapse: collapse;
}

table tr th, table tr td {
  padding: 0.2em 0.4em;
  border: 1px solid #ccc;
}

table tr th {
  background-color: #eceaed;
}

table tr:nth-child(even) td {
  background-color: #f5f4f6;
}

/* @group Generic Classes */

.initially-hidden {
  display: none;
}

#search-field {
  width: 98%;
  background: white;
  border: none;
  height: 1.5em;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-align: left;
}
#search-field:focus {
  background: #f1edba;
}
#search-field:-moz-placeholder,
#search-field::-webkit-input-placeholder {
  font-weight: bold;
  color: #666;
}

.missing-docs {
  font-size: 120%;
  background: white url("/raw/oI-dEZzE9It_gFC-ApVAU2HZqoDvbdFT/files/1891/wrench_orange.png?grant=7vJfurAbw1f9uEHaMTPJhcgXWKW3OlfW7VMMhVPAvJo7YXvkYlvlphKg4x2sR5gte1sIQC%2F8l%2Fqm3%2B%2BfR3%2BkkN3t4tlYIKBVe6kXsKdURQ1yMd%2F%2F2nQd8ozYJmcXMGxITrpJkosJ8qsvx2ouOtWD0s0mE20ikSaV4K9J0fSNficFW%2BJB87Dwvvvt3CA3PHI8cp4OY4VIHhTtYiahWjwlTl%2FevaqrX99Syqgguk6uWE1QtVwuny2cSo8pXMWyeXDkGSL0JUTsTgnD5IeFuZxcQvvieS0DT7jGJMmt5Wx4W55OKjS5%2F0tKqaslLIsqnbUgWbXxhJkdb0clERfU6DpB5Twq%2BHcnE572c1KgPnzrwOjmu7q%2B0gyb1wHwmbiL%2BEZoXgDV20nQBJbolp%2FPNrHBWgT8BuOlORsmJq8kbkhuxqtxLk9rUCJljyoK%2BORl--CLA0xahHpr93B4pb--L7mojEpmY4%2Ba%2FrpSWx2CZQ%3D%3D") no-repeat 4px center;
  color: #ccc;
  line-height: 2em;
  border: 1px solid #d00;
  opacity: 1;
  padding-left: 20px;
  text-indent: 24px;
  letter-spacing: 3px;
  font-weight: bold;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

.target-section {
  border: 2px solid #dcce90;
  border-left-width: 8px;
  padding: 0 1em;
  background: #fff3c2;
}

/* @end */

/* @group Index Page, Standalone file pages */
.table-of-contents ul {
  margin: 1em;
  list-style: none;
}

.table-of-contents ul ul {
  margin-top: 0.25em;
}

.table-of-contents ul :link,
.table-of-contents ul :visited {
  font-size: 16px;
}

.table-of-contents li {
  margin-bottom: 0.25em;
}

.table-of-contents li .toc-toggle {
  width: 16px;
  height: 16px;
  background: url("/raw/oI-dEZzE9It_gFC-ApVAU2HZqoDvbdFT/files/1868/add.png?grant=DntugOOoi0miUmqBdVVgt0365oRC0XwTzfChffngbFaJTMEg1zoWd3kUwMNuVFgHojF4qj3XsP9rE3hHvFmD%2FDtozyO8JB91xXyjzyJkmQzkJNiD9%2F6GPa33Y1uiP9HJVZvklDT%2FcnvTGpcxz7mJwK30Z%2BNPcDeGXIdK6QzKM3nQoc8zSWxSZwIOZRa%2FqpTYnwvIm2Icygyt9Qr8aePIrKJK6iWXwG%2Bc6PkyH%2FeDKpQop%2BJRPmaXA07MQHo%2FNeek4hJBjtK0sPaSwouJABurKGRaI2hAm%2BmclnwNdsxBQe%2BAWe8ZgkmHvLE3mCAkjScCw8qnpIZM5%2B2OcZ5NfMaFSxSckXw3kXrrHXp8%2BdA%2Fo0%2BsJtH8wP6eCSlfVGBoHlHhr7fecMFRcz%2BofYXCuIkXuQqkAj59avVWTrZYUQW6OAC%2BvRwKbNR4B%2FNQx4XA--DA5PfuNHGXLLxCQu--%2F0tpeD17DEl2Ihyqqd37WQ%3D%3D") no-repeat;
}

.table-of-contents li .toc-toggle.open {
  background: url("/raw/oI-dEZzE9It_gFC-ApVAU2HZqoDvbdFT/files/1877/delete.png?grant=Ofvb75wos%2FE7Ew%2F4ScZ5UAXc02ZkvkpKanW66ipr4%2FV9Ri6iGJ6ATamy0XKpxDeCtg%2F1cFGKgjCNp97BLADuHWdkGDPXgWP9KVYabP25SwGM8rj9cx%2FPHZk3ZlzJXSV3myly76lTDV%2Bf%2Ban%2BT5E2C13rf71FKx7Y9lehhUVkrlPrS2E5mJTx63ASd%2FfeoKgv66S6Q8oATWnesyWsDhHx55l2lLiqtyJ1Z5Mmr2Uxvmu9lMYSX4STICBS%2FQJMAgk5thkDsv45vp0SQkZj6gRqFtf3h8IQg7sAjgOiW2O5%2FSlEPsiDpEHZvJBCMQTtkKlbzieMbj%2BW8rofbRcn0PQ0%2B%2Bfz4K0yjmqEezOdQ3%2F%2FyL0WCXZ0rrKcbzCRYDWtGVSrJupKkdMD1pxOCOUsW%2FtKWpQFTnGIdLaqqWzPoZuB6MgoFY%2Fw%2Fu%2BaQWi86Jfg--dsivdPVEKIa84RoM--nRn46qR%2BydgPx2MU8oYBVg%3D%3D") no-repeat;
}

/* @end */

/* @group Top-Level Structure */

nav {
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  border-right: 1px solid #ccc;
  position: sticky;
  top: 0;
  overflow: auto;

  /* Layout */
  width: 260px; /* fallback */
  width: max(50px, 20vw);
  min-width: 50px;
  max-width: 80vw;
  height: calc(100vh - 100px); /* reduce the footer height */
  resize: horizontal;
}

main {
  display: block;
  margin: 1em;
  min-width: 340px;
  font-size: 16px;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: Helvetica, sans-serif;
}

.table-of-contents main {
  margin-left: 2em;
}

#validator-badges {
  margin: 1em 1em 2em;
  font-size: smaller;
}

/* @end */

/* @group navigation */
nav {
  margin-bottom: 1em;
}

nav .nav-section {
  margin-top: 2em;
  border-top: 2px solid #aaa;
  font-size: 90%;
  overflow: hidden;
}

nav h2 {
  margin: 0;
  padding: 2px 8px 2px 8px;
  background-color: #e8e8e8;
  color: #555;
  font-size: 125%;
  text-align: center;
}

nav h3,
#table-of-contents-navigation {
  margin: 0;
  padding: 2px 8px 2px 8px;
  text-align: right;
  background-color: #e8e8e8;
  color: #555;
}

nav ul,
nav dl,
nav p {
  padding: 4px 8px 0;
  list-style: none;
}

#project-navigation .nav-section {
  margin: 0;
  border-top: 0;
}

#home-section h2 {
  text-align: center;
}

#table-of-contents-navigation {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}

#search-section {
  margin-top: 0;
  border-top: 0;
}

#search-field-wrapper {
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  padding: 3px 8px;
  background-color: #e8e8e8;
  color: #555;
}

ul.link-list li {
  white-space: nowrap;
  line-height: 1.4em;
}

ul.link-list .type {
  font-size: 8px;
  text-transform: uppercase;
  color: white;
  background: #969696;
  padding: 2px 4px;
  -webkit-border-radius: 5px;
}

dl.note-list dt {
  float: left;
  margin-right: 1em;
}

.calls-super {
  background: url("/raw/oI-dEZzE9It_gFC-ApVAU2HZqoDvbdFT/files/1869/arrow_up.png?grant=M%2FRUpKBJIxov5afdob2IyHm%2BQQPiAFVLcQY8rNxeLNRea%2FItr6FnpVMzj0Ff4WRp55NL8aKRqe3GpCbDweylLGws3V%2BaU5q%2B%2BbYcD8g7fujRPYcZcFmGUhQt4WSo87YWl5Yk7xo8wIcutP1hPeDWDGqO4UBkm2ckuzgFPhPMYqn6FxaNGs323qM3S7H%2Bs49uBsziG03%2BE8aZ1roxixbz7xpRZeW0noAmxByRei7K7bgw3fBRqMziC%2FsNRJFetrVlGdojN0A7yzkDouTcBi7Ur%2F5AG7YFBSD4qR%2Bx83195urnxrU%2FjLBdIcIOncVnEzlJkTiWoIEqlu6rqsy5DVuOhTjT1fpxO6ZexeS9JbFyF7RSiL8EKsYZMjEizlIofKB938KBoktgPWUBop5q8hyP8AQpKZbp6xZFTu60%2FBZRwRhybMWSzp0iAXWmrf7A--01udrT%2FPq2llK9sb--c%2FdAEZfoQwpgKDdJi%2FiVnw%3D%3D") no-repeat right center;
}

.nav-section details > summary {
  display: block;
}

.nav-section details > summary::-webkit-details-marker {
  display: none;
}

.nav-section details > summary::before {
  content: "";
}

.nav-section details > summary::after {
  content: "\25B6"; /* BLACK RIGHT-POINTING TRIANGLE */
  font-size: 0.8em;
  margin-left: 0.4em;
}

.nav-section details[open] > summary::after {
  content: "\25BD"; /* WHITE DOWN-POINTING TRIANGLE */
}

/* @end */

/* @group Documentation Section */
main {
  color: #333;
}

main > h1:first-child,
main > h2:first-child,
main > h3:first-child,
main > h4:first-child,
main > h5:first-child,
main > h6:first-child {
  margin-top: 0px;
}

main sup {
  vertical-align: super;
  font-size: 0.8em;
}

/* The heading with the class name */
main h1[class] {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 2em;
  color: #6C8C22;
}

main h1 {
  margin: 2em 0 0.5em;
  font-size: 1.7em;
}

main h2 {
  margin: 2em 0 0.5em;
  font-size: 1.5em;
}

main h3 {
  margin: 2em 0 0.5em;
  font-size: 1.2em;
}

main h4 {
  margin: 2em 0 0.5em;
  font-size: 1.1em;
}

main h5 {
  margin: 2em 0 0.5em;
  font-size: 1em;
}

main h6 {
  margin: 2em 0 0.5em;
  font-size: 1em;
}

main p {
  margin: 0 0 0.5em;
  line-height: 1.4em;
}

main pre {
  margin: 1.2em 0.5em;
  padding: 1em;
  font-size: 0.8em;
}

main hr {
  margin: 1.5em 1em;
  border: 2px solid #ddd;
}

main blockquote {
  margin: 0 2em 1.2em 1.2em;
  padding-left: 0.5em;
  border-left: 2px solid #ddd;
}

main ol,
main ul {
  margin: 1em 2em;
}

main li > p {
  margin-bottom: 0.5em;
}

main dl {
  margin: 1em 0.5em;
}

main dt {
  margin-bottom: 0.5em;
  font-weight: bold;
}

main dd {
  margin: 0 1em 1em 0.5em;
}

main header h2 {
  margin-top: 2em;
  border-width: 0;
  border-top: 4px solid #bbb;
  font-size: 130%;
}

main header h3 {
  margin: 2em 0 1.5em;
  border-width: 0;
  border-top: 3px solid #bbb;
  font-size: 120%;
}

.documentation-section-title {
  position: relative;
}
.documentation-section-title .section-click-top {
  position: absolute;
  top: 6px;
  left: 12px;
  font-size: 10px;
  color: #9b9877;
  visibility: hidden;
  padding-left: 0.5px;
}

.documentation-section-title:hover .section-click-top {
  visibility: visible;
}

.constants-list > dl {
  margin: 1em 0 2em;
  border: 0;
}

.constants-list > dl dt {
  margin-bottom: 0.75em;
  padding-left: 0;
  font-family: "Source Code Pro", Monaco, monospace;
  font-size: 110%;
}

.constants-list > dl dt a {
  color: inherit;
}

.constants-list > dl dd {
  margin: 0 0 2em 0;
  padding: 0;
  color: #666;
}

.documentation-section h2 {
  position: relative;
}

.documentation-section h2 a {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 12px;
  color: #9b9877;
  visibility: hidden;
}

.documentation-section h2:hover a {
  visibility: visible;
}

/* @group Method Details */

main .method-source-code {
  max-height: 0;
  overflow: auto;
  transition-duration: 200ms;
  transition-delay: 0ms;
  transition-property: all;
  transition-timing-function: ease-in-out;
}

main .method-source-code.active-menu {
  max-height: 100vh;
}

main .method-description .method-calls-super {
  color: #333;
  font-weight: bold;
}

main .method-detail {
  margin-bottom: 2.5em;
  cursor: pointer;
}

main .method-detail:target {
  margin-left: -10px;
  border-left: 10px solid #f1edba;
}

main .method-heading {
  position: relative;
  font-family: "Source Code Pro", Monaco, monospace;
  font-size: 110%;
  font-weight: bold;
  color: #333;
}
main .method-heading :link,
main .method-heading :visited {
  color: inherit;
}
main .method-click-advice {
  position: absolute;
  top: 2px;
  right: 5px;
  font-size: 12px;
  color: #9b9877;
  visibility: hidden;
  padding-right: 20px;
  line-height: 20px;
  background: url("/raw/oI-dEZzE9It_gFC-ApVAU2HZqoDvbdFT/files/1892/zoom.png?grant=ZY35HFUWvmZfwlim%2F3VmfwTdJeQ2O6gbdLBw3c1L2ZrFE%2Bwf%2BXaku5gwWFQwnDfTJ0ieAa2cLVY7l6zS1HXaxTKtll0kDfLTULOGzg%2BIZBtFVNMhN0cSbrsadGt3%2BGPRuapRM53EFQsAW7m7zfouCPNGrrTAHUzwTkt65cEEdfyh2VI1rqOxNz08EZ14Jr77nP0VXMI1CInuth0KHLSieIXlK03bITaV6fB6kYAsnTFofQcbUeqMAzX1pQmYywBvvcv6%2Fb7VDfXMCXKV0pLR%2BQppLUsU0bY8%2BYYqrPmuHlhHzfgwu5lZg1HcfG4WAVh%2FvJ5RN%2By8sxMNPzbX%2F1lMmITDwzWOzhMfuGldUQjJZHqAjrxiCs3mMqwSLeZraIKFQXc2qZY%2B316qYOFqM7wrfjV9A803Vzah2atTymAZmc3HPmz4aj%2BscrAc3%2BTo--jkt5oLK6DLmFkK6P--50%2B8v%2FpE4wGXsoWm9BqGvw%3D%3D") no-repeat right top;
}
main .method-header:hover .method-click-advice {
  visibility: visible;
}

main .method-alias .method-heading {
  color: #666;
}

main .method-description,
main .aliases {
  margin-top: 0.75em;
  color: #333;
}

main .aliases {
  padding-top: 4px;
  font-style: italic;
  cursor: default;
}
main .method-description ul {
  margin-left: 1.5em;
}

main #attribute-method-details .method-detail:hover {
  background-color: transparent;
  cursor: default;
}
main .attribute-access-type {
  text-transform: uppercase;
  padding: 0 1em;
}
/* @end */

/* @end */

/* @group Source Code */

pre {
  margin: 0.5em 0;
  border: 1px dashed #999;
  padding: 0.5em;
  background: #262626;
  color: white;
  overflow: auto;
}

.ruby-constant   { color: #7fffd4; background: transparent; }
.ruby-keyword    { color: #00ffff; background: transparent; }
.ruby-ivar       { color: #eedd82; background: transparent; }
.ruby-operator   { color: #00ffee; background: transparent; }
.ruby-identifier { color: #ffdead; background: transparent; }
.ruby-node       { color: #ffa07a; background: transparent; }
.ruby-comment    { color: #dc0000; background: transparent; }
.ruby-regexp     { color: #ffa07a; background: transparent; }
.ruby-value      { color: #7fffd4; background: transparent; }

/* @end */


/* @group search results */
#search-results {
  font-family: Lato, sans-serif;
  font-weight: 300;
}

#search-results .search-match {
  font-family: Helvetica, sans-serif;
  font-weight: normal;
}

#search-results .search-selected {
  background: #e8e8e8;
  border-bottom: 1px solid transparent;
}

#search-results li {
  list-style: none;
  border-bottom: 1px solid #aaa;
  margin-bottom: 0.5em;
}

#search-results li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

#search-results li p {
  padding: 0;
  margin: 0.5em;
}

#search-results .search-namespace {
  font-weight: bold;
}

#search-results li em {
  background: yellow;
  font-style: normal;
}

#search-results pre {
  margin: 0.5em;
  font-family: "Source Code Pro", Monaco, monospace;
}

/* @end */

