v2.4.0.8

Debt (Details) (USD $) |  | 0 Months Ended |  | 0 Months Ended |  | 0 Months Ended |  | 0 Months Ended |  |  |  |  | 12 Months Ended |  |  | 0 Months Ended | 12 Months Ended |  |  |  |  | 0 Months Ended | 12 Months Ended |  | 0 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Dec. 31, 2013 | Jan. 30, 2013 Scenario, Previously Reported [Member] Agreement with Kanis S.A for Amendment of Shareholder Note [Member] 6% Shareholder Note Due 2013 [Member] | Jan. 30, 2013 Scenario, Previously Reported [Member] Agreement with Kanis S.A for Amendment of Shareholder Note [Member] | Aug. 15, 2012 Scenario, Previously Reported [Member] Line Of Credit With FGI [Member] | Jan. 13, 2013 Scenario, Previously Reported [Member] Minimum [Member] 6% Shareholder Note Due 2013 [Member] | Jan. 30, 2013 Scenario, Adjustment [Member] Agreement with Kanis S.A for Amendment of Shareholder Note [Member] 6% Shareholder Note Due 2013 [Member] | Jan. 30, 2013 Scenario, Adjustment [Member] 8% Shareholder Note Due 2015 [Member] | Aug. 15, 2012 Scenario, Adjustment [Member] Line Of Credit With FGI [Member] | Jan. 13, 2013 Scenario, Adjustment [Member] Maximum [Member] 6% Shareholder Note Due 2013 [Member] | Jul. 03, 2013 Common Stock [Member] 8% Shareholder Note Due 2015 [Member] Premium And Accrued Interest Payment [Member] | Feb. 16, 2012 Common Stock [Member] Shareholder Note Payable Due 2016 [Member] | Jul. 03, 2013 Common Stock [Member] Original Loan Repayment [Member] | Dec. 31, 2013 Common Stock [Member] | Feb. 14, 2011 Sale and Security Agreements [Member] Line Of Credit With FGI [Member] | Jan. 30, 2013 6% Shareholder Note Due 2013 [Member] | Jul. 03, 2013 8% Shareholder Note Due 2015 [Member] Premium And Accrued Interest Payment [Member] | Dec. 31, 2013 8% Shareholder Note Due 2015 [Member] | Jun. 30, 2013 8% Shareholder Note Due 2015 [Member] | Jul. 27, 2012 8% Shareholder Note Due 2015 [Member] | Mar. 31, 2011 8% Shareholder Note Due 2015 [Member] | Dec. 30, 2010 8% Shareholder Note Due 2015 [Member] | Jul. 27, 2012 Shareholder Note Payable Due 2016 [Member] | Feb. 16, 2012 Shareholder Note Payable Due 2016 [Member] | Apr. 08, 2011 Shareholder Note Payable Due 2016 [Member] | Dec. 31, 2013 Shareholder Note Payable Due 2016 [Member] | May 06, 2011 Shareholder Note Payable Due 2016 [Member] | Aug. 15, 2012 Line Of Credit With FGI [Member] | Dec. 31, 2013 Line Of Credit With FGI [Member] | Dec. 31, 2012 Line Of Credit With FGI [Member]
Debt (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 6.00% |  |  |  |  |  |  |  |  |  |  |  | 6.00% |  |  |  | 8.00% | 6.00% | 8.00% |  |  |  |  | 8.00% |  |  | 6.50%
Debt Instrument, Maturity Date |  | Jun. 30, 2013 |  |  |  | Jun. 30, 2015 |  |  |  |  |  |  |  |  |  |  | Jul. 27, 2015 |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Unamortized Discount | $ 100,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,000 |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  |  |  |  |  | 7,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  | 7,500,000 |
Line of Credit Facility, Expiration Date |  |  |  | Feb. 14, 2013 |  |  |  | Aug. 15, 2015 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility Optional Additional Term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1 year |  |
Line of Credit Facility Threshold Percentage of Purchase Receivables Elected by Issuer |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 80.00% |  |
Line of Credit Facility Purchased Receivable Reserved by Borrower |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 20.00% |  |
Line of Credit Facility Advance Amount in Percentage of Purchased Accounts Receivable Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 80.00% |  |
Line of Credit Facility Maximum Borrowing Capacity against Inventory Collateral |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,500,000 |
Line of Credit Facility Inventory Collateral Sub limit Determinant Percentage of Aggregate Purchase Price for Purchased Receivable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 50.00% |
Line of Credit Facility Interest Rate Determinant Threshold Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 6.50% |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.50% |
Line of Credit Facility Periodic Collateral Fees Percentage of Eligible Receivables |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.30% |
Line of Credit Facility Periodic Collateral Fees Percentage of Borrowing against Inventory Collateral |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.38% |
Line of Credit Facility Amount Outstanding Standby Fees Determination Threshold |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2,400,000 |
Line of Credit Facility Standby Fees Percentage of Determinant Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.44% |
Line of Credit Facility Standby Fees Determinant Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 80.00% |
Line of Credit Facility, Entry Facility Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 75,000 |
Line of Credit Facility, Amendment Facility Fee Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 75,000 |
Line of Credit Facility Termination Fee Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00% |
Line of Credit Facility Termination Fee Waiver Notification Period |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 days |
Line of Credit Facility Notification Period for Termination Fee Waiver Threshold Reserve Percentage for Accounts |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 40.00% |
Line of Credit Facility Termination Fee Waiver Threshold Consecutive Days |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 days |
Borrowings Outstanding Amount against Pledged Accounts Receivable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 900,000 |
Borrowings Outstanding Amount Against Pledged Accounts Receivable Gross |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,900,000 |
Pledged Assets Accounts Receivable Pledged as Collateral Gross Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2,500,000 |
Cash Collection from Non-Pledged Receivable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,000,000 |
Borrowings Outstanding Amount against Pleged Inventory |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,400,000 |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,000,000 |  | 1,500,000 |  |  |  |  | 3,000,000 |  |  |
Debt Instrument, Unamortized Premium |  |  |  |  | 100,000 |  | 250,000 |  | 200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Notes Payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 100,000 |  |  |  |  |  |  |  |  |  |  |
Interest Payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 135,000 |  |  |  |  |  |  |  |  |  |  |
Stock Issued During Period Shares Issued for Payment of Premium and Interest |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 188,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | 94,000 |  |  |  |  |  |  |  |  | 94,000 | 5,000 | 25,000 |  |  |  |  |  |  | 45,000 |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ 1.25 |  |  |  |  |  |  |  |  |  | $ 3.80 | $ 10.40 |  |  |  | $ 1.25 |  |  | $ 2.09 |  |  |  |  |  |  |  |  |  |
Debt Instrument Maturity Period |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 5 years |  |  |  |
Debt Instrument Maturity Acceleration Notice Period to be Served by Lender |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 days |  |  |  |
Debt Instrument, Redemption Price, Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |
Debt Instrument, Convertible, Conversion Price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 4.00 |  | $ 7.044 |  |  |  |  |
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 120.00% |  |  |  |  |
Debt Conversion, Converted Instrument, Shares Issued |  |  |  |  |  |  |  |  |  |  |  |  | 188,000 |  |  |  |  |  |  |  |  | 250,000 |  | 369,853 |  |  |  |  |
Debt Instrument Convertible Threshold Notice Period |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 75 days |  |  |  |  |  |  |
Class of Warrant or Right Expiry Description |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | the earlier of (x) August 16, 2017 and (y) that date that is 30 days after the Company gives notice to the warrant holder that the market value of one share of its common stock has exceeded 130% of the exercise price of the warrant for 10 consecutive days on or after August 16, 2014 |  |  |  |  |  |

X
- Definition Amount borrowed under the credit facility as of the balance sheet date against pledged accounts receivable. + References No definition available. + Details
Name: | cdti_BorrowingsOutstandingAmountAgainstPledgedAccountsReceivable
Namespace Prefix: | cdti_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount borrowed under the credit facility as of the balance sheet date against pledged accounts receivable gross. + References No definition available. + Details
Name: | cdti_BorrowingsOutstandingAmountAgainstPledgedAccountsReceivableGross
Namespace Prefix: | cdti_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount borrowed under the credit facility as of the balance sheet date against pledged inventory. + References No definition available. + Details
Name: | cdti_BorrowingsOutstandingAmountAgainstPlegedInventory
Namespace Prefix: | cdti_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cash collection held by FGI to non pledged receivable. + References No definition available. + Details
Name: | cdti_CashCollectionFromNonPledgedReceivable
Namespace Prefix: | cdti_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Description of the expiry of warrants. + References No definition available. + Details
Name: | cdti_ClassOfWarrantOrRightExpiryDescription
Namespace Prefix: | cdti_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | cdti_DebtDetailsLineItems
Namespace Prefix: | cdti_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The threshold notice period to be served to convert the debt instrument. + References No definition available. + Details
Name: | cdti_DebtInstrumentConvertibleThresholdNoticePeriod
Namespace Prefix: | cdti_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The notice period to be served by the lender for the acceleration of maturity of the instrument. + References No definition available. + Details
Name: | cdti_DebtInstrumentMaturityAccelerationNoticePeriodToBeServedByLender
Namespace Prefix: | cdti_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The period from the date of issuance to date of maturity of the instrument. + References No definition available. + Details
Name: | cdti_DebtInstrumentMaturityPeriod
Namespace Prefix: | cdti_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The advance amount by the lender expressed as percentage of the value of purchased accounts receivable subjected to the limit of maximum borrowing capacity of the line of credit. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityAdvanceAmountInPercentageOfPurchasedAccountsReceivableValue
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the facility fee paid upon amending the credit facility. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityAmendmentFacilityFeeAmount
Namespace Prefix: | cdti_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The outstanding threshold amount of the facility for the determination of the standby fees. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityAmountOutstandingStandbyFeesDeterminationThreshold
Namespace Prefix: | cdti_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the one time facility fee paid upon entry under the credit facility. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityEntryFacilityFeeAmount
Namespace Prefix: | cdti_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The threshold percentage used as a determinant factor for interest rate on advances or borrowing under the credit facility. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityInterestRateDeterminantThresholdPercentage
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of aggregate purchase price of purchased receivable under the credit facility which serves as a determinant to arrive at the inventory collateral sublimit amount. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityInventoryCollateralSublimitDeterminantPercentageOfAggregatePurchasePriceForPurchasedReceivable
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Maximum borrowing capacity against inventory collateral. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityMaximumBorrowingCapacityAgainstInventoryCollateral
Namespace Prefix: | cdti_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum reserve percentage of accounts used a determining factor to waive the termination fees. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityNotificationPeriodForTerminationFeeWaiverThresholdReservePercentageForAccounts
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The optional additional term of the credit facility. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityOptionalAdditionalTerm
Namespace Prefix: | cdti_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of Credit Facility, Periodic Collateral Fees, Percentage of Borrowing Against Inventory Collateral + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityPeriodicCollateralFeesPercentageOfBorrowingAgainstInventoryCollateral
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of Credit Facility, Periodic Collateral Fees, Percentage of Eligible Receivables + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityPeriodicCollateralFeesPercentageOfEligibleReceivables
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of purchased receivables reserved by the borrower. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityPurchasedReceivableReservedByBorrower
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of the difference between the advance borrowing and threshold limit used as a determining factor of the standby fees. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityStandbyFeesDeterminantRate
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage on the standby fees determinant rate used to derive the standby fees. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityStandbyFeesPercentageOfDeterminantRate
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for termination of the credit facility prior to the last day of the initial term or any additional term. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityTerminationFeePercentage
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The prior notification period for the termination fee waiver. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityTerminationFeeWaiverNotificationPeriod
Namespace Prefix: | cdti_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold period of specified consecutive days for which the reserve percentage of accounts must exceed the threshold limit to gain eligibility for the termination fee waiver. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityTerminationFeeWaiverThresholdConsecutiveDays
Namespace Prefix: | cdti_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold percentage of purchased receivables to be elected by the Issuer at will. + References No definition available. + Details
Name: | cdti_LineOfCreditFacilityThresholdPercentageOfPurchaseReceivablesElectedByIssuer
Namespace Prefix: | cdti_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The gross value, as of the date of each statement of financial position presented, of accounts receivable which are owned but transferred to serve as collateral for the payment of the related debt obligation. + References No definition available. + Details
Name: | cdti_PledgedAssetsAccountsReceivablePledgedAsCollateralGrossValue
Namespace Prefix: | cdti_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of shares issued in lieu of cash for payment of premium and interest. + References No definition available. + Details
Name: | cdti_StockIssuedDuringPeriodSharesIssuedForPaymentOfPremiumAndInterest
Namespace Prefix: | cdti_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph i -Subparagraph 4 -Article 4 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | us-types:perUnitItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(2)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph i -Subparagraph 2 -Article 4 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6928298&loc=SL6031898-161870 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Minimum percentage of common stock price to conversion price of convertible debt instruments to determine eligibility of conversion. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of debt premium that was originally recognized at the issuance of the instrument that has yet to be amortized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedPremium
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of interest payable on debt, including, but not limited to, trade payables. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.15(5)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.15(a)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 15 -Subparagraph a -Article 7 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 15 -Subparagraph 5 -Article 9 + Details
Name: | us-gaap_InterestPayableCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Date the credit facility terminates, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 20, 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 13, 16 -Article 9 + Details
Name: | us-gaap_NotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant