/* ==========================================================================
CSS variables
========================================================================== */

@font-face{
    src: url('/styles/fonts/Inter-Variable.woff2') format('woff2');
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: light dark;
    scroll-behavior: smooth;

    --sans-font: "Inter", Arial, Helvetica, "Helvetica Neue", sans-serif;

    --bg: light-dark(#fff, #2b2c2f);
    --bg-gray: light-dark(rgba(0, 0, 0, .05), rgba(127, 127, 127, .2));
    --bg-terminal: light-dark(#31363e, rgba(0, 0, 0, .5));
    --text: light-dark(#000, #dcdcdc);
    --text-light: light-dark(#687072, #888);
    --link: light-dark(#0075b9, #4bcaff);
    --link-light: light-dark(#009ddd, #0193d3);

    --border: rgba(120, 120, 120, 0.4);
    --border-radius: .6em;
    --border-radius-small: .3em;
}


/* ==========================================================================
Reset / Normalize
========================================================================== */

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*outline: 1px solid red;*/
}


/* ==========================================================================
Root elements
========================================================================== */

html {
    margin: 0;
    height: 100%;
    font: 14px/1.8em "Inter", Verdana,Geneva,sans-serif;
    scroll-behavior: smooth;
}

html[data-color-scheme="light"] {
    color-scheme: light;
}

html[data-color-scheme="dark"] {
    color-scheme: dark;
    & img,
    & video, 
    & .thumbnail {
        filter: brightness(.9);
    }
    & .filter-gray {
        filter: invert(1) hue-rotate(180deg) contrast(0.9);
    }
}

html[data-color-scheme="auto"] {
    @media (prefers-color-scheme: dark) {
        color-scheme: dark;
        & img,
        & video, 
        & .thumbnail {
            filter: brightness(.9);
        }
        & .filter-gray {
            filter: invert(1) hue-rotate(180deg) contrast(0.9);
        }
    }
}

body {
    margin: 0;
    height:  100%; 
    background: #fff;
    background: var(--bg);
    color: #000000;
    color: var(--text);
    min-height:  100%; 
}

/* ==========================================================================
Generic element styles
========================================================================== */

h1, h2, h3, h4, h5 {
    line-height: 1.4em;
    font-weight: normal;
    margin: 1.2em 0 1em 0;
    padding: 0;
}

h1 {
    font-size: 2.7em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.55em;
}

h4 {
    font-size: 1.31em;
}

h5 {
    font-size: 1.15em;
}

h1 a, h1 a:hover,
h2 a, h2 a:hover,
h3 a, h3 a:hover {
    color: #000;
    color: var(--text);
    text-decoration:none;
}

pre  {
    white-space: pre-wrap;
}

p, dl {
    margin:1.4em 0;
}

dl .note,
dl .terminal, 
dl pre.code {
    margin: 15px 0;
}

dt {
    font-weight:600;
    margin:1.4em 0 0 0;
}

dd {
    margin:0 0 1.4em 2em;
}

dd dd {
    margin-left:0;
}

blockquote {
    padding:0;
    margin:1.4em 0;
}

strong, th {
    font-weight: 600;
}

a,
a:link,
a:visited {
    color: #0075b9;
    color: var(--link);
    text-decoration:none;
}

a:hover {
    text-decoration:underline;
}

a img {
    border:none;
}

a.tooltip:hover,
a.footnote:hover {
    text-decoration: none;
    cursor:pointer;
}

#main a[target="_blank"]::after {
    content: "";
    display: inline-block;
    background-image: url("../img/icons/link-external.png");
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' version='1.1' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(-25.658 -23.701)' fill='none' stroke='%230193d3' stroke-width='1.2'%3E%3Cpath d='m27.658 31.701 6-6' style='paint-order:markers stroke fill'/%3E%3Cpath d='m28.658 25.701h5v5' style='paint-order:markers stroke fill'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom center;
    width: 1em;
    height: 1em;
}

a[target="_blank"].button:after,
a[target="_blank"]:has(img):after {
    display: none !important;
}

sup {
    vertical-align: 0;
    position: relative;
    top: -0.5em;
    font-size: 0.8em;
}


a.button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    position:relative;
    display:inline-block;
    padding:0.85em 1.6em;
    margin:1em 0;
    background: #009ddd;
    background: var(--link-light);
    color: #fff;
    border:transparent 1px solid;
    /*  border-top-color: #66c5ec; */
    border-bottom-color: rgba(0, 0, 0, 0.1);
    border-radius: 2em;
    transition: all 100ms ease, background-color 50ms ease;
}

.button.right,
input[type="submit"].right {
    margin:0.6em 0 1em 0.6em;
}

.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover { 
    text-decoration:none;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05), 0 0 0 2px #009ddd, 0 0 .5em rgba(0, 0, 0, 0.2);
    z-index:1;
}

.button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {  
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.1) inset, 0 0.3em 0.3em -0.3em rgba(0, 0, 0, 0.3) inset;
    z-index:0;
    outline: none;
}

.button.large,
input[type="submit"].large {
    font-size:1.64em;
}

kbd,
.button-txt {
    display: inline-block;
    padding:0 0.4em;
    white-space:nowrap;
    background-color: #f5f5f5;
    background-color: var(--bg-gray);
    background-repeat: repeat-x;
    border: #d6d6d6 1px solid;
    border-color: var(--border);
    border-radius: 3px;
    font-family: "Inter", Verdana,Geneva,sans-serif;
}

kbd img,
.button-txt img {
    max-height: 1.6em;
}


ul, ol {
    margin:1.4em 0 1.4em 2em;
    padding:0;
}

li {
    padding:0.2em 0;
}

ul li {
    list-style: disc;
    position:relative;
}

ul li ul {
    margin:0 0 0 1.4em;
}

li.folder,
li.Folder {
    list-style: none;
    background: url("../img/main/li-details.gif") left center no-repeat;
}

li.separator {
    list-style: none;
    margin-top:1.4em;
}

li.nobullet {
    list-style: none;
}

hr {
    height:0;
    margin:2em 0;
    margin:0.7em 0 !ie;
    padding:0;
    background:none;
    border:0;
    border-bottom: #ccc 1px solid;
    clear:both;
}


img {
    max-width:100%;
    height: auto;
}

img.left {
    float:left;
    margin:5px 30px 30px 0;
}

img.right {
    float:right;
    margin:5px 0 30px 30px;
}

img.center,
.center img {
    display: block;
    text-align:center !important;
    margin:30px auto;
}

img.inline,
kbd img,
.button-txt img {
    vertical-align:middle;
    margin-top: -2px;
}

table {
    margin:2em 0;
    width:100%;
    border-radius: 0.5em;
    border-collapse: separate;
    border-spacing: 0;
}

tr > * {
    padding:1em;
    border: #ccc 1px solid;
    border-color: var(--border);
    vertical-align: top;
    text-align:left;
}

tr.sticky {
    position: sticky;
    top: -0.4em;
    z-index: 1;
    background: var(--bg);
}

th {
    background: #edeeef;
    background: var(--bg-gray);
    /*border: #ccc 1px solid;*/
}

tr > *:not(:last-child) {
    border-right: none;
}

tr:not(:last-of-type) > * {
    border-bottom: none;
}

tr:first-of-type > *:first-child {
    border-top-left-radius: 0.5em;
}

tr:first-of-type > *:last-child {
    border-top-right-radius: 0.5em;
}

tr:last-of-type > *:first-child {
    border-bottom-left-radius: 0.5em;
}

tr:last-of-type > *:last-child {
    border-bottom-right-radius: 0.5em;
}

td p {
    margin:1em 0;
}

td .note, td .terminal, td pre.code {
    display: block;
    margin: 1em 0;
    padding: 1em;
}

td.code {
    display: table-cell;
    background: none;
    padding:1em;
    border-radius: 0;
}

td > *:first-child {
    margin-top: 0;
}

td li {
    /*padding: 0;*/
    padding: 0.1em 0;
}

table.yes-no .yes {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABsQAAAbEBYZgoDgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAD3SURBVCiRldDNSgJRGMbx/3uQSdTwI3DhRhduWrcQ3BkM1Da6gLyBwG6inbpukd1FKrStC3AZ0SyCcoIGcYS0yeNCPDSOSZ3lc37POS+vcP1cF5EmkGH78bTWDZGO4/0Bm5L6BwbIqm23ArQrOS4PsiYzhZNigrNyKoRblRzn+7uclhKkrSWNAaQtxVV1j4ylEIGbR9/gp3FArfvGaDZfPiQdRwNU8zvc2nmSMcXd6yd2IW7wy+Q7OtK9O+Wo7+IHc+xCHMcPsHvDEA4VAB7epxz3XQbeF4fdIY4fRBexGml9O5Hwxw/eevgbBj6URl9sKm3CWqSxAPJiUfWhEkUKAAAAAElFTkSuQmCC") center center no-repeat;
}

table.cmd {
    table-layout: fixed;
}

table.cmd td {
    max-width:50%;
}

table.cmd td pre {
    white-space: pre-wrap; 
}

td dl {
    margin: 1em 0;
}

td dt {
    display: inline;
}

td dd {
    margin:0 0 1em 1em;
}

td dd::after {
    display: block;
    content: "\a";
    line-height: 0.2em;
    white-space: pre;
}

th.sortable {
    cursor: pointer;
    padding-right: 0;
}

th.sortable .wrap {
    position: relative;
    padding-right: 2em;
}

th.sortable .dir {
    position: absolute;
    right: .8em;
    text-align: right;
    content: " ";
}


/* ==========================================================================
Layout
========================================================================== */

#wrapper {
    box-sizing: border-box;
    position: relative;
    /*padding-bottom: 60px; /* Height of footer */
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

#main,
#header .inner,
#footer .inner,
#index .inner {
    max-width:1400px;
    margin:0 auto;
}

