/* Overall container */
.technical-container {
  max-width: 75%;
}

/* Images */
.technical-markdown img {
  max-width: 95%;
  height: auto;
  display: block;
  margin: 1em auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Detail blocks hierarchy*/
.technical-container details {
  margin: 0.25rem 0;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1rem;
  box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

.technical-container details details {
  margin-left: 1.25rem;
  margin-top: 0.25rem;
}

.technical-container details details details {
  margin-left: 2.50rem;
  margin-top: 0.25rem;
}

 /* Add blue line if open */
.technical-container details[open] {
  border-left: 4px solid #007ac2;
}

/* Remove border for nested details */
.technical-container details details,
.technical-container details details details {
  border-left: none !important;
  border: none !important;
}

/* Titels */
.technical-container h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.technical-container h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Summary headers*/
.technical-container summary {
  padding: 0.9rem 1.2rem;
  background: #ffffff;
  color: #007ac2;
  font-weight: 600;
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
  margin-left: -1.2rem;
}

.technical-container summary::-webkit-details-marker {
  display: none;
}

.technical-container summary::before {
  content: "▸";
  color: #007ac2;
  margin-right: 0.5rem;
}

.technical-container details[open] summary::before {
  content: "▾";
}

/* Table in div */
.md-table > table {
  box-sizing: border-box;
  width: calc(100% - 3rem);
  max-width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 1.5rem;
  font-size: 0.8rem;
}

.md-table > p {
  margin: 0.75rem 1.5rem;
  font-size: 0.75rem;
  text-indent: -10px;
  padding-left: 10px
}

.technical-container th,
.technical-container td {
  border: 1px solid #d0d7e2;
  padding: 0.55rem 0.75rem;
}

.technical-container th {
  background: #eef2f7;
  font-weight: 600;
}

/* Table Header */
.technical-container thead th {
  background-color: #dfe5f7;
  font-weight: 600;
}

/* Table Zebra-rows */
.technical-container tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.technical-container tbody tr:nth-child(even) {
  background-color: #f7fbff;
}

/* Inline code */
.technical-container code {
  font-size: 0.9em;
  background: #f5f7fb;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  border: 1px solid #d0d7e2;
}

/* Code Blocks */
.technical-container pre {
  font-size: 0.9em;
  background: #f5f7fb;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  border: 1px solid #d0d7e2;
  margin: 1rem 0;
  display: inline-block;
}

.technical-container pre code {
  background: none;
  border: none;
  padding: 0;
}

/* Figcaption */
.technical-container figcaption {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #6c757d;
  font-style: normal;
}
