/* Documentation sidebar navigation
 * Sticky panel capped to viewport; menu scrolls inside #docsNavBorder only. */

/* Override .cms_cont default list bullets/indentation */
.cms_cont .docsNavContainer a,
.cms_cont .docsNavContainer a:hover {
  text-decoration: none !important;
}

.cms_cont .docsNavContainer ul,
.cms_cont .docsNavContainer ol {
  padding: 0;
  margin: 0;
}

.cms_cont .docsNavContainer ul li,
.cms_cont .docsNavContainer ol li {
  list-style: none !important;
  list-style-type: none !important;
  position: static;
  left: auto;
  margin-right: 0;
  margin-left: 0;
  padding-left: 0;
}

.docsNavContainer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: #f9fafb;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  padding: 0.75rem;
  box-sizing: border-box;
  overflow: hidden;
}

@media (min-width: 992px) {
  .docsNavContainer {
    width: 320px;
    max-width: 320px;
    flex: 0 0 320px;
    margin: 0 1.5rem 0 0;
    position: sticky;
    top: var(--docs-nav-sticky-top, 9.5rem);
    align-self: flex-start;
    height: var(--docs-nav-max-height, calc(100dvh - var(--docs-nav-sticky-top, 9.5rem) - 1rem));
    max-height: var(--docs-nav-max-height, calc(100dvh - var(--docs-nav-sticky-top, 9.5rem) - 1rem));
    min-height: min(12rem, var(--docs-nav-max-height, 12rem));
    z-index: 900; /* in front if the cookie consent but in the back of the header */
  }
}

@media (max-width: 991.98px) {
  .docs-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background-color: rgba(16, 24, 40, 0.45);
  }

  .docs-nav-backdrop[hidden] {
    display: none !important;
  }

  .docsNavContainer:not(.d-none) {
    position: fixed;
    top: var(--docs-nav-sticky-top, 4.5rem);
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: 20rem;
    margin: 0;
    height: var(--docs-nav-max-height, min(70vh, 28rem));
    max-height: var(--docs-nav-max-height, min(70vh, 28rem));
    min-height: 10rem;
    z-index: 1055;
    box-shadow: 0 16px 48px rgba(16, 24, 40, 0.18);
  }

  body.docs-nav-mobile-open {
    overflow: hidden;
  }
}

.docs-nav-search {
  position: relative;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

.docs-nav-search-input {
  width: 100%;
  padding: 0.35rem 2.15rem 0.35rem 0.85rem;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  font-size: 0.8125rem;
  line-height: 1.2rem;
  background-color: #fff;
  color: #36393b;
}

.docs-nav-search.has-value .docs-nav-search-input {
  padding-right: 3.5rem;
}

.docs-nav-search-input:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(69, 129, 142, 0.15);
}

.docs-nav-search-input::placeholder {
  color: #98a2b3;
}

.docs-nav-search-icon {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #98a2b3;
  font-size: 0.75rem;
  pointer-events: none;
}

.docs-nav-search-icon::before {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.docs-nav-search-clear {
  position: absolute;
  right: 1.85rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background-color: #eef2f6;
  color: #667085;
  cursor: pointer;
  line-height: 0;
}

.docs-nav-search-clear:hover {
  background-color: #e4e7ec;
  color: #344054;
}

.docs-nav-search-clear:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(69, 129, 142, 0.35);
}

.docs-nav-search-clear[hidden] {
  display: none !important;
}

.docs-nav-search-clear-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}

.docs-nav-search-clear-icon::before {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.65rem;
  line-height: 1;
  display: block;
}

.docs-nav-no-results {
  display: none;
  font-size: 0.875rem;
  color: #667085;
  padding: 0.5rem 0.75rem;
}

.docs-nav-no-results.is-visible {
  display: block;
}

#docsNavBorder {
  overflow-x: hidden;
  overflow-y: scroll;
  flex: 1 1 0;
  min-height: 0;
  height: 0;
  border: none !important;
  padding-right: 0.15rem;
  padding-bottom: 1rem;
  scroll-padding-bottom: 0.75rem;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #98a2b3 #eef2f6;
  -webkit-overflow-scrolling: touch;
}

.docsNavContainer.is-docs-nav-scrollable #docsNavBorder {
  overflow-y: scroll;
}

#docsNavMainList {
  padding-bottom: 0.25rem;
}

#docsNavBorder::-webkit-scrollbar {
  width: 8px;
}

#docsNavBorder::-webkit-scrollbar-track {
  background: #eef2f6;
  border-radius: 999px;
}

