div[role=search] {
  margin-top: 20px;
  color: blue;
}

.external-link {
  position: fixed;
  top: 50px;
  left: 20px;
  width: 230px;
  z-index: 201;
  color: black;
}

/* HEADER WITH LINKS */

.link {
  padding: 4px 6px 4px 6px;
  width: 50%;
  /*left: 10px;*/
  display: inline;
}

.chapter-div {
  display: inline;
}
.goto {
  border-top-style: solid;
  border-color: white;
  border-width: medium;
  padding-top: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.icon {
  font-weight: normal;
}
.icon-tensor {
  margin-bottom: 0px;
}

.wy-side-nav-search>a, .wy-side-nav-search .wy-dropdown>a {
  font-weight: normal;
  margin-bottom: 0px;
}

.icon-tensor:before{
  font-family: FontAwesome;
  font-weight: normal;
  content: "\f1b2";
}
.icon-docslink {
  margin-bottom: 5px;
}
.icon-docslink:before{
  font-family: FontAwesome;
  content: "\f0eb";
  font-weight: normal;
}
.icon-demoslink: {
  font-size: 170%;
}
.icon-demoslink:before{
  font-family: FontAwesome;
  content: "\f085";
  font-weight: normal;
}

.link:hover {
  background-color: #3D8CBF;
  /*opacity: 0.5;*/
}

/*TOC L1*/
.toctree-l1 .mo, .toctree-l1 .mi, .toctree-l1 .mn {
  color: #b3b3b3; !important
}
/*#b3b3b3*/

li .current .mo, li .current .mi, li .current .mn {
  color: #404040; !important
}/*gray*/

/*TOC L2*/

.toctree-l2 .mo, .toctree-l2 .mi, .toctree-l2 .mn {
  color: gray; !important
}

li.toctree-l1 li.current .mo, li.toctree-l1 li.current .mi, li.toctree-l1 li.current .mn {
  color: #404040; !important
}

/*TOC L3*/

.toctree-l3 .mo, .toctree-l3 .mi, .toctree-l3 .mn {
  color: gray; !important
}

li.toctree-l2 li.current .mo, li.toctree-l2 li.current .mi, li.toctree-l2 li.current .mn {
  color: #404040; !important
}

a:hover {
  /*background-color:#27AE60;*/
}

/* CONTENT */
.pre {
  color: black;
}

.caption-text {
  font-family: 'Lato';
  font-size: 16px;
  font-weight: normal;
}
.caption{
  margin-top: 10px !important;
}
/*#references .reference.external {
  font-size: 0px;
}*/
/*#references .reference.external:before{
  margin-left: 1px;
  font-family: FontAwesome;
  font-size: 15px;
  content: "\f1c1";
  position: absolute;
  color: #2980B9;
}*/
#references table.docutils.citation {
  color: #3d3d3d;
}

.docutils a:nth-of-type(2):before{
  display: none;
}

.rst-content .admonition-todo {
  background-color: #FCFCFC;
  border-left: 3px solid #e1e4e5;
  padding: 2px;
  padding-left: 11px;
}

.rst-content .admonition-todo p:nth-child(2):before{
  font-weight: bold;
  content: 'Example: ';
}

/*.rst-content .admonition-todo .last:before{
  font-weight: bold;
  content: 'Example: ';
}*/

.rst-content .admonition-todo .admonition-title {
  display: none;
}

.toctree-wrapper {
  margin-top: 20px;
  padding-top: 20px;
}

.toctree-wrapper:before {
  content: 'Contents:';
  font-weight: bold;
}

/* LABELS */

span.eqno {
  display: inline;
}
.MathJax_Display {
  display: inline-block!important;
  width: 90%!important;
}

.topic-title {
    display: inline;
    margin-right: 10px;
}

.pre{
    font-size: 14px;
}

div.highlight-matlab {
    background: rgba(235,235,235,0.2);
}

div.highlight-none {
    background: rgba(235,235,235,0.2);
}

div[class^='highlight'] pre{
    font-size: 14px;
}

div.caption {
    text-align: center;
}

.code-block-caption {
    display: none;
}
