removing unneeded styles from css