.c3 {
    font-family: inherit;
}

.c3-circle {
    opacity: 1 !important;
}

.c3-tooltip-container {
    z-index: 3;
}

path.domain,
path.range {
    opacity: 0;
}

.c3-axis-y-label,
.c3-axis-y2-label {
    font-family: "nexa-regular", sans-serif;
}

.c3 .c3-grid line {
    stroke: #bbb;
    stroke-dasharray: 0;
}

.c3 .tick line {
    opacity: 0;
}

.c3 .tick tspan {
    font-family: roboto, sans-serif;
    font-weight: 100;
    font-size: 11px;
}

.c3-tooltip td {
    border-left: none;
}

.c3-tooltip tr {
    border: none;
}

.c3 .c3-tooltip {
    opacity: 1;
}

.c3-tooltip td.name span {
    border-radius: 50%;
}

.c3-tooltip td.name {
    padding-left: 16px;
    text-align: left;
}

.c3-tooltip td.value {
    padding-right: 16px;
}

.c3-tooltip td {
    opacity: 1;
    font-family: roboto, sans-serif;
    font-size: 16px;
}

.c3-tooltip tbody > tr:last-child td {
    padding-bottom: 16px;
}

/* CROPPING */
.cropping .c3-axis-y-label,
.cropping .c3-axis-y2-label {
    fill: #677c44;
    font-size: 13px;
}

.cropping .c3-tooltip th {
    background: white;
    color: #677c44;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 10px 10px 16px;
}

/* LIVESTOCK #357A80 */

.livestock .c3-axis-y-label,
.livestock .c3-axis-y2-label {
    fill: #a16828;
    font-size: 13px;
}

.livestock .c3-tooltip th {
    background: white;
    color: #a16828;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 10px 10px 16px;
}

/* HORTICULTURE */

.horticulture .c3-axis-y-label,
.horticulture .c3-axis-y2-label {
    fill: #ab292c;
    font-size: 13px;
}

.horticulture .c3-tooltip th {
    background: white;
    color: #ab292c;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 10px 10px 16px;
}

/* WINE GRAPES */

.wine-grapes .c3-axis-y-label,
.wine-grapes .c3-axis-y2-label {
    fill: #953661;
    font-size: 13px;
}

.wine-grapes .c3-tooltip th {
    background: white;
    color: #953661;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 10px 10px 16px;
}

/* Hunting & Fishing */

.theme-hunting-and-fishing .c3-axis-y-label,
.theme-hunting-and-fishing .c3-axis-y2-label {
    fill: #1b5680;
    font-size: 13px;
}

.theme-hunting-and-fishing .c3-tooltip th {
    background: white;
    color: #1b5680;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 10px 10px 16px;
}

/* FISHERIES #357A80 */

.fisheries .c3-axis-y-label,
.fisheries .c3-axis-y2-label {
    fill: #357a80;
    font-size: 13px;
}

.fisheries .c3-tooltip th {
    background: white;
    color: #357a80;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 10px 10px 16px;
}

/* FORESTRY #148064 */

.forestry .c3-axis-y-label,
.forestry .c3-axis-y2-label {
    fill: #148064;
    font-size: 13px;
}

.forestry .c3-tooltip th {
    background: white;
    color: #148064;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 10px 10px 16px;
}

/* MAIN #357A80 */

.theme-main .c3-axis-y-label,
.theme-main .c3-axis-y2-label {
    fill: #1c355e;
    font-size: 13px;
}

.theme-main .c3-tooltip th {
    background: white;
    color: #1c355e;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 10px 10px 16px;
}

/* Random custom things */

#regulated-river-water-allocations-4-126-ab .c3-line {
    stroke-dasharray: 3, 1;
}

.c3-target-China-Price-Parity--RHS- {
    stroke-dasharray: 3, 1;
}

.c3-shapes-Export-Average-Value {
    stroke-dasharray: 3, 1;
}

.c3-shapes-Import-Average-Value {
    stroke-dasharray: 3, 1;
}

.c3-target-Avg--Monthly-Export-Vol---RHS- {
    stroke-dasharray: 3, 1;
}

.c3-target-10-year-average {
    stroke-dasharray: 3, 1;
}

.c3-target-Average----tonne-,
.c3-target-Red-Wine-average,
.c3-target-White-Wine-average,
.c3-line-Average-Production {
    stroke-dasharray: 3, 1;
}

.c3-target-5-year-average-price {
    stroke-dasharray: 3, 1;
}

.c3-target-2003-to-2007,
.c3-target-2008-to-2012,
.c3-target-2013-to-2017,
.c3-target-2018-to-2022,
.c3-target-All-Wool,
.c3-target-Combined-Cotton---Rice-Production--RHS- {
    stroke-dasharray: 3, 1;
}

.c3-target-Lamb-10-year-average--LHS-,
.c3-target-Mutton-10-year-average--RHS- {
    stroke-dasharray: 3, 2;
}

.c3-target-NMI-10-year-average,
.c3-target-ESTLI-10-year-average {
    stroke-dasharray: 1, 1;
}

#legend-mutton-10-year-average.nsw-mutton-and-lamb-slaughter-000-head-5-legend,
#legend-lamb-10-year-average.nsw-mutton-and-lamb-slaughter-000-head-5-legend {
    display: none !important;
}

.c3-target-Average-discount-heavy-steer-to-restocker-steer {
    stroke-dasharray: 3, 1;
}

.c3-line {
    stroke-width: 2px;
}

#pdi-main .c3-area {
    opacity: 1;
}

/* transparent-area */

#pdi-main .transparent-area .c3-area {
    opacity: 0.5;
}

.c3-tooltip-container {
    max-width: 250px;
}
