html {
    padding: 0px;
}

body {
    font-family: -apple-system,BlinkMacSystemFont,Inter,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    font-size: 9pt;
    background-color: #f1f2f4;
    padding: 0px 10px 0px 0px;
    margin: 0px auto;
}

* {
    cursor: default;
    user-select: none;
}

a {
    cursor: pointer;
}

a:link {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}

/*------------------------------------------------------------*/
/*                        Page Header                         */
/*------------------------------------------------------------*/

div.header-bar {
    background-color: #2e2e2e;
    width: calc(100% - 10px);
    display: inline-block;
    margin: 0px 10px 0px 10px;
    padding: 10px;
    margin-bottom: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-sizing: border-box;
}

div.header-bar h1 {
    font-size: 14pt;
    margin: 0px;
    padding: 0px;
    font-weight: normal;
    color: #f1f2f4;
}

/*------------------------------------------------------------*/
/*                        Panel Design                        */
/*------------------------------------------------------------*/

div.panel {
    background-color: #2e2e2e;
    border-radius: 7px;
    display: inline-block;
    padding: 6px;
    margin-bottom: 5px;
    box-sizing: border-box;
    float:left;
    margin-left: 10px;
    margin-bottom: 10px;
}

div.panel-title {
    padding: 5px 0px 0px 5px;
    margin-bottom: -5px;
}

div.panel-title h2 {
    font-size: 12pt;
    font-weight: normal;
    color: white;
    margin: 0px 0px 5px;
    padding:0;
}


div.panel-contents {
    width: 350px;
    clear: right;
    padding: 2px;
    background-color: #f1f2f4;
    border-radius: 5px;
}

div.panel-contents > table {
    width: 346px;
    border-collapse: separate;
    border-spacing: 0px;
    background-color: #f1f2f4;
    margin: 2px;
}


/*------------------------------------------------------------*/
/*                         Panel Tabs                         */
/*------------------------------------------------------------*/

/* Let the panel tabs overlap the panel title area upward */
div.panel-tabs {
    margin-top: -25px;
    padding-bottom: 5px;
    padding-right: 10px;
}

/* Float the panel tabs starting from the right and give them rounded corners */
div.panel-tab, div.panel-switch {
    position:relative;
    display: inline-block;
    float: right;
    color: white;
    margin: 0px;
    color: #adde6b;
    font-weight: bold;
    padding: 5px 8px;
    padding-bottom: 5px;
    font-size: 0.95em;
}

/* Color the inactive tab links green */
div.panel-tab:not(.active) a:hover {
    color: #f1f2f4;
}

/* Set the active tab's background to white */
div.panel-tab.active {
    background-color: #f1f2f4;
    color: #2e2e2e;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: 1px solid #f1f2f4;
    margin-bottom: -1px;
}

div.panel-tab.active div.left-corner.inner {
    width: 6px;
    height: 6px;
    background-color: #2e2e2e;
    position: absolute;
    left: -1px;
    bottom: 0px;
    border-bottom-right-radius: 5px;
}

div.panel-tab.active div.left-corner.outer {
    width: 5px;
    height: 5px;
    background-color: #f1f2f4;
    position: absolute;
    left: -5px;
    bottom: 0px;
}

div.panel-tab.active div.right-corner.inner {
    width: 6px;
    height: 6px;
    background-color: #2e2e2e;
    position: absolute;
    left: 0px;
    bottom: 0px;
    border-bottom-left-radius: 5px;
}

div.panel-tab.active div.right-corner.outer {
    width: 5px;
    height: 5px;
    background-color: #f1f2f4;
    position: absolute;
    right: -5px;
    bottom: 0px;
}

/*------------------------------------------------------------*/
/*                 Panel Contents: main table                 */
/*------------------------------------------------------------*/

div.panel-contents > table > thead > tr > td:last-child {
    width: 40px;
    text-align: right;
}

div.panel-contents > table > tbody > tr > td:not(:first-child):last-child {
    width: 40px;
    text-align: right;
}

div.panel-contents > table > thead > tr > td:nth-last-child(2) {
    width: 40px;
    text-align: right;
}

div.panel-contents > table > tbody > tr > td:nth-last-child(2) {
    width: 40px;
    text-align: right;
}

div.panel-contents > table > thead > tr > td {
    background-color: #cde9a7;
    text-align: left;
    font-weight: bold;
    padding: 5px;
}

div.panel-contents > table > thead > tr > td:first-child {
    border-top-left-radius: 3px;
}

div.panel-contents > table > thead > tr > td:last-child {
    border-top-right-radius: 3px;
}

table > tbody > tr:last-child > td:first-child {
    border-bottom-left-radius: 3px;
}

table > tbody > tr:last-child > td:last-child {
    border-bottom-right-radius: 3px;
}

table.with-details > tbody > tr:nth-last-child(2) > td:first-child {
    border-bottom-left-radius: 3px;
}

table.with-details > tbody > tr:nth-last-child(2) > td:last-child {
    border-bottom-right-radius: 3px;
}

th, td {
    padding: 2px 5px;
}


