moved the css for patch styling to cliet side, using java script for now.