/* Custom Curity CSS Theme */

:root {
    /* Light */
    --light-color-background: #fcfcfc;
    --light-color-background-secondary: #fff;
    --light-color-text: #4d4d4d;
    --light-color-text-aside: #707070;
    --light-color-link: #d859a1;
    --light-color-menu-divider: #eee;
    --light-color-menu-divider-focus: #000;
    --light-color-menu-label: #707070;
    --light-color-panel: var(--light-color-background-secondary);
    --light-color-panel-divider: #eee;
    --light-color-comment-tag: #707070;
    --light-color-comment-tag-text: #fff;
    --light-color-ts: #d859a1;
    --light-color-ts-interface: #626c87;
    --light-color-ts-enum: #937210;
    --light-color-ts-class: #0672de;
    --light-color-ts-private: #707070;
    --light-color-toolbar: #2a2f3a;
    --light-icon-filter: invert(1);
    --light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
    --light-code-background: #282a36;

    /* Dark */
    --dark-color-background: #1d2028;
    --dark-color-secondary-background: transparent;
    --dark-color-text: #9aa1b5;
    --dark-color-text-aside: #e6e4e4;
    --dark-color-link: #d859a1;
    --dark-color-menu-divider: #eee;
    --dark-color-menu-divider-focus: #000;
    --dark-color-menu-label: #707070;
    --dark-color-panel: var(--dark-color-secondary-background);
    --dark-color-panel-divider: #111;
    --dark-color-comment-tag: #dcddde;
    --dark-color-comment-tag-text: #2f3136;
    --dark-color-ts: #d859a1;
    --dark-color-ts-interface: #626c87;
    --dark-color-ts-enum: #d6ab29;
    --dark-color-ts-class: #3695f3;
    --dark-color-ts-private: #e2e2e2;
    --dark-color-toolbar: #2a2f3a;
    --dark-color-toolbar-text: #ffffff;
    --dark-icon-filter: invert(1);
    --dark-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
}

body {
    margin: 0;
}

/* Code colors */
body {
    --hl-1: #8be9fd;
    --hl-2: #6272a4;
    --hl-0: #f8f8f2;
    --hl-3: #f8f8f2;
    --hl-4: #f8f8f2;
    --hl-5: #f8f8f2;
    --hl-6: #ff79c6;
    --hl-7: #f1fa8c;
}

