﻿:root {
    --background-color: white;
    --body-background-color: rgb(18, 11, 29);
    --body-background-color-semi-opaque: rgba(18, 11, 29, 0.5);
    --text-color: black;
    --link-color: #1364c4;
    --th-background-color: #ededed;
    --th-text-color: #636363;
    --breadcrum-text-color: dimgray;
    --breadcrum-border-color: lightgray;
    --switcher-expanded-color: lightgray;
    --switcherMenu-background-color: #f5f1f1;
    --footer-color: grey;
    --code-background-color: rgb(240 240 240);
    --code-line-number-color: grey;
    --modified-code-background-color: rgb(240 240 240);
    --code-border-color: #dddddd;
    --ui-tab-background-color: rgb(240 240 240);
    --ui-widget-header-background-color: #e9e9e9;
    --ui-widget-header-text-color: #333333;
    --ui-widget-header-border-color: #dddddd;
    --ui-button-color: #636363;
    --ui-button-active-color: white;
    --ui-state-active-background-color: #54659f;
    --ui-state-active-border-color: #6666ff;
    --sample-link-color: green;
    --note-background-color: powderblue;
    --warning-background-color: #fddba3;
    --postsharp-note-background-color: #f0f0f0;
    --tab-header-active-color: black;
    --tab-header-active-background: white;
    --tab-header-inactive-background: #a8a8a8;
    --github-icon: url('github-mark.svg');

    border: none;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #222222;
        --text-color: #e6e6e6;
        --link-color: #75b6e7;
        --th-background-color: #404040;
        --th-text-color: white;
        --breadcrum-text-color: lightgray;
        --switcher-expanded-color: dimgray;
        --switcherMenu-background-color: #383737;
        --breadcrum-border-color: dimgray;
        --footer-color: grey;
        --code-background-color: #2f2f2f;
        --code-line-number-color: grey;
        --modified-code-background-color: #595944;
        --code-border-color: #222222;
        --ui-tab-background-color: #2f2f2f;
        --ui-widget-header-background-color: #333333;
        --ui-widget-header-text-color: #e9e9e9;
        --ui-widget-header-border-color: #222222;
        --ui-button-color: #a0a0a0;
        --ui-button-active-color: white;
        --ui-state-active-background-color: #54659f;
        --ui-state-active-border-color: #6666ff;
        --sample-link-color: #019c01;
        --note-background-color: #01343d;
        --warning-background-color: #6a4200;
        --postsharp-note-background-color: #201f1f;
        --tab-header-active-color: white;
        --tab-header-active-background: #222222;
        --tab-header-inactive-background: #383737;
        --github-icon: url('github-mark-white.svg');
    }
    /* Style the scrollbar for WebKit-based browsers */
    ::-webkit-scrollbar {
        width: 16px;
    }

    ::-webkit-scrollbar-track {
        background-color: #222;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #555;
    }

        ::-webkit-scrollbar-thumb:hover {
            background-color: #888;
        }

    ::-webkit-scrollbar-corner {
        background-color: #222;
    }
}

