Annual report pursuant to Section 13 and 15(d)

Derivative Instruments and Hedging Activities Commitments to Purchase Residential Mortgage Loans Held-for-Sale (Details)

v3.6.0.2
Derivative Instruments and Hedging Activities Commitments to Purchase Residential Mortgage Loans Held-for-Sale (Details) - USD ($)
$ in Thousands
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Derivative [Line Items]      
Derivative, Notional Amount $ 18,802,500 $ 21,998,381 $ 48,115,523
Loan Purchase Commitments [Member]      
Derivative [Line Items]      
Derivative, Notional Amount 0 286,120 $ 554,838
Derivative Financial Instruments, Assets [Member]      
Derivative [Line Items]      
Derivative, Notional Amount 21,708,907 21,735,997  
Derivative, Fair Value, Net 324,182 271,509  
Derivative Financial Instruments, Assets [Member] | Loan Purchase Commitments [Member]      
Derivative [Line Items]      
Derivative, Notional Amount 0 98,736  
Derivative, Fair Value, Net 0 77  
Derivative Financial Instruments, Liabilities [Member]      
Derivative [Line Items]      
Derivative, Notional Amount 3,543,593 1,362,384  
Derivative, Fair Value, Net (12,501) (7,285)  
Derivative Financial Instruments, Liabilities [Member] | Loan Purchase Commitments [Member]      
Derivative [Line Items]      
Derivative, Notional Amount 0 187,384  
Derivative, Fair Value, Net $ 0 $ (427)