/** LEGEND CSS **/

.menu-horizontal {
    width: 100%;
    display: flex;
    justify-content: center;
}

ul.menu-list {
    padding: 0;
    list-style-type: none;
}

.menu-horizontal .menu-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.menu-horizontal .menu-item,
.menu-horizontal .menu-heading,
.menu-horizontal .menu-separator {
    display: inline-block;
    *display: inline;
    zoom: 1;
    vertical-align: middle;
}

.menu-item .menu-item {
    display: block;
}

.menu-children {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    margin: 0;
    padding: 0;
    z-index: 3;
}

.menu-horizontal .menu-children {
    left: 0;
    top: auto;
    width: inherit;
}

.menu-allow-hover:hover>.menu-children,
.menu-active>.menu-children {
    display: block;
    position: absolute;
}

.menu-has-children>.menu-link:after {
    padding-left: .5em;
    content: "\25B8";
    font-size: small;
}

.menu-horizontal .menu-has-children>.menu-link:after {
    content: "\25BE";
}

.menu-scrollable {
    overflow-y: scroll;
    overflow-x: hidden;
}

.menu-scrollable .menu-list {
    display: block;
}

.menu-horizontal.menu-scrollable .menu-list {
    display: inline-block;
}

.menu-horizontal.menu-scrollable {
    white-space: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: .5em 0;
}

.menu-horizontal.menu-scrollable::-webkit-scrollbar {
    display: none;
}


.legend-group {
    display: inline-block;
    width: 100px;
}

#legend-list {
    overflow: hidden;
}

#legend-list li {
    cursor: pointer;
    margin-bottom: 3px;
    margin-left: 15px;

}

#legend-list li:hover {
    opacity: 0.6;
}

#legend-list li span {
    padding: 2px 4px;
    pointer-events: none;
}

.legend-square {
    display: inline-block;
    line-height: 13px;
}

line.connector {
    stroke: #000000;
    stroke-dasharray: 1;
}

/** TOOLTIP **/

.chart-tooltip-area {
    position: absolute;
    top: 0;
    /* top: 0;
    left: 0;
    right: 0; */
    margin: 0 auto;
    pointer-events: none;

}

.chart-tooltip-area .tooltip-box {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart-tooltip {
    position: absolute;
    display: inline-block;
    padding: 10px;
    color: #fff;
    background-color: #1d282c;
    box-shadow: 0 2px 6px 0px rgba(0, 0, 0, .5);
    border-radius: 2px;
    pointer-events: none;
    opacity: 0;
    z-index: 4;
}

.dark .chart-tooltip {
    color: #1d282c;
    background-color: #fff;
}

.chart-tooltip .waterfall-tooltip {
    font-size: 12px;
    word-wrap: break-word;
}

.axis.baseline {
    color: #888888;
    stroke-dasharray: 4;
}

.theme,
.theme .btn {
    fill: #1d282c;
    color: #1d282c;
}

.theme g.parameter-value text,
.theme g.tick line {
    fill: #1d282c;
}

.theme g.tick text {
    fill: #5c6668;
}


.dark .theme,
.dark .theme .btn {
    fill: #fff;
    color: #fff;
}

.dark .theme g.parameter-value,
.dark .theme g.tick line,
.dark .theme g g.mouse-over-effects g.mouse-per-line circle,
.dark .theme g g.mouse-over-effects path.mouse-line {
    stroke: #fff !important;
}

.dark .theme g.tick text {
    fill: #fff;
}