#docsNavBorder::-webkit-scrollbar-thumb {
  background-color: #98a2b3;
  border-radius: 999px;
}

#docsNavBorder::-webkit-scrollbar-thumb:hover {
  background-color: #667085;
}

.docs-nav-list,
.docs-nav-section-list,
.docs-nav-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-nav-section {
  margin-bottom: 0.15rem;
}

.docs-nav-section--lead {
  margin-bottom: 0.25rem;
}

.docs-nav-section--solo {
  margin-bottom: 0.15rem;
}

.docs-nav-list > .docs-nav-section:last-child {
  margin-bottom: 0;
}

.docs-nav-section.docs-nav-section--hidden {
  display: none;
}

.docs-nav-section-header {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 8px;
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.docs-nav-section-header:hover {
  background-color: #f2f4f7;
}

.docs-nav-section-header .docs-nav-link--label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d2939;
  padding: 0.4rem 0.35rem 0.4rem 0.15rem;
}

.docs-nav-section.docs-nav-section--active > .docs-nav-section-header {
  background-color: #f2f4f7;
}

.docs-nav-section.docs-nav-section--active > .docs-nav-section-header.opened .docs-nav-link-label {
  color: var(--main-dark-color);
}

/* Ancestor on path to active page (not the active leaf itself) */
.docs-nav-section.docs-nav-section--on-path > .docs-nav-section-header .docs-nav-link-label {
  font-weight: 600;
}

.docs-nav-section-header .docs-nav-toggle {
  width: 2rem;
}

.docs-nav-section-body {
  margin-top: 0.1rem;
  margin-bottom: 0.35rem;
}

/* Animated expand/collapse (overrides Bootstrap display:none) */
.docsNavContainer .docs-nav-section-body.collapse,
.docsNavContainer .docs-nav-subnav.collapse {
  display: block !important;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    margin 0.28s ease;
}

.docsNavContainer .docs-nav-section-body.collapse:not(.show) {
  margin-top: 0;
  margin-bottom: 0;
}

.docsNavContainer .docs-nav-subnav.collapse:not(.show) {
  margin-top: 0;
}

.docsNavContainer .docs-nav-section-body.collapse.show {
  max-height: 2400px;
  opacity: 1;
}

.docsNavContainer .docs-nav-subnav.collapse.show {
  max-height: 1600px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .docsNavContainer .docs-nav-section-body.collapse,
  .docsNavContainer .docs-nav-subnav.collapse {
    transition: none;
  }
}

.docs-nav-section-body .docs-nav-section-list {
  padding-top: 0.1rem;
}

.docs-nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-nav-item.docs-nav-item--hidden {
  display: none;
}

.docs-nav-section-list > .docs-nav-item + .docs-nav-item,
.docs-nav-sublist > .docs-nav-item + .docs-nav-item {
  margin-top: 0.1rem;
}

.docs-nav-branch-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 8px;
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.docs-nav-branch-row:hover {
  background-color: #f2f4f7;
}

.docs-nav-branch-row .docs-nav-link,
.docs-nav-branch-row .docs-nav-link--label {
  flex: 1 1 auto;
  min-width: 0;
  border-left: none;
  border-radius: 8px 0 0 8px;
}

.docs-nav-branch-row .docs-nav-link.active,
.docs-nav-branch-row.opened .docs-nav-link--label {
  background-color: transparent;
}

.docs-nav-branch-row:has(> .docs-nav-link.active) {
  background-color: var(--main-light-color);
}

.docs-nav-branch-row--on-path .docs-nav-link-label,
.docs-nav-branch-row--on-path.docs-nav-branch-row .docs-nav-link--label,
.docs-nav-item--branch:has(.docs-nav-subnav .docs-nav-link.active)
  > .docs-nav-branch-row:not(:has(> .docs-nav-link.active))
  .docs-nav-link-label {
  font-weight: 600;
}

.docs-nav-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 0 8px 8px 0;
  color: #667085;
  cursor: pointer;
}

.docs-nav-toggle:hover {
  background-color: rgba(0, 0, 0, 0.04);
  color: #344054;
}

.docs-nav-toggle:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(69, 129, 142, 0.35);
}

.docs-nav-link--label {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  color: #344054;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}

.docs-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-sizing: border-box;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  text-decoration: none !important;
  color: #344054;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.docs-nav-item > .docs-nav-branch-row {
  box-sizing: border-box;
}

.docs-nav-section-list > .docs-nav-item > .docs-nav-link,
.docs-nav-section-body .docs-nav-section-list .docs-nav-link {
  font-weight: 500;
  font-size: 0.9em;
}

