refactored flash's css