css refactored for reuse