| 15. Income Taxes (Details Narrative) - USD ($) | 6 Months Ended | |
|---|---|---|
| Mar. 31, 2017 | Mar. 31, 2016 | |
| Income Tax Disclosure [Abstract] | ||
| Effective income tax rate | 42.10% | 21.40% | 
| Net operating loss carryforward | $ 24,600,000 | |
| Operating loss carryforward expiration date | Dec. 31, 2027 | |
| X | ||||||||||
| 
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Expiration date of each operating loss carryforward included in operating loss carryforward, in CCYY-MM-DD format. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 |