@font-face {
    font-family: 'SegoeMDL2';
    src: url("segmdl2-webfont.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

:root {
/* Major Third scale.*/
--font-size-small: 0.8rem;
    --font-size-text: 1rem;
    --font-size-h5: 1.25rem;
    --font-size-h4: 1.563rem;
    --font-size-h3: 1.953rem;
    --font-size-h2: 2.441rem;
    --font-size-h1: 3.052rem;


}

@media (max-width:1280px) {
    :root {
    /* Major Second scale*/
        --font-size-small: 0.889 rem;
        --font-size-text: 1rem;
        --font-size-h5: 1.125rem;
        --font-size-h4: 1.266rem;
        --font-size-h3: 1.424rem;
        --font-size-h2: 1.602rem;
        --font-size-h1: 1.802rem;
    }
}

b, strong {
    font-weight: 700;
}

/* style */
html, body {
    padding: 0;
    margin: 0;
}


.pane {
    display: none; /* will appear when layout inits */
}

body {
    overflow-y: hidden;
    background-color: var(--body-background-color);
    color: var(--text-color);
    font-family: "LatoLatinWeb", sans-serif;
    font-size: var(--font-size-text);
    width: 100%;
    height: 100vh;
}

    body.noGoldenLayout {
        background-color: var(--background-color);
    }

.ourStyle a, .ourStyle a:link, .ourStyle a:hover, .ourStyle a:visited {
    color: var(--link-color);
    text-decoration: none;
}


h2:not(:first-child){
    margin-top: 40px;
}


span.term {
    font-style: italic;
}

p {
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 15px;
}

h1 {
    font-size: var(--font-size-h2);
    margin-top: 0;
    margin-bottom: 1em;
}

h2 {
    font-size: var(--font-size-h3);
    margin-top: 1em;
    margin-bottom: 1em;
}

h3 {
    font-size: var(--font-size-h4);
    margin-top: 1em;
    margin-bottom: 1em;
}

h4 {
    font-size: var(--font-size-h5);
    margin-top: 1em;
    margin-bottom: 1em;
}

h5, h6 {
    font-size: var(--font-size-text);
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
}






#layout-content ul:first-child:not([role='tablist']), ol:first-child {
        margin-top: 15px;
    }

#layout-content li:not(:last-child)
{
    padding-bottom: 15px;
}

li p:only-child {
    padding-bottom: 0;
}

/*

    ul, ol 
{ 
    margin-bottom: 15px !important;
}

div > ul, div > ol  {
    margin-top:0;
    margin-bottom: 30px !important;
}
*/

a[role="button"] {
    cursor: pointer;
}


    a[role="button"]:hover{
        text-decoration: none!important;
    }


    th {
        background-color: var(--th-background-color);
        color: var(--th-text-color);
        padding-bottom: 5px;
        padding-top: 5px;
        text-align: left;
    }

td.titleColumn {
    color: var(--text-color);
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
    --font-size: var(--font-size-h4);
    font-weight: normal;
    margin-top: 0;
    padding-left: 0;
    vertical-align: middle;
}

.collapsibleRegionTitle {
    cursor: pointer;
    font-size: var(--font-size-h4);
    font-style: normal !important;
    margin-bottom: 19px;
    margin-top: 9px;
    padding-bottom: 5px;
    padding-top: 20px;
}

.ourStyle table {
    border-collapse: collapse;
    font-size: var(--font-size-text);
    margin-bottom: 15px;
    padding: 0;
    width: 100%;
}

    .ourStyle table.titleTable td {
        border-width: 0;
        padding-top: 0;
    }


.ourStyle td, .ourStyle th {
    border-bottom: 1px solid #dbdbdb;
    margin: 10px;
    padding: 10px 8px;
}

.ourStyle th {
    background-color: var(--th-background-color);
    color: var(--th-text-color);
    padding-bottom: 5px;
    padding-top: 5px;
    text-align: left;
}

.ourStyle td {
    color: var(--text-color);
    vertical-align: top;
}

.codeSnippetContainer {
    margin-top: 10px;
    min-width: 260px;
}

.codeSnippetContainerTabs {
    height: 23px;
    position: relative;
    vertical-align: middle;
    z-index: 1;
}

.codeSnippetContainerTab {
    color: #2a2a2a;
    float: left;
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif !important;
    font-size: var(--font-size-small);
    font-style: normal !important;
    height: 22px;
    padding: 0 15px;
    vertical-align: baseline;
    width: auto;
}

.codeSnippetContainerTabActive {
    background: none repeat scroll 0 0 #f8f8f8;
    border-left: 1px solid #939393;
    border-right: 1px solid #939393;
    border-top: 1px solid #939393;
    color: #000000;
    float: left;
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif !important;
    font-size: var(--font-size-text);
    font-style: normal !important;
    height: 22px;
    padding: 0 15px;
    vertical-align: baseline;
    width: auto;
}

.codeSnippetContainerTabPhantom {
    background: none repeat scroll 0 0 #f8f8f8;
    border-left: 1px solid #939393;
    border-right: 1px solid #939393;
    border-top: 1px solid #939393;
    color: #000000;
    display: none;
    float: left;
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif !important;
    font-size: var(--font-size-text);
    font-style: normal !important;
    height: 22px;
    padding: 0 15px;
    vertical-align: baseline;
    width: auto;
}

.codeSnippetContainerTabSingle {
    background: none repeat scroll 0 0 var(--code-background-color);
    border-left: 1px solid #939393;
    border-right: 1px solid #939393;
    border-top: 1px solid #939393;
    color: var(--text-color);
    float: left;
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif !important;
    font-size: var(--font-size-text);
    font-style: normal !important;
    font-weight: bold;
    height: 20px;
    padding: 2px 15px 0;
    vertical-align: baseline;
    width: auto;
}

.codeSnippetContainerTab a {
    color: var(--text-color);
    font-weight: bold;
    position: relative;
    text-decoration: none;
    top: 2px;
}

    .codeSnippetContainerTab a:link {
        color: var(--text-color);
    }

    .codeSnippetContainerTab a:hover {
        color: #136460;
    }

.codeSnippetContainerTabActive a {
    color: var(--text-color);
    cursor: default;
    font-weight: bold;
    position: relative;
    text-decoration: none;
    top: 2px;
}

    .codeSnippetContainerTabActive a:link {
        color: var(--text-color);
    }

    .codeSnippetContainerTabActive a:hover {
        color: var(--text-color);
    }

.codeSnippetContainerTabPhantom a {
    color: var(--text-color);
    cursor: default;
    font-weight: bold;
    position: relative;
    text-decoration: none;
    top: 2px;
}

    .codeSnippetContainerTabPhantom a:link {
        color: var(--text-color);
    }

.codeSnippetContainerCodeContainer {
    border: 1px solid #939393;
    margin-bottom: 12px;
    position: relative;
    top: -1px;
    background-color: var(--code-background-color);
}

.codeSnippetToolBar {
    height: auto;
    width: auto;
}

.codeSnippetToolBarText {
    float: right;
    height: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    top: -8px;
    vertical-align: top;
    width: auto;
}

    .codeSnippetToolBarText a {
        display: none;
    }

.codeSnippetContainerCode {
    margin: 0;
    padding: 10px;
    width: auto;
}

    .codeSnippetContainerCode div {
        margin: 0;
        padding: 0;
    }

    .codeSnippetContainerCode pre {
        font-family: 'Monosten', monospace !important;
        font-style: normal;
        font-weight: normal;
        margin: 0;
        overflow: auto;
        padding: 5px;
    }


#left-sidebar {
    font-size: var(--font-size-text);
    padding: 10px;
}

