
.graph-header {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 19px;
    color: #4A4A4A;
    margin: 20px 20px 0;
}

.graph-header-image {
    display: none;
}

.graph-container {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}


text.barLabel {
    font-size: 20px;
    fill: white;
}

.barLabelSmall {
    font-size: 14px;
    fill: white;
}

.genderBar {
    position: relative;
    text-align: center;
    vertical-align: middle;
    padding-right: 10px;
}

.graphTextHeading {
    font-family: HelsinginTextBold, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    fill: #4A4A4A;
}

.graphText {
    font-family: HelsinginTextRegular, Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 17px;
    fill: #909090;
}

.totalTaxContribution {
    fill: #D8D8D8;
}

.verokoneTaxContribution {
    fill: #4E6F9B;
}

.top1000TaxContribution {
    fill: #84C5C3;
}

#summary {
    padding: 30px;
}

#mapGraph-container {
    padding: 35px 12px 0 24px;
    max-width: 300px;
}

#mapGraph .map-legend-label {
    font-size: 11px;
    fill: #4A4A4A
}

#genderGraph-container {
    padding: 35px;
    max-width: 300px;
}

#ageGroupGraph-container {
    padding: 35px;
    max-width: 300px;
}

#taxRatioGraph-container {
    padding: 35px;
}

#genderGraph .graph-legend {
    font-size: 12px;
}

.gender-graph-bar-percent {
    font-family: HelsinginTextBold, Helvetica, Arial, sans-serif;
    fill: white;
}

.graph-legend {
    fill: #909090;
}

#ageGroupGraph .tick text {
    fill: #4A4A4A;
    font-size: 12px;
}

#ageGroupGraph .axis--x path, #taxRatioGraph .axis path.domain {
    visibility: hidden;
}

@media (max-width: 350px) {
    #taxRatioGraph-graph text, #taxRatioGraph .x-legend {
        font-size: 10px !important;
    }

    #taxContributionGraph text {
        font-size: 8px !important;
    }
}

#taxRatioGraph g.y.axis .tick text {
    font-family: HelsinginTextBold, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
}

#taxRatioGraph-graph text, #taxRatioGraph .x-legend {
    font-size: 12px;
}

#taxContributionGraph-container {
    width: 75%;
    padding: 35px;
}

#taxContributionGraph text {
    font-size: 12px;
}

#incomeDistributionGraph-container {
    padding: 20px;
    max-width: 267px;
}

#incomeDistributionGraph-container .svg-container {
    padding-bottom: 250%;
}

.incomeDistributionGraph-line {
    stroke-width: .333; /* minimum working for Safari */
    stroke: black;
    opacity: .1;
}

#incomeDistributionGraph .rank-label, #incomeDistributionGraph .right-label {
    font-size: 12px;
    fill: #909090;
}

#incomeDistributionGraph .right-label-tick {
    stroke-width: 1;
    stroke: #84C5C3;
}

#incomeDistributionGraph .median-line {
    stroke-width: 1;
    stroke: #4E6F9B;
}

#summaryPeople {
    font-family: HelsinginTextBold, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 40px;
    color: #4A4A4A;
    float: left;
    margin: 50px 70px;
}

#summaryInfo {
    overflow: hidden;
    min-width: 300px;
}

.summary-text {
    font-family: HelsinginTextLight, HelsinginTextRegular, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 18px;
    color: #4A4A4A;
    margin-top: 12px;
}

#percentOfPopulation {
    font-family: HelsinginTextBold, Helvetica, Arial, sans-serif;
    font-weight: bold;
}
/*SMALL VIEW*/
@media (max-width: 920px) {

    .graph-header {
        background-color: rgb(247, 248, 249);
        padding: 12px 13px;
        margin: 0 -13px;
        border-bottom: 4px solid white;
        cursor: pointer;
    }
    .graph-header-text {
        display: inline-block;
        width: calc(100% - 36px);
    }
    .graph-header-image {
        display: inline-block;
        width: 30px;
    }
    .graph-header-image img {
        width: 100%;
    }

    .graph-header-image img.rotate {
        -ms-transform: rotate(180deg); /* IE 9 */
        -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
        transform: rotate(180deg);
    }

    .graph-container {
        display: none;
    }

    #taxContributionGraph-container {
        width: 100%;
        max-width: 500px;
    }


    #incomeDistributionGraph-container .svg-container {
        padding-bottom: 150%;
    }
}

/*SMALL VIEW*/
@media (max-width: 640px) {

    svg .not-fro-below-600 {
        visibility: hidden;
    }
}

.widget, .widget .graph-header {
    padding: 5px 15px;
    background-color: #fff;
}

.widget .content {
    padding: 0;
}

.widget .graph-header-image {
    display: none;
}

.widget .graph-container {
    display: block;
}
