:root {
    --bg-brand: #5667ff;
    --text-on-brand: #ffffff;

    --color-link: var(--bg-brand);

    --bg-primary: #ffffff;
    --text-on-primary: #191a1a;

    --bg-secondary: #191a1a;
    --text-on-secondary: #ffffff;

    --radius: 12px;
}

.btn, .btn:active, .btn:focus {
    border-radius: var(--radius);
    padding: 10px 15px;
}

.wy-side-nav-search, .wy-nav-top {background-color: var(--bg-brand)}
.wy-nav-content {
   max-width: initial;
}
.btn.btn-neutral {
    border: none;
    box-shadow: none;
    background: var(--bg-brand)!important;
    color: var(--text-on-brand)!important;
}
.wy-nav-side {
    background: var(--bg-secondary);
}
.rst-content code.literal:not(.download)
{
  color: #000;
  border: #eee 1px solid;
  border-radius: 5px;
  background: #f2f2f2;
  padding: 0.1em 0.2em;
  font-size: 85%;
  font-weight: normal;
}

.rst-content .admonition code.literal
{
  background: #fff;
  border: none;
}

.github-link {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 300px;
  z-index: 400;
  padding: 12px;
  background-color: #272525;
  display: block;
  font-size: 90%;
  cursor: pointer;
  color: #fcfcfc;
}

.github-link:hover,.github-link:visited {
  color: #fcfcfc;
}

.github-link:before {
  font-family: FontAwesome;
  display: inline-block;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-decoration: inherit;
  content: "ï‚›";
}

@media screen and (max-width: 768px) {
  .github-link {
     display: none;
  }
}

@media print {
  .github-link {
    display: none;
  }
}

.wy-table-responsive table td, .wy-table-responsive table th {
  white-space: normal;
}

.wy-table-responsive table th {
  vertical-align: middle;
}

.wy-side-nav-search>a img.logo {
    max-width: 100px!important;
}
.wy-breadcrumbs a:visited {
    color: var(--color-link);
}
img {
  max-height: auto!important;
  height: auto!important;
}

/*blockquote {
    padding: 0 1rem 1rem;
    background-color: #eceff1;
    border-left: 55px solid #607d8b;
    border-radius: .5rem;
    margin: 1rem 0;
    position: relative;
    padding: 10px;
    margin: 0!important;
    margin-bottom: 20px!important;
}
blockquote p {
    margin: 0;
}
 blockquote:before {
    display: inline-block;
    font-size: 50px;
    position: absolute;
    margin-top: -12px;
    top: 50%;
    left: -38px;
    color: hsla(0,0%,100%,.7);
    content: "\""
}
*/

.document a {
    color: var(--color-link);
    text-decoration: none;
}
.document a:hover {
    color: var(--color-link);
    text-decoration: underline;
}

.document a:visited {
    color: color-mix(in srgb, black 30%, var(--color-link));
}

.red-text {
    color: #e75f5f;
}

.sup-red-text {
    color: #e75f5f !important;
    vertical-align: super;
    font-size: smaller;
    line-height: normal;
}

.sup-green-text {
    color: darkseagreen !important;
    vertical-align: super;
    font-size: smaller;
    line-height: normal;
}


.danger-text {
    padding: 10px;
    display: inline-block;
    border: 5px solid transparent;
    font-style: italic;
    text-align: center;
    border-image: repeating-linear-gradient(
            45deg,
            #ffcc00,
            #ffcc00 20px,
            #000000 20px,
            #000000 40px
    ) 10;
}


figure {
    border: 1px solid #e1e4e6;
    border-radius: 6px;
    padding: 15px;
    background-color: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 0 auto 20px auto;
    max-width: 100%;
    display: inline-block;
}

/* Style the image within the figure */
figure img {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 100%;
}

/* Style the text caption below the image */
figure figcaption {
    font-size: 0.8em;
    color: #555555;
    text-align: center;
    font-style: italic;
}
figure figcaption p {
    font-size: inherit;
    margin-bottom: 0;
}

thead .row-odd, thead .row-odd th, thead .row-odd th p {
    background: #5667ff;
    color: white;
}
.underline { text-decoration: underline; }
.strike {
    text-decoration: line-through;
}
.rst-content table.docutils thead th, .rst-content table.field-list thead th, .wy-table thead th {
    font-weight: initial;
}