Updated css styles.
Code refactor.