Quarterly report pursuant to Section 13 or 15(d)

Stock based compensation, options and warrants (Schedule of Award Activity) (Details)

v3.10.0.1
Stock based compensation, options and warrants (Schedule of Award Activity) (Details) - USD ($)
9 Months Ended 12 Months Ended
Sep. 30, 2018
Dec. 31, 2017
Stock Incentive Plan [Member]    
Shares Underlying Options    
Outstanding, beginning 119,533  
Granted 62,000  
Exercised (19,533)  
Forfeited  
Outstanding, ending 162,000 119,533
Exercisable 145,335  
Weighted Average Exercise Price    
Outstanding, beginning $ 9.02  
Granted 15.71  
Exercised 4.02  
Forfeited  
Outstanding, ending 12.19 $ 9.02
Exercisable $ 11.46  
Weighted Average Remaining Contractual Term    
Outstanding 9 years 2 months 12 days  
Exercisable 9 years 2 months 12 days  
Aggregate Intrinsic Value    
Outstanding  
Exercisable  
Other common stock purchase options and warrants [Member]    
Shares Underlying Options    
Outstanding, beginning 1,944,895  
Granted  
Exercised (113,009)  
Forfeited (160,773)  
Outstanding, ending 1,671,113 1,944,895
Exercisable 1,671,113  
Weighted Average Exercise Price    
Outstanding, beginning $ 35.06  
Granted  
Exercised 3.50  
Forfeited 10.88  
Outstanding, ending 39.47 $ 35.06
Exercisable $ 39.47  
Weighted Average Remaining Contractual Term    
Outstanding 2 years 2 months 12 days 2 years 8 months 12 days
Exercisable 2 years 2 months 12 days  
Aggregate Intrinsic Value    
Outstanding $ 3,000 $ 6,135,000
Exercisable $ 3,000