/* Override table width restrictions */

@media screen and (min-width: 767px) {
  .wy-table-responsive table td {
    /* !important prevents the common CSS stylesheets from overriding
      this as on RTD they are loaded after this stylesheet */
    white-space: normal !important;
  }

  .wy-table-responsive {
    overflow: visible !important;
  }
}

/* Make content width responsive */

.wy-nav-content {
  max-width: 1200px !important;
}

.wy-grid-for-nav .wy-side-nav-search {
  background-color: #343131;
}

.document .section:not(:last-child) {
  margin-bottom: 24px;
}

.rst-content .section ol.toc li ul,
.rst-content .section ul.toc li ul {
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

/* Table Of Content */

.custom-table-of-contents ul {
  list-style-type: decimal !important;
}

.custom-table-of-contents ul li {
  list-style-type: decimal !important;
}

/* Content */

.wy-nav-content {
  min-height: 100vh !important;
}

nav.wy-nav-side {
  padding-bottom: 3.5rem;
}

.rst-versions.shift-up {
  overflow-y: auto;
}

a.return-to-website-button:before {
  background-image: url(../img/common/goBackArrow.png);
  background-size: 17px 17px;
  display: inline-block;
  width: 17px;
  height: 17px;
  content: "";
  margin-right: 3px;
  vertical-align: top;
}

ul.wy-breadcrumbs li {
  margin-bottom: 24px;
}

div.rst-content div hr {
  margin-top: 0;
}

.specific-figure img {
  height: auto !important; 
  max-width: 100% !important; 
  max-height: 500px !important;
  width: auto !important; 
  display: block;
  margin: 0 auto; 
  padding: 0;
  border: none;
}