Annual report pursuant to Section 13 and 15(d)

Acquisitions (Textual) (Details)

v3.6.0.2
Acquisitions (Textual) (Details)
3 Months Ended 6 Months Ended 12 Months Ended
Nov. 21, 2014
USD ($)
Oct. 03, 2015
USD ($)
Jul. 04, 2015
USD ($)
Dec. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Aug. 21, 2015
USD ($)
Jan. 03, 2015
USD ($)
employees
Aug. 21, 2014
USD ($)
Business Acquisition [Line Items]                
Percent decline in WTI prices         31.00%      
Goodwill       $ 1,354,730 $ 1,354,730   $ 23,250,201  
Intangible asset depreciation period (years) 8 years              
Net (loss) income from continuing operations       (6,993,967) (10,269,278)   $ 12,618,787  
Employees added during acquisition (employees) | employees             30  
Earn-out liability         0   $ 7,256,387  
Specialty Pipe And Tube, Inc. [Member]                
Business Acquisition [Line Items]                
Goodwill, Purchase Accounting Adjustments         $ 2,419,035      
Decline in revenues, percent         35.00%      
Goodwill $ 5,993,705   $ 1,260,000   $ 0      
Purchase Price 31,490,433              
Contingent consideration payment, upper limit $ 5,000,000              
Contingent consideration earn-out period (years) 2 years       2 years      
Revenue threshold for earn-out $ 27,000,000              
Earn-out percentage threshold 2,000,000              
Earn-out multiplier threshold 2,500,000              
Single earn-out limit 2,500,000              
Cumulative revenue threshold for earn-out 58,000,000              
Cumulative revenue threshold for earn-out calculation 54,000,000              
Cumulative earn-out percentage threshold 4,000,000              
Cumulative earn-out multiplier threshold 5,000,000              
Estimated earn out payments, discounted 4,774,000              
Intangible assets $ 11,457,000              
Revenues             2,524,000  
Income before income taxes             493,000  
Change in fair value of contingent consideration liability   $ 2,414,000     $ (2,414,115)      
Palmer of Texas [Member]                
Business Acquisition [Line Items]                
Contingent consideration earn-out period (years)         3 years      
Change in fair value of contingent consideration liability         $ (2,483,333)      
Year 2 [Member] | Palmer of Texas [Member]                
Business Acquisition [Line Items]                
Contingent consideration payment, lower limit               $ 2,500,000
EBITDA threshold target               $ 5,825,000
Year 3 [Member] | Palmer of Texas [Member]                
Business Acquisition [Line Items]                
EBITDA threshold, upper range for earn out payment           $ 6,825,000    
EBITDA threshold target           $ 5,825,000    
Fair Value, Measurements, Recurring [Member] | Fair Value, Inputs, Level 3 [Member]                
Business Acquisition [Line Items]                
Change in fair value of contingent consideration liability             (3,476,000)  
Fair Value, Measurements, Recurring [Member] | Fair Value, Inputs, Level 3 [Member] | Specialty Pipe And Tube, Inc. [Member]                
Business Acquisition [Line Items]                
Change in fair value of contingent consideration liability     $ 2,419,000   2,414,115      
Earn-out liability   $ 0   $ 0 0      
Fair Value, Measurements, Recurring [Member] | Fair Value, Inputs, Level 3 [Member] | Palmer of Texas [Member]                
Business Acquisition [Line Items]                
Change in fair value of contingent consideration liability         (2,483,333)      
Earn-out liability         0      
Contingent Consideration [Member] | Specialty Pipe And Tube, Inc. [Member]                
Business Acquisition [Line Items]                
Fair Value Inputs, Discount Rate 3.00%              
Specialty inventory adjustment                
Business Acquisition [Line Items]                
Goodwill, Purchase Accounting Adjustments         2,318,187      
Acquisition-related Costs [Member]                
Business Acquisition [Line Items]                
Goodwill, Purchase Accounting Adjustments         $ 2,419,035      
Acquisition-related Costs [Member] | Specialty Pipe And Tube, Inc. [Member]                
Business Acquisition [Line Items]                
Net (loss) income from continuing operations             302,000  
Professional Audit Fees [Member] | Specialty Pipe And Tube, Inc. [Member]                
Business Acquisition [Line Items]                
Net (loss) income from continuing operations             92,000  
Legal Fees [Member] | Specialty Pipe And Tube, Inc. [Member]                
Business Acquisition [Line Items]                
Net (loss) income from continuing operations             83,000  
Consultant Fees [Member] | Specialty Pipe And Tube, Inc. [Member]                
Business Acquisition [Line Items]                
Net (loss) income from continuing operations             65,000  
Travel Costs [Member] | Specialty Pipe And Tube, Inc. [Member]                
Business Acquisition [Line Items]                
Net (loss) income from continuing operations             $ 62,000