XML 51 R40.htm IDEA: XBRL DOCUMENT v3.7.0.1
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)
$ in Thousands
6 Months Ended
Jun. 30, 2017
USD ($)
quote
Dec. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Variable Interest Entity      
Number of broker quotes (in quote) | quote 1    
Cumulative-effect adjustment from adoption of accounting guidance     $ (122,621)
Aggregate minimum lease payments under lease obligations $ 138,000    
Retained Earnings      
Variable Interest Entity      
Cumulative-effect adjustment from adoption of accounting guidance   $ 352  
Paid-in Capital      
Variable Interest Entity      
Cumulative-effect adjustment from adoption of accounting guidance   (352) $ (12,912)
Accounting Standards Update 2016-09 | Retained Earnings      
Variable Interest Entity      
Cumulative-effect adjustment from adoption of accounting guidance   400  
Accounting Standards Update 2016-09 | Paid-in Capital      
Variable Interest Entity      
Cumulative-effect adjustment from adoption of accounting guidance   $ (400)  
Minimum      
Variable Interest Entity      
Withdrawal period 1 month    
Minimum | Contractual Rights to Earn Future Fee Income      
Variable Interest Entity      
Estimated useful lives in years 3 years    
Maximum      
Variable Interest Entity      
Withdrawal period 3 years    
Maximum | Contractual Rights to Earn Future Fee Income      
Variable Interest Entity      
Estimated useful lives in years 7 years