/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: white;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

section {
  margin-bottom: 20px;
  margin-top: 20px;
  /* Adds space below each section */
}


h2 {
  margin-top: 20px;
  color: #156082;
  /* Adds space above each heading */
}

h3,
h4 {
  margin-top: 10px;
}

/* Visual indicator for <details> summary: arrow rotates when open */
details summary {
  list-style: none;
  cursor: pointer;
  padding-left: 1.25em;
}

details {
  display: inline;
  margin: 0;
}

details summary h2 {
  display: inline;
  margin-top: 20px;
  margin-bottom: 20px;

}

details summary::-webkit-details-marker {
  display: none;
}

/* API parameter / error tables */
.api-table {
  width: 100%;
}

.api-table.table thead th {
  background-color: #f6f7f8;
  font-weight: bold;
  white-space: nowrap;
  vertical-align: middle;
}

.api-table td {
  vertical-align: middle;
}

/* Reverse Bootstrap's odd-row striping so row 1 is white (header is already gray) */
.api-table.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #fff;
}

.api-table.table-striped > tbody > tr:nth-of-type(even) {
  background-color: #f6f7f8;
}

details summary::before {
  content: "▸";
  font-size: 2em;
  display: inline-block;
  width: 1em;
  margin-left: -1.25em;
  margin-right: 0.35em;
  transform-origin: 50% 50%;
  transition: transform .12s ease;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #156082;
}

details[open] summary::before {
  transform: rotate(90deg);
}