:root {
    --theme-chart-background:#3d7284;
    --theme-chart-border:#3d7284;
    --theme-chart-red:#dd2121;
    --theme-chart-orange:#f47100;
    --theme-chart-yellow:#ffcc00;
    --theme-chart-green:#94c120;
    --theme-chart-advice-background: rgba(42,94,115,0.73);
    --theme-chart-gridlines: #488499;
    --theme-chart-darkerblue:#0f3444;
    --theme-chart-darkblue:#2a5e73;
    --theme-chart-empty:#2a5e73;
    --theme-chart-disabled:#cccccc;
    --theme-chart-gray:#488499;
    --theme-chart-STPA: rgba(255,255,255,0.8);
}

#advising {
    position: absolute;
    left: 0;
    width: 100%;
    font-family: 'Roboto';
}
#advisingCancel {
    height: 12vw;
    background-position: left;
    background-size: 5vw;
    width: 15vw;
    top: 0;
    left: 8px;
}
#advisingChartTooltip {
    position: absolute;
    z-index: 100;
    background-color: var(--theme-chart-darkblue);
    color: var(--theme-light-font-color);
    font-size: 1rem;
    line-height: 1.3em;
    font-weight: bold;
    padding: 0 !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
#advisingChartTooltip p {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.3em;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.advisingChartTooltipComposante,
.advisingChartTooltipGain {
    top: auto !important;
    right: 3rem !important;
    left: auto !important;
    bottom: 3rem !important;
    width: 10rem !important;
    /*height: 6rem !important;*/
}
#advisingChartTooltip .tooltipMore {
    position: absolute;
    bottom: 100%;
    background-color: var(--theme-chart-darkerblue);
    color: var(--theme-light-font-color);
    width: 20rem;
    left: -10rem;
    margin-bottom: 1rem;
}
#advisingChartTooltip .tooltipMore li {
    font-size: 1rem;
    line-height: 1.4em;
    padding: 0 1rem;
    margin: 0.5rem 0;
    /*text-align: center;*/
    white-space: pre-wrap;
    /*width: 20rem;*/
    box-sizing: border-box;
    font-weight: normal;
}

.advisingChart canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.advisingChart {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--theme-chart-background);
}
#debugSimFormula {
    background: transparent;
    color: black;
    font-family: monospace;
    font-weight: normal;
    text-align: left;
    font-size: 1.5rem;
    padding: 2rem;
    overflow: auto;
    display: block;
    margin-top: 0;
    margin-bottom: -8rem;
    flex-shrink: 1;
    z-index: 1;
    word-break: break-word;
}
#debugSimFormula:empty {
    display: none !important;
}

#debugSimFormula,
#debugSimFormula * {
    user-select: text;
}

.advisingChartClonedAxis {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events:none;
}

.advisingChartWrapper {
    overflow-x: auto;
    position: relative;
    width: 100%;
    height: 100%;
}

.advisingChartWrapper2 {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.good {
    color: var(--theme-chart-green);
}
.warning {
    color: var(--theme-chart-orange);
}

.securityToolTipValue {
    font-size: 1.5rem;
    font-weight: bold;
}

#advisingWindow.tabs-hidden {
    background-position-y: 46vh;
}
#advisingWindow.tabs-hidden #advising {
    top: var(--theme-topbar-height);
}
