2.4.0.80070 - Disclosure - 22. Earnings per share (Details)truefalsefalse1falseUSDfalsefalse$From2013-04-01to2013-06-30http://www.sec.gov/CIK0000793306duration2013-04-01T00:00:002013-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$From2012-04-01to2012-06-30http://www.sec.gov/CIK0000793306duration2012-04-01T00:00:002012-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$From2013-01-01to2013-06-30http://www.sec.gov/CIK0000793306duration2013-01-01T00:00:002013-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDfalsefalse$From2012-01-01to2012-06-30http://www.sec.gov/CIK0000793306duration2012-01-01T00:00:002012-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true1us-gaap_EarningsPerShareAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false2us-gaap_IncomeLossFromContinuingOperationsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-5107010-5107010USD$falsetruefalse2truefalsefalse-7303490-7303490USD$falsetruefalse3truefalsefalse-5870341-5870341USD$falsetruefalse4truefalsefalse-9260870-9260870USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of income (loss) from continuing operations attributable to the parent. Also defined as revenue less expenses and taxes from ongoing operations before extraordinary items but after deduction of those portions of income or loss from continuing operations that are allocable to noncontrolling interests.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 45
-Paragraph 18
-URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4613673-111683
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.13)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
false23false2us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntityus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00 falsefalsefalse2truefalsefalse-94344-94344falsefalsefalse3falsefalsefalse00 falsefalsefalse4truefalsefalse-106858-106858falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of income (loss) from a disposal group, net of income tax, reported as a separate component of income before extraordinary items after deduction or consideration of the amount allocable to noncontrolling interests. Includes, net of tax, income (loss) from operations during the phase-out period, gain (loss) on disposal, provision (or any reversals of earlier provisions) for loss on disposal, and adjustments of a prior period gain (loss) on disposal.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 45
-Paragraph 19
-URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4569616-111683
false24false2us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-5107010-5107010USD$falsetruefalse2truefalsefalse-7397834-7397834USD$falsetruefalse3truefalsefalse-5870341-5870341USD$falsetruefalse4truefalsefalse-9367728-9367728USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false25true2us-gaap_EarningsPerShareDilutedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse06false3BDCO_IncomeLossFromContinuingOperationsPerDilutedShare1BDCO_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-0.49-0.49USD$falsetruefalse2truefalsefalse-0.69-0.69USD$falsetruefalse3truefalsefalse-0.56-0.56USD$falsetruefalse4truefalsefalse-0.93-0.93USD$falsetruefalsenum:perShareItemTypedecimalCustom Element.No definition available.false37false3us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerDilutedShareus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00 falsefalsefalse2truefalsefalse-0.01-0.01USD$falsetruefalse3falsefalsefalse00 falsefalsefalse4truefalsefalse-0.01-0.01USD$falsetruefalsenum:perShareItemTypedecimalPer diluted share amount, after tax, of income (loss) from the day-to-day business activities of the discontinued operation and gain (loss) from the disposal of the discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 3
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1278-109256
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 5
-Section E
-Paragraph Question 3
false38false3us-gaap_EarningsPerShareBasicAndDilutedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse-0.49-0.49USD$falsetruefalse2truefalsefalse-0.70-0.70USD$falsetruefalse3truefalsefalse-0.56-0.56USD$falsetruefalse4truefalsefalse-0.94-0.94USD$falsetruefalsenum:perShareItemTypedecimalThe amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements. Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period. Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.No definition available.false39true2us-gaap_EarningsPerShareBasicAndDilutedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse010false3us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDilutedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1042162910421629falsefalsefalse2truefalsefalse1054185310541853falsefalsefalse3truefalsefalse1046573610465736falsefalsefalse4truefalsefalse1000292610002926falsefalsefalsexbrli:sharesItemTypesharesAverage number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share (EPS).No definition available.false1false22. Earnings per share (Details) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://blue-dolphin.com/role/EarningsPerShareDetails410