#unBarplot, #unLineplot, #unSankey {
    position: relative;
}

/* All plots */
.tick text {
    font-size: 2em;
    font-family: "Poppins", sans-serif;
}
.domain {
    visibility: hidden;
}
.x .tick line {
    visibility: hidden
}

.y .tick:first-of-type text {
    font-size: 1.33em;
}

/* Tooltip */
.tooltip {
    position: absolute;
    top: 0;
    right: 0;
    text-align: left;
    padding: 10px;
    background: rgb(250, 250, 250);
    border: solid black 1px;
    border-radius: 2.5px;
    pointer-events: none;
}
.tooltip-text {
    font-family: "Nunito sans";
    font-size: 1.5em;
    margin: 0;
    font-weight: 300;
}
.tooltip-title {
    font-weight: 500;
    margin-bottom: 5px;
}
.tooltip-info {
    margin-bottom: 2.5px;
    margin-left: 10px;
}

/* Barplot */
.subtitle-button{
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.button {
    width: 100px;
    margin: 0;
    margin-bottom: auto;
    padding: 1px;
    cursor: pointer;
    font-size: 1.25em;
    font-family: "Nunito sans", sans-serif;
    border-radius: 5px;
}
.unstacker {
    background-color: rgb(15, 15, 15);
    color: white;
}
.stacker {
    background-color: rgb(240, 240, 240);
    color: black;
}

.axis-title {
    font-weight: normal;
    font-family: "Inter", sans-serif;
    text-anchor: "middle";
    font-size: 2.75em;
}
.stack-label {
    font-size: 1.75em;
    font-family: "Nunito sans", sans-serif;
    font-weight: 600;
}

/* Line plot */
.line-label {
    font-size: 1.75em;
    font-family: "Nunito sans", sans-serif;
    font-weight: 500;
}
.label {
    font-size: 2em;
    font-family: "Nunito sans", sans-serif
}
.label.thick {
    font-weight: 700;
}
.label.thin {
    font-weight: 200;
}
.invisible-note {
    visibility: hidden;
}

/* Sankey diagram */
#select-option-sankey {
    font-family: var(--plot-font);
    font-size: .9em;
    font-weight: 500;
    border-radius: 5px;
    padding: 0 5px;
    background-color: #ffffff;

}
#select-option-sankey:hover {
    background-color: #dddddd;
    cursor: pointer;
}
.node rect {
    /* fill-opacity: .9; */
    shape-rendering: crispEdges;
}
.node text {
    font-weight: normal;
    font-family: "Nunito sans", sans-serif;
}
.node-label {
    font-size: 1.5em;
    text-shadow: .5px .5px 0 #fff;
}
.value-label {
    font-size: 1.55em;
}

/* Tablet settings */
@media all and (min-width: 600px) {
    .button {
        width: 120px;
        font-size: 1.25em;
        padding: 1.5px;
    }
}
/* Desktop settings */
@media all and (min-width: 992px) {
    .button {
        width: 135px;
        font-size: 1.5em;
        padding: 2px;
    }
}