.code-block-with-copy {
  position: relative;
  box-sizing: border-box;
}

.code-block-with-copy .copy-code-button {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  padding: 0;

  color: #57606a;
  background-color: #f6f8fa;
  border: 0;
  border-radius: 6px;
  box-shadow: none;

  cursor: pointer;
}

.code-block-with-copy .copy-code-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.code-block-with-copy .copy-code-button:hover {
  color: #24292f;
  background-color: #eef1f4;
}

.code-block-with-copy .copy-code-button:active {
  background-color: #ebecf0;
  box-shadow: none;
}

.code-block-with-copy .copy-code-button:focus-visible {
  outline: 2px solid #0969da;
  outline-offset: 2px;
}

.code-block-with-copy .copy-code-button.copied {
  color: #1a7f37;
  background-color: #dafbe1;
}

.code-block-with-copy .copy-code-button.failed {
  color: #cf222e;
  background-color: #ffebe9;
}

.rst-content h2 {
  margin-top: 2.2rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e1e4e5;
}

.rst-content h3 {
  margin-top: 1.8rem;
}

.rst-content h4 {
  margin-top: 1.4rem;
  font-size: 105%;
  font-weight: 700;
  color: #404040;
}

.heading-note {
  margin-left: 0.35rem;
  color: #6a737d;
  font-size: 0.8em;
  font-weight: 400;
}

.indent-section {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 3px solid #e1e4e5;
}

.docs-image {
  display: block;
  width: 60%;
  height: auto;
  margin: 1.5rem auto;
}

.workflow-graphic {
  display: block;
  margin: 1.5rem 0;
}

.workflow-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

/* Keep parameter descriptions readable without horizontal scrolling. */
.rst-content .wy-table-responsive table td,
.rst-content .wy-table-responsive table th {
  white-space: normal;
  vertical-align: top;
}

.rst-content table code {
  white-space: normal;
}

.rst-content table .default-option {
  display: block;
  margin-top: 0.4rem;
  color: #878787;
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.4;
}

.rst-content a code,
.rst-content code a {
  color: #2980b9;
}

.rst-content table code.function-call {
  display: block;
  padding: 8px 10px;
  border: 1px solid #e1e4e5;
  color: inherit;
  background: #fff;
  font-size: 13px;
  white-space: pre;
  line-height: 1.6;
}
