.highcharts-figure, .highcharts-data-table table {
    min-width: 360px;
    max-width: 800px;
    margin: 1em auto;
}

.highcharts-figure {
    min-height: 324px;
}

@media screen and (min-width: 1200px) {
    .chart-legend {
        min-width: 15rem;
    }
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #EBEBEB;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td, .highcharts-data-table th, .highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr, .highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

section.chart-container {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 1029;
    background-color: rgb(255, 255, 255);
    border-bottom: 1px #d9d9d9 solid;
}

section.chart-container.hidden {
    display: none;
    visibility: visible;
}

section.chart-container.navbar-short {
    top: 66px;
}

div.chart-container {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    padding-top: 3rem;
}

.highcharts-side {
    width: 100%;
    margin: 0 1.6rem;
}

.chart-legend {
    box-sizing: border-box;
    position: relative;
    margin: 0 1.6rem;
    width: 100%;
}

.chart-legend-ul {
    padding-left: 0;
    display: flex;
    align-content: stretch;
    flex-wrap: wrap;
    margin-block-start: 1em;
    margin-block-end: 1em;
}

.chart-legend-li {
    box-sizing: border-box;
    list-style: none;
    text-align: center;
    width: 50%;
    margin: 0 0 2.4rem;
}

.highcharts-subtitle {
    padding-left: 5.6em;
}

@media screen and (min-width: 768px) {
    .chart-legend-li {
        width: 33.333%;
        margin: 0 0 2.4rem;
    }
}

@media screen and (min-width: 1200px) {
    .highcharts-side {
        flex: 2 1 0;
        max-width: 44rem;
    }

    div.chart-container {
        flex-wrap: nowrap;
    }

    .chart-legend {
        width: 48rem;
        flex: 1 1 0;
    }

    .chart-legend-li {
        width: 50%;
        margin: 0 0 4rem;
    }
}

/* Nav Chart */

.nav-highcharts-container {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    height: 48px;
}

#highcharts-nav-chart {
    height: 50px;
    width: 100px;
    margin: 0 1.6rem;
}

.nav-chart-legend {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
    margin-right: 2rem;
}

.nav-chart-legend-item {
    display: flex;
}

.nav-chart-legend-title {
    display: flex;
    font-size: 11px;
    width: 3.5rem;
    text-transform: uppercase;
    line-height: 18px;
    color: #ffffFF;
}

.nav-chart-legend-title > span {
    display: none;
}

.nav-chart-legend-subtitle {
    display: flex;
    font-size: 14px;
    line-height: 20px;
    color: #ffffFF;
}

@media screen and (min-width: 1200px) {
    .nav-chart-legend {
        flex-direction: row;
        margin-right: 0;
    }

    .nav-chart-legend-item {
        flex-direction: column;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        margin-right: 1.5rem;
    }

    .nav-chart-legend-title {
        -webkit-box-pack: center;
        justify-content: center;
    }

    .nav-chart-legend-title > span {
        display: inline;
    }

    .nav-chart-legend-subtitle {
        -webkit-box-pack: center;
        justify-content: center;
    }
}

@media (max-width: 1099px) {
    .nav-highcharts-container {
        padding-right: 6rem;
        flex: 1 0 40%;
        justify-content: flex-end;
    }
    section.chart-container {
        top: 77px;
    }
}

@media (max-width: 550px) {
    .nav-highcharts-container {
        padding-right: 0;
        flex: 1 0 100%;
        justify-content: center;
    }
}