v3.8.0.1
Investments - Restricted Cash and Investments (Details) - USD ($)
$ in Thousands
Sep. 30, 2017
Dec. 31, 2016
Restricted Cash and Investments Items [Line Items]    
Restricted cash $ 131,598 $ 103,788
Restricted investments 4,729,224 4,295,008
Restricted cash and investments 4,860,822 4,398,796
Amortized cost 4,969,004 4,767,911
Third party agreements [Member]    
Restricted Cash and Investments Items [Line Items]    
Restricted cash 80,999 56,891
Restricted investments 1,354,548 1,299,569
Amortized cost 1,337,185 1,307,926
Related party agreements [Member]    
Restricted Cash and Investments Items [Line Items]    
Restricted cash 50,467 46,777
Restricted investments 2,218,382 2,225,066
Amortized cost 2,193,678 2,242,565
HTM related party agreements [Member]    
Restricted Cash and Investments Items [Line Items]    
Restricted investments 1,152,106 766,135
Amortized cost 1,118,368 752,212
US state regulatory authorities [Member]    
Restricted Cash and Investments Items [Line Items]    
Restricted cash 132 120
Restricted investments 4,188 4,238
Amortized cost $ 4,071 $ 4,059