#header,
#footer {
    background-color: #edeeef;
    background-color: var(--bg-gray);
    font-size:0.94em;
}

#header {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    position: sticky;
    z-index: 1;
}

#header .inner {
    padding: 1.33em 30px;
}

#header .arrow:before {
    display: inline-block;
    content: '';
    border: solid #000;
    border: solid var(--text);
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 2px;
    margin:0 0.7em 0.1em 0.7em;
    transform: rotate(-45deg);
}

#nav {
    line-height: 1.8em;
}

#main-link,
#sidebar-link,
#index-link,
#color-scheme-switch,
#menu-link::before {
    display: inline-block;
    vertical-align: middle;
    width: 1.8em;
    height: 1.8em;
    /*font-size:1.2rem;*/
    background-size: 16px;
    background-repeat: no-repeat;
    overflow: visible;
    & svg {
        display: inline-block;
        vertical-align: middle;
        width:  1.4em;
        height: 1.4em;
    }
}

#main-link {
    float:right;
    width: auto;
    background-image: url('data:image/svg+xml,<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m12 0a12 12 0 0 0-12 12 12 12 0 0 0 12 12 12 12 0 0 0 12-12 12 12 0 0 0-12-12zm2 2.2051a10 10 0 0 1 7.7949 7.7949h-3.0879a7 7 0 0 0-4.707-4.707v-3.0879zm-4 0.023438v3.0645a7 7 0 0 0-4.707 4.707h-3.0645a10 10 0 0 1 7.7715-7.7715zm2 4.7715a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5zm-9.7715 7h3.0645a7 7 0 0 0 4.707 4.707v3.0645a10 10 0 0 1-7.7715-7.7715zm16.479 0h3.0645a10 10 0 0 1-7.7715 7.7715v-3.0645a7 7 0 0 0 4.707-4.707z" fill="%230193d3" stop-color="%23000000" style="paint-order:markers stroke fill"/></svg>');
    background-position: left center;
    padding-left: 1.8em;
}