body.with-fullscreen {
    overflow: hidden;
}

body.with-fullscreen::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 9998;
    pointer-events: none;
}

.with-fullscreen #left-sidebar {
    display: none;
}

.with-fullscreen #right-sidebar {
    display: none;
}

#layout-top {
    padding-bottom: 10px;
}

#left-sidebar p {
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 1.1em;
}
#left-sidebar .with-ancestors {
    margin-left: 20px;
}

#left-sidebar .self {
    font-weight: bold;
    border-left: 5px solid var(--text-color);
    margin-left: -5px;
    filter: contrast(150%);
}


#left-sidebar .title {
    color: grey;
}

#left-sidebar .level, #searchResults .level:not(:empty) {
    font-size: var(--font-size-text);
    font-weight: bold;
    opacity: 0.3;
    padding: 2px;
    margin-left: 5px;
    border-radius: 2px;
}


#left-sidebar .node {
    padding-left: 30px;
    text-indent: -10px;
}



    #left-sidebar .node a:before {
        font-family: 'SegoeMDL2';
        font-size: 12px;
        font-weight: bold;
        margin-right: 0;
        display: inline-block;
        width: 10px;
    }

#left-sidebar .children .node {
    padding-left: 40px;
}

#left-sidebar .children .children .node {
    padding-left: 50px;
}

#left-sidebar .children .children .children .node {
    padding-left: 60px;
}

#left-sidebar .children .children .children .children .node {
    padding-left: 70px;
}

