The U.S. trade deficit widened sharply in July as record inflows of capital and other goods boosted imports, a trend that if sustained could see trade subtracting from gross domestic product in the third quarter. The trade gap ballooned 32.5% to $78.3 billion, the Commerce Department's Bureau of Economic Analysis said on Thursday.