#sidebar-link {
    float: right;
    background-position: left center;
    text-decoration: none;
    margin-right: 2em;
    color: var(--text-light);
}

#sidebar-link .closed {
    display: none;
}
#sidebar-link.closed .open {
    display: none;;
}
#sidebar-link.closed .closed {
    display: inline-block;
}

#index-link {
    background-image:url("../img/icons/home-16-blue.png");
    background-image:url('data:image/svg+xml,<svg width="24" height="24" version="1.1" viewBox="0 0 6.35 6.3501" xmlns="http://www.w3.org/2000/svg"><path d="m1.4883 5.8209h0.89293v-1.4221a0.43 0.43 135 0 1 0.43-0.43h0.72752a0.43 0.43 45 0 1 0.43 0.43v1.2898a0.13229 0.13229 45 0 0 0.13229 0.13229h0.76064a0.43 0.43 135 0 0 0.43-0.43v-2.2159h0.62835a0.16726 0.16726 111.26 0 0 0.11302-0.29056l-2.5411-2.3293a0.46909 0.46909 2.2472e-7 0 0-0.63395-1e-8l-2.5411 2.3293a0.16726 0.16726 68.745 0 0 0.11302 0.29056h0.62835v2.2159a0.43 0.43 45 0 0 0.43 0.43z" fill="none" stop-color="%23000000" stroke="%230193d3" stroke-dashoffset="3.7795" stroke-linecap="round" stroke-linejoin="round" stroke-width=".52917" style="paint-order:stroke fill markers"/></svg>');
    background-position: center center;
}

