/* CHANGELOG tags =================================================================================================== */

:is(li, h1, h2, h3, h4, h5, h6, p):has(> span.cltag) {
  padding-left: 84px; /* = 6em × 14px (font-size of the span.cltag element) */
  text-indent: -84px;
}

:is(li, h1, h2, h3, h4, h5, h6, p):has(> span.cltag) > * {
  text-indent: 0;
}

.cltag {
  content: "bug";
  border-radius: 12px;
  box-shadow: 0 -10px 0 rgba(0, 0, 0, 0.12) inset;
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  padding: 3px 4px;
  color: white;
  width: 6em; /* if updated, don't forget to update accordingly the above padding/indent properties */
  text-align: center;
}

.cltag-bugfix, .cltag-fix {
  background-color: #fc2929;
}

.cltag-misc {
  background-color: #808080;
}

.cltag-feature {
  background-color: #009800;
}

.cltag-optim {
  background-color: #0052cc;
}

.cltag-break {
  background-color: #000000;
}

/* JsDoc custom styling ============================================================================================= */

.tag-see p {
  margin-block-start: 0;
  margin-block-end: 0;
}

nav ul .members {
  /*font-weight: bolder;*/
  /*text-decoration: underline;*/
  font-size: smaller;
  margin-left: 15px;
}

nav ul .methods {
  font-size: smaller;
  margin-left: 15px;
}

nav ul .methods li::after {
  content: "()";
}

nav ul ul li[deprecated] {
  text-decoration: line-through;
  display: none;
}

nav ul li[deprecated] {
  text-decoration: line-through;
  display: none;
}

.deprecated h4 {
  text-decoration: line-through;
}

nav ul ul li[data-scope="static"] {
  font-weight: bolder;
}

nav ul li span {
  cursor: pointer;
}

div#deprecated {
  position: fixed;
  right: 20px;
  z-index: 100;
}

h4.name {
    border-top-style: outset;
    padding-top: 5px;
}

nav {
    position: fixed;
    right: 0;
    overflow: auto;
    height: 100%;
    margin-top: 0;
    padding-bottom: 20px;
}
