/* Sphinx themes
-------------------------------------------------- */

.container {
  max-width: 960px;
}

body {
  position: relative;
  padding: 40px 0 0 0;
  font-family: Helvetica, arial, freesans, clean, sans-serif;
}

div.clearer {
  clear: both;
}

div.document {
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.5em;
}

.body {
  width: 74%;
  float: right;
  word-wrap: break-word;
}

div.related {
  display: none;
}

a:link,
a:hover,
a:active {
  color: #106C9B;
}

a:visited {
  color: #6a329f;
}

a.headerlink {
  color: #106C9B;
  padding: 0 6px;
  text-decoration: none;
  font-size: 18px;
}

h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,

a.headerlink:hover {
  color: #444;
  background: #eaeaea;
  text-decoration: none;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
  font-family: Helvetica, arial, freesans, clean, sans-serif;
  font-weight: normal;
  margin: 30px 0px 10px 0px;
  padding: 0;
}

div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; font-weight: bold; }
div.body h2 { font-size: 180%; border-bottom: 1px solid #ccc; padding-bottom: 6px; font-weight: bold; }
div.body h3 { font-size: 150%; font-weight: bold; }
div.body h4 { font-size: 130%; }
div.body h5 { font-size: 110%; }
div.body h6 { font-size: 100%; }

p {
  margin: 1em 0;
}

div.body p, div.body dd, div.body li {
  line-height: 1.5em;
}

tt {
  font-family: Consolas, Monaco, Menlo, "Courier New", monospace;
  font-size: 14px;
  color: #333;
}

code, pre {
  font-family: Consolas, Monaco, Menlo, "Courier New", monospace;
  font-size: 14px;
  color: #333333;
  line-height: 23px;
  margin: 20px 0;
  white-space: pre-wrap;
}

div.highlight {
  background-color: white;
}

.navbar .brand {
  font-weight: bold;
}

.navbar .nav .nav-link {
  color: #000000;
}

[class^="icon-"],
[class*=" icon-"] {
  background-image: url("../_static/glyphicons-halflings.png");
}

.icon-white,
.nav-pills > .active > a > [class^="icon-"],
.nav-pills > .active > a > [class*=" icon-"],
.nav-list > .active > a > [class^="icon-"],
.nav-list > .active > a > [class*=" icon-"],
.navbar-inverse .nav > .active > a > [class^="icon-"],
.navbar-inverse .nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:focus > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > li > a:focus > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"],
.dropdown-submenu:hover > a > [class^="icon-"],
.dropdown-submenu:focus > a > [class^="icon-"],
.dropdown-submenu:hover > a > [class*=" icon-"],
.dropdown-submenu:focus > a > [class*=" icon-"] {
  background-image: url("../_static/glyphicons-halflings-white.png");
}

a.internal em {
  font-style: normal;
}

label {
  width:135px;
}

/* Sphinx sidebar
-------------------------------------------------- */

div.sphinxsidebar {
  font-size: 14px;
  line-height: 1.5;
  float: left;
  width: 200px;
  padding: 0;
  word-wrap: break-word;
}

div.sphinxsidebarwrapper p.logo {
  padding: 0 0 8px 0;
  margin: 0;
}

div.sphinxsidebar h3,
div.sphinxsidebar h4 {
  font-family: Helvetica, arial, freesans, clean, sans-serif;
  color: #444;
  font-size: 24px;
  font-weight: normal;
  margin: 0 0 5px 0;
  padding: 0;
}

div.sphinxsidebar h4 {
  font-size: 20px;
}

div.sphinxsidebar h3 a {
  color: #444;
}

div.sphinxsidebar p.logo a,
div.sphinxsidebar h3 a,
div.sphinxsidebar p.logo a:hover,
div.sphinxsidebar h3 a:hover {
  border: none;
}

div.sphinxsidebarwrapper h3.logo {
  margin: 0;
}

div.sphinxsidebar p {
  color: #555;
  margin: 10px 0;
}

div.sphinxsidebar ul {
  margin: 0 0 12px 0;
  list-style-type: none;
  color: #000;
}

div.sphinxsidebar ul ul,
div.sphinxsidebar ul.want-points {
  margin-left: 20px;
  list-style: square;
}

div.sphinxsidebar ul ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.sphinxsidebar input {
  border: 1px solid #6C6C6C;
  font-family: Helvetica, arial, freesans, clean, sans-serif;
  font-size: 1em;
}

.margin-top-1em {
  margin-top: 1em;
}

/* Two-pane table list
-------------------------------------------------- */

table.two-column.table-bordered caption+thead tr:first-child th:first-child,
table.two-column.table-bordered caption+tbody tr:first-child td:first-child,
table.two-column.table-bordered colgroup+thead tr:first-child th:first-child,
table.two-column.table-bordered colgroup+tbody tr:first-child td:first-child,
table.two-column tbody td {
  border: 0 0 1px 0 solid #eee;
  border-left: none;
  padding: 8px 4px;
  font-size: 16px;
}

table.two-column {
  width: 100%;
  border: 0px none;
  box-shadow: none;
}

/* GitHub stars in the menu
-------------------------------------------------- */

#github-stars {
  float: right;
  margin: 10px 0 0 0;
  padding: 0;
}

