2.4.0.80048 - Disclosure - 5. Fair Value Measurement (Details)truefalsefalse1false USDfalsefalse$AsOf2013-06-30http://www.sec.gov/CIK0000793306instant2013-06-30T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 4us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 5us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse7920079200USD$falsetruefalsexbrli:monetaryItemTypemonetaryFair value before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=28370219&loc=SL20226000-175313 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624163-113959 false23false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2false USDtruefalse$AsOf2013-06-30_FairValueInputsLevel1Memberhttp://www.sec.gov/CIK0000793306instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseFairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse04true 4us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse05false 5us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse7920079200USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=28370219&loc=SL20226000-175313 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624163-113959 false26false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse3false USDtruefalse$AsOf2013-06-30_FairValueInputsLevel2Memberhttp://www.sec.gov/CIK0000793306instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseFairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse07true 4us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse08false 5us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=28370219&loc=SL20226000-175313 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624163-113959 false29false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse4false USDtruefalse$AsOf2013-06-30_FairValueInputsLevel3Memberhttp://www.sec.gov/CIK0000793306instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseFairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse010true 4us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false 5us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=28370219&loc=SL20226000-175313 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624163-113959 false2false5. Fair Value Measurement (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://blue-dolphin.com/role/FairValueMeasurementDetails111