XML 21 R8.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows (Parenthetical) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Dec. 31, 2017
Jun. 30, 2017
Statement of Cash Flows [Abstract]      
Proceeds from sale of mortgage loans held for sale from prior years $ (500)    
Cash and cash equivalents 51,918 $ 76,674 $ 58,225
Restricted cash 42,821 106,009 97,260
Total cash, cash equivalents and restricted cash shown in the consolidated statement of cash flows $ 94,739 $ 182,683 $ 155,485