Commitments and Contingencies (Details)
$ in Thousands
1 Months Ended 12 Months Ended
Dec. 24, 2009
USD ($)
Entity
Dec. 31, 2010
USD ($)
Dec. 31, 2016
USD ($)
Entity
Dec. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
Dec. 31, 2010
USD ($)
Jan. 01, 2014
Jun. 10, 2013
USD ($)
Guarantor Obligations [Line Items]                
Number of business entities acquired | Entity     1          
Interest expense     $ 100,571 $ 100,980 $ 62,101      
Assets arising from contingencies, amount recognized               $ 14,000
Gain contingency, unrecorded amount, overstated accounts receivable               10,800
Gain on legal settlement     14,101 0 $ 0      
Subordinated Notes                
Guarantor Obligations [Line Items]                
Promissory Note stated interest rate             17.00%  
Operating Leases | Financial Guarantee                
Guarantor Obligations [Line Items]                
Guaranteed operating lease payments     $ 12 $ 160        
Operating lease term     10 years 10 years        
2009 Acquisition                
Guarantor Obligations [Line Items]                
Number of business entities acquired | Entity 36              
Maximum potential contingent consideration $ 10,000              
Escrow account $ 2,900              
Amount awarded to settle acquisition price adjustment           $ 589    
Amount of withdrawal notice to escrow deposit   $ 4,400            
Gain contingency, unrecorded amount related to indemnification claims               454
Gain contingency, unrecorded amount offsetting contingent consideration               $ 8,300
Promissory Notes | 2009 Acquisition | Subordinated Notes                
Guarantor Obligations [Line Items]                
Promissory Note stated interest rate     8.00%          
Interest expense     $ 1,000 $ 1,100