Quarterly report pursuant to Section 13 or 15(d)

Notes Payable and Bank Debts - Narrative (Details)

v3.5.0.2
Notes Payable and Bank Debts - Narrative (Details)
1 Months Ended 6 Months Ended 12 Months Ended
Dec. 22, 2014
USD ($)
Feb. 28, 2015
USD ($)
d
$ / shares
Jun. 30, 2016
USD ($)
Dec. 31, 2015
USD ($)
Oct. 18, 2013
USD ($)
Citibank | Term loan          
Debt Instrument [Line Items]          
Debt issuance costs $ 300,000        
Maximum borrowing capacity 2,400,000.0        
Loan payment 200,000        
Term loan     $ 1,000,000 $ 1,300,000  
Citibank | Revolving credit facility          
Debt Instrument [Line Items]          
Maximum borrowing capacity $ 20,000,000.0   $ 20,000,000.0    
IFES Acquisition Corp Limited          
Debt Instrument [Line Items]          
Business acquisition, assumed indebtedness         $ 1,300,000
Effective interest rate percentage     1.75%    
Line of credit          
Debt Instrument [Line Items]          
Borrowings outstanding under facility letters     $ 800,000 900,000  
Convertible debt          
Debt Instrument [Line Items]          
Debt instrument, face amount   $ 82,500,000.0      
Stated interest rate   2.75%      
Conversion ratio   0.0539084      
Conversion price (in USD per share) | $ / shares   $ 18.55      
Convertible debt   $ 69,500,000 68,700,000 68,300,000  
Equity component of convertible debt   13,000,000 13,000,000    
Convertible debt | Liability component          
Debt Instrument [Line Items]          
Debt issuance costs   1,800,000      
Convertible debt | Additional paid-in capital          
Debt Instrument [Line Items]          
Debt issuance costs   $ 300,000      
Convertible debt | If company undergoes a fundamental change          
Debt Instrument [Line Items]          
Redemption price percentage   100.00%      
Convertible debt | On or after February 20, 2019          
Debt Instrument [Line Items]          
Percent of stock price to trigger conversion   130.00%      
Consecutive trading days | d   20      
Consecutive trading days   30 days      
Convertible debt | On or after February 20, 2022          
Debt Instrument [Line Items]          
Redemption price percentage   100.00%      
Convertible debt | Redemption scenario one | After March 31, 2015          
Debt Instrument [Line Items]          
Percent of stock price to trigger conversion   130.00%      
Convertible debt | Redemption scenario two | After March 31, 2015          
Debt Instrument [Line Items]          
Percent of stock price to trigger conversion   98.00%      
Consecutive business days | d   5      
Consecutive trading days   5 days      
Commercial mortgage loan | Mortgage letters maturing October 2014 | IFES Acquisition Corp Limited          
Debt Instrument [Line Items]          
Business acquisition, assumed indebtedness         200,000
Commercial mortgage loan | Mortgage letters maturing October 2032 | IFES Acquisition Corp Limited          
Debt Instrument [Line Items]          
Business acquisition, assumed indebtedness         $ 1,100,000
Accrued interest on mortgage letters     $ 0 $ 0