XML 67 R49.htm IDEA: XBRL DOCUMENT v3.7.0.1
Debt - Summary of long-term debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Jun. 30, 2016
Debt Instrument [Line Items]    
Long-term debt including current maturities $ 250,000 $ 284,207
Unamortized debt issuance costs and debt discount (1,859) (3,035)
Long-term debt after unamortized debt discount 248,141 281,172
Less: current maturities 6,250 2,907
Long-term debt 241,891 278,265
Term A Loan due June 2022    
Debt Instrument [Line Items]    
Long-term debt including current maturities 250,000
Term B loan due April 2021    
Debt Instrument [Line Items]    
Long-term debt including current maturities 284,200
Capitalized lease obligations    
Debt Instrument [Line Items]    
Long-term debt including current maturities $ 7