#menu-link::before {
    content: "";
    /*float:left;*/
    background-image:url('data:image/svg+xml,<svg width="24" height="24" version="1.1" viewBox="0 0 6.35 6.3501" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="%230193d3" stroke-dashoffset="3.7795" stroke-linecap="round" stroke-linejoin="round" stroke-width=".52917"><path d="m1.0583 3.175h4.2334" stop-color="%23000000" style="paint-order:stroke fill markers"/><path d="m1.0583 4.7626h4.2334" stop-color="%23000000" style="paint-order:stroke fill markers"/><path d="m1.0583 1.5875h4.2334" stop-color="%23000000" style="paint-order:stroke fill markers"/></g></svg>');
    background-position: left center;
}

#color-scheme-switch {
    float: right;
    margin-right: 2em;
    color: var(--text-light);
}

#color-scheme-switch > * {
    display: none;
    cursor: pointer;
}
#color-scheme-switch.auto > .auto {
    display: inline-block;
}
#color-scheme-switch.dark > .dark {
    display: inline-block;
}
#color-scheme-switch.light > .light {
    display: inline-block;
}


#main {
    display: flex;
    flex: 1 0 100%;
    width: 100%;
}

#main:after {
    content:"";
    display: table;
    clear:both;
}

#main .inner {
    flex: 1 0 70%;
    order: 2;
    padding: 1px 30px 50px 30px;
}

#main .inner .content {
    padding:0;
}

#main.closed .sidebar {
    display:none;
}

#main.closed .inner {
    margin-left:0;
/*max-width:100%;*/
/*min-width:100%;*/
}


.sidebar {
    flex: 1 0 30%;
    order: 1;
    vertical-align:top;
    max-height: 100vh;
    padding: 0 30px 60px 30px;
    overflow-y: auto;
    position:sticky;
    top: 0;
    border-right: #f2f2f2 2px solid;
    border-right: var(--border) 2px solid;
    opacity: 0;
}

.contents {
    margin: 50px 0 0 0;
}

.sidebar h4 {
    margin: 50px 0 1em 0;
}

.sidebar .contents {
    margin-bottom: 50px;
}

.contents li,
li.article {
    list-style: none;
    list-style-image: none;
}

.contents li.active>a {
    color: #000;
    color: var(--text);
    cursor: default;
    text-decoration:none;
}

.contents details summary::-webkit-details-marker {
    display: none
}

.contents details summary {
    list-style: none;
    color: #0075b9;
    color: var(--link);
    transition: margin 150ms ease;
}

.contents summary:before,
.collapse-link:before {
    content: '';
    border: solid #0075b9;
    border: solid var(--link);
    border-width: 0 0.15em 0.15em 0;
    display: inline-block;
    padding: 0.15em;
    margin:0 0.7em 0.15em -1.15em;
    transform: rotate(-45deg);
    transition: transform 0.2s;
}

.contents details[open]>summary {
    /*margin-bottom: 1em;*/
}

.contents details[open]>summary:before {
    transform: rotate(45deg);
}

.contents summary:hover {
    cursor:pointer;
    text-decoration:underline;
}

.contents details ul {
    /*margin-top: -5px;*/
}

.contents .highlight:before {
    content: " ";
    position: absolute;
    left: -12px;
    top: 2px;
    vertical-align: top;
    width: 4px;
    height: 4px;
    margin: 0.2em;
    border-radius: 50%;
    background: #ff0000;
    /* box-shadow:0 0 0 1px rgba(1, 159, 224, 0.5); */
}

.contents .highlight.current:before {
    /* display:none; */
}


#footer {
    height:60px;
    /*position: absolute;*/
    /*bottom: 0;*/
    width: 100%;
    /*z-index: 1;*/
}

#footer .inner {
    color: #666;
    color: var(--text-light);
    padding: 1.33em 30px;
}

