Annual report pursuant to Section 13 and 15(d)

Stockholders' equity (Narrative) (Details)

v3.19.1
Stockholders' equity (Narrative) (Details) - USD ($)
1 Months Ended 9 Months Ended 12 Months Ended
Dec. 18, 2018
Apr. 20, 2018
Feb. 14, 2018
Jan. 25, 2018
Jan. 04, 2018
Nov. 03, 2017
Oct. 10, 2017
Sep. 12, 2016
Aug. 31, 2018
Aug. 21, 2018
Mar. 31, 2018
Feb. 21, 2018
Dec. 31, 2017
Oct. 20, 2017
Oct. 18, 2017
Mar. 31, 2017
Sep. 30, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Oct. 02, 2017
Aug. 21, 2017
Aug. 20, 2017
Class of Stock [Line Items]                                              
Restricted common shares issued for services, value                                   $ 4,660,406 $ 2,589,812        
Proceeds from issuance of common stock                                   38,451,052        
Discount on Convertible Debt arising from values of beneficial conversion feature                                     2,424,849        
Discount on Convertible Debt arising from values of warrants                                     $ 2,325,151        
Common stock, shares authorized                         170,000,000         170,000,000 170,000,000     170,000,000 60,000,000
Preferred stock, shares authorized                         15,000,000         15,000,000 15,000,000        
Interest rate percentage                                   4.50%          
Interest expense                                   $ 122,973 $ 4,806,637        
Cash dividend                             $ 9,562,000     9,562,331        
Dividends paid, price per share                                         $ 1.00    
Proceeds from warrant exercise                                   350,000 1,860,000        
Private placement of Common Stock                                     $ 36,537,543        
Common stock issued for acquisition, shares               627,010                              
Loss contingency accrual                                   $ 1,358,000          
2002 Stock Incentive Plan [Member]                                              
Class of Stock [Line Items]                                              
Rights forfeited                                     515,578        
Nonqualified [Member]                                              
Class of Stock [Line Items]                                              
Number of common shares hold by warrant holders                                     2,244,147        
Shares issued of common stock in exchange for termination of warrants                                     1,335,408        
Proceeds from warrant exercise                                     $ 1,860,000        
Stock Incentive Plan [Member]                                              
Class of Stock [Line Items]                                              
Common shares vested                                   0          
Dividend yield                                   0.00% 0.00%        
Expected term                                   5 years 5 years        
Expected price volatility, minimum                                   152.00% 15.00%        
Expected price volatility, maximum                                   159.00% 95.00%        
Risk free interest rates, minimum                                   2.49% 1.92%        
Risk free interest rates, maximum                                   2.96% 1.99%        
Common Stock [Member]                                              
Class of Stock [Line Items]                                              
Restricted common shares issued for services                                   174,082        
Restricted common shares issued for services, value                                   $ 4,660,406 $ 2,589,812        
Discount on Convertible Debt arising from values of beneficial conversion feature                                     2,424,849        
Discount on Convertible Debt arising from values of warrants                                     $ 2,325,151        
Preferred Stock issued upon Notes payable conversion, shares                                            
Private placement of Common Stock                                     $ 36,537,543        
Common stock issued for acquisition, shares                                     75,000        
Private Placement [Member]                                              
Class of Stock [Line Items]                                              
Total amount of financing from common stock units                         $ 2,250,000           $ 2,250,000        
Proceeds from issuance of common stock                                     $ 1,000,000        
Issuance of common stock                                     400,000        
Offering expenses incurred from private placement stock issuance                                     $ 336,491        
Common stock shares held in escrow                         500,000           500,000        
Proceeds from common stock and warrants released                                     $ 1,250,000        
Purchase price                         $ 2.50           $ 2.50        
Conversion of notes payable and accrued interest to preferred stock                                     $ 4,798,671        
Maturity date                                       Mar. 30, 2020      
Private Placement [Member] | Warrant [Member]                                              
Class of Stock [Line Items]                                              
Number of warrants issued                                     900,000        
Exercise price                         $ 3.56         $ 3.56 $ 3.56        
Warrants to purchase common stock                         1,900,000         1,900,000 1,900,000        
Warrant to purchase term                                     3 years        
Rights forfeited                                     553,911        
Total consideration under the agreements forfeited during period                                     $ 399,513        
Total consideration under the agreements forfeited during period charged to equity                                     392,007        
Total consideration under the agreements forfeited during period recorded as compensation                                     $ 7,506        
Fair value of warrants                               $ 2,114,000              
Dividend yield                               0.00%   0.00% 0.00%        
Expected term                               3 years   3 years 3 years        
Expected price volatility                               114.00%   108.00% 108.00%        
Risk free interest rate                               1.66%   1.47% 1.47%        
Expected price volatility, minimum                               49.00%              
Expected price volatility, maximum                               99.00%              
Risk free interest rates, minimum                               0.80%              
Risk free interest rates, maximum                               2.30%              
Maturity date                                   Mar. 15, 2020          
Private Placement [Member] | Common Stock [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock                                     900,000        
Purchase price                         $ 3.50           $ 3.50        
May 2013 private offering [Member] | Nonqualified [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock                                     106,719        
Exercise price                         10.88           $ 10.88        
Shares surrendered for issuance of common stock                                     184,147        
March 2017 private offering [Member] | Nonqualified [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock                                     214,851        
Exercise price                         3.50           $ 3.50        
Shares surrendered for issuance of common stock                                     360,000        
March 2017 private offering of convertible notes [Member] | Nonqualified [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock                                     1,013,838        
Shares surrendered for issuance of common stock                                     1,700,000        
March 2017 private offering of convertible notes [Member] | Stock Incentive Plan [Member]                                              
Class of Stock [Line Items]                                              
Exercise price                         $ 3.56           $ 3.56        
Warrant [Member]                                              
Class of Stock [Line Items]                                              
Warrants to purchase common stock                                   13,009          
Number of shares of common stock issuable upon conversion     100,000                                        
Proceeds from warrant exercise                                   $ 350,000          
Stock Options [Member]                                              
Class of Stock [Line Items]                                              
Warrant to purchase term                                     10 years        
Restricted common stock [Member]                                              
Class of Stock [Line Items]                                              
Common shares vested                                   530,065 326,848        
Rights forfeited                                     833        
Restricted common stock [Member] | Consultant [Member]                                              
Class of Stock [Line Items]                                              
Restricted common shares issued for services                         3,215           138,067        
Restricted common shares issued for services, value                                     $ 1,178,200        
Restricted common stock [Member] | Directors and Officers [Member]                                              
Class of Stock [Line Items]                                              
Award of restricted shares                                     863,000        
Shares terminated                                     40,000        
Common shares vested                                     326,848        
Issuance of common stock                                   327,416 174,082        
Non-qualified stock option awards [Member]                                              
Class of Stock [Line Items]                                              
Rights forfeited                                     37,500        
Temporary Reduction in Warrant Exercise Price [Member]                                              
Class of Stock [Line Items]                                              
Fair value of warrants             $ 173,867                                
Amended exercise price of warrants             $ 3.00                                
Total warrants covered by amended exercise price             2,800,000                                
Total warrants exercised for cash during amendment period             620,000                                
Proceeds from warrant exercise             $ 1,860,000                                
Private Placement [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock                         1,646,113                    
Purchase price                         $ 40.00           $ 40.00        
Exercise price                         $ 40.00           $ 40.00        
Warrants to purchase common stock                         1,646,113           1,646,113        
Private placement of Common Stock                         $ 36,537,543                    
Offering expense                         $ 500,000                    
Additional Equity [Member] | Private Placement [Member]                                              
Class of Stock [Line Items]                                              
Proceeds from issuance of common stock                                     $ 1,913,509        
Kairos Global Technology, Inc [Member] | Common Stock [Member]                                              
Class of Stock [Line Items]                                              
Conversion price           $ 6.80                                  
Preferred stock stated value per share           $ 6.80                                  
Number of shares of common stock issuable upon conversion           1,750,001                                  
Kairos Global Technology, Inc [Member] | Series B Convertible Preferred Stock [Member]                                              
Class of Stock [Line Items]                                              
Preferred stock, shares outstanding           1,458,001                                  
Stock issued for purchase of assets           1,750,001                                  
Number of shares of common stock issuable upon conversion           292,000                                  
Preferred stock outstanding           1,458,001                                  
BDI [Member]                                              
Class of Stock [Line Items]                                              
Number of common shares previously held in escrow, cancelled during period                                     32,801        
Estimated value of common shares recoded resulting in a reduction in impairment loss                                     $ 134,812        
Share price                         $ 4.11           $ 4.11        
Tess, Inc [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock                           75,000                  
Resale of shares                           25,000                  
Common stock issued for acquisition, shares                                   41,600,000          
Prive Technologies, Inc. [Member]                                              
Class of Stock [Line Items]                                              
Common stock shares held in escrow                       200,000                      
Common stock issued for acquisition, shares                       1,000,000                      
Common Stock [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock     100,000               100,000             3,215          
Conversion price                               $ 250.00              
Warrants to purchase common stock                               1,919,472              
Proceeds from warrant exercise     $ 350,000                                        
Common Stock [Member] | Consulting Services [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock 22,523 18,000   2,754                                      
Share price $ 5.55 $ 14.33   $ 7.26                                      
Common Stock [Member] | Stock Options [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock         19,533                                    
Common Stock [Member] | BMSS [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock                 50,000 50,000                          
Share price                 $ 5.31                            
Common Stock [Member] | Prive Technologies, Inc. [Member]                                              
Class of Stock [Line Items]                                              
Issuance of common stock                       1,000,000                      
Common Stock [Member] | Corporate Stock Transfer, Inc [Member]                                              
Class of Stock [Line Items]                                              
Common stock shares held in escrow                       200,000                      
Series B Preferred Stock [Member]                                              
Class of Stock [Line Items]                                              
Shares terminated                                   91,496          
Issuance of common stock                                   486,050          
Share price                                   $ 5.31          
Preferred stock, shares outstanding                                   13,000          
Preferred stock outstanding                                   13,000          
Conversion of stock shares converted into common stock                                   1,353,505          
Series A Preferred Stock [Member]                                              
Class of Stock [Line Items]                                              
Interest expense                                 $ 4,750,000            
Series A Preferred Stock [Member] | Private Placement [Member]                                              
Class of Stock [Line Items]                                              
Preferred Stock issued upon Notes payable conversion, shares                                     19,195        
Preferred stock stated value per share                         $ 250           $ 250        
Number of common share preferred holders have rights to                         1,919,472           1,919,472        
Designated as 2% Series A Convertible Stock [Member]                                              
Class of Stock [Line Items]                                              
Preferred stock, shares authorized                         2,000,000           2,000,000