add radio definition and resources, and fix margins not being properly applied to input labels