#left-sidebar .children .children .children .children .children .node {
    padding-left: 80px;
}

#left-sidebar .children .children .children .children .children .children .node {
    padding-left: 90px;
}

#left-sidebar .closed.node a:before {
    content: '\E015';
}

#left-sidebar .open.node a:before {
    content: '\E013';
}

#left-sidebar .ancestors .open.node a:before {
    content: '\E09C';
}


#left-sidebar p.leaf.node a:before {
    content: ' ';
}

#left-sidebar a {
    color: var(--text-color);
}


#layout-content {
    padding: 20px;
}

#layout-right-toc {
    padding-top: 10px;
    padding-left: 10px;
}



#right-sidebar {
    font-size: var(--font-size-text);
    margin: 0 10px 2px 20px;
    width: 300px;
    padding-right: 20px;
}

    #right-sidebar .title {
        font-weight: bold;
    }

.topicContent {
    border: none;
}

a.logo > img {
    margin: 8px 7px;
}

a.logo {
    float: left;
    margin-top: -4px;
    margin-right: 50px;
    display: block;
}

    div.node{margin-bottom: 10px;}


.download:before {
    font-family: 'SegoeMDL2';
    font-size: var(--font-size-text);
    font-weight: bold;
    margin-right: 0px;
    display: inline-block;
    margin-right: 10px;
    content: '\E896';
    
}

a.home
{
    width:0;
}
a.home:before {
    font-family: 'SegoeMDL2';
    content: '\E80F';
    font-size: var(--font-size-text);
    margin-top: 1px;
    display: inline-block;
}

#breadcrum-container {
    flex: 0 0;
    display: flex;
    width: 100%;
}

#breadcrum {
    flex: 1 1 100%;
    color: #bbb;
}

#layout-buttons {
    flex: 0 0 400px;
    text-align: right;
    font-size: var(--font-size-text);
    margin-left: 20px;
    margin-top: 20px;
    margin-right: 10px;
}

    #layout-buttons a {
        display: inline-block;
        background-color: var(--background-color);
        color: var(--text-color);
        padding: 5px 3px 3px 5px;
        margin-left: 10px;
    }


#openSandboxButton:before {
    content: '\25B6';
    margin-right: 5px;
}


#improveButton {
    padding-left: 28px !important;
    background-image: var(--github-icon);
    background-repeat: no-repeat;
    background-position: left 7px center;
    background-size: 16px 16px;
}

#focusButton:before {
    font-family: 'SegoeMDL2';
    content: '\E740';
    margin-right: 10px;
    font-size: 80%;
}


a.fullscreen:before{
    font-family: 'SegoeMDL2';
    content: '\E740';
    margin-right: 5px;
    font-size: 80%;
}


#breadcrum span.separator {
    color: var(--body-background-color);
}

#breadcrum span.separator:after {
    font-family: 'SegoeMDL2';
    content: '\E013';
    font-size: 50%;
    height: 20px;
    width: 20px;
    margin-left: 5px;
    margin-right: 10px;
    color: var(--breadcrum-text-color);
}

.switcher {
    padding-left: 0.5em !important;
}

.switcher .expanded {
    background-color: var(--switcher-expanded-color) !important;
}


.switcher:after {
    content: '\E015';
    font-family: 'SegoeMDL2';
    font-size: 50%;
    font-weight: bold;
    margin-left: 5px;
}

.switcherMenu {
    padding: 10px 15px;
    margin-top: 10px;
    margin-left: 25px;
    z-index: 10;
    position:fixed;
    color: var(--text-color);
    background-color: var(--switcherMenu-background-color);
}

.switcherMenu  li {
    list-style: none;
}

.switcherMenu  a {
    color: var(--text-color);
}

.switcherMenu  .current{
    font-weight: normal !important;
}

.searchForm {
    float: right;
}



div.ui-layout-mask {
}
/* standard mask for iframes */
iframe.ui-layout-mask {
}
/* extra mask for objects/applets */

/*
 *	Default printing styles
 */
