Annual report pursuant to Section 13 and 15(d)

Fair Value, Option, Quantitative Disclosures (Details)

v3.6.0.2
Fair Value, Option, Quantitative Disclosures (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) $ 64,826 $ 56,952 $ 59,957
Fair Value, Option, Credit Risk, Gains (Losses) on Assets 228 (6,365) 1,295
Available-for-sale Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 1,624 56  
Loans Held-for-Sale, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 38,772 44,898 28,657
Fair Value, Option, Credit Risk, Gains (Losses) on Assets 228 (6,365) 1,295
Loans Held-for-Investment, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 114,252 43,300 82,345
Fair Value, Option, Credit Risk, Gains (Losses) on Assets 0 0 0
Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) (89,822) (31,302) (51,045)
Fair Value, Option, Credit Risk, Gains (Losses) on Liabilities 0 0 0
Interest Income [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 59,020 67,614 30,549
Interest Income [Member] | Available-for-sale Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) (281) 124  
Interest Income [Member] | Loans Held-for-Sale, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 23,037 28,966 16,089
Interest Income [Member] | Loans Held-for-Investment, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 133,993 95,740 41,220
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 1,905 (68) 0
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member] | Available-for-sale Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 1,905 (68)  
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member] | Loans Held-for-Sale, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 0 0 0
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member] | Loans Held-for-Investment, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 0 0 0
Marketable Securities, Gain (Loss), Excluding Other than Temporary Impairments [Member] | Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 0 0 0
Interest Expense [Member] | Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) (97,729) (57,216) (26,760)
Gain (Loss) on Mortgage Loans [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 15,735 15,932 12,568
Gain (Loss) on Mortgage Loans [Member] | Available-for-sale Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 0 0  
Gain (Loss) on Mortgage Loans [Member] | Loans Held-for-Sale, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 15,735 15,932 12,568
Gain (Loss) on Mortgage Loans [Member] | Loans Held-for-Investment, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 0 0 0
Gain (Loss) on Mortgage Loans [Member] | Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 0 0 0
Other Income [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) (11,834) (26,526) 16,840
Other Income [Member] | Available-for-sale Securities [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 0 0  
Other Income [Member] | Loans Held-for-Sale, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) 0 0 0
Other Income [Member] | Loans Held-for-Investment, Residential Mortgages [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) (19,741) (52,440) 41,125
Other Income [Member] | Borrowings [Member]      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Fair Value, Option, Changes in Fair Value, Gain (Loss) $ 7,907 $ 25,914 $ (24,285)