html, body {
  height: 100%;
}
img {
  max-width: 100%;
}

table {
  width: 100%;
  /* Hack to override Sphinx's border="1" */
  border: 0px transparent;
}

div.related {
  font-size: 14px;
}
.related:after {
  display: block;
  content: '';
  clear: both;
}
div.related ul {
  padding: 0;
  margin: 0;
}

.navbar.top-nav {
  margin-bottom: 0;
  border: 0;
}
.navbar.top-nav .form-control {
  background-color: #444;
  border-color: #333;
  color: #aaa;
}
.navbar.top-nav .form-control:focus {
  background-color: #555;
}
.navbar .container-fluid {
  max-width: 1000px;
}

.breadcrumbs {
  background: #444;
  color: #ccc;
}
.breadcrumbs-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: .5rem 2rem;
  line-height: 2;
}
#breadcrumbs ul {
  list-style-type: none;
  padding: 0;
}
#breadcrumbs li {
  display: inline;
  vertical-align: middle;
}
#breadcrumbs li:after {
  content: " \00BB ";
  margin: 0 .25em;
  color: #ccc;
}
#breadcrumbs li:last-child:after {
  content: '';
}
#breadcrumbs a {
  color: #aaa;
}

.bottom-nav {
  margin: 2em 0;
}
.bottom-nav a {
  color: inherit;
  font-style: italic;
}
.bottom-nav .next-page {
  float: right;
}
.bottom-nav .next-page:after {
  content: ' \2192';
}
.bottom-nav .previous-page {
  float: left;
}
.bottom-nav .previous-page:before {
  content: '\2190 ';
}
.bottom-nav:after {
  display: block;
  content: '';
  clear: both;
}

.footer {
  margin: 5rem 0 0;
  padding: 1rem;
  font-size: 13px;
}

.footer-wrapper {
  font-size: 14px;
  text-align: center;
}

.document {
  margin: .5em auto 0;
  max-width: 1000px;
}
.document .documentwrapper {
  float: left;
  width: 75%;
  margin: 0;
}
.document .bodywrapper {
  padding: 1rem 2rem;
}

div.sphinxsidebar {
  float: right;
  margin-left: 0;
  font-size: 13px;
  overflow: auto;
  width: 25%;
}
div.sphinxsidebarwrapper {
  padding: 1rem 2rem;
}

div.sphinxsidebar a {
  text-decoration: none;
}
div.sphinxsidebar a:active,
div.sphinxsidebar a:hover {
  text-decoration: underline;
}

div.sphinxsidebar h3 {
  text-transform: uppercase;
  font-size: inherit;
}
div.sphinxsidebar h4 {
  text-transform: uppercase;
  font-size: inherit;
}
div.sphinxsidebar h3 a {
  color: #222;
}

div.sphinxsidebar ul {
  padding: 0 0 0 1.5em;
  margin: 1em 0;
  list-style-type: square;
}
div.sphinxsidebar ul li {
  line-height: 1.7;
}
div.sphinxsidebar ul ul {
  padding: 0 0 0 1em;
  margin: 0;
}
div.sphinxsidebar ul ul li {
  text-transform: none;
  font-weight: 400;
}

.clearer {
  display: block;
  content: '';
  clear: both;
}

@media screen and (max-width: 800px) {
  body {
    padding-top: 0;
  }
  .navbar {
    margin-bottom: 0;
  }
  .header .search {
    float: none;
    margin-bottom: 16px;
  }
  .breadcrumbs-container {
    border-bottom: 0;
  }
  #breadcrumbs li {
  }

  div.sphinxsidebar {
    float: none;
    width: auto;
    border: 0;
    margin: 2em 0 0 0;
    background: #f0f0f0;
  }
  .document {
    font-size: 14px;
  }
  .document .documentwrapper {
    float: none;
    width: auto;
  }
  .document .bodywrapper {
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer {
    margin: 0;
  }
  .footer {
    background: #f0f0f0;
  }
}
*/

div.figure {
  padding: 0;
  margin: 32px;
  text-align: center;
}
div.body p.caption {
  margin-top: 16px;
  font-style: italic;
}
.caption-number {
  font-weight: 700;
  margin-right: .25em;
}

p.rubric {
  margin: 16px 0;
  font-weight: 400;
  font-style: italic;
  font-size: 20px;
  color: #666;
}

img.align-right,
.figure.align-right,
object.align-right {
  margin: 0 0 32px 32px;
}

.headerlink {
  display: none;
  margin-left: .25em;
}

h1:hover > .headerlink,
h2:hover > .headerlink,
h3:hover > .headerlink,
h4:hover > .headerlink,
h5:hover > .headerlink,
h6:hover > .headerlink {
  display: inline;
}

.document {
  font-size: inherit;
}

/* Index Page */
.section#hyper h1 {
  text-align: center;
  font-size: 300%;
  margin-top: 3rem;
}
.section#hyper h1 a {
  display: none;
}
.section#hyper .rubric {
  text-align: center;
  font-style: normal;
  margin-bottom: 3rem;
}

.admonition {
  background: #fafafa;
  padding-bottom: 1rem;
  color: #666;
  margin: 1em 0;
}
.admonition p {
  padding: 0 1em;
}
.admonition .admonition-title {
  background: #f0f0f0;
  padding: .25em 1em;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .05rem;
}
.admonition.note,
.admonition.warning {
  background: #fffce3;
}
.admonition.note .admonition-title,
.admonition.warning .admonition-title {
  background: #ece9d0;
}
