/* Remove elements */
.wy-nav-content .wy-breadcrumbs-aside,
.ea-placement,
.ethical-rtd > div.ethical-sidebar,
.ethical-rtd > div.ethical-footer {
  display: none !important;
}

.rst-content a:visited {
    color: #3091d1;  /* No visiting color */
  }

/* Titles */
h1 {
    font-family: inherit;
    display: inline-block;
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: break-word;
    background: linear-gradient(92deg,#ffd200 0%,#f7a11a 32%,#5dd2ff 52%,#0079c2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  h1 span.highlighted {
    -webkit-text-fill-color: initial;
  }
  h2,
  .rst-content .toctree-wrapper > p.caption {
    font-family: inherit;
    font-weight: 200;
  }

h2.doc-heading {
    font-size: 0.9rem;
  }


[data-md-color-scheme="default"] .md-typeset hr {
    border-bottom-color: rgb(0, 0, 0);
    border-bottom-width: 1pt;
}

[data-md-color-scheme="slate"] .md-typeset hr {
    border-bottom-color: rgb(230, 230, 230);
}


/* Highlight functions, classes etc. type signatures. Really helps to make clear where
   one item ends and another begins. */

[data-md-color-scheme="default"] {
    --doc-heading-color: #DDD;
    --doc-heading-border-color: #CCC;
    --doc-heading-color-alt: #F0F0F0;
}
[data-md-color-scheme="slate"] {
    --doc-heading-color: rgb(25,25,33);
    --doc-heading-border-color: rgb(25,25,33);
    --doc-heading-color-alt: rgb(33,33,44);
    --md-code-bg-color: rgb(38,38,50);
}

h3.doc-heading {
    /* NOT var(--md-code-bg-color) as that's not visually distinct from other code blocks.*/
    font-size: 0.9rem;
    background-color: var(--doc-heading-color);
    border: solid var(--doc-heading-border-color);
    border-width: 1.5pt;
    border-radius: 2pt;
    padding: 0pt 5pt 2pt 5pt;
 }

h4.doc-heading, h5.doc-heading {
   /* NOT var(--md-code-bg-color) as that's not visually distinct from other code blocks.*/
   font-size: 0.9rem;
   background-color: var(--doc-heading-color);
   border: solid var(--doc-heading-border-color);
   border-width: 1.5pt;
   border-radius: 2pt;
   padding: 0pt 5pt 2pt 5pt;
}

/* Override the background-color for code blocks inside headings. */
h3.doc-heading code, h4.doc-heading code, h5.doc-heading code, h6.doc-heading code {
    background-color: var(--doc-heading-color);
}

h6.heading {
    font-size: 0.9rem;
    background-color: var(--doc-heading-color-alt);
    border-radius: 2pt;
    padding: 0pt 5pt 2pt 5pt;
}

  /* Code */
.highlight .kn,
.highlight .k {
  color: #d73a49;
}
.highlight .nn {
  color: inherit;
  font-weight: inherit;
}
.highlight .nc {
  color: #e36209;
  font-weight: inherit;
}
.highlight .fm,
.highlight .nd,
.highlight .nf,
.highlight .nb {
  color: #6f42c1;
}
.highlight .bp,
.highlight .n {
  color: inherit;
}
.highlight .kc,
.highlight .s1,
.highlight .s2,
.highlight .mi,
.highlight .mf,
.highlight .bp,
.highlight .bn,
.highlight .ow {
  color: #005cc5;
  font-weight: inherit;
}
.highlight .c1 {
  color: #6a737d;
}

/* Footer */
footer, footer a, footer a:visited {
    color: white !important;
  }
footer div {
    color: grey;  /* Reset */
}

.rst-content code {
    color: #000000;
}

/* Table */
.md-typeset table:not([class]) {
    font-size: 0.8rem;
}

html {
    /* Decrease font size for overall webpage
       Down from 137.5% which is the Material default */
    font-size: 130%;
}