@media print {
    /*
	 *	Unless you want to print the layout as it appears onscreen,
	 *	these html/body styles are needed to allow the content to 'flow'
	 */
    html {
        height: auto !important;
        overflow: visible !important;
    }

    body.ui-layout-container {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        /* only IE6 has container width & height set by Layout */
        _width: auto !important;
        _height: auto !important;
    }

    .ui-layout-resizer, .ui-layout-toggler {
        display: none !important;
    }
    /*
	 *	Default pane print styles disables positioning, borders and backgrounds.
	 *	You can modify these styles however it suit your needs.
	 */
    .ui-layout-pane {
        border: none !important;
        background: transparent !important;
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
    }
}


#breadcrum {
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    font-size: var(--font-size-text);
}


#layout-content .centered {
    margin: 0 auto;
    max-width: 1200px;
}

#horizontal-container {
    flex: 1 1 auto;
    display: none;
}


#left-sidebar {
    flex: 0.2 0 200px;
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    max-width: 1400px;
}

#right-sidebar {
    flex: 0.2 0.2 100px;
}


#main-panel {
    flex:  0.6 0.6 600px;   
}


#golden-layout-container {
    flex: 1 1;
    padding: 0 5px 5px 5px;
}

#after-golden-layout-container {
    flex: 0 0;
    height: 40px;
}

#layout-sandbox {
    height: 100%;
    width: 100%;
}

#layout-sandbox iframe {
    height: 100%;
    width: 100%;
    border-width: 0;
}    


#breadcrum .current {
    font-weight: bold;
}

body {
    display: flex;
    flex-direction: column;
}

#content > header, #content > section > * {
    flex: 1 1 300px;
    min-width: 650px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}



#siteHeader {
    flex: none;
    background-color: #130722;
}


#footer {
    flex: none;
    font-size: var(--font-size-small);
    margin-bottom: 20px;
    margin-left: 20px;
    color: var(--footer-color);
}



#nav {
    height: calc(100vh - 210px);
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 20px;
    overflow-y: auto;
}

#content p, #content ul, #content ol {
    line-height: 160%;
}

#content li {
    padding-top: 5px;
    padding-bottom: 5px;
}
#content li p {
    padding-bottom: 5px;
}

#content ul, #content ol {
    margin-top: 0;
    margin-bottom: 30px;
}

#content li ul, #content li ol {
    margin-top: 0;
    margin-bottom: 10px;
}

.alert {
    margin-top: 20px;
    margin-bottom: 40px;
}


.collapsibleAreaRegion {
    margin-top: 40px;
    margin-bottom: 20px;
}

img.collapseToggle {
    display: none;
}

.collapsibleSection {
    padding: 0;
}

h1 {
    font-family: segoe-ui_light, Segoe UI Light, Segoe WP, Helvetica Neue, Helvetica, sans-serif;
}


@media only screen and (max-width: 1600px) {
    #right-sidebar {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    #left-sidebar {
        display: none;
    }

    #content {
        min-width: 0;
    }
}


@media only screen and (max-width: 600px) {
    #siteHeaderMenu {
        display: none;
    }
}


.fixed {
    position: fixed;
}

#breadcrum.fixed {
    width: inherit;
}

#breadcrum.fixed {
    background: var(--background-color);
    z-index: 1;
}

#right-sidebar .fixed, #left-sidebar .fixed {
    top: 80px;
}
.fixed #nav {
    height: calc(100vh - 170px);
}


#left-footer {
    position: fixed;
    bottom: 10px;
    width: 300px;
    color: var(--footer-color);
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    padding: 10px;
}

div.jumps {
    margin-bottom: 20px;
}

.NOTE, .WARNING, .IMPORTANT, .TIP, .CAUTION {
    border-radius: 3px;
    padding: 1em;
    margin-top:  20px;
    margin-bottom: 20px;
}

.NOTE, .TIP {
    background-color: var(--note-background-color);
}

