styling for date fields