changed style and coresponding html classes