Scoped the css a bit better to fix a bug, should do this for most of these rules down the road.