h3 {
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 5px;
}

table {
    border-top: 1px solid #000;
    margin: 0 0 20px;
}

thead {
    padding-top: 5px;
}

thead th {
    border-bottom: 1px solid #000;
    font-weight: bold;
    font-style: italic;
    line-height: 1.2;
    vertical-align: bottom;
    padding: 5px;
}

td,
th {
    text-align: center;
}

table td:first-child,
table th:first-child {
    text-align: left;
}

table td:first-child {
    white-space: nowrap;
    padding-left: 5px;
    font-weight: bold;
}

tbody td {
    border-bottom: 1px solid #000;
    padding: 8px 0;
    line-height: 1.3;
}

tbody td[colspan="6"] {
    border-top: 4px double #000;
    padding-left: 15px;
}

.vendor-title ~ table {
    width: 100%;
    font-size: 16px;
}

.vendor-title ~ table td:first-child {
    font-weight: normal;
}

.vendor-title ~ table td:last-child {
    text-align: right;
    vertical-align: bottom;
    font-weight: bold;
}


.vendor-title ~ table span {
    font-size: 12px;
    font-style: italic;
}

.vendor-title ~ table tr:last-child td {
    font-weight: bold;
}

table.chart th {
    position: relative;
    font-size: 10px;
    text-transform: uppercase;
}

table.chart th:not(:first-child),
table.chart td:not(:first-child) {
    text-align: right;
    padding-right: 5px;
}

table.anim td:nth-child(2):after,
table.anim td:nth-child(3):after,
table.anim td:nth-child(5):after,
table.anim td:nth-child(6):after {
    content: '%';
}


table.anim th:nth-child(2):before,
table.anim th:nth-child(3):before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    background: rgb(181, 195, 128);
    bottom: 7px;
    right: 35px;
}

table.anim th:nth-child(3):before {
    background: rgb(245, 131, 88);
}

table.chart td {
    vertical-align: middle;
}

table.anim td:first-child {
    width: 15%;
    word-wrap: break-word;
}

table.anim td:nth-child(2),
table.anim td:nth-child(3) {
    width: 10%;
}

table.anim td:nth-child(4) {
    width: 45%;
    position: relative;
}

table.anim td:nth-child(5),
table.anim td:nth-child(6) {
    width: 15%;
}

table.anim td:nth-child(4) span {
    height: 12px;
    position: absolute;
    bottom: 50%;
    left: 10px;
}

table.anim td:nth-child(4) span:last-child {
    top: 50%;
}

table.anim th:nth-child(3),
table.anim td:nth-child(3) {
    font-weight: bold;
}

.right,
.left {
    width: 40%;
    position: relative;
    display: inline-block;
}

.small {
    width: 35%;
    vertical-align: bottom;
}

div.chart {
    text-align: center;
}

.chart .left .label,
.chart .right .label {
    position: absolute;
    left: 40%;
    top: 50%;
    font-size: 22px;
}

.chart .right .label {
    font-size: 18px;
}

table.chart {
    width: 100%;
}

table.pie td:first-child {
    text-align: left;
}

table.pie .purple:before,
table.pie .yellow:before,
table.pie .green:before,
table.pie .orange:before,
table.pie .blue:before,
table.pie .cyan:before,
table.pie .average:before {
    content: '';
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: red;
    display: inline-block;
    margin-right: 5px;
}

table.pie .purple:before {
    background: #82698D;
}

table.pie .yellow:before {
    background: #FFDA16;
}

table.pie .green:before {
    background: #B5C380;
}

table.pie .orange:before {
    background: #F58358;
}

table.pie .blue:before {
    background: #3D679E;
}

table.pie .cyan:before  {
    background: #20AEC1;
}

table.pie td:nth-child(3),
table.pie th:nth-child(3) {
    font-weight: bold;
    font-style: normal;
}

table.pie .average:before {
    background: #000;
}

table.pie .average:after {
    content: '';
    height: 2px;
    background: #000;
    position: absolute;
    top: 48%;
    width: 17px;
    left: 0;
}

table.pie .average {
    position: relative;
}

table.chart th:nth-child(2) {
    font-weight: normal;
}

table.chart th:nth-child(2),
table.chart th:nth-child(3) {
    font-size: 12px;
}
