/* float the simbol in the admonition notes*/

div.admonition p img {
  float: left;
  margin-right: 1em;
}

/* reset content body max width */

.wy-nav-content {
  max-width: 800px !important; 
}

/* add fancy :kbd: role 
   see https://github.com/sphinx-doc/sphinx/issues/3160
   somtimes the interpreter will build kbd, somtimes span class
   tailored to work on both
*/

kbd, span.kbd
{
  -moz-border-radius:3px;
  -moz-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
  -webkit-border-radius:3px;
  -webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
  background-color:#f7f7f7;
  border:1px solid #ccc;
  border-radius:3px;
  box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
  color:#333;
  display:inline-block;
  font-family:Arial,Helvetica,sans-serif;
  font-size:11px;
  line-height:1.4;
  margin:0 .1em;
  padding:.1em .6em;
  text-shadow:0 1px 0 #fff;
}

/* underline is intentionally not a role in Sphinx, below is a list of people that cares */
.underline {
  text-decoration: underline;
}

/* float the inline image of the Python header sections
   this depends on the section container div being named "objectives"
*/

div#objectives.section{
  min-height: 160px;
}

div#objectives.section p img {
  float: left;
  margin-right: 1em;
}

/* Supress versioning scroll
*/
.rst-versions.shift-up {
  height: auto;
  max-height: 100%;
  overflow-y: hidden;
}

/* Start section description. */
.tocdescr {
  display: flex; display: -webkit-flex;
  flex-flow: row wrap; -webkit-flex-flow: row wrap;
  justify-content: space-between; -webkit-justify-content: space-between;
  align-items: flex-start; -webkit-align-items: flex-start;
  align-content: flex-start; -webkit-align-content: flex-start;
  list-style-type: none;
  margin-bottom: 10px;
}
/* Dan Andreasson on Stack Overflow. */
.tocdescr:after {
  content: "";
  flex: 1 0 33.3%; -webkit-flex: 1 0 33.3%;
  margin-left: 45px;
  align-self: stretch; -webkit-align-self: stretch;
}

.descr {
  flex: 2 0 33.3%; -webkit-flex: 2 0 33.3%;
  margin: 10px 15px;
  border-radius: .3em;
  user-select: none;
}
.descr div.figure {
  margin-bottom: 0px;
  display: block;
}
.descr img {
  border-top-left-radius: .3em;
  border-top-right-radius: .3em;
}
.descr dl {margin-bottom: 10px}
.descr dl dt > a {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}
.descr dl dt a em, .descr dl dt a span{
  font-weight: bold;
  font-style: normal;
  font-size: 1.3em;
}
.descr dl dt{padding: 18px 15px 0px!important}
.descr dl dd{
  padding: 0px 15px;
  font-style: normal;
  margin: 0px;
  color: #808080;
  font-size: 90%;
}
.descr {
 box-shadow: rgba(0,0,0,0.05) 0px 1px 4px 0px,
	rgba(211,216,223,0.33) 0px 15px 20px -1px;
}

/* End section description. */

/* Start custom toctree. */
.toctree-wrapper .toctree-l1 > a {margin-bottom: 0.15em}
/* Indent all lines following the first. */
.toctree-wrapper * a {
  display: block;
  width: 90%;
  text-indent: -1em;
  margin-left: 1em;/*invert indent*/
  padding-top: 0.25em;
  line-height: 1.25em;
}

/* Underline provided by nested ul (not li). */
.toctree-wrapper * ul {
  padding-left: 2em;
  border-top: solid #ececec 1px;
}
.toctree-wrapper > ul {margin-left: 1em}
.rst-content .toctree-wrapper ul li ul {
  margin-bottom: 0.75em;
  padding-top: 0.5em;
}
.rst-content .toctree-wrapper ul li a:hover {color: #25afef}
.rst-content .toctree-wrapper ul li a:visited:hover {color: #C961DA}
.toctree-wrapper .toctree-l1 > a{font-size: 104%}
.toctree-wrapper .toctree-l2 > a{font-size: 102%}
.toctree-wrapper .toctree-l3 > a{font-size: 100%}
.toctree-wrapper .toctree-l1 > ul{border-color: #bfbfbf}
.toctree-wrapper .toctree-l2 > ul{border-color: #e1e0e0}
.toctree-wrapper .toctree-l3 > ul{border-color: #ececec}

/* Remove list styling, css rule hierarchy. */
.rst-content .toctree-wrapper ul li, .rst-content .toctree-wrapper ul li li , .rst-content .toctree-wrapper ul li li li {
  list-style-type: none;
  margin-left: 0px;
}
/* End custom toctree. */
