#chartContainer{ 
    width: 100%;
}
#svg_container .d3label {
    font-family: 'Baloo Thambi 2', cursive;
    font-weight: 700;
    font-size: 1em;
}

#svg_container .d3label--leaf {
    text-transform: capitalize;
    font-weight: 400;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: .5em;
    pointer-events: none;
}
#svg_container .d3label--leaf:hover{
    background: white;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background:white;
}

text {
    text-transform: capitalize;
    width: 100px;
}

.btn_container {
    display:inline-block;
    align-items: center;
    justify-content: center;
}

#chart_table_container, 
.d3btn_container {
    display: inline-block;
    font-family: 'Baloo Thambi 2', cursive;
    vertical-align: top;
    text-transform: capitalize;
    height: 21em;
    margin-top: 120px;
}
#chart_table_container{
    width: 24em;
    overflow-y: scroll;
    overflow-x: hidden;
    margin: 0;
}

#d3chart_table_data {
    color: black;
    font-size: .8em;
    width: 28em;
}
#d3chart_table_data_month {
    /* text-transform: uppercase; */
    color: white !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
#chart_table_container th {
    background: black;
    min-width: 90px;
    color:white;
    padding: 5px;
}
#chart_table_container td {
    min-width: 90px;
    border: 1px solid black;
    padding: 5px;
    max-width: 200px;
}

#d3ChartContainer {
    display:inline-block;
    width:100%;
    vertical-align:top;
    max-width: 500px;
}

.d3btn_month {
    width: 10em;
    border: none;
    font-family: 'Baloo Thambi 2', cursive;
    font-size: 1em;
    display: block;
    margin: .2em;
    padding: 0 .2em;
    outline: none;
    text-transform: capitalize;
    text-transform: uppercase;
    transition: background 0.5s ease;
    background: #d1e1e1;
    border: 1px solid black; 
    color: black;
}

.d3btn_month:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    background: black;
    color: white ;
}

.button-active {
    background: black !important;
    color: white !important;
}

.d3positivePercent {
    background: #9dd489;
}

.d3negativePercent {
    background: #f17f7b;
}
@media only screen and (max-width: 650px) {
    .d3btn_month {
        margin: .1em;
    }
    #chartContainer {
        font-size: 12px;
        width: 100%;
    }
    #d3ChartContainer {
        width: 100%;
    }
}