2.4.0.80061 - Disclosure - 15. Accrued Expenses and Other Current Liabilities (Details)truefalsefalse1falseUSDfalsefalse$AsOf2013-06-30http://www.sec.gov/CIK0000793306instant2013-06-30T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$AsOf2012-12-31http://www.sec.gov/CIK0000793306instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true1BDCO_AccruedExpensesAndOtherCurrentLiabilitiesDetailsAbstractBDCO_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false2BDCO_AccruedExciseTaxesBDCO_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse283640283640USD$falsetruefalse2truefalsefalse292303292303USD$falsetruefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false23false2BDCO_AccruedTurnaroundExpensesBDCO_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse6364663646falsefalsefalse2falsefalsefalse00 falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false24false2BDCO_AccruedTransportationBDCO_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00 falsefalsefalse2truefalsefalse6955169551falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false25false2us-gaap_AccountsPayableOtherCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse252199252199falsefalsefalse2falsefalsefalse00 falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of obligations incurred and payable, which are not elsewhere specified in the taxonomy. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19
-Subparagraph a
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Liabilities
-URI http://asc.fasb.org/extlink&oid=6509677
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6935-107765
Reference 4: 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(a))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false26false2us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse2700027000falsefalsefalse2falsefalsefalse00 falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of obligations incurred and payable for real and property taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Liabilities
-URI http://asc.fasb.org/extlink&oid=6509677
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6935-107765
Reference 4: 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.20)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 720
-SubTopic 30
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6419918&loc=d3e35281-107843
false27false2us-gaap_AccruedInsuranceCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse2244022440falsefalsefalse2falsefalsefalse00 falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of obligations incurred through that date and payable to insurance entities to mitigate potential loss from various risks or to satisfy a promise to provide certain coverage's to employees. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Liabilities
-URI http://asc.fasb.org/extlink&oid=6509677
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6935-107765
Reference 4: 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.20)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6911-107765
false28false2BDCO_UnrealizedHedgingLossBDCO_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00 falsefalsefalse2truefalsefalse136100136100falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false29false2BDCO_UnearnedRevenueBDCO_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse6500065000falsefalsefalse2truefalsefalse9278392783falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false210false2us-gaap_AccruedLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse713925713925USD$falsetruefalse2truefalsefalse725238725238USD$falsetruefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20
-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.20)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2false15. Accrued Expenses and Other Current Liabilities (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://blue-dolphin.com/role/AccruedExpensesAndOtherCurrentLiabilitiesDetails210