/* Force table text to wrap instead of scroll */
.wy-table-responsive table td,
.wy-table-responsive table th {
    white-space: normal !important;
    /* word-break: break-word;   /* break long tokens/URLs */
    width: auto;                /* allow columns to size based on content */
    min-width: 60px;          /* prevent columns from collapsing too narrow */
    overflow-wrap: break-word;
    vertical-align: top;
    padding: 8px 12px;
}

.wy-table-responsive {
    overflow-x: visible;   /* disable horizontal scroll on the wrapper */
}

/* Scale documentation images to the page width while preserving aspect ratio. */
.rst-content img,
.wy-nav-content img {
    width: 100%;
    height: auto;
}

/* Forces the caption to the top of the table */
/* Native HTML table captions (raw <caption> tags) */
/*
The .wy-table-responsive table caption selector needs !important for
some options to override the ReadTheDocs theme's default caption styles.
*/
.wy-table-responsive table caption {
  caption-side: top !important;
  font-weight: bold !important;
  text-align: center !important;
  font-style: normal !important;
  color: black;
  margin-bottom: 0.5em;  /* space between caption and table (caption is on top) */
}

figure figcaption {
  font-weight: bold;
  text-align: center;
  color: black;
  margin-top: 0.5em; /* space between image and caption (caption is below) */
}