Quarterly report pursuant to Section 13 or 15(d)

Description of Business -Acquisitions (Details)

v3.8.0.1
Description of Business -Acquisitions (Details)
3 Months Ended 6 Months Ended
Dec. 31, 2017
USD ($)
Aug. 28, 2017
USD ($)
Dec. 31, 2017
USD ($)
$ / shares
Dec. 31, 2016
USD ($)
$ / shares
Dec. 31, 2017
USD ($)
Segment
$ / shares
Dec. 31, 2016
USD ($)
$ / shares
Aug. 31, 2016
Business Acquisition [Line Items]              
Number of reportable segments | Segment         2    
Goldline, LLC              
Business Acquisition [Line Items]              
Purchase price   $ 10,000,000          
Fair value of the assets acquired   6,400,000          
Tangible assets   3,600,000          
Escrow deposit $ 0 1,500,000          
Revised purchase price   9,500,000          
Prepaid expense $ 500,000   $ 500,000   $ 500,000    
Acquisition related costs   800,000 600,000        
Pro forma revenue     1,680,735,000 $ 2,156,420,000 3,845,686,000 $ 3,998,948,000  
Pro forma net (loss) income     $ (205,000) $ 3,587,000 $ 325,000 $ 5,877,000  
Pro from basic earnings per share (usd per share) | $ / shares     $ (0.03) $ 0.51 $ 0.05 $ 0.84  
Pro from dilutive earnings per share (usd per share) | $ / shares     $ (0.03) $ 0.50 $ 0.05 $ 0.83  
Liabilities incurred for the acquisition   $ 7,500,000          
AMST              
Business Acquisition [Line Items]              
Percentage of voting interests acquired (in percentage)             55.00%
SilverTowne              
Business Acquisition [Line Items]              
Percentage of voting interests acquired (in percentage)             45.00%