* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.chart {
    position: relative;
    width: 100%;
    margin-top: 30px;
}
.page_actions{
    display: none !important;
}
#nextlink, #prelink {
    display: none;
}
@media(max-width: 480px){
    .chart {
        width: 200%;
    }
    .chartWrapper{
        overflow-x: auto;
        padding-bottom: 15px;
    } 
}

.filter {
    display: flex;
}

ul li {
    list-style: none;
}

.indicator-filter, .year-filter {
    position: relative;
}

.indicator-toggle, .year-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 15px;
    border: 1px solid lightgray;
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 600;
    background-color: white;
}
.indicator-toggle i, .year-toggle i {
    color: gray;
}
.indicator-toggle:hover, .year-toggle:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.indicator-filter {
    width: 50%;
    margin-right: 15px;
}
.indicator-filter .content {
    visibility: hidden;
    max-height: 0;
    border: 1px solid lightgray;
    border-top: none;
    overflow-y: hidden;
    transition: 500ms;
    position: absolute;
    top: 60px;
    width: 100%;
    background-color: white;
    z-index: 5;
}
.indicator-filter:hover .content {
    max-height: 1000px;
    visibility: visible;
}
.dataset {
    width: 100%;
}
.dataset .data {
    display: none;
}
.dataset.show .data {
    display: block;
    background-color: white;
    padding: 0 15px 0 30px;
}
.dataset-toggle {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid lightgray;
    width: 100%;
    background-color: rgb(240, 240, 240);
    color: gray;
    font-size: 14px;
    font-weight: 600;
}
.dataset-toggle:hover {
    text-decoration: none;
    color: black;
}
.dataset.show .dataset-toggle {
    background-color: white;
    border-bottom: none;
    color: black;
}
.dataset .data li {
    font-size: 14px;
}
.dataset .data label {
    margin-left: 10px;
}

.year-filter {
    width: 20%;
}
.year-filter .content {
    visibility: hidden;
    max-height: 0;
    overflow-y: hidden;
    transition: 500ms;
    border: 1px solid lightgray;
    border-top: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 5;
}
.year-filter:hover .content {
    visibility: visible;
    max-height: 400px;
}
.year-filter .content li {
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid lightgray;
    cursor: pointer;
}
.year-filter .content li.selected {
    background-color: rgb(240, 240, 240);
}

.actions {
    margin-top: 30px;
}
#link {
    display: none;
}
.actions button {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 5px 7.5px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: white;
    outline: none;
    border-radius: 10px;
    margin-left: 10px;
}
.actions button:hover {
    background-color: var(--primary-color);
    color: white;
}
@media(max-width: 768px){
    .filter {
        flex-direction: column;
    }
    .indicator-filter {
        width: 100%;
    }
    .year-filter {
        width: 60%;
    }
    .indicator-toggle {
        margin-bottom: 15px;
    }
    .indicator-toggle, .year-toggle {
        height: 40px;
    }
    .indicator-filter .content, .year-filter .content {
        top: 40px;
    }
}

@media(max-width: 480px){
    .actions button {
        font-size: 12px;
        padding: 3px 5px;
    }
}