
.tax-person-details {
    width: 100%;
    box-sizing: border-box;
    padding: 30px 70px;
}

.tax-person-img {
    width: 240px;
    margin-right: 55px;
    float: left;
}

.tax-person-details .tax-person-info {
    overflow: hidden;
    min-width: 240px;
    margin: 0 auto;
    max-width: 650px;
    font-size: 13px;
}

.gray-text {
    color: rgb(179, 179, 170);
}

.tax-person-details .tax-person-info table {
    border-spacing: 10px 2px;
}

#taxperson-years {
    margin: 80px 30px 100px;
}

#taxperson-years tr {
    height: 50px;
}

#taxperson-years .table-results .column {
    font-size: 13px;
}

#taxperson-stats {
    padding: 70px 20px;
    box-sizing: border-box;
}

#personRankGraph-container {
    margin-bottom: 60px;
}

#taxperson-stats .graph .domain {
    visibility: hidden;
}

#taxperson-stats .tick text {
    font-family: HelsinginTextLight, HelsinginTextRegular, Helvetica, Arial, sans-serif;
    font-weight: 300;
    fill: #909090;
    font-size: 10px;
}

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

#taxperson-stats .graph-scale {
    font-family: HelsinginTextLight, HelsinginTextRegular, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: #909090;
    margin-top: 6px;
}

#taxperson-stats #personIncomeGraph .hover-layer text {
    font-family: HelsinginTextLight, HelsinginTextRegular, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
}

#taxperson-stats .salary-income {
    fill: #4E6F9B;
}

#taxperson-stats .capital-income {
    fill: #DDDDDD
}

#taxperson-stats text .capital-income {
    fill: #ABABAB
}

#taxperson-stats .legend-text {
    font-family: HelsinginTextLight, HelsinginTextRegular, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    fill: #ABABAB
}

#personGraphs-container {
    max-width: 650px;
    margin: 0 auto;
    display: block;
}

#tax-person-mobile-info {
    font-style: italic;
    color: #4E6F9B;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 40px;
}


@media (max-width: 920px) {
    #taxperson-years .total-rank,
    #taxperson-years .salary-rank {
        display: none;
    }
}

/*MOBILE*/
@media (max-width: 560px) {

    .tax-person-details {
        padding: 20px 0 5px;
    }

    .tax-person-img {
        width: 150px;
        float: none;
    }

    #taxperson-stats {
        padding: 60px 15px;
    }

    #taxperson-stats .graph-header {
        font-family: HelsinginTextRegular, Helvetica, Arial, sans-serif;
        font-size: 17px;
    }

    #personGraphs-container g.axis--x g {
        visibility: hidden;
    }

    #personGraphs-container g.axis--x g:nth-child(3n+2) {
        visibility: visible;
    }

    #taxperson-years {
        margin: 50px 0 0;
    }

    #taxperson-years .title,
    #taxperson-years .capital-income,
    #taxperson-years .salary {
        display: none;
    }

}