#github-stars iframe {
  margin: 0;
  padding: 0;
}

/* Disqus comments styles
-------------------------------------------------- */

.comment-container {
  margin: 24px auto;
}

/* Next and previous links
-------------------------------------------------- */

.top-links .breadcrumb {
  margin: 5px 0 0 0;
}

.top-links .breadcrumb, .footer-links .breadcrumb {
  background-color: #fff;
}

.footer-links {
  border-top: 1px solid #ccc;
  padding-top: 12px;
  margin-top: 30px;
}

.rel-spacer {
  height: 40px;
}

/* Footer styling
-------------------------------------------------- */

div.footer {
  margin: 20px auto 30px auto;
  font-size: 14px;
  color: #888;
  text-align: right;
}

div.footer a {
  color: #888;
}

/* -- relbar ---------------------------------------------------------------- */

div.related {
  width: 100%;
  font-size: 90%;
}

div.related h3 {
  display: none;
}

div.related ul {
  margin: 0;
  padding: 0 0 0 10px;
  list-style: none;
}

div.related li {
  display: inline;
}

div.related li.right {
  float: right;
  margin-right: 5px;
}

/* -- search page ----------------------------------------------------------- */

ul.search {
  margin: 10px 0 0 20px;
  padding: 0;
}

ul.search li {
  padding: 5px 0 5px 20px;
  background: url(file.png) no-repeat 0 7px;
}

ul.search li a {
  font-weight: bold;
}

ul.search li div.context {
  color: #888;
  margin: 2px 0 0 30px;
  text-align: left;
}

ul.keywordmatches li.goodmatch a {
  font-weight: bold;
}

/* -- general index --------------------------------------------------------- */

table.indextable {
  width: 100%;
}

table.indextable td {
  text-align: left;
  vertical-align: top;
}

table.indextable dl, table.indextable dd {
  margin-top: 0;
  margin-bottom: 0;
}

table.indextable tr.pcap {
  height: 10px;
}

table.indextable tr.cap {
  margin-top: 10px;
  background-color: #f2f2f2;
}

img.toggler {
  margin-right: 3px;
  margin-top: 3px;
  cursor: pointer;
}

div.modindex-jumpbox {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin: 1em 0 1em 0;
  padding: 0.4em;
}

div.genindex-jumpbox {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin: 1em 0 1em 0;
  padding: 0.4em;
}

/* -- general body styles --------------------------------------------------- */

div.body p.caption {
  text-align: inherit;
}

.field-list ul {
  padding-left: 1em;
}

.first {
  margin-top: 0 !important;
}

p.rubric {
  margin-top: 30px;
  font-weight: bold;
}

img.align-left, .figure.align-left, object.align-left {
  clear: left;
  float: left;
  margin-right: 1em;
}

img.align-right, .figure.align-right, object.align-right {
  clear: right;
  float: right;
  margin-left: 1em;
}

img.align-center, .figure.align-center, object.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

/* -- topics ---------------------------------------------------------------- */