.docs-nav-section-body .docs-nav-section-list > .docs-nav-item > .docs-nav-link,
.docs-nav-section-body .docs-nav-section-list > .docs-nav-item > .docs-nav-branch-row {
  margin-left: 0.3rem;
  width: calc(100% - 0.3rem);
}

.docs-nav-section-header.opened .docs-nav-chevron::before {
  transform: translateY(-50%) rotate(90deg);
}

.docs-nav-section--solo > .docs-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding-left: 0.15rem;
}

.docs-nav-link:hover {
  background-color: #f2f4f7;
  color: #1d2939;
}

.docs-nav-link.active {
  background-color: var(--main-light-color);
  font-weight: 600;
}

.docs-nav-section-body .docs-nav-section-list > .docs-nav-item > .docs-nav-link.active,
.docs-nav-subnav .docs-nav-item > .docs-nav-link.active,
.docsNavContainer .docs-nav-link.active .docs-nav-link-label {
  font-weight: 600;
}

.docs-nav-branch-row:has(.docs-nav-link.active) .docs-nav-link.active {
  background-color: transparent;
  font-weight: 600;
}

.docs-nav-link-label {
  flex: 1 1 auto;
  min-width: 0;
}

.docs-nav-chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  position: relative;
  opacity: 0.55;
}

.docs-nav-chevron::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.65rem;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.22s ease;
}

.docs-nav-branch-row.opened .docs-nav-chevron::before {
  transform: translateY(-50%) rotate(90deg);
}

.docs-nav-subnav {
  margin-top: 0.15rem;
}

.docsNavContainer .docs-nav-subnav.collapse.show {
  margin-top: 0.15rem;
}

.docs-nav-subnav .docs-nav-item > .docs-nav-link,
.docs-nav-subnav .docs-nav-item > .docs-nav-branch-row {
  font-weight: 500;
  margin-left: 1.0rem;
  width: calc(100% - 1.0rem);
}

.docs-nav-subnav .docs-nav-subnav .docs-nav-item > .docs-nav-link,
.docs-nav-subnav .docs-nav-subnav .docs-nav-item > .docs-nav-branch-row {
  margin-left: 2.1rem;
  width: calc(100% - 2.1rem);
}

.docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-item > .docs-nav-link,
.docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-item > .docs-nav-branch-row {
  margin-left: 2.6rem;
  width: calc(100% - 2.6rem);
}

.docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-item > .docs-nav-link,
.docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-item > .docs-nav-branch-row {
  margin-left: 3.1rem;
  width: calc(100% - 3.1rem);
}

.docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-item > .docs-nav-link,
.docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-subnav .docs-nav-item > .docs-nav-branch-row {
  margin-left: 3.6rem;
  width: calc(100% - 3.6rem);
}

.docs-nav-item.docs-nav-item--branch.docs-nav-item--search-match > .docs-nav-subnav {
  display: block !important;
  max-height: 1600px !important;
  opacity: 1 !important;
  margin-top: 0.15rem !important;
}

.docs-nav-item.docs-nav-item--branch.docs-nav-item--search-match > .docs-nav-branch-row {
  /* keep expanded while filtering */
}

#docNavToggle {
  font-weight: 600;
}

#docNavToggle::before {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  width: 1.25em;
  display: inline-block;
  text-align: center;
}

#docNavToggle.opened::before {
  content: "\f077";
}


/* **************************************************************************** */
/* Docs Styles***************************************************************** */
/* **************************************************************************** */

.docs-highlight-block{
  padding: 10px;
  background-color: var(--main-light-color);
  border: 1px solid var(--main-color);
}


/* Allgemeiner Tabellenstil für die Dokumentation */
.docs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    margin: 16px 0 24px 0;
}

/* Tabellenkopf */
.docs-table thead {
    background-color: var(--main-color);
    color: #fff;
    font-weight: bold;
}

.docs-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #367985;
}

/* Tabellenzellen */
.docs-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
    line-height: 1.5;
}

/* Abwechselnde Zeilenfarben */
.docs-table tbody tr:nth-child(even) {
    background-color: #f5f8f9;
}

/* Hover-Effekt */
.docs-table tbody tr:hover {
    background-color: var(--main-light-color);
}

/* Letzte Tabellenzeile */
.docs-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive Darstellung */
@media screen and (max-width: 600px) {
    .docs-table {
        font-size: 13px;
    }

    .docs-table th,
    .docs-table td {
        padding: 10px;
    }
}