XML 48 R28.htm IDEA: XBRL DOCUMENT v3.8.0.1
ACCOUNTING POLICIES (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Jun. 30, 2017
Accounting Policies [Line Items]          
Income tax expense (benefit) $ 9,073 $ 0 $ 8,605 $ (115)  
Accounting standards update 2016-09          
Accounting Policies [Line Items]          
Income tax expense (benefit)     $ 16,000   $ 67,000