.NOTE h5, .WARNING h5, .IMPORTANT h5, .CAUTION h5, .TIP h5 {
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
}

    .NOTE h5:before, .WARNING h5:before, e, .IMPORTANT h5:before, .CAUTION h5:before, .TIP h5:before {
        position: relative;
        top: 0;
        display: inline-block;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        margin-right: 5px;
        font-weight: normal;
    }

    .NOTE h5:before, .TIP h5:before {
        content: "\1f6c8"
    }

.WARNING, .IMPORTANT, .CAUTION {
    background-color: var(--warning-background-color);
}

    .WARNING h5:before, .CAUTION h5:before {
        content: "\26a0"
    }

    .IMPORTANT h5:before {
        content: "\26a0"
    }

pre {
    white-space:normal !important;
    margin-bottom: 30px !important;
    padding: 5px;
    border: 1px solid var(--code-border-color);
    border-radius: 3px;
    background-color: transparent;
}

li pre {
    margin-top: 0;
    margin-bottom: 10px !important;
}

pre code, pre.program-output {
    color: var(--text-color);
    background-color: var(--code-background-color);
    max-height: 600px;
    display: block;
    overflow: auto;
}

pre code, pre.program-output  {
    white-space: pre !important;
}

.codeSnippetContainer pre {
    white-space: pre !important;
    border: none;
    margin-bottom: 0 !important;
}


.tabGroup {
    margin-bottom: 40px;
}

/*div:has(div.tabGroup) {
    max-width: 1800px !important;
}*/


.mermaid {
    display: none;
}