div.topic {
  border: 1px solid #ccc;
  padding: 7px 7px 0 7px;
  margin: 10px 0 10px 0;
  background-color: #f8f8f8;
}

p.topic-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 10px;
}

/* -- admonitions ----------------------------------------------------------- */

div.admonition {
  background: #fafafa;
  margin: 20px 0;
  padding: 10px 30px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

div.admonition dt {
  font-weight: bold;
}

div.admonition dl {
  margin-bottom: 0;
}

div.body p.centered {
  text-align: center;
  margin-top: 25px;
}

div.seealso {
  background-color: #ffc;
  border: 1px solid #ff6;
}

div.admonition tt.xref, div.admonition a tt {
  border-bottom: 1px solid #fafafa;
}

dd div.admonition {
  margin-left: -60px;
  padding-left: 60px;
}

div.admonition p.last {
  margin-bottom: 0;
}

div.note {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 3px;
}

div.body h3.admonition-title {
  margin-top: 0px;
}

div.body h3.admonition-title:after {
  content: ":";
}

/* -- other body styles ----------------------------------------------------- */

ol.arabic {
  list-style: decimal;
}

ol.loweralpha {
  list-style: lower-alpha;
}

ol.upperalpha {
  list-style: upper-alpha;
}

ol.lowerroman {
  list-style: lower-roman;
}

ol.upperroman {
  list-style: upper-roman;
}

.highlighted {
  background-color: #fbe54e;
}

dl.glossary dt {
  font-weight: bold;
  font-size: 1.1em;
}

.field-list ul {
  margin: 0;
  padding-left: 1em;
}

.field-list p {
  margin: 0;
}

.refcount {
  color: #060;
}

.optional {
  font-size: 1.3em;
}

.versionmodified {
  font-style: italic;
}

.system-message {
  background-color: #fda;
  padding: 5px;
  border: 3px solid red;
}

.footnote:target  {
  background-color: #ffa;
}

.line-block {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
}

.line-block .line-block {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 1.5em;
}

.guilabel, .menuselection {
  font-family: sans-serif;
}

.accelerator {
  text-decoration: underline;
}

.classifier {
  font-style: oblique;
}

abbr, acronym {
  border-bottom: dotted 1px;
  cursor: help;
}

dt:target, .highlight {
  background: #FAF3E8;
}

/* -- code displays --------------------------------------------------------- */

td.linenos pre {
  padding: 5px 0px;
  border: 0;
  background-color: transparent;
  color: #aaa;
}

table.highlighttable {
  margin-left: 0.5em;
}

table.highlighttable td {
  padding: 0 0.5em 0 0.5em;
}

tt.descname {
  background-color: transparent;
  font-weight: bold;
  padding-right: 0.08em;
}

tt.descclassname {
  background-color: transparent;
}

tt.descname, tt.descclassname {
  font-size: 0.95em;
}

tt.xref, a tt {
  background-color: transparent;
  font-weight: bold;
}

h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
  background-color: transparent;
}

.viewcode-link {
  float: right;
}

.viewcode-back {
  float: right;
  font-family: sans-serif;
}

div.viewcode-block:target {
  margin: -1px -10px;
  padding: 0 10px;
}

/* -- math display ---------------------------------------------------------- */

img.math {
  vertical-align: middle;
}

div.body div.math p {
  text-align: center;
}

span.eqno {
  float: right;
}

/* -- Theme specific classes - */

.overflow-height-500px {
  overflow: auto;
  height: 500px;
}

.overflow-height-250px {
  overflow: auto;
  height: 250px;
}

/* Small screen styles
-------------------------------------------------- */

@media screen and (max-device-width: 480px) {

  body {
    margin: 0;
    padding-top: 0;
  }

  .body {
    width: 100%;
    float: none;
    min-height: 0;
    padding: 10px;
    margin-top: 20px;
  }

  .navbar-fixed-top {
    position: static;
  }

  div.sphinxsidebar {
    float: none;
    width: 100%;
    margin: 0 0 24px 0;
    padding: 10px 20px;
  }

  div.sphinxsidebar p.logo {
    display: none;
  }

  #github-stars {
    display: none;
  }
}