revised styles for text container