/* Roboto */
@font-face {
    font-family: "Roboto-Regular";
    font-display: swap;
    font-weight: normal;
    src: url("Roboto-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto-Light";
    font-display: swap;
    font-weight: normal;
    src: url("Roboto-Light.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto-Medium";
    font-display: swap;
    font-weight: normal;
    src: url("Roboto-Medium.woff2") format("woff2"), url("Roboto-Medium.woff") format("woff");
}

body {
    font-family: "Roboto-Regular", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto-Light", sans-serif;
    font-weight: normal;
}

.tsd-page-title h1 {
    margin-top: 1rem;
}

.tsd-page-toolbar {
    height: 50px;
    padding-top: 0.15rem;
    box-sizing: border-box;
    border-bottom: none;
}

.tsd-page-toolbar {
    background-color: var(--light-color-toolbar);
}

label[for="tsd-search-field"] {
    display: flex;
    justify-content: center;
    align-items: center;
}

[data-toggle="menu"] svg rect,
label[for="tsd-search-field"] svg path {
    fill: white;
}

.tsd-page-toolbar .tsd-select-label,
.tsd-page-toolbar .tsd-widget {
    color: white;
}

.tsd-page-toolbar .container {
    max-width: 95%;
}

#tsd-search .title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
    color: #f2eb80;
}

#tsd-search .title::before {
    display: inline-block;
    margin-right: 1rem;
    width: 127px;
    height: 36px;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='1161' height='331' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' d='M0 .403h1039.456V217H0V.403z'/%3E%3Cpath id='c' d='M0 .403h1039.456V217H0V.403z'/%3E%3C/defs%3E%3Cg transform='translate(59 60)' fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cpath d='M298.146 137.751l-3.353 3.356c-18.933 18.891-42.73 29.733-65.304 29.733-35.813 0-61.803-26.08-61.803-62.005 0-35.903 25.362-61.972 60.313-61.972 20.242 0 44.21 9.419 61.058 23.967l3.374 2.941 33.503-34.926-3.778-3.217C296.422 13.583 259.874.394 224.401.394c-39.08 0-72.18 17.734-91.847 45.778h-61.74L67.206 76.5h50.714c-1.629 5.48-2.757 11.182-3.523 17.044H38.513l-3.608 30.317h79.481c.756 5.862 1.873 11.575 3.47 17.023H3.615l-3.618 30.328h132.291c19.678 28.257 53.203 45.79 93.614 45.79 50.745 0 86.122-25.9 102.693-41.33l3.523-3.282-33.972-34.639z' fill='%23FFF' mask='url(%23b)'/%3E%3Cpath d='M29.917 93.543H7.557l-3.61 30.317H26.32l3.597-30.317zm476.877 40.33c-12.229 11.384-30.822 21.8-54.13 21.8-35.387 0-58.706-25.22-58.706-56.46 0-30.583 23.478-56.281 57.887-56.281 19.561 0 38.803 7.645 51.522 18.551l-14.677 15.28c-9.78-8.452-23.478-13.655-34.887-13.655-21.52 0-35.388 16.427-35.388 36.274 0 20.007 14.187 36.275 36.207 36.275 14.507 0 28.034-7.646 37.325-16.916l14.847 15.132zm116.244-87.69v67.994c0 26.526-20.551 41.5-48.755 41.5-27.394 0-48.425-14.974-48.425-41.5V46.183h23.478v67.994c0 14.006 11.25 21.482 24.947 21.482 14.517 0 25.277-7.476 25.277-21.482V46.183h23.478zm54.94 19.682v27.822h38.154c8.153 0 14.836-5.861 14.836-13.985 0-3.579-1.309-6.839-3.756-9.281-3.747-4.067-8.472-4.556-12.708-4.556h-36.526zm-23.308 86.546V46.178h59.014c15.167 0 25.107 4.407 31.961 11.553 5.545 5.862 8.802 13.508 8.802 21.971 0 13.656-8.472 24.233-21.52 29.925l24.947 42.784h-26.735l-21.53-39.036h-31.631v39.036H654.67z' fill='%23FFF'/%3E%3Cmask id='d' fill='%23fff'%3E%3Cuse xlink:href='%23c'/%3E%3C/mask%3E%3Cpath d='M781.835 46.182h23.308v106.233h-23.308V46.182zm44.353.001h100.447V66.35H888.14v86.067h-23.308V66.349h-38.644V46.183zm213.262 0l-42.23 57.746v48.487h-23.478v-48.487l-42.39-57.746h29.012l25.926 36.933 25.777-36.933h27.384z' fill='%23FFF' mask='url(%23d)'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-size: 127px 36px;
    background-repeat: no-repeat;
    content: "";
    vertical-align: middle;
}

@media (prefers-color-scheme: dark) {
    #tsd-search .field input {
        color: white;
    }
}

@media (prefers-color-scheme: dark) {
    #tsd-search.has-focus {
        background-color: black;
        color: white;
    }
}

@media (prefers-color-scheme: dark) {
    #tsd-search .results li {
        background-color: var(--dark-color-toolbar);
    }
}

p {
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.85;
    overflow-wrap: break-word;
}

@media (min-width: 640px) {
    p {
        font-size: 1.1rem;
    }
}

p code {
    color: #cd3d64;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f7fafc;
    padding: 0 3px;
    margin: 0 1px;
    font-weight: 500;
}

pre {
    padding: 1rem;
    border-radius: 4px;
}

.tsd-parameter pre,
.tsd-parameter code {
    color: white;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    appearance: none;
    print-color-adjust: exact;
    background-repeat: no-repeat;
    background-color: #fff;
    border-color: #e2e8f0;
    border-width: 1px;
    border-radius: 0.25rem;
    padding-top: 0.5rem;
    padding-right: 2.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    font-size: 1rem;
    line-height: 1.2;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
}

.tsd-kind-icon:before {
    filter: grayscale(100%);
}