div.lang-mermaid
{
    width: 100%;
    height: 600px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.jump-h2 {
    padding-bottom: 0;
    margin-top: 15px;
}

.jump-h3, .jump-seealso {
    font-size: var(--font-size-text);
    padding-bottom: 0;
    margin-top: 10px;
    margin-left: 10px;
}
.jump-h4 {
    font-size: var(--font-size-text);
    margin-left: 20px;
    padding-bottom: 0;
}
.jumps > p.title {
    padding-bottom: 0;
}

.tabGroup li { padding-bottom: 0 !important;}
.tabGroup ul { margin-bottom: 0 !important;}
.tabGroup section[role="tabpanel"] { padding: 0 !important;}
.tabGroup {
    margin-bottom: 80px;
}

.tabGroup pre {
    margin: 0 !important;
}
    .tabGroup code {
        ---overflow-x: visible !important;
    }
    
div.sample-links {
    text-align: right;
    margin-right: 10px;
    margin-top: 40px;
}

   
    div.sample-links a {
        color: var(--sample-link-color) !important;
        cursor: pointer;
    }

div.sample-links .try:before {
    content: '\25B6';
    margin-right: 5px;
}


div.sample-links a.github {
    padding-left: 23px;
    background-image: url('github-mark-green.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px 16px;
}

a.fullscreen:before{
    font-family: 'SegoeMDL2';
    content: '\E740';
    margin-right: 5px;
    font-size: 80%;
}

div.fullscreen a.fullscreen:before {
    content: '\E73F';
}


div.sample-links .separator {
    margin-right: 5px;
    margin-left: 5px;
}


div.sample-links.tabbed {
    text-align: right;
    margin-bottom: 5px;
}

code {
    color: var(--text-color);
    background-color: var(--code-background-color);
    padding: 0 2px 0 2px;
}

.NOTE code, .WARNING code
{
    background-color: rgba(114,114,115,0.23) !important;
}

.ui-widget-content {
    background-color: var(--background-color);
    color: var(--text-color);
}
.ui-widget-header {
    background-color: var(--ui-widget-header-background-color);
    border-color: var(--ui-widget-header-border-color);
}
.ui-widget.ui-widget-content {
    border-color: var(--ui-widget-header-border-color);
}
.ui-tabs-panel, .ui-tab {
    background-color: var(--ui-tab-background-color) !important;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited, a.ui-button, a:link.ui-button, a:visited.ui-button, .ui-button {
    color: var(--ui-button-color);
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: var(--ui-button-active-color)
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background-color: var(--ui-state-active-background-color) !important;
    border-color: var(--ui-state-active-border-color) !important;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border-color: var(--ui-widget-header-border-color);
}

.ui-tabs-panel pre {
    border: none;   
}

.ui-state-active {
    background: #6666ff !important;
}



blockquote {
    border-left: 5px solid lightgray;
    margin-left: 0;
    padding-left: 20px;
    padding-top: 10px;
}

pre.prettyprint {
    border: 1px solid #eee !important;
    padding: 10px !important;
    white-space: pre-wrap;
}

.ui-tabs .ui-tabs-panel {
    padding: 0;
}

code {
    font-family: 'Monosten', monospace !important;
}

pre code {
    font-size: var(--font-size-text);
}


.inheritance > div, .implements > div {
    font-size: var(--font-size-text);
}

.inheritance > div:not(.level0):before {
    font-family: 'SegoeMDL2';
    margin-right: 5px;
    content: '\E09C';
    font-size: 70%;
}

.codewrapper pre code {
    white-space: pre-wrap !important;   
}

.content-img {
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: lightgrey solid 1px;
    border-radius: 3px;
    box-sizing: content-box;
}

/* This is to compensate for the fixed header */
.anchor::before, h2::before, h3::before, h4::before {
    content: "";
    display: block;
    height: 120px; 
    margin: -120px 0 0;
}
.anchor.fullscreen::before {
    height: 60px
}


/* This is to override branding.css for the PostSHarp doc */

h1, h3, h4, .subheading {
    color: var(--text-color);
}

span.code, span.command {
    background-color: var(--code-background-color);
    color: var(--text-color);
}

span.selflink {
    color: var(--text-color);
}

div.alert td,  div.alert th  {
    background-color: var(--postsharp-note-background-color);
}

span.literal, span.literalValue {
    color: var(--text-color);
    font-family: 'Monosten', monospace !important;
}

div.alert th img {
    display: none;
}

.diag-Warning {
    text-decoration: underline 1px wavy orange;
    text-decoration-skip-ink: none;
}

.diag-Error {
    text-decoration: underline 1px wavy red;
    text-decoration-skip-ink: none;
}

.diagLines {
    display: block;
    margin-bottom: -10px;
    margin-left: 40px;
    max-width: 90%;
}

.diagLine-Warning {
    background-color: var(--warning-background-color);
    color: white;
}

.diagLine-Error {
    background-color: darkred;
    color: white;
}

.diagLine-Error, .diagLine-Warning {
    white-space: break-spaces;
    display: inline-block;
    font-family: "Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
    padding: 5px;
    border-radius: 2px;
    margin-top: 5px;
}

.lm_header .lm_tabs {
    position: unset !important;

}
    .lm_header .lm_tab {
    box-shadow: none !important;
    background: var(--tab-header-inactive-background) !important;
    padding-top: 4px !important;
    padding-bottom: 7px !important;
    font-size: var(--font-size-text) !important;
    padding-bottom: 10px !important;
    height: 1em !important;
}

    .lm_header .lm_tab.lm_active {
        background: var(--tab-header-active-background) !important;
        color: var(--tab-header-active-color) !important;
    }

.lm_root > div > .lm_item:nth-child(1) li.lm_maximise, .lm_root > div > .lm_item:nth-child(1) li.lm_popout {
    display: none;
}

.lm_content {
    overflow: scroll;
    background-color: var(--background-color) !important;
    border: none !important;
}

.lm_tab:hover, .lm_tab.lm_active {
    background-color: var(--background-color) !important;
}

.lm_item_container {
    padding-top: 4px;
}

.lm_goldenlayout {
    background: var(--body-background-color) !important;
}

div.project-buttons {
    text-align: right;
    margin-bottom: 40px;
}
    
    div.project-buttons a.github {
        color: green;
    }
     
    div.project-buttons a.sandbox {
        color: white !important;
        background-color: green;
        padding: 5px 10px;
        margin-left: 10px;
    }

    div.project-buttons a.sandbox:after {
        content: '\2B9E';
        margin-left: 10px;
    }
    
.noGoldenLayout {
    overflow: scroll;
}
.noGoldenLayout #golden-layout-container, .noGoldenLayout #layout-buttons, .noGoldenLayout div.project-buttons a.sandbox, .noGoldenLayout #sandbox {
    display: none;
}

.noGoldenLayout #horizontal-container {
    display: flex;
}

code .line-number {
    display: inline-block;
    background-color: var(--code-background-color) !important;
    color: var(--code-line-number-color);
    width: 2em;
    padding-right: 15px;
    text-align: right;
    user-select: none;
}

.diff-Imaginary {
    display: none;
}

.compare {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    gap: 10px;
}

    .compare .left, .compare .right {
        flex: 1 1 50%;
        display: flex;
        flex-direction: column;
        max-width: 50%;
    }

.compare .left pre
{
    background-color: red;
    scrollbar-width: none;
    
}

    .compare .diff-Imaginary {
        display: block;
        background-image: repeating-linear-gradient( -45deg, var(--background-color), var(--background-color) 2px, transparent 2px, transparent 8px );
    }

   
.compare .diff-Modified {
    background-color: var(--modified-code-background-color) !important;
    margin-left: -15px;
    margin-right: -10px;
}

.compare .compare-header {
    flex: 0 0;
    font-weight: bold;
}

    .compare pre {
        flex: 1 0;
        padding: 0;
        background-color: var(--code-background-color);
        white-space: pre-wrap !important;
    }

    .compare code {
        padding: 0;
        min-height: 100%;
        overflow: auto;
    }

.tabGroup .compare {
    margin-bottom: 0;
    margin-top: -5px;
}

.ui-tabs-panel .compare {
    margin: 0;
}

.ui-tabs-panel .compare .compare-header {
    margin: 10px 30px;
}

.compare-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

.compare-container .sample-links {
    margin-top: 0;
    margin-bottom: 5px;
}

.compare-container .compare {
    margin-top: 0;
    margin-bottom: 0;
}

div.fullscreen.compare-container .compare {
    max-width: 100%;
}

.code-container .sample-links {
    margin-top: 0;
    margin-bottom: 5px;
}

.code-container pre {
    margin-top: 0;
}

.single-file code { padding: 5px;}

#search-panel {
    padding: 20px;
}

