Refactoring. Moved styles from template to css file