11. Income Taxes (Details-Deferred income taxes) - USD ($) |
Dec. 31, 2016 |
Dec. 31, 2015 |
|---|---|---|
| Deferred tax assets: | ||
| Net operating loss carryforwards | $ 11,752,815 | $ 1,144,633 |
| Goodwill and intangible assets | 1,477,448 | 6,853,662 |
| Allowance for bad debts | 130,580 | 67,948 |
| Beneficial conversion feature | 0 | 602,681 |
| Charitable contributions | 891 | 505 |
| Stock options | 1,010,164 | 709,375 |
| Accrued liabilities | 254,165 | 0 |
| Total deferred tax assets | 14,626,063 | 9,378,804 |
| Deferred tax liabilities: | ||
| Property and equipment | 969,933 | 344,356 |
| Derivative liabilities | 0 | 1,121,138 |
| Total deferred liabilities | 969,933 | 1,465,494 |
| Deferred tax asset, net | 13,656,130 | 7,913,310 |
| Valuation allowance | (13,656,130) | (7,913,310) |
| Net deferred tax assets | $ 0 | $ 0 |
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible charitable contribution carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill. No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount, before allocation of valuation allowances, of deferred tax asset attributable to deductible differences from reserves and accruals, compensation and benefit costs, and other provisions, reserves, and allowances. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from accrued liabilities. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from the allowance for doubtful accounts. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences classified as other. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|