Entity Common Stock, Shares Outstanding
|
DEI
|
Entity Public Float
|
DEI
|
Accounts Payable and Accrued Liabilities, Current
|
US-GAAP
|
Accounts Payable and Other Accrued Liabilities
|
US-GAAP
|
Accounts Payable, Current
|
US-GAAP
|
Accounts Payable
|
US-GAAP
|
Accounts Receivable, before Allowance for Credit Loss
|
US-GAAP
|
Accounts Receivable, after Allowance for Credit Loss
|
US-GAAP
|
Accounts Receivable, after Allowance for Credit Loss, Current
|
US-GAAP
|
Accrued Employee Benefits
|
US-GAAP
|
Accrued Liabilities and Other Liabilities
|
US-GAAP
|
Accrued Liabilities, Current
|
US-GAAP
|
Accrued Rent, Current
|
US-GAAP
|
Accrued Salaries, Current
|
US-GAAP
|
Accrued Salaries
|
US-GAAP
|
Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment
|
US-GAAP
|
Accumulated Depreciation, Depletion and Amortization, Sale or Disposal of Property, Plant and Equipment
|
US-GAAP
|
Accumulated Other Comprehensive Income (Loss), Net of Tax
|
US-GAAP
|
Additional Paid in Capital
|
US-GAAP
|
Additional Paid in Capital, Common Stock
|
US-GAAP
|
Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities
|
US-GAAP
|
Assets
|
US-GAAP
|
Assets, Current
|
US-GAAP
|
Net Assets
|
US-GAAP
|
Assets, Noncurrent
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Assets
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Assets, Current
|
US-GAAP
|
Business Combination, Contingent Consideration, Liability, Current
|
US-GAAP
|
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents
|
US-GAAP
|
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Other
|
US-GAAP
|
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities
|
US-GAAP
|
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment
|
US-GAAP
|
Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Net
|
US-GAAP
|
Cash
|
US-GAAP
|
Cash and Cash Equivalents, at Carrying Value
|
US-GAAP
|
Cash and Cash Equivalents, Period Increase (Decrease)
|
US-GAAP
|
Cash and Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect
|
US-GAAP
|
Cash, Cash Equivalents, and Short-term Investments
|
US-GAAP
|
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations
|
US-GAAP
|
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect
|
US-GAAP
|
Cash, Period Increase (Decrease)
|
US-GAAP
|
Common Stock, No Par Value
|
US-GAAP
|
Common Stock, Par or Stated Value Per Share
|
US-GAAP
|
Common Stock, Shares Authorized
|
US-GAAP
|
Common Stock, Shares, Issued
|
US-GAAP
|
Common Stock, Shares, Outstanding
|
US-GAAP
|
Common Stock, Value, Issued
|
US-GAAP
|
Common Stock, Value, Outstanding
|
US-GAAP
|
Comprehensive Income (Loss), Net of Tax, Attributable to Parent
|
US-GAAP
|
Contract with Customer, Liability, Current
|
US-GAAP
|
Cost of Goods Sold (Deprecated 2018-01-31)
|
US-GAAP
|
Cost of Revenue
|
US-GAAP
|
Current Federal Tax Expense (Benefit)
|
US-GAAP
|
Current State and Local Tax Expense (Benefit)
|
US-GAAP
|
Customer Advances, Current
|
US-GAAP
|
Debt Instrument, Decrease, Forgiveness
|
US-GAAP
|
Deferred Revenue, Current
|
US-GAAP
|
Deferred Tax Assets, Operating Loss Carryforwards
|
US-GAAP
|
Deferred Tax Assets, Valuation Allowance
|
US-GAAP
|
Deposit Assets
|
US-GAAP
|
Depreciation
|
US-GAAP
|
Depreciation, Depletion and Amortization
|
US-GAAP
|
Discontinued Operation, Gain (Loss) from Disposal of Discontinued Operation, before Income Tax
|
US-GAAP
|
Discontinued Operation, Gain (Loss) on Disposal of Discontinued Operation, Net of Tax
|
US-GAAP
|
Discontinued Operation, Income (Loss) from Discontinued Operation, Net of Tax, Per Basic and Diluted Share
|
US-GAAP
|
Discontinued Operation, Tax Effect of Discontinued Operation
|
US-GAAP
|
Discontinued Operation, Tax Effect of Gain (Loss) from Disposal of Discontinued Operation
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Assets, Noncurrent
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Cash and Cash Equivalents
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Costs of Goods Sold
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Depreciation and Amortization
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, General and Administrative Expense
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Gross Profit (Loss)
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Intangible Assets
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Inventory
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Operating Expense
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Property, Plant and Equipment
|
US-GAAP
|
Disposal Group, Including Discontinued Operation, Revenue
|
US-GAAP
|
Due from Related Parties
|
US-GAAP
|
Due from Related Parties, Current
|
US-GAAP
|
Due to Related Parties, Current
|
US-GAAP
|
Due to Related Parties
|
US-GAAP
|
Earnings Per Share, Basic and Diluted
|
US-GAAP
|
Earnings Per Share, Diluted
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, Percent
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Percent
|
US-GAAP
|
Effect of Exchange Rate on Cash and Cash Equivalents
|
US-GAAP
|
Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations
|
US-GAAP
|
Equity Method Investment, Ownership Percentage
|
US-GAAP
|
Foreign Currency Exchange Rate, Translation
|
US-GAAP
|
Gain (Loss) on Disposition of Assets
|
US-GAAP
|
Gain (Loss) on Disposition of Property Plant Equipment
|
US-GAAP
|
General and Administrative Expense
|
US-GAAP
|
Goodwill
|
US-GAAP
|
Goodwill, Impairment Loss
|
US-GAAP
|
Gross Profit
|
US-GAAP
|
Income (Loss) from Continuing Operations, Net of Tax, Attributable to Parent
|
US-GAAP
|
Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest
|
US-GAAP
|
Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest
|
US-GAAP
|
Income (Loss) from Continuing Operations, Per Basic and Diluted Share
|
US-GAAP
|
Income (Loss) from Discontinued Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest
|
US-GAAP
|
Income Tax Expense (Benefit)
|
US-GAAP
|
Income Taxes Paid, Net
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Amount
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Amount
|
US-GAAP
|
Increase (Decrease) in Accounts Payable
|
US-GAAP
|
Increase (Decrease) in Accounts Payable and Accrued Liabilities
|
US-GAAP
|
Increase (Decrease) in Accounts Receivable
|
US-GAAP
|
Increase (Decrease) in Income Taxes Payable
|
US-GAAP
|
Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities
|
US-GAAP
|
Increase (Decrease) in Accrued Taxes Payable
|
US-GAAP
|
Increase (Decrease) in Contract with Customer, Liability
|
US-GAAP
|
Increase (Decrease) in Customer Advances
|
US-GAAP
|
Increase (Decrease) in Deferred Revenue
|
US-GAAP
|
Increase (Decrease) in Due from Related Parties
|
US-GAAP
|
Increase (Decrease) in Due from Related Parties, Current
|
US-GAAP
|
Increase (Decrease) in Due to Related Parties
|
US-GAAP
|
Increase (Decrease) in Due to Related Parties, Current
|
US-GAAP
|
Increase (Decrease) in Income Taxes Payable, Net of Income Taxes Receivable
|
US-GAAP
|
Increase (Decrease) in Inventories
|
US-GAAP
|
Increase (Decrease) in Other Accounts Payable
|
US-GAAP
|
Increase (Decrease) in Other Operating Liabilities
|
US-GAAP
|
Increase (Decrease) in Other Receivables
|
US-GAAP
|
Increase (Decrease) in Prepaid Expense and Other Assets
|
US-GAAP
|
Increase (Decrease) in Prepaid Expense
|
US-GAAP
|
Increase (Decrease) in Prepaid Supplies
|
US-GAAP
|
Interest Expense
|
US-GAAP
|
Interest Expense, Borrowings
|
US-GAAP
|
Interest Paid, Including Capitalized Interest, Operating and Investing Activities
|
US-GAAP
|
Interest Paid, Excluding Capitalized Interest, Operating Activities
|
US-GAAP
|
Inventory Adjustments
|
US-GAAP
|
Inventory, Finished Goods, Gross
|
US-GAAP
|
Inventory, Gross
|
US-GAAP
|
Inventory, Net
|
US-GAAP
|
Inventory, Raw Materials and Supplies, Gross
|
US-GAAP
|
Inventory Valuation Reserves
|
US-GAAP
|
Inventory, Work in Process, Gross
|
US-GAAP
|
Inventory Write-down
|
US-GAAP
|
Investment Income, Interest
|
US-GAAP
|
Operating Leases, Rent Expense
|
US-GAAP
|
Lease, Cost
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Year One
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Year Four
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Year Three
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Year Two
|
US-GAAP
|
Lessee, Operating Lease, Liability, Undiscounted Excess Amount
|
US-GAAP
|
Liabilities
|
US-GAAP
|
Liabilities and Equity
|
US-GAAP
|
Liabilities, Current
|
US-GAAP
|
Liabilities, Noncurrent
|
US-GAAP
|
Loans Payable
|
US-GAAP
|
Loans Payable, Current
|
US-GAAP
|
Net Cash Provided by (Used in) Continuing Operations
|
US-GAAP
|
Net Cash Provided by (Used in) Discontinued Operations
|
US-GAAP
|
Net Cash Provided by (Used in) Financing Activities
|
US-GAAP
|
Net Cash Provided by (Used in) Financing Activities, Continuing Operations
|
US-GAAP
|
Net Cash Provided by (Used in) Investing Activities
|
US-GAAP
|
Net Cash Provided by (Used in) Operating Activities
|
US-GAAP
|
Net Income (Loss) Attributable to Parent
|
US-GAAP
|
Net Income (Loss) Allocated to Limited Partners
|
US-GAAP
|
Nonoperating Income (Expense)
|
US-GAAP
|
Financing Receivable, after Allowance for Credit Loss
|
US-GAAP
|
Number of Operating Segments
|
US-GAAP
|
Operating Expenses
|
US-GAAP
|
Operating Income (Loss)
|
US-GAAP
|
Operating Lease, Cost
|
US-GAAP
|
Operating Lease, Liability
|
US-GAAP
|
Operating Lease, Liability, Current
|
US-GAAP
|
Operating Lease, Liability, Noncurrent
|
US-GAAP
|
Operating Lease, Payments
|
US-GAAP
|
Operating Lease, Right-of-Use Asset
|
US-GAAP
|
Operating Leases, Future Minimum Payments Due
|
US-GAAP
|
Operating Leases, Future Minimum Payments Due, Next Twelve Months
|
US-GAAP
|
Operating Leases, Future Minimum Payments, Due in Five Years
|
US-GAAP
|
Operating Leases, Future Minimum Payments, Due in Three Years
|
US-GAAP
|
Operating Leases, Future Minimum Payments, Due in Two Years
|
US-GAAP
|
Operating Leases, Future Minimum Payments, Remainder of Fiscal Year
|
US-GAAP
|
Operating Lease, Weighted Average Discount Rate, Percent
|
US-GAAP
|
Operating Loss Carryforwards
|
US-GAAP
|
Other Accrued Liabilities, Current
|
US-GAAP
|
Other Accrued Liabilities
|
US-GAAP
|
Other Assets, Current
|
US-GAAP
|
Other Assets, Noncurrent
|
US-GAAP
|
Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax, Portion Attributable to Parent
|
US-GAAP
|
OCI, Foreign Currency Transaction and Translation Gain (Loss), Arising During Period, Tax
|
US-GAAP
|
Other Comprehensive Income (Loss), Foreign Currency Translation Adjustment, Tax
|
US-GAAP
|
Other Comprehensive Income (Loss), Tax
|
US-GAAP
|
Other Liabilities, Current
|
US-GAAP
|
Other Nonoperating Expense
|
US-GAAP
|
Other Nonoperating Income
|
US-GAAP
|
Other Nonoperating Income (Expense)
|
US-GAAP
|
Other Receivables, Gross, Current
|
US-GAAP
|
Other Receivables, Net, Current
|
US-GAAP
|
Payments for (Proceeds from) Other Investing Activities
|
US-GAAP
|
Payments for (Proceeds from) Productive Assets
|
US-GAAP
|
Payments to Acquire Businesses and Interest in Affiliates
|
US-GAAP
|
Payments to Acquire Businesses, Gross
|
US-GAAP
|
Payments to Acquire Businesses, Net of Cash Acquired
|
US-GAAP
|
Payments to Acquire Interest in Subsidiaries and Affiliates
|
US-GAAP
|
Payments to Acquire Notes Receivable
|
US-GAAP
|
Payments to Acquire Property, Plant, and Equipment
|
US-GAAP
|
Preferred Stock, Par or Stated Value Per Share
|
US-GAAP
|
Preferred Stock, Shares Authorized
|
US-GAAP
|
Preferred Stock, Shares Issued
|
US-GAAP
|
Preferred Stock, Shares Outstanding
|
US-GAAP
|
Prepaid Expense and Other Assets
|
US-GAAP
|
Prepaid Expense, Current
|
US-GAAP
|
Prepaid Expense, Noncurrent
|
US-GAAP
|
Proceeds from Bank Debt
|
US-GAAP
|
Proceeds from Collection of Long-term Loans to Related Parties
|
US-GAAP
|
Proceeds from Collection of Notes Receivable
|
US-GAAP
|
Proceeds from Issuance of Common Stock
|
US-GAAP
|
Proceeds from Collection of (Payments to Fund) Long-term Loans to Related Parties
|
US-GAAP
|
Proceeds from Related Party Debt
|
US-GAAP
|
Proceeds from (Repayments of) Debt
|
US-GAAP
|
Proceeds from Sale of Property, Plant, and Equipment
|
US-GAAP
|
Proceeds from Short-term Debt
|
US-GAAP
|
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest
|
US-GAAP
|
Property, Plant and Equipment, Gross
|
US-GAAP
|
Property, Plant and Equipment, Net
|
US-GAAP
|
Public Utilities, Inventory
|
US-GAAP
|
Public Utilities, Property, Plant and Equipment, Accumulated Depreciation
|
US-GAAP
|
Repayments of Bank Debt
|
US-GAAP
|
Repayments of Related Party Debt
|
US-GAAP
|
Repayments of Short-term Debt
|
US-GAAP
|
Retained Earnings (Accumulated Deficit)
|
US-GAAP
|
Revenue from Contract with Customer, Excluding Assessed Tax
|
US-GAAP
|
Revenues
|
US-GAAP
|
Right-of-Use Asset Obtained in Exchange for Operating Lease Liability
|
US-GAAP
|
Sales and Excise Tax Payable
|
US-GAAP
|
Sales Revenue, Goods, Net (Deprecated 2018-01-31)
|
US-GAAP
|
Sales Revenue, Services, Net (Deprecated 2018-01-31)
|
US-GAAP
|
Selling and Marketing Expense
|
US-GAAP
|
Shares Issued, Price Per Share
|
US-GAAP
|
Short-term Debt
|
US-GAAP
|
Short-term Lease, Cost
|
US-GAAP
|
Stockholders' Equity Attributable to Parent
|
US-GAAP
|
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest
|
US-GAAP
|
Stock Issued During Period, Shares, New Issues
|
US-GAAP
|
Stock Issued During Period, Value, Acquisitions
|
US-GAAP
|
Stock Issued During Period, Value, New Issues
|
US-GAAP
|
Prepaid Supplies
|
US-GAAP
|
Taxes Payable, Current
|
US-GAAP
|
Treasury Stock, Shares
|
US-GAAP
|
Treasury Stock, Value
|
US-GAAP
|
Valuation Allowance, Deferred Tax Asset, Increase (Decrease), Amount
|
US-GAAP
|
Weighted Average Number of Shares Outstanding, Diluted
|
US-GAAP
|
Weighted Average Number of Shares Outstanding, Basic and Diluted
|
US-GAAP
|
Interest and Other Income
|
US-GAAP
|
Accounts Payable, Other, Current
|
US-GAAP
|
Accrual for Taxes Other than Income Taxes, Current
|
US-GAAP
|
Accounts Receivable, Allowance for Credit Loss
|
US-GAAP
|
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount
|
US-GAAP
|
Asset Impairment Charges
|
US-GAAP
|
Assets, Fair Value Disclosure
|
US-GAAP
|
Depreciation, Depletion and Amortization, Nonproduction
|
US-GAAP
|
Earnings Per Share, Basic
|
US-GAAP
|
Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents
|
US-GAAP
|
Weighted Average Number of Shares Issued, Basic
|
US-GAAP
|
Weighted Average Number of Shares Outstanding, Basic
|
US-GAAP
|
Debt Instrument, Interest Rate, Stated Percentage
|
US-GAAP
|
Debt Securities, Current
|
US-GAAP
|
Payments to Acquire Debt Securities, Available-for-sale
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Remainder of Fiscal Year
|
US-GAAP
|
Shares, Outstanding
|
US-GAAP
|
Amortization of Debt Discount (Premium)
|
US-GAAP
|
Class of Warrant or Right, Exercise Price of Warrants or Rights
|
US-GAAP
|
Convertible Debt, Noncurrent
|
US-GAAP
|
Debt Instrument, Convertible, Beneficial Conversion Feature
|
US-GAAP
|
Debt Instrument, Convertible, Conversion Price
|
US-GAAP
|
Debt Instrument, Face Amount
|
US-GAAP
|
Derivative, Fair Value, Net
|
US-GAAP
|
Derivative Liability, Noncurrent
|
US-GAAP
|
Fair Value Adjustment of Warrants
|
US-GAAP
|
Fee Income
|
US-GAAP
|
Interest Payable, Current
|
US-GAAP
|
Investment Income, Net
|
US-GAAP
|
Accounts and Financing Receivable, after Allowance for Credit Loss, Noncurrent
|
US-GAAP
|
Long-Lived Assets
|
US-GAAP
|
Other Income
|
US-GAAP
|
Proceeds from Convertible Debt
|
US-GAAP
|
Allowance for Funds Used During Construction, Capitalized Interest
|
US-GAAP
|
Restricted Cash, Noncurrent
|
US-GAAP
|
Warrants and Rights Outstanding
|
US-GAAP
|
Adjustments to Additional Paid in Capital, Convertible Debt with Conversion Feature
|
US-GAAP
|
Amortization of above and below Market Leases
|
US-GAAP
|
Debt Conversion, Converted Instrument, Amount
|
US-GAAP
|
Debt Conversion, Converted Instrument, Shares Issued
|
US-GAAP
|
Long-term Debt, Gross
|
US-GAAP
|
Derivative Liability
|
US-GAAP
|
Embedded Derivative, Fair Value of Embedded Derivative Liability
|
US-GAAP
|
Interest Expense, Debt
|
US-GAAP
|
Restricted Cash
|
US-GAAP
|
Stock Issued During Period, Shares, Reverse Stock Splits
|
US-GAAP
|
Business Combination, Acquisition of Less than 100 Percent, Noncontrolling Interest, Fair Value
|
US-GAAP
|
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables
|
US-GAAP
|
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Long-term Debt
|
US-GAAP
|
Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Less Noncontrolling Interest
|
US-GAAP
|
Gain (Loss) on Extinguishment of Debt
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, after Year Five
|
US-GAAP
|
Related Party Transaction, Amounts of Transaction
|
US-GAAP
|
Lessor, Operating Lease, Payments to be Received
|
US-GAAP
|
Lessor, Operating Lease, Payments to be Received, Next Rolling Twelve Months
|
US-GAAP
|
Lessor, Operating Lease, Payments to be Received, Rolling Year Four
|
US-GAAP
|
Lessor, Operating Lease, Payments to be Received, Rolling Year Three
|
US-GAAP
|
Lessor, Operating Lease, Payments to be Received, Rolling Year Two
|
US-GAAP
|
Repayments of Notes Payable
|
US-GAAP
|
Stock Issued During Period, Shares, Stock Splits
|
US-GAAP
|
Inventory, Raw Materials, Gross
|
US-GAAP
|
Proceeds from (Repayments of) Related Party Debt
|
US-GAAP
|
Debt Instrument, Periodic Payment, Interest
|
US-GAAP
|
Gain (Loss) on Disposition of Stock in Subsidiary
|
US-GAAP
|
Lessor, Operating Lease, Payment to be Received, Year One
|
US-GAAP
|
Lessor, Operating Lease, Payment to be Received, Remainder of Fiscal Year
|
US-GAAP
|
Lessor, Operating Lease, Payment to be Received, Year Three
|
US-GAAP
|
Lessor, Operating Lease, Payment to be Received, Year Two
|
US-GAAP
|
Cash Acquired from Acquisition
|
US-GAAP
|
Debt Conversion, Original Debt, Amount
|
US-GAAP
|
Repayments of Convertible Debt
|
US-GAAP
|
Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax
|
US-GAAP
|