/* *** fix for alabaster *** */

/* section > dl, dl.method:not(:last-child) {
    border-block-end: lightgrey 1px solid;
    padding-block-end: 1rem;
    margin: unset;
    margin-block: 1rem;
}

div.document {
    width: 1200px;
} */

/* *** fix for furo dark mode *** */

/* @media (prefers-color-scheme: dark) {
    body:not([data-theme="light"]) .highlight >pre> span.n {
        color: #a2e9a2;
    }

    body:not([data-theme="light"]) .highlight >pre> span.go {    
        border-inline-start: 2px solid rgb(184, 89, 89);
        padding-inline-start: 1em;
    } 

    body:not([data-theme="light"]) .highlight >pre> span.gp {    
        color: lime;
    }
} */
html {
  scroll-padding-block-start: 120px;
}

/* *** fix for rtd dark *** */
html[data-theme="dark"] .theme-switcher {
  box-shadow: 0px 1px 14px 2px rgb(255 255 255 / 20%);
}

html[data-theme="dark"] div.nboutput.container div.output_area.stderr {
  background: rgb(103, 23, 23);
}

html[data-theme="dark"] .sig > .sig-name > .pre {
  color: white;
}

html[data-theme="dark"] .highlight > pre > span.go {
  color: rgb(173, 173, 173);
}

html[data-theme="dark"].writer-html5
  .rst-content
  dl[class]:not(.option-list):not(.field-list):not(.footnote):not(
    .citation
  ):not(.glossary):not(.simple)
  dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(
    .glossary
  ):not(.simple)
  > dt {
  background-color: #0f0f0f;
  color: #959595;
  border-color: #2b2b2b;
}

html[data-theme="dark"].writer-html5
  .rst-content
  dl[class]:not(.option-list):not(.field-list):not(.footnote):not(
    .glossary
  ):not(.simple)
  dl:not(.field-list)
  > dt {
  color: #c6c6c6 !important;
}

html[data-theme="dark"] .highlight > pre > span.n {
  color: #80cb53;
}

html[data-theme="dark"] .highlight > pre > span.o {
  color: #cbcbcb;
}

html[data-theme="dark"] .highlight > pre > span.nf,
html[data-theme="dark"] .viewcode-block > span.nf {
  color: #9975ec;
}

html[data-theme="dark"] .highlight > .copybtn {
  background-color: transparent;
  color: aliceblue;
  border: 1px solid aliceblue;
}

html[data-theme="dark"] .highlight > pre {
  font-size: medium;
}

.wy-nav-content {
  max-width: 1200px;
}

.class.enum
  > dd
  > dl:not(.method)
  .sig-name
  ~ *:not(:last-child):not(:nth-last-child(2)),
.class.enum > dd > .attribute > dt > .property,
.attribute .sig-name ~ * {
  display: none !important;
}

[role="contentinfo"] {
  float: right;
}

html.writer-html5
  .rst-content
  dl[class]:not(.option-list):not(.field-list):not(.footnote):not(
    .citation
  ):not(.glossary):not(.simple)
  .py.attribute,
html.writer-html5
  .rst-content
  dl[class]:not(.option-list):not(.field-list):not(.footnote):not(
    .citation
  ):not(.glossary):not(.simple)
  .py.property {
  display: block;
  margin-inline-end: 2em;
}

.class:not(.enum) .py.attribute .sig-name::before {
  content: "attribute ";
  font-style: italic;
  color: #c6c6c6;
}

.wy-nav-side {
  padding-bottom: 0;
}

.class.enum > dd > .attribute,
.class.enum > dd > .attribute * {
  margin-bottom: 5px !important;
}

html[data-theme="dark"] .wy-nav-content > a {
  color: #80cb53;
}

html[data-theme="dark"] .wy-menu-vertical > p.caption {
  color: #80cb53;
}

html[data-theme="dark"] .wy-side-nav-search {
  background-color: #0d0d0d;
}

/*html[data-theme="dark"] .rst-content .admonition .admonition-title,
html[data-theme="dark"] .rst-content .note .admonition-title {
    background-color: #80cb53;
}

html[data-theme="dark"] .rst-content .admonition,
html[data-theme="dark"] .rst-content .note {
    background-color: #80cb53;
}*/

.highlight-python.import {
  position: sticky;
  top: 10px;
  z-index: 9999;
  box-shadow: 0px 0px 10px 0px black;
}

html[data-theme="dark"] .highlight-python.import {
  box-shadow: 0px 0px 10px 0px #595959;
}

html[data-theme="dark"] .rst-content .highlighted {
  background: #7e6500;
  box-shadow: 0 0 0 2px #7e6500;
}

.rst-content code {
  background-color: #cccccc;
}

#native-gates-list > * {
  position: relative;
}

#native-gates-list {
  display: flex;
  flex-wrap: wrap;
  margin-block-end: 1em;
  position: sticky;
  top: 57px;
  z-index: 10000;
  background-color: #fffefe;
}

#native-gates-list > * {
  padding: 0 1em 0 1em;
  border: 0.5px solid;
  border-block-start: 0;
  border-block-end: 0;
  border-color: black;
  margin-block-end: 0.5em;
}

/* .output_area.stderr { display: none; } */

html[data-theme="dark"] #native-gates-list > * {
  border-color: white;
}

html[data-theme="dark"] #native-gates-list {
  background-color: #141414;
}