/* Index */
#index{
    background: radial-gradient(ellipse 1200px 200px at 50% 100%, rgba(0, 0, 0, .1), var(--bg) 90%);
}

#index .inner {
    min-height:276px;
    height:auto !important;
    height:276px;
    padding: 10px 270px 35px 30px;
    position: relative;
}

#index .inner img {
    position: absolute;
    top: 4em;
    right: 30px;
    width: 192px;
}

#index .inner h1 {
    font-size: 3.6em;
    margin: 1em 0 .6em 0;
    line-height: 1.2em;
}

#index .inner h1 span {
    font-size: .7em;
    display: block;
}

#index .inner h2 {
    color: #666;
    color: var(--text-light);
}

[class*='col-'] {
    clear: both;
}



/* ==========================================================================
Components
========================================================================== */


/*
* Collapse Blocks
*/

.collapse-link {
    display: inline-block;
}

.collapse-nolink,
.collapse-link {
    padding-left:1.4em;
}

.collapse-link:before {
    transform: rotate(45deg);
}

.collapse-link.collapsed:before {
    transform: rotate(-45deg);
}

.collapse-block {
    padding: 0 0 0.4em 1.4em;
}

.collapse-block.collapsed {
    display:none;
}

h4 .collapse-link,
h4 .collapse-link.collapsed {
    background-position:left center;
}

.collapse-nolink:before {
    content: " ";
    display: inline-block;
    width:0.3em;
    height:0.3em;
    margin:0 0.7em 0.15em -1em;
    border-radius: 50%;
    background: #0075b9;
    background: var(--link);
}



/* Blocks */
.nodisplay {
    display:none !important;
}

.indent {
    padding-left: 20px;
}

.center {
    text-align:center !important;
}

.note,
.terminal, 
pre.code {
    display: block;
    margin: 2.5em 0;
    padding: 1.5em 2em;
    background: #edeeef;
    background: var(--bg-gray);
    border-left: #009ddd 5px solid;
    border-left: var(--link-light) 5px solid;
    border-radius: 0.5em;
    border-radius: var(--border-radius);
}

pre.code {
    border-left: #ccc 5px solid;
    border-left: var(--border) 5px solid;
    overflow-x: auto;
}

div.dp-highlighter {
    white-space: pre-wrap;
    background: #edeeef;
    background: var(--bg-gray);
    border-left: #ccc 5px solid;
    border-left: var(--border) 5px solid;
}

.terminal {
    background: #31363e;
    background: var(--bg-terminal);
    color: #dcdcdc;
    font-family: monospace;
    border-left: solid 5px #000;
    overflow-x: auto;
}

.note.warning {
    border-left: #c33 5px solid;
}

.note > *:first-child {
    margin-top: 0.3em;
}

.note > *:last-child {
    margin-bottom: 0.3em;
}

.note h2,
.note h3,
.note h4 {
    margin-top:0.3em;
}

table ul,
.note ul,
.block ul {
    margin:0.4em 0 0.4em 1em;
}

span.note {
    display:block;
}

pre.autocopy {
    padding-right: 2em;
}

.autocopy-wrap {
    position: relative;
}

.autocopy-btn {
    position: absolute;
    top: 0.3em;
    right: 0.3em;
    width: 1.8em;
    height: 1.8em;
    max-height: 100%;
    border-radius: 0.3em;
    border-radius: var(--border-radius-small);
    background: url("../img/icons/copy-16-blue.png") center center no-repeat;
    background: url('data:image/svg+xml,<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><g fill="%230193d3"><path d="m7 1c-1.108 0-2 0.892-2 2v6c0 1.108 0.892 2 2 2h6c1.108 0 2-0.892 2-2v-6c0-1.108-0.892-2-2-2h-6zm0 1.5h6c0.277 0 0.5 0.223 0.5 0.5v6c0 0.277-0.223 0.5-0.5 0.5h-6c-0.277 0-0.5-0.223-0.5-0.5v-6c0-0.277 0.223-0.5 0.5-0.5z" stop-color="%23000000" style="paint-order:markers stroke fill"/><path d="m3 5c-1.108 0-2 0.892-2 2v6c0 1.108 0.892 2 2 2h6c1.108 0 2-0.892 2-2v-1h-1.5v1c0 0.277-0.223 0.5-0.5 0.5h-6c-0.277 0-0.5-0.223-0.5-0.5v-6c0-0.277 0.223-0.5 0.5-0.5h1v-1.5h-1z" stop-color="%23000000" style="paint-order:markers stroke fill"/></g></svg>') center center no-repeat;
    background-size: 18px;
    filter: grayscale(1) contrast(0);
    cursor: pointer;
    transition: all 0.2s ease;
}

