Add class for card type