| Condensed Consolidated Statement of Changes in Stockholders' Equity (Unaudited) - USD ($)
 | Convertible Preferred Stock - Series A [Member] | Convertible Preferred Stock - Series C [Member] | Convertible Preferred Stock - Series D [Member] | Common Stock [Member] | Additional Paid-In Capital [Member] | Accumulated Other Comprehensive Income [Member] | Accumulated Deficit [Member] | Total | 
| Balance at Dec. 31, 2017 |  | $ 11,000 | $ 230 |  | $ 5,524 | $ 119,499,141 |  | $ (156,435,278) | $ (36,919,383) | 
| Balance, shares at Dec. 31, 2017 |  | 11,000,000 | 229,551 |  | 5,523,673 |  |  |  |  | 
| Common stock and warrants issued in public offering | [1] |  |  |  | $ 4,353 | 14,876,462 |  |  | 14,880,815 | 
| Common stock and warrants issued in public offering, shares | [1] |  |  |  | 4,353,000 |  |  |  |  | 
| Common stock issued upon conversion of Series A convertible preferred stock |  | $ (11,000) |  |  | $ 550 | 10,450 |  |  |  | 
| Common stock issued upon conversion of Series A convertible preferred stock, shares |  | (11,000,000) |  |  | 550,000 |  |  |  |  | 
| Common stock issued in satisfaction of Series B convertible preferred stock |  |  |  |  | $ 223 | 824,777 |  |  | 825,000 | 
| Common stock issued in satisfaction of Series B convertible preferred stock, shares |  |  |  |  | 223,235 |  |  |  |  | 
| Common stock issued upon conversion of Series C convertible preferred stock |  |  | $ (255) |  | $ 9,112 | (8,857) |  |  |  | 
| Common stock issued upon conversion of Series C convertible preferred stock, shares |  |  | (254,557) |  | 9,111,644 |  |  |  |  | 
| Series D convertible preferred stock issued in satisfaction of liabilities |  |  |  | $ 12 |  | 12,004,988 |  |  | 12,005,000 | 
| Series D convertible preferred stock issued in satisfaction of liabilities, shares |  |  |  | 12,005 |  |  |  |  |  | 
| Common stock issued in partial satisfaction of debt and other liabilities |  |  |  |  | $ 1,488 | 4,282,500 |  |  | 4,283,988 | 
| Common stock issued in partial satisfaction of debt and other liabilities, shares |  |  |  |  | 1,488,021 |  |  |  |  | 
| Warrants reclassified from derivative liabilities |  |  |  |  |  | 36,445 |  |  | 36,445 | 
| Series C convertible preferred stock dividends: Accrual of dividends earned |  |  |  |  |  | (607,800) |  |  | (607,800) | 
| Series C convertible preferred stock dividends: Payment of dividends in kind |  |  | $ 25 |  |  | 2,500,575 |  |  | 2,500,600 | 
| Series C convertible preferred stock dividends: Payment of dividends in kind, shares |  |  | 25,006 |  |  |  |  |  |  | 
| Stock-based compensation |  |  |  |  | $ 932 | 2,664,343 |  |  | 2,665,275 | 
| Stock-based compensation, shares |  |  |  |  | 932,328 |  |  |  |  | 
| Beneficial conversion feature of Series B and C convertible preferred stock |  |  |  |  |  | 23,458,931 |  |  | 23,458,931 | 
| Deemed dividend related to immediate accretion of beneficial conversion of Series B and C convertible preferred stock |  |  |  |  |  | (23,458,931) |  |  | (23,458,931) | 
| Contribution of capital - related party share transfer (see Note 8) |  |  |  |  |  | 785,200 |  |  | 785,200 | 
| Net income (loss) |  |  |  |  |  |  |  | 2,204,088 | 2,204,088 | 
| Balance at Mar. 31, 2018 |  |  |  | $ 12 | $ 22,182 | 156,868,224 |  | (154,231,190) | 2,659,228 | 
| Balance, shares at Mar. 31, 2018 |  |  |  | 12,005 | 22,181,901 |  |  |  |  | 
| Balance at Dec. 31, 2017 |  | $ 11,000 | $ 230 |  | $ 5,524 | 119,499,141 |  | (156,435,278) | (36,919,383) | 
| Balance, shares at Dec. 31, 2017 |  | 11,000,000 | 229,551 |  | 5,523,673 |  |  |  |  | 
| Series D convertible preferred stock issued in satisfaction of liabilities |  |  |  |  |  |  |  |  | 12,005,000 | 
| Warrants reclassified from derivative liabilities |  |  |  |  |  |  |  |  | 36,445 | 
| Warrants issued in satisfaction of accrued issuable equity |  |  |  |  |  |  |  |  | 409,042 | 
| Restricted stock issued in satisfaction of accrued issuable equity |  |  |  |  |  |  |  |  |  | 
| Net income (loss) |  |  |  |  |  |  |  |  | (1,164,630) | 
| Balance at Sep. 30, 2018 |  |  |  | $ 5 | $ 25,564 | 175,021,206 |  | (157,599,908) | 17,446,867 | 
| Balance, shares at Sep. 30, 2018 |  |  |  | 5,453 | 25,564,103 |  |  |  |  | 
| Balance at Mar. 31, 2018 |  |  |  | $ 12 | $ 22,182 | 156,868,224 |  | (154,231,190) | 2,659,228 | 
| Balance, shares at Mar. 31, 2018 |  |  |  | 12,005 | 22,181,901 |  |  |  |  | 
| Common stock issued in partial satisfaction of debt and other liabilities |  |  |  |  | $ 25 | 69,975 |  |  | 70,000 | 
| Common stock issued in partial satisfaction of debt and other liabilities, shares |  |  |  |  | 25,669 |  |  |  |  | 
| Proceeds from exercise of warrants |  |  |  |  | $ 4,034 | 17,139,022 |  |  | 17,143,056 | 
| Proceeds from exercise of warrants, shares |  |  |  |  | 4,033,660 |  |  |  |  | 
| Return and retirement of common stock |  |  |  |  | $ (2,942) | 2,942 |  |  |  | 
| Return and retirement of common stock, shares |  |  |  |  | (2,942,099) |  |  |  |  | 
| Warrants issued in satisfaction of accrued issuable equity |  |  |  |  |  | 409,042 |  |  | 409,042 | 
| Common stock issued upon conversion of Series D convertible preferred stock |  |  |  | $ (4) | $ 1,400 | (1,396) |  |  |  | 
| Common stock issued upon conversion of Series D convertible preferred stock, shares |  |  |  | (4,368) | 1,400,000 |  |  |  |  | 
| Net income (loss) |  |  |  |  |  |  |  | (1,232,785) | (1,232,785) | 
| Balance at Jun. 30, 2018 |  |  |  | $ 8 | $ 24,699 | 174,487,809 |  | (155,463,975) | 19,048,541 | 
| Balance, shares at Jun. 30, 2018 |  |  |  | 7,637 | 24,699,131 |  |  |  |  | 
| Stock-based compensation |  |  |  |  | $ 189 | 601,128 |  |  | 601,317 | 
| Stock-based compensation, shares |  |  |  |  | 188,501 |  |  |  |  | 
| Common stock issued upon conversion of Series D convertible preferred stock |  |  |  | $ (3) | $ 700 | (697) |  |  |  | 
| Common stock issued upon conversion of Series D convertible preferred stock, shares |  |  |  | (2,184) | 700,000 |  |  |  |  | 
| Return and retirement of common stock previously held as collateral |  |  |  |  | $ (24) | (67,034) |  |  | (67,058) | 
| Return and retirement of common stock previously held as collateral, shares |  |  |  |  | (23,529) |  |  |  |  | 
| Net income (loss) |  |  |  |  |  |  |  | (2,135,933) | (2,148,631) | 
| Balance at Sep. 30, 2018 |  |  |  | $ 5 | $ 25,564 | 175,021,206 |  | (157,599,908) | 17,446,867 | 
| Balance, shares at Sep. 30, 2018 |  |  |  | 5,453 | 25,564,103 |  |  |  |  | 
| Balance at Dec. 31, 2018 |  |  |  | $ 5 | $ 26,118 | 175,924,587 |  | (159,856,481) | 16,094,229 | 
| Balance, shares at Dec. 31, 2018 |  |  |  | 5,141 | 26,118,075 |  |  |  |  | 
| Stock-based compensation |  |  |  |  | $ 52 | 118,684 |  |  | 118,736 | 
| Stock-based compensation, shares |  |  |  |  | 51,724 |  |  |  |  | 
| Return and retirement of common stock |  |  |  |  | $ (8) | 8 |  |  |  | 
| Return and retirement of common stock, shares |  |  |  |  | (8,066) |  |  |  |  | 
| Common stock issued upon conversion of Series D convertible preferred stock |  |  |  |  | $ 5 | (5) |  |  |  | 
| Common stock issued upon conversion of Series D convertible preferred stock, shares |  |  |  | (16) | 5,128 |  |  |  |  | 
| Restricted stock issued in satisfaction of accrued issuable equity |  |  |  |  | $ 57 | 199,831 |  |  | 199,888 | 
| Restricted stock issued in satisfaction of accrued issuable equity, shares |  |  |  |  | 56,948 |  |  |  |  | 
| Other comprehensive income |  |  |  |  |  |  | 100,686 |  | 100,686 | 
| Net income (loss) |  |  |  |  |  |  |  | (1,893,627) | (1,893,627) | 
| Balance at Mar. 31, 2019 |  |  |  | $ 5 | $ 26,224 | 176,243,105 | 100,686 | (161,750,108) | 14,619,912 | 
| Balance, shares at Mar. 31, 2019 |  |  |  | 5,125 | 26,223,809 |  |  |  |  | 
| Balance at Dec. 31, 2018 |  |  |  | $ 5 | $ 26,118 | 175,924,587 |  | (159,856,481) | 16,094,229 | 
| Balance, shares at Dec. 31, 2018 |  |  |  | 5,141 | 26,118,075 |  |  |  |  | 
| Series D convertible preferred stock issued in satisfaction of liabilities |  |  |  |  |  |  |  |  |  | 
| Warrants reclassified from derivative liabilities |  |  |  |  |  |  |  |  |  | 
| Warrants issued in satisfaction of accrued issuable equity |  |  |  |  |  |  |  |  |  | 
| Restricted stock issued in satisfaction of accrued issuable equity |  |  |  |  |  |  |  |  | 252,358 | 
| Net income (loss) |  |  |  |  |  |  |  |  | (6,753,836) | 
| Balance at Sep. 30, 2019 |  |  |  | $ 5 | $ 26,261 | 176,540,422 | 108,169 | (166,610,317) | 10,064,540 | 
| Balance, shares at Sep. 30, 2019 |  |  |  | 5,125 | 26,261,434 |  |  |  |  | 
| Balance at Mar. 31, 2019 |  |  |  | $ 5 | $ 26,224 | 176,243,105 | 100,686 | (161,750,108) | 14,619,912 | 
| Balance, shares at Mar. 31, 2019 |  |  |  | 5,125 | 26,223,809 |  |  |  |  | 
| Stock-based compensation |  |  |  |  |  | 185,632 |  |  | 185,632 | 
| Stock-based compensation, shares |  |  |  |  |  |  |  |  |  | 
| Restricted stock issued in satisfaction of accrued issuable equity |  |  |  |  | $ 13 | 40,142 |  |  | 40,155 | 
| Restricted stock issued in satisfaction of accrued issuable equity, shares |  |  |  |  | 12,995 |  |  |  |  | 
| Other comprehensive income |  |  |  |  |  |  | 40,321 |  | 40,321 | 
| Net income (loss) |  |  |  |  |  |  |  | (2,237,220) | (2,237,220) | 
| Balance at Jun. 30, 2019 |  |  |  | $ 5 | $ 26,237 | 176,468,879 | 141,007 | (163,987,328) | 12,648,800 | 
| Balance, shares at Jun. 30, 2019 |  |  |  | 5,125 | 26,236,804 |  |  |  |  | 
| Stock-based compensation |  |  |  |  | $ 20 | 59,232 |  |  | 59,252 | 
| Stock-based compensation, shares |  |  |  |  | 20,000 |  |  |  |  | 
| Restricted stock issued in satisfaction of accrued issuable equity |  |  |  |  | $ 4 | 12,311 |  |  | 12,315 | 
| Restricted stock issued in satisfaction of accrued issuable equity, shares |  |  |  |  | 4,630 |  |  |  |  | 
| Net income (loss) |  |  |  |  |  |  | (32,838) | (2,622,989) | (2,622,989) | 
| Balance at Sep. 30, 2019 |  |  |  | $ 5 | $ 26,261 | $ 176,540,422 | $ 108,169 | $ (166,610,317) | $ 10,064,540 | 
| Balance, shares at Sep. 30, 2019 |  |  |  | 5,125 | 26,261,434 |  |  |  |  | 
|  | 
|  |