.autocopy-btn:hover {
    /*background-color: var(--border);*/
    filter: brightness(1.1);
}

td .autocopy-btn {
    width: 1.4rem;
    height: 1.4rem;
}

div.tooltip {
    position: absolute;
    background: black;
    color: white;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    border-radius: var(--border-radius-small);
    opacity: 1;
    transition: opacity .3s ease;
    z-index: 1000;
    @starting-style {
        opacity: 0;
    }
}


/* Other Products */
.other-product {
    padding: 10px 0;
    width: 31%;
    float: left;
}

.other-product-2 {
    margin: 0 3%;
}

.other-product a {
    font-size: 1.2em;
}

.other-product .other-img img {
    width: 60px;
}

.other-product .other-img .platform-img {
    width: 20px;
    float: right;
}

.other-product p {
    margin: 0.7em 0;
}

.other-product h4 {
    margin: 0.7em 0;
}

.other-product h4 small {
    color: #000;
}


.footnote-descr.active {
    background-color: #e6f6fc;
    background-color: var(--bg-gray);
    border-radius: 0.2em;
    border-radius: var(--border-radius-small);
    animation: footnote-active 1s linear forwards;
}

@keyframes footnote-active {
    from {
        background-color: var(--bg);
    }
    50% {
        background-color: var(--border);
    }
    to {
        background-color: var(--bg-gray);
    }
}

.clear {
    clear: both;
    visibility:hidden;
    height:0;
    font-size:0;
    margin:0;
}

#scrolltop {
    display: none;
    width: 3rem;
    height: 3rem;
    border-radius: 5rem;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: #31363e url('data:image/svg+xml,<svg width="24" height="24" version="1.1" viewBox="0 0 6.35 6.35" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="%23fff" stroke-linecap="round" stroke-linejoin="round"><path d="m3.175 2.3812 1.3229 1.323" stop-color="%23000000" stroke-dashoffset="3.7795" stroke-width=".52917" style="paint-order:stroke fill markers"/><path d="m3.175 2.3812-1.3229 1.323" stop-color="%23000000" stroke-dashoffset="3.7795" stroke-width=".52917" style="paint-order:stroke fill markers"/><path d="m1.8521 1.3229h2.6458" stop-color="%23000000" stroke-dashoffset="3.7795" stroke-width=".52917" style="paint-order:stroke fill markers"/><path d="m3.175 2.3812v2.6458" stop-color="%23000000" stroke-dashoffset="3.7795" stroke-width=".52917" style="paint-order:stroke fill markers"/></g></svg>') center center no-repeat;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
#scrolltop:hover {
    background-color: #000;
}


/*
* Third-party license
*/

.third-party-license {
    padding:1.5em 2em;
    margin:2em 0;
    border-radius: 0.5em;
    border-radius: var(--border-radius);
    background-color: #edeeef;
    background-color: var(--bg-gray);
    font-family: monospace;
    white-space: pre-wrap;
}

.headerlink {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 1.2em;
    height: 1em;
    background: transparent url('data:image/svg+xml,<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path id="a" d="m8.9102 7.0898c0.97936 0.97935 0.97936 2.5562 0 3.5355l-2.1213 2.1213c-0.97934 0.97934-2.5562 0.97934-3.5355 0s-0.97934-2.5562 0-3.5355l0.86734-0.86734" fill="none" stop-color="%23000000" stroke="%230193d3" stroke-dashoffset="3.7795" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" style="paint-order:markers stroke fill"/><use transform="rotate(180,8,8)" xlink:href="%23a"/></svg>') center center no-repeat;
    background-size: 0.8em;
    opacity: 0;
    transition: opacity 0.2s ease;
}

*:hover > .headerlink,
.headerlink:active,
.headerlink:focus {
    opacity: 1;
}

#index .headerlink {
    display: none;
}


.selected,
.Selected {
    color: #ff6000;
}

.green {
    color: #009000;
}

.blue {
    color: #0000f0;
}


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version */
}

.nostrong {
    font-weight:normal;
}

