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 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse1false 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/instancesharesxbrli0nanafalse02true 4BDCO_VolumeInThousandsOfBarrlesAbstractBDCO_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 5BDCO_RefinedProductsNetShortLongPositions2012BDCO_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse4500045000falsefalsefalsexbrli:sharesItemTypesharesCustom Element.No definition available.false14false 5BDCO_RefinedProductsNetShortLongPositions2013BDCO_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesCustom Element.No definition available.false15false 5BDCO_RefinedProductsNetShortLongPositions2014BDCO_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesCustom Element.No definition available.false16false 5BDCO_RefinedProductsNetShortLongPositions2015BDCO_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesCustom Element.No definition available.false1false6. 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