Convertible Debentures and Derivatives (Details Textual) - USD ($) | Nov. 13, 2017 | Jul. 02, 2014 | Dec. 31, 2017 | Dec. 31, 2016 | Jun. 30, 2018 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2017 | Jun. 30, 2017 |
Debt Instrument [Line Items] | | | | | | | | | |
Common stock, par value (in dollars per share) | | | $ 0.001 | | | $ 0.001 | | $ 0.001 | $ 0.001 |
Share Price | | | $ 0.88 | | | $ 0.88 | | $ 0.88 | |
Interest Expense, Debt | | | $ 60,275 | $ 245,000 | | $ 185,274 | $ 490,000 | | |
Interest Payable, Current | | | $ 0 | 125,000 | | $ 0 | 125,000 | $ 0 | $ 166,667 |
Common Stock, Par Or Stated Value Per Share | | | $ 0.001 | | | $ 0.001 | | $ 0.001 | $ 0.001 |
Gain (Loss) on Extinguishment of Debt | | | $ (1,348,247) | 0 | | $ (1,348,247) | 0 | | |
Interest Paid, Net | | | | | | 166,667 | 326,667 | | |
Derivative, Gain (Loss) on Derivative, Net | | | 1,100,302 | 1,407,771 | | 1,665,151 | 1,421,062 | | |
Stock Issued During Period, Shares, New Issues | 5,864,337 | | | | | | | 150,000 | |
Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Period Increase (Decrease) | | | $ 701,143 | | | $ (701,143) | | | |
Share price as per Redemption Agreement | | | 1.00% | | | 1.00% | | 1.00% | |
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Change in Unrealized Gain (Loss) | | | $ 41,143 | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term | | | | | | 4 years | | | |
Series A Preferred Stock [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Debt Instrument, Unamortized Discount | $ 1,152,297 | | | | | | | | $ 1,152,297 |
Stock Issued During Period, Shares, New Issues | 364,337 | | | | | | | | |
Conversion Of Stock, Description | | | | | | 1:3.5 | | | |
Share Based Compensation Arrangement By Share Based Payment Award, Voting Rights, Percentage | | | | | | 26.63% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term | | | | | | 4 years | | | |
Common Stock [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Stock Issued During Period, Value, New Issues | | | | | | | | $ 5,500,000 | |
Scenario, Forecast [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Debt Conversion, Converted Instrument, Amount | | | | | $ 5,000,000 | | | | |
Common Stock Value Issued For Debt Instrument Periodic Interest Payment | | | | | 500,000 | | | | |
Embedded Derivative Financial Instruments [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Debt Instrument, Unamortized Discount | $ 1,879,428 | | | | | | | | 1,879,428 |
Maximum [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Share Price | | | $ 1.14 | | | $ 1.14 | | $ 1.14 | |
Share Based Compensation Arrangement By Share Based Payment Award, Voting Rights, Percentage | | | | | | 12.30% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate | | | | | | 56.10% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate | | | | | | 1.92% | | | |
Maximum [Member] | Series A Preferred Stock [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Share Price | | | 1.14 | | | $ 1.14 | | 1.14 | |
Share Based Compensation Arrangement By Share Based Payment Award, Voting Rights, Percentage | | | | | | 12.30% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term | | | | | | 3 years | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Discount for Postvesting Restrictions | | | | | | 31.69% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate | | | | | | 58.33% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate | | | | | | 1.78% | | | |
Minimum [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Share Price | | | 1 | | | $ 1 | | 1 | |
Share Based Compensation Arrangement By Share Based Payment Award, Voting Rights, Percentage | | | | | | 12.27% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate | | | | | | 55.56% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate | | | | | | 1.67% | | | |
Minimum [Member] | Series A Preferred Stock [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Share Price | | | $ 1 | | | $ 1 | | 1 | |
Share Based Compensation Arrangement By Share Based Payment Award, Voting Rights, Percentage | | | | | | 12.27% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term | | | | | | 2 years 10 months 2 days | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Discount for Postvesting Restrictions | | | | | | 30.43% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate | | | | | | 52.49% | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate | | | | | | 1.62% | | | |
Series B Convertible Debentures [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Amortization of Debt Discount (Premium) | | | | 222,226 | | | 436,098 | | |
Derivative Liability, Noncurrent | | | | 28,284 | | | 28,284 | | |
Weighted Average Discount Rate, Percent | | | | | | 21.99% | | | |
Interest Paid, Net | | | | 40,000 | | | 160,000 | | |
Debt Instrument, Maturity Date | | | | | | Feb. 1, 2017 | | | |
Derivative, Gain (Loss) on Derivative, Net | | | | (91,839) | | | (174,746) | | |
Common Stock Value Issued For Debt Instrument Periodic Interest Payment | | | | 80,000 | | | 80,000 | | |
Series A Convertible Preferred Stock [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Common stock, par value (in dollars per share) | $ 0.001 | | | | | | | | |
Amortization of Debt Discount (Premium) | | | $ 119,863 | 201,061 | | $ 359,214 | 390,651 | | |
Debt Conversion, Converted Instrument, Shares Issued | 150,000 | 187,000 | | | | | | | |
Proceeds from Convertible Debt | | $ 1,645,606 | | | | | | | |
Repayments of Other Debt | | 1,152,297 | | | | | | | |
Debt Instrument, Unamortized Discount | | 1,152,297 | | | | | | | |
Debt Conversion, Converted Instrument, Amount | | $ 1,879,428 | | | | | | | |
Common Stock, Par Or Stated Value Per Share | $ 0.001 | | | | | | | | |
Gain (Loss) on Extinguishment of Debt | | | | | | $ 1,348,247 | | | |
Stock Issued During Period, Shares, Conversion of Convertible Securities | 150,000 | | | | | | | | |
Stock Issued During Period, Value, Conversion of Convertible Securities | $ 364,337 | | | | | | | | |
Stock Issued During Period, Shares, Other | 314,726 | | | | | | | | |
Stock Issued During Period, Value, Other | $ 314,726 | | | | | | | | |
Series A Convertible Preferred Stock [Member] | Scenario, Forecast [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Debt Instrument, Unamortized Discount | | | | | 684,633 | | | | |
Derivative Liability | | | | | (15,449) | | | | |
Series C Convertible Debenture [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | | | | | | | |
Debt Instrument, Convertible, Conversion Price | | $ 5.25 | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | 10.00% | | | | | | | |
Debt Instrument, Convertible, Carrying Amount of Equity Component | | $ 5,000,000 | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | $ 6.05 | | | $ 6.05 | | 6.05 | |
Long-term Debt, Excluding Current Maturities, Total | $ 5,000,000 | | | | | | | | |
Share Price | | | $ 1 | | | $ 1 | | $ 1 | |
Debt Instrument, Debt Default, Description of Violation or Event of Default | | | | | | An event of default would occur 0% of the time, increasing 1.00% per month to a maximum of 10% | | | |
Projected Redemption Percentage Of Time | 52.00% | | | | | | | | |
Interest Payable | $ 60,274 | $ 166,667 | $ 0 | | | $ 0 | | $ 0 | 166,667 |
Debt Instrument, Periodic Payment, Interest | | | 60,274 | 125,000 | | 60,274 | 125,000 | | |
Common Stock, Par Or Stated Value Per Share | $ 0.001 | $ 0.001 | | | | | | | |
Common Stock Value Issued For Debt Instrument Periodic Interest Payment | | | $ 125,000 | $ 41,667 | | $ 125,000 | $ 41,667 | | |
Stock Issued During Period, Shares, Conversion of Convertible Securities | 5,500,000 | | | | | | | | |
Series C Convertible Debenture [Member] | Scenario, Forecast [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest Expense, Debt | | | | | $ 314,726 | | | | |
Series C Convertible Debenture [Member] | Embedded Derivative Financial Instruments [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Derivative Liability, Noncurrent | $ 15,449 | | | | | | | | $ 32,213 |
Series C Convertible Debenture [Member] | Debenture Interest Paid [Member] | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest Payable | | $ 500,000 | | | | | | | |