/* sphinx-panels overrides the content width to 1140 for large displays. */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1400px !important;
    }
}

.bottom-right-promo-banner {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 270px;
}
@media (max-width: 1500px) {
    .bottom-right-promo-banner {
        display: none;
    }
}

/* Extends the docstring signature box. */
.rst-content dl:not(.docutils) dt {
  display: block;
  padding: 10px;
  word-wrap: break-word;
  padding-right: 100px;
}

/* Lists in an admonition note do not have awkward whitespace below. */
.rst-content .admonition-note .section ul {
  margin-bottom: 0px;
}

/* Properties become blue (classmethod, staticmethod, property) */
.rst-content dl dt em.property {
  color: #2980b9;
  text-transform: uppercase;
}

.rst-content .section ol p,
.rst-content .section ul p {
  margin-bottom: 0px;
}

div.sphx-glr-bigcontainer {
  display: inline-block;
  width: 100%;
}

td.tune-colab,
th.tune-colab {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

/* Adjustment to Sphinx Book Theme */
.table td {
  /* Remove row spacing */
  padding: 0;
}

table {
  /* Force full width for all table */
  width: 136% !important;
}

img.inline-figure {
  /* Override the display: block for img */
  display: inherit !important;
}

span.rst-current-version > span.fa.fa-book {
  /* Move the book icon away from the top right
   * corner of the version flyout menu */
  margin: 10px 0px 0px 5px;
}

/* Adjustment to Version block */
.rst-versions {
  z-index: 1200 !important;
}

dt:target, span.highlighted {
  background-color: #fbe54e;
}

/* Allow scrollable images */
.figure {
    max-width: 100%;
    overflow-x: auto;
}
img.horizontal-scroll {
    max-width: none;
}

.clear-both {
    clear: both;
    min-height: 100px;
    margin-top: 15px;
}

.buttons-float-left {
    width: 150px;
    float: left;
}

.buttons-float-right {
    width: 150px;
    float: right;
}
