.caption{display:block;text-align:center;font-weight:700;height:40px}.legend{background:#f0f0f0;border-radius:4px;bottom:0;position:relative;text-align:left;width:100%;margin:0}.legend li{display:block;float:left;height:20px;margin:0;padding:10px 20px}.legend span.icon{background-position:50% 0;border-radius:2px;display:block;float:left;height:16px;margin:2px 10px 0 0;width:16px}.percentage{fill:#fff;font-size:16px;stroke:none;z-index:100}.pie0{fill:red;background-color:red}.pie1{fill:blue;background-color:blue}.pie2{fill:green;background-color:green}.pie3{fill:#ff0;background-color:#ff0}