/*------------------------------------------------------------*/
/*                Panel Contents: inner tables                */
/*------------------------------------------------------------*/

table.details-table {
    margin: -2px -5px;
    width: 346px;
}

table.details-table td:last-child {
    width: 40px;
    text-align: right;
}

table.details-table td:nth-last-child(2) {
    width: 40px;
    text-align: right;
}

table.details-table td {
    padding: 2px 5px;
}

table.details-table td:first-child {
    padding-left: 15px;
}


/*------------------------------------------------------------*/
/*                  Main table: row coloring                  */
/*------------------------------------------------------------*/

table.nodetails > tbody > tr:nth-child(2n) > td {
    background-color: white;
}

div.panel-contents > table:not(.chart-container) > tbody > tr:not(.details-row):not(.opened):hover > td {
    background-color: rgba(173, 222, 107, 0.15);
}

table.with-details > tbody > tr:nth-child(4n - 1) > td {
    background-color: white;
}

table.with-details > tbody > tr > td:first-child {
    cursor:pointer;
}

table.with-details > tbody > tr > td > table {
    margin-right: -5px;
    margin-left: -5px;
    border-collapse: separate;
    border-spacing: 0px;
}

/*------------------------------------------------------------*/
/*                 Inner tables: row coloring                 */
/*------------------------------------------------------------*/

table.details-table {
    /*color: #444;*/
}

table.details-table > tbody > tr:nth-child(2n-1) {
    background-color: #e6f4d3; /* Very light green */
}

table.details-table tbody > tr:nth-child(2n) {
    background-color: #def0c6; /* A little darker green */
}

table.details-table > tbody > tr:first-child > td{
    border-top: 1px solid #cde9a7;
    box-shadow: inset 0px 3px 3px rgba(205, 233, 167, 0.5);
}

table.details-table > tbody > tr:last-child > td {
    box-shadow: inset 0px -3px 3px rgba(205, 233, 167, 0.5);
}




/*------------------------------------------------------------*/
/*                           Charts                           */
/*------------------------------------------------------------*/

div.chart {
    width: 346px;
    height: 300px;
    box-sizing: border-box;
    margin: -2px -5px -2px -5px;  /* Compensate for the container element's padding */
    padding: 0px;
    position: relative;           /* To allow child elements to be positioned relative to this */
}

div.chart-element {
    display: inline-block;
    margin: 0px;
    padding: 0px;
    float: left;
    position: absolute;
    bottom: 0;
}

div.chart-element.light {
    border-top: 2px solid #f1f2f4;
    background-color: #adde6b;
    border-left: 1px solid rgba(255,255,255, 0.25);
    box-sizing: border-box;
}

div.chart-element.dark {
    background-color: #779e52;
    box-shadow: inset 2px 2px 0px rgba(0,0,0,0.15);
}

div.chart-element.light:last-child {
    background: url(/assets/hatching-light.svg);
    background-size: 4px 4px;
    background-repeat: repeat;
    background-color: #adde6b;
}

div.chart-element.dark:nth-last-child(2) {
    background: url(/assets/hatching-light.svg);
    background-size: 4px 4px;
    background-repeat: repeat;
    background-color: #779e52;
}

div.chart-gridline-horizontal {
    position: absolute;
    border-top: 1px dotted #ccc;
    width: 348px;
    margin: 0px;
    padding: 0px;
}

div.chart-y-tick {
    position: absolute;
    padding: 0px 2px;
    margin: 0px;
    left: 0px;
    background-color: rgba(241,242,244,0.5);
    color: #2e2e2e;
    border-bottom-right-radius: 3px;
}

div.chart-x-tick {
    position: absolute;
    top: 0px;
    padding: 0px 2px 1px;
    margin: 0px;
    background-color: rgba(241,242,244,0.5);
    color: #2e2e2e;
}

div.chart-marker-bar {
    background: url(/assets/hatching.svg);
    background-size: 4px 4px;
    background-repeat: repeat;
    position: absolute;
    height: 300px;
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    /*background-color: rgba(100, 100, 100, 0.15);*/
}

div.chart-hover-bar {
    position: absolute;
    height: 300px;
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    cursor: default;
}

div.chart-hover-bar:hover, div.chart-hover-bar.hover {
    background-color: rgba(173, 222, 107, 0.15);
}

div.chart-tooltip {
    position: absolute;
    width: 110px;
    cursor: normal;
    font-size: 0.95em;
    height: 60px;
    box-sizing: border-box;
    background-color: rgba(42, 42, 42, 0.85);
    color: white;
    padding: 2px 5px;
    border-top: 2px solid #adde6b;
    border-radius: 3px;
}

div.chart-tooltip * {
    cursor: default;
}

div.chart-tooltip > table {
    border-collapse: collapse;
    width: 100%;
}

div.chart-tooltip > table tr td {
    padding: 2px;
}

div.chart-tooltip > table tr:first-child td:first-child {
    text-align: center;
    border-bottom: 1px solid  rgba(173, 222, 107, 0.30);
    font-weight: bold;
}

