| 11. Warrants (Details - Warrants Outstanding) - Warrants [Member] - USD ($) | 6 Months Ended | |
|---|---|---|
| Mar. 31, 2018 | Sep. 30, 2017 | |
| Number of units | ||
| Outstanding, end of period | 118,029 | |
| Exercisable, end of period | 118,029 | 118,029 | 
| Weighted Average Exercise Price | ||
| Outstanding, end of period | $ 20.80 | |
| Exercisable, end of period | $ 20.80 | $ 20.8 | 
| Weighted Average Remaining Contractual Term (in years) | ||
| Outstanding | 7 months 17 days | |
| Exercisable | 10 months 14 days | |
| Intrinsic value outstanding, end of period | $ 4,720,595 | |
| Exercisable, end of period | 4,720,595 | 
| X | ||||||||||
| 
- Definition Number of warrants [Abstract] No definition available. 
 | 
| X | ||||||||||
| 
- Definition Exercisable, end of period No definition available. 
 | 
| X | ||||||||||
| 
- Definition Exercisable, end of period No definition available. 
 | 
| X | ||||||||||
| 
- Definition Intrinsic value exercisable No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted Average Remaining Contractual Term (in years) exercisable No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted Average Exercise Price [Abstract] No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted Average Remaining Contractual Term (in years) [Abstract] No definition available. 
 | 
| X | ||||||||||
| 
- Definition Exercise price per share or per unit of warrants or rights outstanding. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Number of warrants or rights outstanding. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Weighted average remaining contractual term for equity-based awards excluding options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Intrinsic value of equity-based compensation awards outstanding. Excludes stock and unit options. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 |