refactored css styles.