div.chart-tooltip > table tr td:last-child {
    text-align: right;
    font-weight: bold;
}

span.dimmed {
    opacity: 0.5;
}

div.chart-marker-line {
    height: 300px;
    width: 0px;
    padding: 0px;
    border-left: 1px dotted #888;
    position: absolute;
}

/*------------------------------------------------------------*/
/*                    Chart border radius                     */
/*------------------------------------------------------------*/

div.chart-element:first-child {
    border-bottom-left-radius: 5px;
}

div.chart-element:nth-child(2) {
    border-bottom-left-radius: 3px;
    border-left: none;
}

div.chart-element:last-child {
    border-bottom-right-radius: 3px;
}

div.chart-element:nth-last-child(2) {
    border-bottom-right-radius: 5px;
}

div.slider-track {
    display: inline-block;
    width: 25px;
    height: 10px;
    border-radius: 5px;
    background-color: #666;
    position: relative;
    margin: 0px 4px;
    cursor: pointer;
    top: 1px;
    -webkit-tap-highlight-color: transparent;
}

div.panel-switch {
    color: #f1f2f4;
}

span.switch-label.on {
    color: #adde6b;
}

div.slider-control {
    width: 8px;
    height: 8px;
    border-radius: 5px;
    background-color: #adde6b;
    position:absolute;
    left: 1px;
    top: 1px;
    cursor: pointer;
    transition: all 0.1s ease-in;
}

div.slider-track.on div.slider-control {
    left: 15px;
}


.hidden {
    display: none;
}

div.footer {
    color: #ccc;
    font-style: italic;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
    position:
}

/*------------------------------------------------------------*/
/*                Fitting for desktop devices                 */
/*------------------------------------------------------------*/


@media screen and (min-width: 782px) {
    div.panel-contents {
        height: 304px;
        overflow-y: scroll-y;
        overflow-x: hidden;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    div.panel-contents::-webkit-scrollbar {
        display: none;
    }

    div.panel-contents::
}

@media screen and (max-width: 782px) {
    body {
        width: 386px;
        box-sizing: border-box;
    }
}

@media screen and (min-width: 782px) {
    body {
        width: 762px;
        box-sizing: border-box;
    }
}

@media screen and (min-width: 1158px) {
    body {
        width: 1138px;
    }
}

@media screen and (min-width: 1534px) {
    body {
        width: 1514px;
    }
}

/*------------------------------------------------------------*/
/*                      Dark Mode style                       */
/*------------------------------------------------------------*/

@media (prefers-color-scheme:dark) {
    body {
        background-color: #2e2e2e;
        color: #f1f2f4
    }

    div.header-bar {
        background-color: #3e3e3e;
    }

    div.panel {
        background-color: #3e3e3e;
    }

    div.panel-contents {
        background-color: #2e2e2e;
    }

    div.panel-tab.active {
        background-color: #2e2e2e;
        color: #f1f2f4;
    }

    div.panel-contents > table {
        background-color: #2e2e2e;
    }

    div.panel-contents > table > thead > tr > td {
       background-color: #779e52;
    }

    table.nodetails > tbody > tr:nth-child(2n) > td {
        background-color: #3e3e3e;
    }

    table.with-details > tbody > tr:nth-child(4n - 1) > td {
        background-color: #3e3e3e;
    }

    div.chart-y-tick {
        background-color: rgba(241,242,244,0.2);
        color: #f1f2f4;
    }

    div.chart-x-tick {
        background-color: rgba(241,242,244,0.2);
        color: #f1f2f4;
    }

    div.chart-marker-bar {
        background: url(/assets/hatching-light.svg);
        background-size: 4px 4px;
        background-repeat: repeat;
    }

    table.details-table > tbody > tr:nth-child(2n-1) {
        background-color: #4a4a4a; /* Very light green */
    }

    table.details-table tbody > tr:nth-child(2n) {
        background-color: #5a5a5a; /* A little darker green */
    }

    table.details-table > tbody > tr:first-child > td {
        border-top: none;
        box-shadow: inset 0px 2px 2px rgba(40, 40, 40, 0.2);
    }

    table.details-table > tbody > tr:last-child > td {
        box-shadow: inset 0px -2px 2px rgba(40, 40, 40, 0.2);
    }

    span.dimmed {
        color: #e1e1e1;
    }

    div.chart-element.light:last-child {
        background: url(/assets/hatching.svg);
        background-size: 4px 4px;
        background-repeat: repeat;
        background-color: #adde6b;
    }

    div.chart-element.dark:nth-last-child(2) {
        background: url(/assets/hatching.svg);
        background-size: 4px 4px;
        background-repeat: repeat;
        background-color: #779e52;
    }

    div.panel-tab.active div.left-corner.inner {
        background-color: #3a3a3a;
    }

    div.panel-tab.active div.right-corner.inner {
        background-color: #3a3a3a;
    }

    div.panel-tab.active div.left-corner.outer {
        background-color: #2a2a2a;
    }

    div.panel-tab.active div.right-corner.outer {
        background-color: #2a2a2a;
    }

}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