#searchBox form {
    display: flex;

}

#searchBox form input {
flex: 1 1 80%;
}

#searchResults ol {
    list-style-type: none;
    padding: 0;
}

#searchResults li {
    margin-bottom: 10px;
}

#searchResults .hit-text {
    opacity: 50%;
    font-size: var(--font-size-text);
}

body.wait {
    cursor: wait !important;
}

    body.wait a {
        cursor: wait !important;
    }


a[href*="/videos/"]::before {
    content: "▶️";
    display: inline-block;
    width: 10px;
    height: 10px;
    color: green;
    margin-right: 10px;
}

.lazy-loaded-placeholder {
    text-align: center;
    margin-top: 40px;
}

.indexPage {
    text-align: center;
    margin-top: 120px;
    background-color: #250d45;
}

.indexPage a {
    color: white !important;
}


.indexPage .collections {
    display: flex;
    justify-content: center; 
    align-items: center; 
    
}

.indexPage .collections div {
    background-color: #130722;
    padding-top: 10px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 40px;
    margin: 40px;
}

.indexPage .collections div:hover {
    transform: scale(1.05);
    transition: 0.4s;
}


.indexPage .collections img {
    width: 400px;
}

/* Full screen */
div.fullscreen {
    position: fixed; 
    top: 0;         
    left: 0;       
    right: 0;   
    bottom: 0;
    z-index: 9999;
    background-color: var(--body-background-color);
    padding: 40px;
    overflow-y: scroll;
    max-width: 100vw !important;
    max-height: 100vh !important;
    margin-left: 0;
    margin-right: 0;
}

div.fullscreen a.try, div.fullscreen .separator, div.fullscreen .github {
    display: none;
}

.fullscreen pre code, .fullscreen  pre.program-output {
    max-height: unset;
}

div.fullscreen .tabGroup {
    margin-bottom: 0;
}

@media all and (display-mode: standalone ), all and (display-mode: minimal-ui ) {
    #siteHeader, #focusButton {
        display: none !important;
    }
}