.nobr {
    white-space:nowrap;
}

.code,
code,
.samp,
samp,
.path,
.hlt {
    background-color: #edeeef;
    background-color: var(--bg-gray);
    padding: 0.2em 0.5em;
    font-family: monospace;
    border-radius:5px;
    border-radius: var(--border-radius-small);
}

code {
    display:inline-block;
    padding:0 0.3em;
}

.path,
.hlt {
    font-family: "Inter", Verdana,Geneva,sans-serif;
}

pre.samp,
pre.path {
    display: block;
}

noscript.Email div {
    display: inline;
}

noscript.Email div img {
    vertical-align: middle;
}

.blue {
    background-color: #5d87e1;
}

.green {
    background-color: #3ac070;
}

.blue,
.green {
    font-size: .97em;
    color: #fff;
}

/* Markup text for proofreading */

ins, ins * {
    text-decoration:none;
    background-color:yellow !important;
}


/* API */
table {
    width:100%;
}

ul.index,
ul.Index {
    margin: 30px 0 0 20px;
}

ul li ul {
    margin: 4px 0 4px 25px;
}

li.level1 { margin-left:25px}
li.level2 { margin-left:50px}
li.level3 { margin-left:75px}
li.level4 { margin-left:100px}
li.level5 { margin-left:125px}
li.level6 { margin-left:150px}
li.level7 { margin-left:175px}
li.level8 { margin-left:200px}
li.level9 { margin-left:225px}
li.level10 { margin-left:250px}

.Block {
    margin: 0 0 15px 20px;
}

.Parameter, 
.parameter {
    display:inline-block;
    padding:5px 10px;
    margin-bottom:0;
    background: #f5f5f5;
    background: var(--bg-gray);
    font-family: monospace;
}

.Description,
.description {
    margin-top:5px;
}

.checkmark {
    padding-left: 1.2em;
}

.checkmark::before {
    content: " ✓ ";
    font-size: 1.2em;
}

.checkmark.no::before {
    content: "";
}

.checkmark.small {
    /*  background-size:12px 12px;*/
}

h4.checkmark {
    margin-top:2.5em;
}

li.checkmark {
    list-style:none;
    margin-left:0;
    padding-left:0;
}

td.checkmark {
    text-align: center;
    padding-right: 1.2em;
}

td.checkmark::before {
    margin: 0;
}

.index .checkmark:first-child {
    margin-top:3em;
}





@media all and (max-width: 900px)  {
    .sidebar,
    #sidebar-link {
        display:none;
    }
    #main .inner {
        margin-left:0;
        max-width:100%;
        min-width:100%;
    }
}

@media all and (max-width: 767px)  {
    body,
    .dp-highlighter {
        font-size: 14px !important;
    }

    #main-link {
        display:none;
    }

    #index .inner,
    #main .inner {
        padding: 1px 1.5em 2em 1.5em;
    }

    #index .inner img {
        display: none;
    }

    #header .inner,
    #footer .inner {
        padding: 1.5em;
    }

    #footer {
        height:auto;
    }

    .tablewrapper {
        overflow:auto;
    }

    .hide-on-mobile {
        display: none !important;
        width: 0;
        height: 0;
    }

    .nodisplay.show-on-mobile {
        display: block !important;
    }

    .note, .terminal, .note.warning, :not(td) > .dp-highlighter, .tablewrapper, pre.code {
        margin: 2.5em -1.5em !important;
        border-left: none;
        border-radius: 0;
        & td,
        & th {
            border-radius: 0;
        }
    }

    .note, .terminal, .note.warning, .dp-highlighter {
        padding: 1.5em;
    }

    .autocopy-btn {
        margin-right: -1.5em;
    }

    .tablewrapper table {
        border-left: none;
    }

    .tablewrapper td:first-child,
    .tablewrapper th:first-child {
        padding-left: 1.5em;
        border-left: none;
    }

    .tablewrapper td:last-child,
    .tablewrapper th:last-child {
        padding-right: 1.5em;
        border-right: none;
    }

    h1, h2, h3, h4, h5 {
        line-height: 1.5em;
        margin: 0.6em 0 0.3em 0;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.7em;
    }

    h3 {
        font-size: 1.4em;
    }
}

@media print  {
    #header,
    #footer,
    .sidebar,
    #scrolltop {
        display: none !important;
    }
}
