2.4.0.80050 - Disclosure - 6. Refined Petroleum Products and Crude Oil Inventory Risk Management (Details)truefalsefalse1false
falsefalseAsOf2013-06-30_custom_RefinedProductsNetShortLongPositionsMemberhttp://www.sec.gov/CIK0000793306instant2013-06-30T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 1false
truefalseAsOf2013-06-30_custom_RefinedProductsNetShortLongPositionsMemberhttp://www.sec.gov/CIK0000793306instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRefined petroleum products and crude oil - net short (long) positions [Member]us-gaap_OilAndGasDeliveryCommitmentsAndContractsAxisxbrldihttp://xbrl.org/2006/xbrldiBDCO_RefinedProductsNetShortLongPositionsMemberus-gaap_OilAndGasDeliveryCommitmentsAndContractsAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse0
2true
4BDCO_VolumeInThousandsOfBarrlesAbstractBDCO_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
3false
5BDCO_RefinedProductsNetShortLongPositions2012BDCO_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse4500045000falsefalsefalse | xbrli:sharesItemTypesharesCustom Element.No definition available.false1
4false
5BDCO_RefinedProductsNetShortLongPositions2013BDCO_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00 falsefalsefalse | xbrli:sharesItemTypesharesCustom Element.No definition available.false1
5false
5BDCO_RefinedProductsNetShortLongPositions2014BDCO_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00 falsefalsefalse | xbrli:sharesItemTypesharesCustom Element.No definition available.false1
6false
5BDCO_RefinedProductsNetShortLongPositions2015BDCO_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00 falsefalsefalse | xbrli:sharesItemTypesharesCustom Element.No definition available.false1
false6. Refined Petroleum Products and Crude Oil Inventory Risk Management (Details) (Refined petroleum products and crude oil - net short (long) positions [Member])UnKnownNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://blue-dolphin.com/role/RefinedPetroleumProductsAndCrudeOilInventoryRiskManagementDetails16