Applies styles