updated styles for online and offline contacts