{
 "version": "2.2",
 "instance": {
  "bdco20230930_10q.htm": {
   "nsprefix": "bdco",
   "nsuri": "http://www.blue-dolphin-energy.com/20240331",
   "dts": {
    "schema": {
     "local": [
      "bdco-20240331.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-roles-2024.xsd",
      "https://xbrl.fasb.org/srt/2024/elts/srt-types-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-roles-2024.xsd",
      "https://xbrl.fasb.org/us-gaap/2024/elts/us-types-2024.xsd",
      "https://xbrl.sec.gov/country/2024/country-2024.xsd",
      "https://xbrl.sec.gov/currency/2024/currency-2024.xsd",
      "https://xbrl.sec.gov/dei/2024/dei-2024.xsd",
      "https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd",
      "https://xbrl.sec.gov/exch/2024/exch-2024.xsd",
      "https://xbrl.sec.gov/naics/2024/naics-2024.xsd",
      "https://xbrl.sec.gov/sic/2024/sic-2024.xsd",
      "https://xbrl.sec.gov/stpr/2024/stpr-2024.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "bdco-20240331_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "bdco-20240331_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "bdco-20240331_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "bdco-20240331_pre.xml"
     ]
    },
    "inline": {
     "local": [
      "bdco20230930_10q.htm"
     ]
    }
   },
   "keyStandard": 239,
   "keyCustom": 69,
   "axisStandard": 26,
   "axisCustom": 0,
   "memberStandard": 20,
   "memberCustom": 59,
   "hidden": {
    "total": 50,
    "http://fasb.org/us-gaap/2024": 35,
    "http://www.blue-dolphin-energy.com/20240331": 5,
    "http://xbrl.sec.gov/dei/2024": 6,
    "http://xbrl.sec.gov/ecd/2024": 4
   },
   "contextCount": 242,
   "entityCount": 1,
   "segmentCount": 90,
   "elementCount": 512,
   "unitCount": 10,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2024": 679,
    "http://xbrl.sec.gov/dei/2024": 26,
    "http://xbrl.sec.gov/ecd/2024": 5
   },
   "report": {
    "R1": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information",
     "longName": "000 - Document - Document And Entity Information",
     "shortName": "Document And Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "b",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
     "longName": "001 - Statement - Consolidated Balance Sheets (Current Period Unaudited)",
     "shortName": "Consolidated Balance Sheets (Current Period Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:DepositsAssetsCurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-4",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
     "longName": "002 - Statement - Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)",
     "shortName": "Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": null,
     "uniqueAnchor": null
    },
    "R4": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
     "longName": "003 - Statement - Consolidated Statements of Income (Unaudited)",
     "shortName": "Consolidated Statements of Income (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:CostsIncurredOilAndGasPropertyAcquisitionExplorationAndDevelopmentActivities",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-",
     "longName": "004 - Statement - Consolidated Statements of Stockholders' Equity (Unaudited)",
     "shortName": "Consolidated Statements of Stockholders' Equity (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "i_2022-12-31_StatementEquityComponentsAxis-CommonStockMember",
      "name": "us-gaap:SharesOutstanding",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2022-12-31_StatementEquityComponentsAxis-CommonStockMember",
      "name": "us-gaap:SharesOutstanding",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited",
     "longName": "005 - Statement - Consolidated Statements of Cash Flows (Unaudited)",
     "shortName": "Consolidated Statements of Cash Flows (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:DepreciationDepletionAndAmortization",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
     "longName": "006 - Disclosure - Note 1 - Organization",
     "shortName": "Note 1 - Organization",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "7",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
     "longName": "007 - Disclosure - Note 2 - Principles of Consolidation and Significant Accounting Policies",
     "shortName": "Note 2 - Principles of Consolidation and Significant Accounting Policies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
     "longName": "008 - Disclosure - Note 3 - Related-party Transactions",
     "shortName": "Note 3 - Related-party Transactions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information",
     "longName": "009 - Disclosure - Note 4 - Revenue and Segment Information",
     "shortName": "Note 4 - Revenue and Segment Information",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
     "longName": "010 - Disclosure - Note 5 - Concentration of Risk",
     "shortName": "Note 5 - Concentration of Risk",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets",
     "longName": "011 - Disclosure - Note 6 - Prepaid Expenses and Other Current Assets",
     "shortName": "Note 6 - Prepaid Expenses and Other Current Assets",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory",
     "longName": "012 - Disclosure - Note 7 - Inventory",
     "shortName": "Note 7 - Inventory",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net",
     "longName": "013 - Disclosure - Note 8 - Property, Plant and Equipment, Net",
     "shortName": "Note 8 - Property, Plant and Equipment, Net",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities",
     "longName": "014 - Disclosure - Note 9 - Accrued Expenses and Other Current Liabilities",
     "shortName": "Note 9 - Accrued Expenses and Other Current Liabilities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
     "longName": "015 - Disclosure - Note 10 - Third-party Long-term Debt",
     "shortName": "Note 10 - Third-party Long-term Debt",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
     "longName": "016 - Disclosure - Note 11 - AROs",
     "shortName": "Note 11 - AROs",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:AssetRetirementObligationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:AssetRetirementObligationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
     "longName": "017 - Disclosure - Note 12 - Lease Obligations",
     "shortName": "Note 12 - Lease Obligations",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes",
     "longName": "018 - Disclosure - Note 13 - Income Taxes",
     "shortName": "Note 13 - Income Taxes",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share",
     "longName": "019 - Disclosure - Note 14 - Earnings and Dividends Per Share",
     "shortName": "Note 14 - Earnings and Dividends Per Share",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
     "longName": "020 - Disclosure - Note 15 - Commitments and Contingencies",
     "shortName": "Note 15 - Commitments and Contingencies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
     "longName": "995445 - Disclosure - Insider Trading Arrangements",
     "shortName": "Insider Trading Arrangements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "ecd:MtrlTermsOfTrdArrTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "ecd:MtrlTermsOfTrdArrTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies",
     "longName": "995467 - Disclosure - Significant Accounting Policies (Policies)",
     "shortName": "Significant Accounting Policies (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "23",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-tables",
     "longName": "995468 - Disclosure - Note 2 - Principles of Consolidation and Significant Accounting Policies (Tables)",
     "shortName": "Note 2 - Principles of Consolidation and Significant Accounting Policies (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "24",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-tables",
     "longName": "995469 - Disclosure - Note 3 - Related-party Transactions (Tables)",
     "shortName": "Note 3 - Related-party Transactions (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "25",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:ScheduleOfOutstandingLongtermDebtToRelatedPartiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:ScheduleOfOutstandingLongtermDebtToRelatedPartiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables",
     "longName": "995470 - Disclosure - Note 4 - Revenue and Segment Information (Tables)",
     "shortName": "Note 4 - Revenue and Segment Information (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "26",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-tables",
     "longName": "995471 - Disclosure - Note 5 - Concentration of Risk (Tables)",
     "shortName": "Note 5 - Concentration of Risk (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "27",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-tables",
     "longName": "995472 - Disclosure - Note 6 - Prepaid Expenses and Other Current Assets (Tables)",
     "shortName": "Note 6 - Prepaid Expenses and Other Current Assets (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "28",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "bdco:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "bdco:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-tables",
     "longName": "995473 - Disclosure - Note 7 - Inventory (Tables)",
     "shortName": "Note 7 - Inventory (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "29",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:InventoryDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:InventoryDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-tables",
     "longName": "995474 - Disclosure - Note 8 - Property, Plant and Equipment, Net (Tables)",
     "shortName": "Note 8 - Property, Plant and Equipment, Net (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "30",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-tables",
     "longName": "995475 - Disclosure - Note 9 - Accrued Expenses and Other Current Liabilities (Tables)",
     "shortName": "Note 9 - Accrued Expenses and Other Current Liabilities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "31",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables",
     "longName": "995476 - Disclosure - Note 10 - Third-party Long-term Debt (Tables)",
     "shortName": "Note 10 - Third-party Long-term Debt (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "32",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-tables",
     "longName": "995477 - Disclosure - Note 11 - AROs (Tables)",
     "shortName": "Note 11 - AROs (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "33",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfAssetRetirementObligationsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfAssetRetirementObligationsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables",
     "longName": "995478 - Disclosure - Note 12 - Lease Obligations (Tables)",
     "shortName": "Note 12 - Lease Obligations (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "34",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:LesseeOperatingLeaseAssetsAndLiabilitiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:LesseeOperatingLeaseAssetsAndLiabilitiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-tables",
     "longName": "995479 - Disclosure - Note 13 - Income Taxes (Tables)",
     "shortName": "Note 13 - Income Taxes (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "35",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R36": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-tables",
     "longName": "995480 - Disclosure - Note 14 - Earnings and Dividends Per Share (Tables)",
     "shortName": "Note 14 - Earnings and Dividends Per Share (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "36",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
     "longName": "995481 - Disclosure - Note 1 - Organization (Details Textual)",
     "shortName": "Note 1 - Organization (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "37",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "bdco:DistillationTowerVolumePerDay",
      "unitRef": "BarrelOfOil",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-01-01_2024-03-31",
      "name": "us-gaap:NumberOfOperatingSegments",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual",
     "longName": "995482 - Disclosure - Note 2 - Principles of Consolidation and Significant Accounting Policies (Details Textual)",
     "shortName": "Note 2 - Principles of Consolidation and Significant Accounting Policies (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "38",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "us-gaap:TradeAndOtherAccountsReceivablePolicy",
       "p",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "us-gaap:TradeAndOtherAccountsReceivablePolicy",
       "p",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details",
     "longName": "995483 - Disclosure - Note 2 - Principles of Consolidation and Significant Accounting Policies - Cash, Cash Equivalents, and Restricted Cash (Details)",
     "shortName": "Note 2 - Principles of Consolidation and Significant Accounting Policies - Cash, Cash Equivalents, and Restricted Cash (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "39",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
     "longName": "995484 - Disclosure - Note 3 - Related-party Transactions (Details Textual)",
     "shortName": "Note 3 - Related-party Transactions (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "40",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:ManagementFeeExpense",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-LazarusEnergyHoldingsLEHMember",
      "name": "us-gaap:ManagementFeeExpense",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R41": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details",
     "longName": "995485 - Disclosure - Note 3 - Related-party Transactions - Related Party Long-term Debt Outstanding (Details)",
     "shortName": "Note 3 - Related-party Transactions - Related Party Long-term Debt Outstanding (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "41",
     "firstAnchor": {
      "contextRef": "i_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-RelatedPartyMember",
      "name": "us-gaap:LongTermDebtCurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:ScheduleOfOutstandingLongtermDebtToRelatedPartiesTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-RelatedPartyMember",
      "name": "us-gaap:InterestPayableCurrentAndNoncurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:ScheduleOfOutstandingLongtermDebtToRelatedPartiesTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R42": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
     "longName": "995486 - Disclosure - Note 3 - Related-party Transactions - Consolidated Statements of Operations (Details)",
     "shortName": "Note 3 - Related-party Transactions - Consolidated Statements of Operations (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "42",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31_ProductOrServiceAxis-TollingAndTerminalingMember",
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:ScheduleOfRelatedPartyTransactionsConsolidatedStatementsOfOperationsTableTextBlock",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-details-textual",
     "longName": "995487 - Disclosure - Note 4 - Revenue and Segment Information (Details Textual)",
     "shortName": "Note 4 - Revenue and Segment Information (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "43",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:NumberOfReportableSegments",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:NumberOfReportableSegments",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-contract-balances-details",
     "longName": "995488 - Disclosure - Note 4 - Revenue and Segment Information - Contract Balances (Details)",
     "shortName": "Note 4 - Revenue and Segment Information - Contract Balances (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "44",
     "firstAnchor": {
      "contextRef": "i_2023-12-31",
      "name": "us-gaap:AccountsReceivableNet",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-12-31",
      "name": "us-gaap:ContractWithCustomerLiability",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R45": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details",
     "longName": "995489 - Disclosure - Note 4 - Revenue and Segment Information - Segment Information (Details)",
     "shortName": "Note 4 - Revenue and Segment Information - Segment Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "45",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:OtherOperatingAndGeneralAndAdministrativeExpense",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
     "longName": "995490 - Disclosure - Note 4 - Revenue and Segment Information - Capital Expenditures (Details)",
     "shortName": "Note 4 - Revenue and Segment Information - Capital Expenditures (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "46",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:SegmentExpenditureAdditionToLongLivedAssets",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:SegmentReconciliationOfCapitalExpendituresFromSegmentsToConsolidatedTableTextBlock",
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:SegmentExpenditureAdditionToLongLivedAssets",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:SegmentReconciliationOfCapitalExpendituresFromSegmentsToConsolidatedTableTextBlock",
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
     "longName": "995491 - Disclosure - Note 4 - Revenue and Segment Information - Identifiable Assets (Details)",
     "shortName": "Note 4 - Revenue and Segment Information - Identifiable Assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "47",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:Assets",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31_ConsolidationItemsAxis-CorporateNonSegmentMember",
      "name": "us-gaap:Assets",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
     "longName": "995492 - Disclosure - Note 5 - Concentration of Risk (Details Textual)",
     "shortName": "Note 5 - Concentration of Risk (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "48",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:CashUninsuredAmount",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:CashUninsuredAmount",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R49": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details",
     "longName": "995493 - Disclosure - Note 5 - Concentration of Risk - Risk Exposure (Details)",
     "shortName": "Note 5 - Concentration of Risk - Risk Exposure (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "49",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:AccountsReceivableNet",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
       "bdco:RevenuesAndSegmentReportingDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31_ConcentrationRiskByBenchmarkAxis-AccountsReceivableMember_ConcentrationRiskByTypeAxis-CustomerConcentrationRiskMember",
      "name": "bdco:NumberOfMajorCustomers",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
     "longName": "995494 - Disclosure - Note 5 - Concentration of Risk - Product Sales (Details)",
     "shortName": "Note 5 - Concentration of Risk - Product Sales (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "50",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31_StatementBusinessSegmentsAxis-RefineryOperationsMember",
      "name": "bdco:PercentageOfRevenue",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R51": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details",
     "longName": "995495 - Disclosure - Note 6 - Prepaid Expenses and Other Current Assets - Schedule of Prepaid Expenses and Other Current Assets (Details)",
     "shortName": "Note 6 - Prepaid Expenses and Other Current Assets - Schedule of Prepaid Expenses and Other Current Assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "51",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:PrepaidInsurance",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "bdco:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:PrepaidInsurance",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "bdco:PrepaidExpensesAndOtherCurrentAssetsTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R52": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details",
     "longName": "995496 - Disclosure - Note 7 - Inventory - Schedule of Inventory (Details)",
     "shortName": "Note 7 - Inventory - Schedule of Inventory (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "52",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:InventoryNet",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31_PublicUtilitiesInventoryAxis-NaphthaMember",
      "name": "us-gaap:InventoryNet",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-4",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
       "us-gaap:InventoryDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R53": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details",
     "longName": "995497 - Disclosure - Note 8 - Property, Plant and Equipment, Net - Property, Plant and Equipment, Net (Details)",
     "shortName": "Note 8 - Property, Plant and Equipment, Net - Property, Plant and Equipment, Net (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "53",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:BuildingsAndImprovementsGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:BuildingsAndImprovementsGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R54": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details",
     "longName": "995498 - Disclosure - Note 9 - Accrued Expenses and Other Current Liabilities - Schedule of Accrued Expenses and Other Current Liabilities (Details)",
     "shortName": "Note 9 - Accrued Expenses and Other Current Liabilities - Schedule of Accrued Expenses and Other Current Liabilities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "54",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "bdco:AccruedFinesAndPenalties",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "bdco:AccruedFinesAndPenalties",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
       "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R55": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
     "longName": "995499 - Disclosure - Note 10 - Third-party Long-term Debt (Details Textual)",
     "shortName": "Note 10 - Third-party Long-term Debt (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "55",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:RestrictedCashNoncurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-NonrelatedPartyMember",
      "name": "us-gaap:AmortizationOfFinancingCosts",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-4",
      "ancestors": [
       "p",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R56": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
     "longName": "995500 - Disclosure - Note 10 - Third-party Long-term Debt - Loan Agreements Summary (Details)",
     "shortName": "Note 10 - Third-party Long-term Debt - Loan Agreements Summary (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "56",
     "firstAnchor": {
      "contextRef": "i_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-NonrelatedPartyMember",
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31_DebtInstrumentAxis-KissickDebtMember_LineOfCreditFacilityAxis-JohnKissickMember_RelatedPartyTransactionsByRelatedPartyAxis-NonrelatedPartyMember",
      "name": "us-gaap:DebtInstrumentInterestRateStatedPercentage",
      "unitRef": "Pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R57": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
     "longName": "995501 - Disclosure - Note 10 - Third-party Long-term Debt - Outstanding Debt (Details)",
     "shortName": "Note 10 - Third-party Long-term Debt - Outstanding Debt (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "57",
     "firstAnchor": {
      "contextRef": "i_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-NonrelatedPartyMember",
      "name": "us-gaap:LongTermDebt",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-NonrelatedPartyMember",
      "name": "us-gaap:LongTermDebt",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R58": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
     "longName": "995502 - Disclosure - Note 10 - Third-party Long-term Debt - Unamortized Debt Issuance Costs (Details)",
     "shortName": "Note 10 - Third-party Long-term Debt - Unamortized Debt Issuance Costs (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "58",
     "firstAnchor": {
      "contextRef": "i_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-NonrelatedPartyMember",
      "name": "us-gaap:AccumulatedAmortizationDeferredFinanceCosts",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:ScheduleOfUnamortizedDebtIssuanceCostsTableTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-NonrelatedPartyMember",
      "name": "us-gaap:AccumulatedAmortizationDeferredFinanceCosts",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:ScheduleOfUnamortizedDebtIssuanceCostsTableTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R59": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
     "longName": "995503 - Disclosure - Note 10 - Third-party Long-term Debt - Accrued Interest (Details)",
     "shortName": "Note 10 - Third-party Long-term Debt - Accrued Interest (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "59",
     "firstAnchor": {
      "contextRef": "i_2024-03-31_RelatedPartyTransactionsByRelatedPartyAxis-NonrelatedPartyMember",
      "name": "us-gaap:InterestPayableCurrentAndNoncurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31_DebtInstrumentAxis-NpsTermLoanDue2053Member_LineOfCreditFacilityAxis-SmallBusinessAdministrationSbaMember_RelatedPartyTransactionsByRelatedPartyAxis-NonrelatedPartyMember",
      "name": "us-gaap:InterestPayableCurrentAndNoncurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:ScheduleOfAccruedInterestOnLongtermDebtTableTextBlock",
       "us-gaap:LongTermDebtTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R60": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
     "longName": "995504 - Disclosure - Note 11 - AROs (Details Textual)",
     "shortName": "Note 11 - AROs (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "60",
     "firstAnchor": {
      "contextRef": "i_2023-12-31",
      "name": "us-gaap:AssetRetirementObligation",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfAssetRetirementObligationsTableTextBlock",
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31_CounterpartyNameAxis-BureauOfSafetyAndEnvironmentalEnforcementBseeMember_LegalEntityAxis-BlueDolphinPipeLineCompanyBDPLMember_LossContingenciesByNatureOfContingencyAxis-CivilPenaltyMember",
      "name": "us-gaap:LossContingencyAccrualAtCarryingValue",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R61": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details",
     "longName": "995505 - Disclosure - Note 11 - AROs - ARO Liability (Details)",
     "shortName": "Note 11 - AROs - ARO Liability (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "61",
     "firstAnchor": {
      "contextRef": "i_2023-12-31",
      "name": "us-gaap:AssetRetirementObligation",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfAssetRetirementObligationsTableTextBlock",
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:AssetRetirementObligationRevisionOfEstimate",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfAssetRetirementObligationsTableTextBlock",
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R62": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
     "longName": "995506 - Disclosure - Note 12 - Lease Obligations (Details Textual)",
     "shortName": "Note 12 - Lease Obligations (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "62",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:OperatingLeaseExpense",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2023-09-01_LeaseContractualTermAxis-OfficeLeaseOfCorporateHeadquartersInHoustonTexasMember",
      "name": "bdco:RentPerSquareFoot",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R63": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details",
     "longName": "995507 - Disclosure - Note 12 - Lease Obligations - Lease-related Assets and Liabilities (Details)",
     "shortName": "Note 12 - Lease Obligations - Lease-related Assets and Liabilities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "63",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "bdco:OperatingLeaseRightofuseAssetGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:LesseeOperatingLeaseAssetsAndLiabilitiesTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "bdco:OperatingLeaseRightofuseAssetGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:LesseeOperatingLeaseAssetsAndLiabilitiesTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R64": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-weighted-average-remaining-lease-term-and-discount-rate-details",
     "longName": "995508 - Disclosure - Note 12 - Lease Obligations - Weighted Average Remaining Lease Term and Discount Rate (Details)",
     "shortName": "Note 12 - Lease Obligations - Weighted Average Remaining Lease Term and Discount Rate (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "64",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:LesseeOperatingLeaseWeightedAverageRemainingLeaseTermAndDiscountRateTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:LesseeOperatingLeaseWeightedAverageRemainingLeaseTermAndDiscountRateTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R65": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details",
     "longName": "995509 - Disclosure - Note 12 - Lease Obligations - Lease Costs (Details)",
     "shortName": "Note 12 - Lease Obligations - Lease Costs (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "65",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:OperatingLeaseCost",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:OperatingLeaseCost",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R66": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-supplemental-cash-flow-information-details",
     "longName": "995510 - Disclosure - Note 12 - Lease Obligations - Supplemental Cash Flow Information (Details)",
     "shortName": "Note 12 - Lease Obligations - Supplemental Cash Flow Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "66",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:OperatingLeasePayments",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:SupplementalCashFlowInformationRelatedToLeasesTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:OperatingLeasePayments",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:SupplementalCashFlowInformationRelatedToLeasesTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R67": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-maturities-of-lease-liabilities-details",
     "longName": "995511 - Disclosure - Note 12 - Lease Obligations - Maturities of Lease Liabilities (Details)",
     "shortName": "Note 12 - Lease Obligations - Maturities of Lease Liabilities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "67",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R68": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details",
     "longName": "995512 - Disclosure - Note 12 - Lease Obligations - Future Minimum Annual Lease Commitments (Details)",
     "shortName": "Note 12 - Lease Obligations - Future Minimum Annual Lease Commitments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "68",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "bdco:LesseeOperatingLeaseMinimumLeaseCommitmentsToBePaidYearOne",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:ScheduleOfFutureMinimumAnnualLeaseCommitmentsTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "bdco:LesseeOperatingLeaseMinimumLeaseCommitmentsToBePaidYearOne",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "bdco:ScheduleOfFutureMinimumAnnualLeaseCommitmentsTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R69": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-details-textual",
     "longName": "995513 - Disclosure - Note 13 - Income Taxes (Details Textual)",
     "shortName": "Note 13 - Income Taxes (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "69",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:OperatingLossCarryforwards",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:SummaryOfOperatingLossCarryforwardsTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2012-12-31",
      "name": "us-gaap:OperatingLossCarryforwards",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R70": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details",
     "longName": "995514 - Disclosure - Note 13 - Income Taxes - Provision for Income Tax Benefit (Expense) (Details)",
     "shortName": "Note 13 - Income Taxes - Provision for Income Tax Benefit (Expense) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "70",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R71": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details",
     "longName": "995515 - Disclosure - Note 13 - Income Taxes - Deferred Income Taxes (Details)",
     "shortName": "Note 13 - Income Taxes - Deferred Income Taxes (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "71",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R72": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details",
     "longName": "995516 - Disclosure - Note 13 - Income Taxes - NOL Carryforwards (Details)",
     "shortName": "Note 13 - Income Taxes - NOL Carryforwards (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "72",
     "firstAnchor": {
      "contextRef": "i_2023-12-31",
      "name": "us-gaap:OperatingLossCarryforwards",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-4",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:SummaryOfOperatingLossCarryforwardsTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "bdco:OperatingLossCarryforwardsUsedAndExpired",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:SummaryOfOperatingLossCarryforwardsTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    },
    "R73": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-details-textual",
     "longName": "995517 - Disclosure - Note 14 - Earnings and Dividends Per Share (Details Textual)",
     "shortName": "Note 14 - Earnings and Dividends Per Share (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "73",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:WeightedAverageNumberDilutedSharesOutstandingAdjustment",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:WeightedAverageNumberDilutedSharesOutstandingAdjustment",
      "unitRef": "Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R74": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details",
     "longName": "995518 - Disclosure - Note 14 - Earnings and Dividends Per Share - Reconciliation Between Basic and Diluted Income Per Share (Details)",
     "shortName": "Note 14 - Earnings and Dividends Per Share - Reconciliation Between Basic and Diluted Income Per Share (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "74",
     "firstAnchor": {
      "contextRef": "d_2024-01-01_2024-03-31",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R75": {
     "role": "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
     "longName": "995519 - Disclosure - Note 15 - Commitments and Contingencies (Details Textual)",
     "shortName": "Note 15 - Commitments and Contingencies (Details Textual)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "75",
     "firstAnchor": {
      "contextRef": "i_2024-03-31",
      "name": "us-gaap:LossContingencyEstimateOfPossibleLoss",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "b",
       "td",
       "tr",
       "tbody",
       "table",
       "us-gaap:ScheduleOfAssetRetirementObligationsTableTextBlock",
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "d_2023-06-01_2023-06-30",
      "name": "us-gaap:PaymentsForLoans",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "bdco20230930_10q.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "bdco_AGOMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "AGOMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AGO [Member]",
        "documentation": "Represents AGO."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountingPoliciesAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]",
        "documentation": "The entire disclosure for accounts payable, accrued expenses, and other liabilities that are classified as current at the end of the reporting period."
       }
      }
     },
     "auth_ref": [
      "r315"
     ]
    },
    "us-gaap_AccountsPayableCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsPayableCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts payable",
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r41",
      "r576"
     ]
    },
    "us-gaap_AccountsPayableCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsPayableCurrentAndNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AccountsPayableCurrentAndNoncurrent",
        "terseLabel": "Accounts Payable",
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business."
       }
      }
     },
     "auth_ref": [
      "r99",
      "r705"
     ]
    },
    "us-gaap_AccountsReceivableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsReceivableMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable [Member]",
        "documentation": "Due from customers or clients for goods or services that have been delivered or sold."
       }
      }
     },
     "auth_ref": [
      "r532"
     ]
    },
    "us-gaap_AccountsReceivableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsReceivableNet",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-contract-balances-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Portion of Accounts Receivable",
        "label": "us-gaap_AccountsReceivableNet",
        "periodStartLabel": "Accounts receivable (including related-party), beginning of period",
        "periodEndLabel": "Accounts receivable (including related-party), end of period",
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business."
       }
      }
     },
     "auth_ref": [
      "r487",
      "r531",
      "r588",
      "r707",
      "r708"
     ]
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccountsReceivableNetCurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts receivable",
        "terseLabel": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current."
       }
      }
     },
     "auth_ref": [
      "r636"
     ]
    },
    "bdco_AccruedFinesAndPenalties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "AccruedFinesAndPenalties",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details": {
       "parentTag": "bdco_AccruedLiabilitiesAndOtherLiabilitiesCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued fines and penalties",
        "documentation": "Amount of accrued fines and penalties."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccruedIncomeTaxesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccruedIncomeTaxesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income taxes payable",
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all currently due domestic and foreign income tax obligations."
       }
      }
     },
     "auth_ref": [
      "r44",
      "r97"
     ]
    },
    "us-gaap_AccruedInsuranceCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccruedInsuranceCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details": {
       "parentTag": "bdco_AccruedLiabilitiesAndOtherLiabilitiesCurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insurance",
        "documentation": "Carrying 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)."
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "bdco_AccruedLiabilitiesAndOtherLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "AccruedLiabilitiesAndOtherLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 5.0
      },
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued expenses and other current liabilities",
        "totalLabel": "Accrued Liabilities and Other Liabilities, Current",
        "documentation": "Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccumulatedAmortizationDeferredFinanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccumulatedAmortizationDeferredFinanceCosts",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details": {
       "parentTag": "us-gaap_DeferredFinanceCostsNet",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AccumulatedAmortizationDeferredFinanceCosts",
        "negatedTerseLabel": "Less: Accumulated amortization",
        "documentation": "Amount of accumulated amortization of debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r675",
      "r677"
     ]
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details": {
       "parentTag": "bdco_PropertyPlantAndEquipmentNetExcludingConstructionInProgress",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
        "negatedLabel": "Less: Accumulated depreciation and amortiation",
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r134",
      "r422"
     ]
    },
    "bdco_AdditionalFinancialAssuranceForPipelineRightsofway": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "AdditionalFinancialAssuranceForPipelineRightsofway",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_AdditionalFinancialAssuranceForPipelineRightsofway",
        "terseLabel": "Additional Financial Assurance for Pipeline Rights-of-way",
        "documentation": "Amount of additional financial assurance for pipeline rights-of-way."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdditionalPaidInCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AdditionalPaidInCapital",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional paid-in capital",
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock."
       }
      }
     },
     "auth_ref": [
      "r55",
      "r576",
      "r739"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Paid-in Capital [Member]",
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders."
       }
      }
     },
     "auth_ref": [
      "r467",
      "r623",
      "r624",
      "r625",
      "r627",
      "r670",
      "r741"
     ]
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile net income to net cash used in operating activities:"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_AffiliateRevolvingCreditAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "AffiliateRevolvingCreditAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Affiliate Revolving Credit Agreement [Member]",
        "documentation": "Represents the Affiliate Revolving Credit Agreement"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_AgreementRenewalPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "AgreementRenewalPeriod",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_AgreementRenewalPeriod",
        "terseLabel": "Agreement, Renewal Period (Year)",
        "documentation": "Renewal period of the agreement."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_AgreementTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "AgreementTerm",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_AgreementTerm",
        "terseLabel": "Agreement Term (Year)",
        "documentation": "Term of the agreement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AllowanceForDoubtfulAccountsReceivable",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AllowanceForDoubtfulAccountsReceivable",
        "terseLabel": "Accounts Receivable, Allowance for Credit Loss",
        "documentation": "Amount of allowance for credit loss on accounts receivable."
       }
      }
     },
     "auth_ref": [
      "r139",
      "r221",
      "r225",
      "r226",
      "r227",
      "r708"
     ]
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AmortizationOfFinancingCosts",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization of debt issue costs",
        "terseLabel": "Amortization of Debt Issuance Costs",
        "documentation": "Amount of amortization expense attributable to debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r289",
      "r615",
      "r676"
     ]
    },
    "bdco_AnAffiliateCombinedWithJonathanCarrollMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "AnAffiliateCombinedWithJonathanCarrollMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "An Affiliate Combined with Jonathan Carroll [Member]",
        "documentation": "Represents An Affiliate combined with Jonathan Carroll."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AreaOfLand": {
     "xbrltype": "areaItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AreaOfLand",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AreaOfLand",
        "terseLabel": "Area of Land (Acre)",
        "documentation": "Area of land held."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]",
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations."
       }
      }
     },
     "auth_ref": [
      "r351"
     ]
    },
    "us-gaap_AssetRetirementObligation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetRetirementObligation",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AssetRetirementObligation",
        "terseLabel": "Asset Retirement Obligation",
        "periodStartLabel": "AROs, at the beginning of the period",
        "documentation": "The carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees."
       }
      }
     },
     "auth_ref": [
      "r244",
      "r247"
     ]
    },
    "us-gaap_AssetRetirementObligationAccretionExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetRetirementObligationAccretionExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accretion of asset retirement obligations",
        "documentation": "Amount of accretion expense recognized during the period that is associated with an asset retirement obligation. Accretion expense measures and incorporates changes due to the passage of time into the carrying amount of the liability."
       }
      }
     },
     "auth_ref": [
      "r245",
      "r248"
     ]
    },
    "us-gaap_AssetRetirementObligationCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetRetirementObligationCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset retirement obligations, current portion",
        "negatedTerseLabel": "Less: AROs, current portion",
        "documentation": "Current portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees."
       }
      }
     },
     "auth_ref": [
      "r646"
     ]
    },
    "us-gaap_AssetRetirementObligationDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetRetirementObligationDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Retirement Obligation Disclosure [Text Block]",
        "documentation": "The entire disclosure for an asset retirement obligation and the associated long-lived asset. An asset retirement obligation is a legal obligation associated with the disposal or retirement from service of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees."
       }
      }
     },
     "auth_ref": [
      "r121",
      "r243",
      "r246"
     ]
    },
    "us-gaap_AssetRetirementObligationRevisionOfEstimate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetRetirementObligationRevisionOfEstimate",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AssetRetirementObligationRevisionOfEstimate",
        "terseLabel": "Changes in estimates of existing obligations",
        "documentation": "Amount of increase (decrease) in the asset retirement obligation from changes in the amount or timing of the estimated cash flows associated with the settlement of the obligation."
       }
      }
     },
     "auth_ref": [
      "r249"
     ]
    },
    "us-gaap_AssetRetirementObligationsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetRetirementObligationsNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AssetRetirementObligationsNoncurrent",
        "periodEndLabel": "Long-term AROs, at the end of the period",
        "documentation": "Noncurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees."
       }
      }
     },
     "auth_ref": [
      "r646"
     ]
    },
    "us-gaap_AssetRetirementObligationsPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetRetirementObligationsPolicy",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Retirement Obligation [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for legal obligation associated with retirement of long-lived asset that results from acquisition, construction, or development or from normal operation of long-lived asset. Excludes environmental remediation liability from improper or other-than-normal operation of long-lived asset, obligation arising in connection with leased property that meets definition of lease payments or variable lease payments and from plan to sell or otherwise dispose of a long-lived asset."
       }
      }
     },
     "auth_ref": [
      "r243"
     ]
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Identifiable assets",
        "label": "us-gaap_Assets",
        "totalLabel": "TOTAL ASSETS",
        "documentation": "Amount of asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": [
      "r95",
      "r108",
      "r135",
      "r155",
      "r190",
      "r193",
      "r211",
      "r214",
      "r222",
      "r263",
      "r264",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r272",
      "r273",
      "r352",
      "r354",
      "r366",
      "r413",
      "r492",
      "r551",
      "r552",
      "r576",
      "r594",
      "r656",
      "r657",
      "r682"
     ]
    },
    "us-gaap_AssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsCurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AssetsCurrent",
        "terseLabel": "Assets, Current",
        "totalLabel": "Total current assets",
        "documentation": "Amount of asset recognized for present right to economic benefit, classified as current."
       }
      }
     },
     "auth_ref": [
      "r130",
      "r142",
      "r155",
      "r222",
      "r263",
      "r264",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r272",
      "r273",
      "r352",
      "r354",
      "r366",
      "r576",
      "r656",
      "r657",
      "r682"
     ]
    },
    "us-gaap_AssetsCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsCurrentAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CURRENT ASSETS"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_AssetsCurrentChangeFromPreviousReportingPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "AssetsCurrentChangeFromPreviousReportingPeriod",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_AssetsCurrentChangeFromPreviousReportingPeriod",
        "terseLabel": "Assets, Current, Change From Previous Reporting Period",
        "documentation": "Represents the change from previous reporting period in amount of asset recognized for present right to economic benefit, classified as current."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_AssetsNoncurrent",
        "totalLabel": "Total long-term assets",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r155",
      "r222",
      "r263",
      "r264",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r272",
      "r273",
      "r352",
      "r354",
      "r366",
      "r656",
      "r657",
      "r682"
     ]
    },
    "us-gaap_AssetsNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "AssetsNoncurrentAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LONG-TERM ASSETS"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_BDECGuarantyFeeAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "BDECGuarantyFeeAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDEC Guaranty Fee Agreement [Member]",
        "documentation": "Represents the BDEC Guaranty Fee Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_BDECTermLoanDue2051Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "BDECTermLoanDue2051Member",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDEC Term Loan Due 2051 [Member]",
        "documentation": "Represents BDEC Term Loan Due 2051."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_BDPLLEHLoanAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "BDPLLEHLoanAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDPL-LEH Loan Agreement [Member]",
        "documentation": "Represents the BDPL-LEH Loan Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BasisOfPresentationAndSignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Presentation and Significant Accounting Policies [Text Block]",
        "documentation": "The entire disclosure for the basis of presentation and significant accounting policies concepts. Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS). Accounting policies describe all significant accounting policies of the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r77"
     ]
    },
    "bdco_BlueDolphinPipeLineCompanyBDPLMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "BlueDolphinPipeLineCompanyBDPLMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Blue Dolphin Pipe Line Company (BDPL) [Member]",
        "documentation": "Represents the Blue Dolphin Pipe Line Company (BDPL)."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_BlueDolphinTermLoanDue2051Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "BlueDolphinTermLoanDue2051Member",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Blue Dolphin Term Loan Due 2051 [Member]",
        "documentation": "The Blue Dolphin Term Loan Due 2051."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_BoardOfDirectorFeesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "BoardOfDirectorFeesPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details": {
       "parentTag": "bdco_AccruedLiabilitiesAndOtherLiabilitiesCurrent",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Board of director fees payable",
        "documentation": "Amount of payable for board of directors fees."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BuildingAndBuildingImprovementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BuildingAndBuildingImprovementsMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Building and Building Improvements [Member]",
        "documentation": "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities and any addition, improvement, or renovation to the structure, for example, but not limited to, interior masonry, interior flooring, electrical, and plumbing."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BuildingsAndImprovementsGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "BuildingsAndImprovementsGross",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details": {
       "parentTag": "bdco_PropertyPlantAndEquipmentGrossExcludingConstructionInProgress",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Refinery and facilities",
        "documentation": "Amount before accumulated depreciation of building structures held for productive use including addition, improvement, or renovation to the structure, including, but not limited to, interior masonry, interior flooring, electrical, and plumbing."
       }
      }
     },
     "auth_ref": [
      "r83"
     ]
    },
    "bdco_BureauOfOceanEnergyManagementBOEMMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "BureauOfOceanEnergyManagementBOEMMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bureau of Ocean Energy Management (BOEM) [Member]",
        "documentation": "Represents Bureau of Ocean Energy Management (BOEM)."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_BureauOfSafetyAndEnvironmentalEnforcementBseeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "BureauOfSafetyAndEnvironmentalEnforcementBseeMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bureau of Safety and Environmental Enforcement (BSEE) [Member]",
        "documentation": "Represents Bureau of Safety and Environmental Enforcement (BSEE)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents",
        "terseLabel": "Cash and cash equivalents",
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r133",
      "r539"
     ]
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value."
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r74",
      "r154"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
        "periodStartLabel": "CASH, CASH EQUIVALENTS, AND RESTRICTED CASH AT BEGINNING OF PERIOD",
        "periodEndLabel": "CASH, CASH EQUIVALENTS, AND RESTRICTED CASH AT END OF PERIOD",
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including, but not limited to, disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r74",
      "r154"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
        "totalLabel": "Net change in cash, cash equivalents, and restricted cash",
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r74"
     ]
    },
    "bdco_CashFeePercentageOfOutstandingPrincipalBalance": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "CashFeePercentageOfOutstandingPrincipalBalance",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_CashFeePercentageOfOutstandingPrincipalBalance",
        "terseLabel": "Cash Fee, Percentage of Outstanding Principal Balance",
        "documentation": "Represents the cash fee equal to a percentage of the outstanding principal balance of the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashUninsuredAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CashUninsuredAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CashUninsuredAmount",
        "terseLabel": "Cash, Uninsured Amount",
        "documentation": "The amount of cash as of the balance sheet date that is not insured by the Federal Deposit Insurance Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_CashbackedSuretyBonds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "CashbackedSuretyBonds",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_CashbackedSuretyBonds",
        "terseLabel": "Cash-backed Surety Bonds",
        "documentation": "Amount of cash-backed surety bonds."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_ChemicalsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ChemicalsMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chemicals [Member]",
        "documentation": "Represents chemicals."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_CivilPenalty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "CivilPenalty",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_CivilPenalty",
        "terseLabel": "Civil Penalty",
        "documentation": "The amount of money owed due to a civil penalty."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_CivilPenaltyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "CivilPenaltyMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Civil Penalty [Member]",
        "documentation": "Represents a civil penalty."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CollateralizedFinancings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CollateralizedFinancings",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CollateralizedFinancings",
        "terseLabel": "Collateralized Financings",
        "documentation": "The value of the collateral (typically cash) that the entity receives in a financing transaction in exchange for securities lent. This item represents a liability in the financial statements of the lender of the securities."
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and contingencies (Note 15)",
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r101",
      "r416",
      "r478"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "documentation": "The entire disclosure for commitments and contingencies."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r252",
      "r253",
      "r533",
      "r642",
      "r648"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock [Member]",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r585",
      "r586",
      "r587",
      "r589",
      "r590",
      "r591",
      "r592",
      "r623",
      "r624",
      "r627",
      "r670",
      "r738",
      "r741"
     ]
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common stock, par value (in dollars per share)",
        "documentation": "Face amount or stated value per share of common stock."
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common stock, shares authorized (in shares)",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r479"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common stock, shares issued (in shares)",
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury."
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common stock ($0.01 par value, 20,000,000 shares authorized; 14,921,968 shares issued at March 31, 2024 and December 31, 2023) (1)",
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r417",
      "r576"
     ]
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskBenchmarkDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Benchmark [Domain]",
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r17",
      "r31",
      "r32",
      "r219",
      "r532"
     ]
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Benchmark [Axis]",
        "documentation": "Information by benchmark of concentration risk."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r17",
      "r31",
      "r32",
      "r219",
      "r456",
      "r532"
     ]
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskByTypeAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Type [Axis]",
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r17",
      "r31",
      "r32",
      "r219",
      "r532",
      "r604"
     ]
    },
    "us-gaap_ConcentrationRiskDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Disclosure [Text Block]",
        "documentation": "The entire disclosure for any concentrations existing at the date of the financial statements that make an entity vulnerable to a reasonably possible, near-term, severe impact. This disclosure informs financial statement users about the general nature of the risk associated with the concentration, and may indicate the percentage of concentration risk as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r78"
     ]
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskPercentage1",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "% Total Revenue from Operations",
        "label": "us-gaap_ConcentrationRiskPercentage1",
        "terseLabel": "Concentration Risk, Percentage",
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r17",
      "r31",
      "r32",
      "r219"
     ]
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConcentrationRiskTypeDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Type [Domain]",
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r17",
      "r31",
      "r32",
      "r219",
      "r532"
     ]
    },
    "srt_ConsolidationEliminationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ConsolidationEliminationsMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation, Eliminations [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ConsolidationItemsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ConsolidationItemsAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Axis]"
       }
      }
     },
     "auth_ref": [
      "r106",
      "r161",
      "r190",
      "r195",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r551",
      "r552",
      "r656",
      "r657"
     ]
    },
    "srt_ConsolidationItemsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ConsolidationItemsDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Domain]"
       }
      }
     },
     "auth_ref": [
      "r106",
      "r161",
      "r190",
      "r195",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r551",
      "r552",
      "r656",
      "r657"
     ]
    },
    "us-gaap_ConstructionInProgressGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ConstructionInProgressGross",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details": {
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Construction in progress",
        "documentation": "Amount of structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service."
       }
      }
     },
     "auth_ref": [
      "r83"
     ]
    },
    "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContractWithCustomerAssetAndLiabilityTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contract with Customer, Contract Asset, Contract Liability, and Receivable [Table Text Block]",
        "documentation": "Tabular disclosure of receivable, contract asset, and contract liability from contract with customer. Includes, but is not limited to, change in contract asset and contract liability."
       }
      }
     },
     "auth_ref": [
      "r660"
     ]
    },
    "us-gaap_ContractWithCustomerLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContractWithCustomerLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-contract-balances-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ContractWithCustomerLiability",
        "periodStartLabel": "Unearned revenue, beginning of period",
        "periodEndLabel": "Unearned revenue, end of period",
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable."
       }
      }
     },
     "auth_ref": [
      "r294",
      "r295",
      "r306"
     ]
    },
    "us-gaap_ContractWithCustomerLiabilityCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ContractWithCustomerLiabilityCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details": {
       "parentTag": "bdco_AccruedLiabilitiesAndOtherLiabilitiesCurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unearned revenue from contracts",
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current."
       }
      }
     },
     "auth_ref": [
      "r294",
      "r295",
      "r306"
     ]
    },
    "bdco_ContractsWithCustomersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ContractsWithCustomersMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contracts With Customers [Member]",
        "documentation": "Represents contracts with customers."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CorporateNonSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CorporateNonSegmentMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting, Reconciling Item, Corporate Nonsegment [Member]",
        "documentation": "Corporate headquarters or functional department that may not earn revenues or may earn revenues that are only incidental to the activities of the entity and is not considered an operating segment."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r210",
      "r211",
      "r212",
      "r213",
      "r215",
      "r632"
     ]
    },
    "us-gaap_CostOfGoodsAndServicesSoldAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CostOfGoodsAndServicesSoldAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "COST OF GOODS SOLD"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CostOfRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CostOfRevenue",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CostOfRevenue",
        "totalLabel": "Total cost of goods sold",
        "documentation": "The aggregate cost of goods produced and sold and services rendered during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r65",
      "r155",
      "r222",
      "r263",
      "r264",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r272",
      "r273",
      "r366",
      "r551",
      "r656"
     ]
    },
    "us-gaap_CostsAndExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CostsAndExpenses",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CostsAndExpenses",
        "negatedLabel": "Operation costs and expenses",
        "documentation": "Total costs of sales and operating expenses for the period."
       }
      }
     },
     "auth_ref": [
      "r71"
     ]
    },
    "us-gaap_CostsAndExpensesRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CostsAndExpensesRelatedParty",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details": {
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-term lease expense, related party",
        "documentation": "Costs of sales and operating expenses for the period incurred from transactions with related parties."
       }
      }
     },
     "auth_ref": [
      "r65"
     ]
    },
    "us-gaap_CostsIncurredOilAndGasPropertyAcquisitionExplorationAndDevelopmentActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CostsIncurredOilAndGasPropertyAcquisitionExplorationAndDevelopmentActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_CostOfRevenue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Crude oil, fuel use, and chemicals",
        "documentation": "Amount of property acquisition, exploration, and development costs incurred in oil- and gas-producing activities. Includes capitalized cost and cost charged to expense."
       }
      }
     },
     "auth_ref": [
      "r690",
      "r691",
      "r692",
      "r693"
     ]
    },
    "srt_CounterpartyNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "CounterpartyNameAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]"
       }
      }
     },
     "auth_ref": [
      "r159",
      "r160",
      "r277",
      "r292",
      "r400",
      "r405",
      "r412",
      "r542",
      "r544"
     ]
    },
    "us-gaap_CreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CreditFacilityAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Facility [Axis]",
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing."
       }
      }
     },
     "auth_ref": [
      "r262",
      "r654"
     ]
    },
    "us-gaap_CreditFacilityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CreditFacilityDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Facility [Domain]",
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing."
       }
      }
     },
     "auth_ref": [
      "r262",
      "r654",
      "r655"
     ]
    },
    "bdco_CreditbakedSuretyBonds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "CreditbakedSuretyBonds",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_CreditbakedSuretyBonds",
        "terseLabel": "Credit-baked Surety Bonds",
        "documentation": "Amount of credit-backed surety bonds."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_CrudeOilAndCondensateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "CrudeOilAndCondensateMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Crude Oil and Condensate [Member]",
        "documentation": "Represents crude oil and condensate."
       }
      }
     },
     "auth_ref": []
    },
    "srt_CrudeOilMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "CrudeOilMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Crude Oil [Member]"
       }
      }
     },
     "auth_ref": [
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r701",
      "r702",
      "r703",
      "r704"
     ]
    },
    "bdco_CrudeSupplyAgreementWithTartanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "CrudeSupplyAgreementWithTartanMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Crude Supply Agreement With Tartan [Member]",
        "documentation": "Represents the Crude Supply Agreement with Tartan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CurrentFederalStateAndLocalTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details": {
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit",
        "negatedLabel": "State",
        "documentation": "Amount of current federal, state, and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current national, regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction."
       }
      }
     },
     "auth_ref": [
      "r606"
     ]
    },
    "us-gaap_CurrentFederalTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CurrentFederalTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details": {
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CurrentFederalTaxExpenseBenefit",
        "negatedLabel": "Federal",
        "documentation": "Amount of current federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current national tax expense (benefit) for non-US (United States of America) jurisdiction."
       }
      }
     },
     "auth_ref": [
      "r606",
      "r619",
      "r669"
     ]
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CustomerConcentrationRiskMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer Concentration Risk [Member]",
        "documentation": "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues. The risk is the materially adverse effects of loss of a significant customer."
       }
      }
     },
     "auth_ref": [
      "r79",
      "r219"
     ]
    },
    "bdco_CustomerDepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "CustomerDepositsMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer Deposits [Member]",
        "documentation": "Represents customer deposits."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CustomerFunds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "CustomerFunds",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_CustomerFunds",
        "terseLabel": "Customer Funds",
        "documentation": "Carrying amount as of the balance sheet date of amounts received from and refundable to customers unless used by them to obtain goods and services from the entity."
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Axis]",
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r43",
      "r44",
      "r96",
      "r100",
      "r161",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r288",
      "r289",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r574",
      "r617",
      "r643",
      "r644",
      "r645",
      "r675",
      "r677"
     ]
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest rate, variable",
        "label": "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1",
        "terseLabel": "Debt Instrument, Basis Spread on Variable Rate",
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentCarryingAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtInstrumentCarryingAmount",
        "terseLabel": "Long-term debt, carrying amount",
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r100",
      "r290"
     ]
    },
    "us-gaap_DebtInstrumentCollateralAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentCollateralAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtInstrumentCollateralAmount",
        "terseLabel": "Debt Instrument, Collateral Amount",
        "documentation": "Amount of assets pledged to secure a debt instrument."
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Original principal amount",
        "terseLabel": "Debt Instrument, Face Amount",
        "documentation": "Face (par) amount of debt instrument at time of issuance."
       }
      }
     },
     "auth_ref": [
      "r274",
      "r375",
      "r376",
      "r559",
      "r560",
      "r574"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest rate",
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r46",
      "r275"
     ]
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentMaturityDate",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity date",
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r137",
      "r558",
      "r671",
      "r672"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Name [Domain]",
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r161",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r288",
      "r289",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r574",
      "r617",
      "r643",
      "r644",
      "r645",
      "r675",
      "r677"
     ]
    },
    "bdco_DebtInstrumentPaymentDeferralPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "DebtInstrumentPaymentDeferralPeriod",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_DebtInstrumentPaymentDeferralPeriod",
        "terseLabel": "Debt Instrument, Payment Deferral Period (Month)",
        "documentation": "Period of payment deferral on the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_DebtInstrumentPeriodOfInterestOnlyPayments": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "DebtInstrumentPeriodOfInterestOnlyPayments",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_DebtInstrumentPeriodOfInterestOnlyPayments",
        "terseLabel": "Debt Instrument, Period of Interest Only Payments (Month)",
        "documentation": "Period of interest only payments on the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentPeriodicPayment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentPeriodicPayment",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Monthly principal and interest payment",
        "terseLabel": "Debt Instrument, Periodic Payment",
        "documentation": "Amount of the required periodic payments including both interest and principal payments."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r36"
     ]
    },
    "us-gaap_DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid",
        "terseLabel": "Debt Instrument, Periodic Payment Terms, Balloon Payment to be Paid",
        "documentation": "Amount of payment greater than the preceding installment payments to be paid at final maturity date of debt."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DebtInstrumentTerm",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DebtInstrumentTerm",
        "terseLabel": "Debt Instrument, Term (Month)",
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Table Text Block]",
        "documentation": "Tabular disclosure of the amounts paid in advance for capitalized costs that will be expensed with the passage of time or the occurrence of a triggering event, and will be charged against earnings within one year or the normal operating cycle, if longer; the aggregate carrying amount of current assets, not separately presented elsewhere in the balance sheet; and other deferred costs."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredFederalIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredFederalIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details": {
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DeferredFederalIncomeTaxExpenseBenefit",
        "terseLabel": "Federal",
        "documentation": "Amount of deferred federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, deferred national tax expense (benefit) for non-US (United States of America) jurisdiction."
       }
      }
     },
     "auth_ref": [
      "r619",
      "r668",
      "r669"
     ]
    },
    "us-gaap_DeferredFinanceCostsGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredFinanceCostsGross",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details": {
       "parentTag": "us-gaap_DeferredFinanceCostsNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unamortized debt issue costs, gross",
        "documentation": "Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r675",
      "r677"
     ]
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredFinanceCostsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DeferredFinanceCostsNet",
        "totalLabel": "Debt Issuance Costs, Net",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r659",
      "r674",
      "r675",
      "r677"
     ]
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredIncomeTaxAssetsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax assets, net",
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting."
       }
      }
     },
     "auth_ref": [
      "r320",
      "r321"
     ]
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred income tax",
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r124",
      "r619"
     ]
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredIncomeTaxLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": "bdco_DeferredTaxAssetsLiabilitiesGross",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DeferredIncomeTaxLiabilities",
        "negatedTotalLabel": "Total deferred tax liabilities",
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r52",
      "r98",
      "r331"
     ]
    },
    "us-gaap_DeferredIncomeTaxLiabilitiesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredIncomeTaxLiabilitiesNet",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax liabilities, net",
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting."
       }
      }
     },
     "auth_ref": [
      "r320",
      "r321",
      "r414"
     ]
    },
    "bdco_DeferredRevenuesAndExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "DeferredRevenuesAndExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred revenues and expenses",
        "documentation": "Amount of deferred revenues and expenses for adjustments to net income or loss necessary to remove the effects of all items whose cash effects are investing or financing cash flows."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetInterestCarryforward": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetInterestCarryforward",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business interest expense",
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible interest carryforward."
       }
      }
     },
     "auth_ref": [
      "r666"
     ]
    },
    "us-gaap_DeferredTaxAssetsDeferredIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsDeferredIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ARO liability/deferred revenue",
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from deferred income."
       }
      }
     },
     "auth_ref": [
      "r666"
     ]
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsGross",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": "bdco_DeferredTaxAssetsLiabilitiesGross",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DeferredTaxAssetsGross",
        "totalLabel": "Total deferred tax assets",
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards."
       }
      }
     },
     "auth_ref": [
      "r332"
     ]
    },
    "bdco_DeferredTaxAssetsLiabilitiesGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "DeferredTaxAssetsLiabilitiesGross",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_DeferredTaxAssetsLiabilitiesGross",
        "totalLabel": "Deferred Tax Assets (Liabilities), Gross",
        "documentation": "Amount, after deferred tax liability but before allocation of valuation allowances, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxAssetsLiabilitiesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsLiabilitiesNet",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
        "totalLabel": "Deferred tax assets, net",
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting."
       }
      }
     },
     "auth_ref": [
      "r664"
     ]
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsOperatingLossCarryforwards",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NOL and capital loss carryforwards",
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards."
       }
      }
     },
     "auth_ref": [
      "r666"
     ]
    },
    "us-gaap_DeferredTaxAssetsOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxAssetsOther",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Other",
        "label": "us-gaap_DeferredTaxAssetsOther",
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other."
       }
      }
     },
     "auth_ref": [
      "r666"
     ]
    },
    "bdco_DeferredTaxAssetsStartupCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "DeferredTaxAssetsStartupCosts",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Start-up costs (crude oil and condensate processing facility)",
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from start-up costs."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredTaxLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DeferredTaxLiabilities",
        "negatedTotalLabel": "Deferred liabilities, net",
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting."
       }
      }
     },
     "auth_ref": [
      "r664"
     ]
    },
    "us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DeferredTaxLiabilitiesPropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details": {
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment",
        "negatedLabel": "Basis differences in property and equipment",
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment."
       }
      }
     },
     "auth_ref": [
      "r666"
     ]
    },
    "us-gaap_DepositsAssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DepositsAssetsCurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits",
        "documentation": "Carrying value of amounts transferred to third parties for security purposes that are expected to be returned or applied towards payment within one year or during the operating cycle, if shorter."
       }
      }
     },
     "auth_ref": [
      "r612"
     ]
    },
    "us-gaap_DepreciationAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DepreciationAndAmortization",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DepreciationAndAmortization",
        "terseLabel": "Depreciation and amortization",
        "negatedLabel": "Depreciation and amortization",
        "documentation": "The current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r27"
     ]
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DepreciationDepletionAndAmortization",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Depreciation and amortization",
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r190",
      "r198",
      "r214",
      "r551",
      "r552"
     ]
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Table Text Block]",
        "documentation": "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor."
       }
      }
     },
     "auth_ref": [
      "r661"
     ]
    },
    "us-gaap_DisclosureTextBlockAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "DisclosureTextBlockAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_DisclosureTextBlockAbstract",
        "terseLabel": "Notes to Financial Statements"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_DistillationTowerVolumePerDay": {
     "xbrltype": "volumeItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "DistillationTowerVolumePerDay",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_DistillationTowerVolumePerDay",
        "terseLabel": "Distillation Tower, Volume Per Day (Barrel of Oil)",
        "documentation": "The volume per day of the distillation tower."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3. 1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentInformationLineItems",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentInformationTable",
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Table]",
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentQuarterlyReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentQuarterlyReport",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Quarterly Report",
        "documentation": "Boolean flag that is true only for a form used as an quarterly report."
       }
      }
     },
     "auth_ref": [
      "r596"
     ]
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r597"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "DocumentType",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income per common share:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Basic and diluted income per share (in dollars per share)",
        "label": "Basic (in dollars per share)",
        "terseLabel": "Earnings Per Share, Basic (in dollars per share)",
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r149",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r178",
      "r180",
      "r182",
      "r183",
      "r184",
      "r189",
      "r347",
      "r350",
      "r363",
      "r364",
      "r409",
      "r427",
      "r546"
     ]
    },
    "bdco_EarningsPerShareBasicChangeFromPreviousReportingPeriod": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "EarningsPerShareBasicChangeFromPreviousReportingPeriod",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_EarningsPerShareBasicChangeFromPreviousReportingPeriod",
        "terseLabel": "Earnings Per Share Basic, Change From Previous Reporting Period (in dollars per share)",
        "documentation": "Represents the change in earnings per share basic from the previous fiscal years equivalent reporting period to the current reporting period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Diluted (in dollars per share)",
        "documentation": "The amount of net income (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."
       }
      }
     },
     "auth_ref": [
      "r149",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r180",
      "r182",
      "r183",
      "r184",
      "r189",
      "r347",
      "r350",
      "r363",
      "r364",
      "r409",
      "r427",
      "r546"
     ]
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerSharePolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements."
       }
      }
     },
     "auth_ref": [
      "r13",
      "r14",
      "r186"
     ]
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Text Block]",
        "documentation": "The entire disclosure for earnings per share."
       }
      }
     },
     "auth_ref": [
      "r177",
      "r185",
      "r187",
      "r188"
     ]
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressStateOrProvince": {
     "xbrltype": "stateOrProvinceItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityAddressStateOrProvince",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, State or Province",
        "documentation": "Name of the state or province."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r595"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Common Stock, Shares Outstanding",
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCurrentReportingStatus": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Current Reporting Status",
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-maturities-of-lease-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-supplemental-cash-flow-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-weighted-average-remaining-lease-term-and-discount-rate-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-contract-balances-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity [Domain]",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r595"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity File Number",
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFilerCategory": {
     "xbrltype": "filerCategoryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Filer Category",
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": [
      "r595"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Incorporation, State or Country Code",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInteractiveDataCurrent": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Interactive Data Current",
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files)."
       }
      }
     },
     "auth_ref": [
      "r600"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r595"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Shell Company",
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r595"
     ]
    },
    "dei_EntitySmallBusiness": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntitySmallBusiness",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Small Business",
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC)."
       }
      }
     },
     "auth_ref": [
      "r595"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r595"
     ]
    },
    "bdco_EquipmentLoanDue2025Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "EquipmentLoanDue2025Member",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equipment Loan Due 2025 [Member]",
        "documentation": "Represents Equipment Loan Due 2025."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Component [Domain]",
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r127",
      "r146",
      "r147",
      "r148",
      "r162",
      "r163",
      "r164",
      "r166",
      "r171",
      "r173",
      "r175",
      "r191",
      "r223",
      "r224",
      "r241",
      "r293",
      "r337",
      "r338",
      "r344",
      "r345",
      "r346",
      "r348",
      "r349",
      "r350",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r377",
      "r379",
      "r393",
      "r426",
      "r450",
      "r451",
      "r452",
      "r467",
      "r520"
     ]
    },
    "us-gaap_EscrowDeposit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "EscrowDeposit",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_EscrowDeposit",
        "terseLabel": "Escrow Deposit",
        "documentation": "The designation of funds furnished by a borrower to a lender to assure future payments of the borrower's real estate taxes and insurance obligations with respect to a mortgaged property. Escrow deposits may be made for a variety of other purposes such as earnest money and contingent payments. This element excludes replacement reserves which are an escrow separately provided for within the US GAAP taxonomy."
       }
      }
     },
     "auth_ref": [
      "r94",
      "r534"
     ]
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "bdco_FinancialAssuranceForDecommissioningOfPipelineInFederalWaters": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "FinancialAssuranceForDecommissioningOfPipelineInFederalWaters",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_FinancialAssuranceForDecommissioningOfPipelineInFederalWaters",
        "terseLabel": "Financial Assurance for Decommissioning of Pipeline in Federal Waters",
        "documentation": "Amount of financial assurance for decommissioning of pipeline in federal waters."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_FinancialAssuranceIncreaseDecreaseForPipeline": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "FinancialAssuranceIncreaseDecreaseForPipeline",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_FinancialAssuranceIncreaseDecreaseForPipeline",
        "terseLabel": "Financial Assurance Increase (decrease) For Pipeline",
        "documentation": "The increase (decrease) in the financial assurance related to the pipeline."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GeneralAndAdministrativeExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General and administrative expenses",
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r502"
     ]
    },
    "bdco_GreaterNevadaCreditUnionGncuMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "GreaterNevadaCreditUnionGncuMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Greater Nevada Credit Union (GNCU) [Member]",
        "documentation": "Represents the Greater Nevada Credit Union (GNCU)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GrossProfit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GrossProfit",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gross profit",
        "totalLabel": "Gross profit",
        "documentation": "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r65",
      "r107",
      "r155",
      "r222",
      "r263",
      "r264",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r272",
      "r273",
      "r366",
      "r548",
      "r551",
      "r629",
      "r631",
      "r633",
      "r634",
      "r635",
      "r656"
     ]
    },
    "us-gaap_GuaranteeObligationsLiquidationProceedsPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "GuaranteeObligationsLiquidationProceedsPercentage",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_GuaranteeObligationsLiquidationProceedsPercentage",
        "terseLabel": "Guarantor Obligations, Liquidation Proceeds, Percentage",
        "documentation": "Indicates, if estimable, (as a percentage) the approximate extent to which the proceeds from liquidation of any assets held either as collateral or by third parties would be expected to cover the maximum potential amount of future payments under the guarantee or each group of similar guarantees."
       }
      }
     },
     "auth_ref": [
      "r261"
     ]
    },
    "bdco_HOBMMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "HOBMMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "HOBM [Member]",
        "documentation": "Represents HOBM."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ImpairmentOfLongLivedAssetsToBeDisposedOf",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf",
        "terseLabel": "Impairment of Long-Lived Assets to be Disposed of",
        "documentation": "The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r82",
      "r569"
     ]
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for recognizing and measuring the impairment of long-lived assets. An entity also may disclose its accounting policy for long-lived assets to be sold. This policy excludes goodwill and intangible assets."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r85"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
        "totalLabel": "Income before income taxes",
        "terseLabel": "Income (loss) before income taxes",
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r64",
      "r103",
      "r107",
      "r410",
      "r424",
      "r548",
      "r551",
      "r629",
      "r631",
      "r633",
      "r634",
      "r635"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Text Block]",
        "documentation": "The entire disclosure for income tax."
       }
      }
     },
     "auth_ref": [
      "r156",
      "r316",
      "r323",
      "r324",
      "r325",
      "r326",
      "r328",
      "r334",
      "r339",
      "r341",
      "r342",
      "r343",
      "r463",
      "r568"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 1.0
      },
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_IncomeTaxExpenseBenefit",
        "negatedLabel": "Income tax expense",
        "negatedTotalLabel": "Total provision for income taxes",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r112",
      "r125",
      "r174",
      "r175",
      "r190",
      "r201",
      "r214",
      "r322",
      "r323",
      "r340",
      "r429",
      "r568"
     ]
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncomeTaxPolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements."
       }
      }
     },
     "auth_ref": [
      "r145",
      "r318",
      "r319",
      "r328",
      "r329",
      "r333",
      "r336",
      "r460"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts payable, accrued expenses and other liabilities",
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInAccountsPayableRelatedParties",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts payable, related party",
        "documentation": "The increase (decrease) during the reporting period in the obligations due for goods and services provided by the following types of related parties: a parent company and its subsidiaries, subsidiaries of a common parent, an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entities' management, an entity and its principal owners, management, or member of their immediate families, affiliates, or other parties with the ability to exert significant influence."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_IncreaseDecreaseInAccountsReceivable",
        "negatedLabel": "Accounts receivable",
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInAccountsReceivableRelatedParties",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_IncreaseDecreaseInAccountsReceivableRelatedParties",
        "negatedLabel": "Accounts receivable, related party",
        "documentation": "The increase (decrease) during the reporting period in the amount due to the reporting entity for good and services provided to the following types of related parties: a parent company and its subsidiaries; subsidiaries of a common parent; an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management, an entity and its principal owners, management, member of their immediate families, affiliates, or other parties with the ability to exert significant influence."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInAssetRetirementObligations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInAssetRetirementObligations",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset retirement obligations",
        "documentation": "The increase (decrease) during the reporting period in the carrying amount of asset retirement obligations."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInInventories",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_IncreaseDecreaseInInventories",
        "negatedLabel": "Inventory",
        "documentation": "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes in operating assets and liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
        "negatedLabel": "Prepaid expenses and other current assets",
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "bdco_InformalSettlementAgreementWithOshaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "InformalSettlementAgreementWithOshaMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Informal Settlement Agreement With OSHA [Member]",
        "documentation": "The Informal Settlement Agreement with OSHA."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_InglesideCrudeLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "InglesideCrudeLLCMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ingleside Crude, LLC [Member]",
        "documentation": "Represents Ingleside Crude, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_InsiderTradingArrLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "InsiderTradingArrLineItems",
     "auth_ref": [
      "r598"
     ]
    },
    "us-gaap_InterestAndOtherIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestAndOtherIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_InterestAndOtherIncome",
        "terseLabel": "Interest and other income",
        "documentation": "The amount of interest income and other income recognized during the period. Included in this element is interest derived from investments in debt securities, cash and cash equivalents, and other investments which reflect the time value of money or transactions in which the payments are for the use or forbearance of money and other income from ancillary business-related activities (that is, excluding major activities considered part of the normal operations of the business)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_InterestExpense",
        "negatedLabel": "Interest and other expense",
        "terseLabel": "Interest expense, related party",
        "documentation": "Amount of interest expense classified as operating and nonoperating. Includes, but is not limited to, cost of borrowing accounted for as interest expense."
       }
      }
     },
     "auth_ref": [
      "r190",
      "r193",
      "r197",
      "r203",
      "r214",
      "r374",
      "r551",
      "r552"
     ]
    },
    "us-gaap_InterestPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest paid",
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount."
       }
      }
     },
     "auth_ref": [
      "r150",
      "r152",
      "r153"
     ]
    },
    "us-gaap_InterestPayableCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestPayableCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest payable",
        "negatedTerseLabel": "Less: Accrued interest payable",
        "documentation": "Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InterestPayableCurrentAndNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_InterestPayableCurrentAndNoncurrent",
        "terseLabel": "Accrued interest",
        "negatedLabel": "Less: Accrued interest payable, related party, current portion",
        "negatedTerseLabel": "Less: Accrued interest payable",
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables."
       }
      }
     },
     "auth_ref": [
      "r99",
      "r705"
     ]
    },
    "bdco_InterestPayableNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "InterestPayableNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-term Interest Payable, Net of Current Portion",
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables, classified as noncurrent."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory Disclosure [Text Block]",
        "documentation": "The entire disclosure for inventory. Includes, but is not limited to, the basis of stating inventory, the method of determining inventory cost, the classes of inventory, and the nature of the cost elements included in inventory."
       }
      }
     },
     "auth_ref": [
      "r228"
     ]
    },
    "us-gaap_InventoryNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryNet",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Inventory",
        "label": "Inventory",
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r141",
      "r540",
      "r576"
     ]
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "InventoryPolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory, Policy [Policy Text Block]",
        "documentation": "Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost."
       }
      }
     },
     "auth_ref": [
      "r114",
      "r132",
      "r140",
      "r228",
      "r229",
      "r230",
      "r407",
      "r545"
     ]
    },
    "bdco_JetFuelMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "JetFuelMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Jet Fuel [Member]",
        "documentation": "Represents jet fuel."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_JetFuelSalesAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "JetFuelSalesAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Jet Fuel Sales Agreement [Member]",
        "documentation": "Represents Jet Fuel Sales Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_JohnKissickMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "JohnKissickMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "John Kissick [Member]",
        "documentation": "Represents John Kissick."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_JonathanCarrollMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "JonathanCarrollMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Jonathan Carroll [Member]",
        "documentation": "Represents Jonathan Carroll."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_KissickDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "KissickDebtMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Kissick Debt [Member]",
        "documentation": "Represents Kissick Debt."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_KissickForbearanceAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "KissickForbearanceAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Kissick Forbearance Agreement [Member]",
        "documentation": "Represents Kissick Forbearance Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LEAmendedAndRestatedGuarantyFeeAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LEAmendedAndRestatedGuarantyFeeAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LE Amended and Restated Guaranty Fee Agreement [Member]",
        "documentation": "Represents LE Amended and Restated Guaranty Fee Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LETermLoanDue2034Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LETermLoanDue2034Member",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LE Term Loan Due 2034 [Member]",
        "documentation": "Represents LE Term Loan Due 2034."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LETermLoanDue2050Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LETermLoanDue2050Member",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LE Term Loan Due 2050 [Member]",
        "documentation": "Represents LE Term Loan Due 2050."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LPGMixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LPGMixMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LPG Mix [Member]",
        "documentation": "Represents LPG mix."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LRMAmendedAndRestatedGuarantyFeeAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LRMAmendedAndRestatedGuarantyFeeAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LRM Amended and Restated Guaranty Fee Agreement [Member]",
        "documentation": "Represents LRM Amended and Restated Guaranty Fee Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LRMTermLoanDue2034Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LRMTermLoanDue2034Member",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LRM Term Loan Due 2034 [Member]",
        "documentation": "Represents LRM Term Loan Due 2034."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Land": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Land",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details": {
       "parentTag": "bdco_PropertyPlantAndEquipmentGrossExcludingConstructionInProgress",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Land",
        "documentation": "Amount before accumulated depletion of real estate held for productive use, excluding land held for sale."
       }
      }
     },
     "auth_ref": [
      "r608"
     ]
    },
    "bdco_LazarusEnergyHoldingsLEHMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LazarusEnergyHoldingsLEHMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lazarus Energy Holdings (LEH) [Member]",
        "documentation": "Represents Lazarus Energy Holdings (LEH)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LeaseContractualTermAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LeaseContractualTermAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease Contractual Term [Axis]",
        "documentation": "Information by contractual term of lease arrangement."
       }
      }
     },
     "auth_ref": [
      "r392",
      "r605"
     ]
    },
    "us-gaap_LeaseContractualTermDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LeaseContractualTermDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease Contractual Term [Domain]",
        "documentation": "Contractual term of lease arrangement."
       }
      }
     },
     "auth_ref": [
      "r392",
      "r605"
     ]
    },
    "us-gaap_LeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LeaseCost",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LeaseCost",
        "totalLabel": "Total lease cost",
        "documentation": "Amount of lease cost recognized by lessee for lease contract."
       }
      }
     },
     "auth_ref": [
      "r384",
      "r575"
     ]
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LeaseCostTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost [Table Text Block]",
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income."
       }
      }
     },
     "auth_ref": [
      "r679"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-maturities-of-lease-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-supplemental-cash-flow-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-weighted-average-remaining-lease-term-and-discount-rate-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-contract-balances-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LegalFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LegalFees",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LegalFees",
        "terseLabel": "Legal Fees",
        "documentation": "The amount of expense provided in the period for legal costs incurred on or before the balance sheet date pertaining to resolved, pending or threatened litigation, including arbitration and mediation proceedings."
       }
      }
     },
     "auth_ref": [
      "r607"
     ]
    },
    "bdco_LehAndAffiliatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LehAndAffiliatesMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LEH and Affiliates [Member]",
        "documentation": "Represents LEH and affiliates."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LehForbearanceAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LehForbearanceAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LEH Forbearance Agreement [Member]",
        "documentation": "Represents the LEH Forbearance Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeLeasesPolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Leases [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for leasing arrangement entered into by lessee."
       }
      }
     },
     "auth_ref": [
      "r383"
     ]
    },
    "bdco_LesseeOperatingLeaseAssetsAndLiabilitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LesseeOperatingLeaseAssetsAndLiabilitiesTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Assets and Liabilities [Table Text Block]",
        "documentation": "Tabular disclosure of assets and liabilities of operating lease of the lessee."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Maturity [Table Text Block]",
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position."
       }
      }
     },
     "auth_ref": [
      "r680"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-maturities-of-lease-liabilities-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-maturities-of-lease-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
        "totalLabel": "Lessee, Operating Lease, Liability, to be Paid",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease."
       }
      }
     },
     "auth_ref": [
      "r390"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-maturities-of-lease-liabilities-details": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-maturities-of-lease-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
        "terseLabel": "2025",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r390"
     ]
    },
    "bdco_LesseeOperatingLeaseMinimumLeaseCommitmentsToBePaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LesseeOperatingLeaseMinimumLeaseCommitmentsToBePaid",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_LesseeOperatingLeaseMinimumLeaseCommitmentsToBePaid",
        "totalLabel": "Lessee, Operating Lease, Minimum Lease Commitments, to be Paid",
        "documentation": "Amount of minimum lease commitments for operating lease to be paid. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LesseeOperatingLeaseMinimumLeaseCommitmentsToBePaidYearOne": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LesseeOperatingLeaseMinimumLeaseCommitmentsToBePaidYearOne",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details": {
       "parentTag": "bdco_LesseeOperatingLeaseMinimumLeaseCommitmentsToBePaid",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_LesseeOperatingLeaseMinimumLeaseCommitmentsToBePaidYearOne",
        "terseLabel": "2025",
        "documentation": "Amount of minimum lease commitments for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LesseeOperatingLeaseMonthlyRentExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LesseeOperatingLeaseMonthlyRentExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_LesseeOperatingLeaseMonthlyRentExpense",
        "terseLabel": "Lessee, Operating Lease, Monthly Rent Expense",
        "documentation": "Amount of monthly rent expense of operating lease of the lessee."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LesseeOperatingLeaseWeightedAverageRemainingLeaseTermAndDiscountRateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LesseeOperatingLeaseWeightedAverageRemainingLeaseTermAndDiscountRateTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Weighted average Remaining Lease Term and Discount Rate [Table Text Block]",
        "documentation": "Tabular disclosure for weighted average remaining lease term and discount rate for operating lease of the lessee."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LesseeOperatingLeasesTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Leases [Text Block]",
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability."
       }
      }
     },
     "auth_ref": [
      "r378"
     ]
    },
    "us-gaap_LettersOfCreditOutstandingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LettersOfCreditOutstandingAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LettersOfCreditOutstandingAmount",
        "terseLabel": "Letters of Credit Outstanding, Amount",
        "documentation": "The total amount of the contingent obligation under letters of credit outstanding as of the reporting date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "Liabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_Liabilities",
        "totalLabel": "TOTAL LIABILITIES",
        "documentation": "Amount of liability recognized for present obligation requiring transfer or otherwise providing economic benefit to others."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r43",
      "r44",
      "r45",
      "r48",
      "r49",
      "r50",
      "r53",
      "r155",
      "r222",
      "r263",
      "r264",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r272",
      "r273",
      "r353",
      "r354",
      "r355",
      "r366",
      "r477",
      "r547",
      "r594",
      "r656",
      "r682",
      "r683"
     ]
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LiabilitiesAndStockholdersEquity",
        "totalLabel": "TOTAL LIABILITIES AND STOCKHOLDERS' EQUITY",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r102",
      "r419",
      "r576",
      "r618",
      "r640",
      "r673"
     ]
    },
    "us-gaap_LiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LiabilitiesCurrent",
        "terseLabel": "Liabilities, Current",
        "totalLabel": "Total current liabilities",
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r45",
      "r131",
      "r155",
      "r222",
      "r263",
      "r264",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r272",
      "r273",
      "r353",
      "r354",
      "r355",
      "r366",
      "r576",
      "r656",
      "r682",
      "r683"
     ]
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesCurrentAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CURRENT LIABILITIES"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LiabilitiesCurrentChangeFromPreviousReportingPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LiabilitiesCurrentChangeFromPreviousReportingPeriod",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_LiabilitiesCurrentChangeFromPreviousReportingPeriod",
        "terseLabel": "Liabilities, Current, Change From Previous Reporting Period",
        "documentation": "Represents the change from previous reporting period of total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LiabilitiesNoncurrent",
        "totalLabel": "Total long-term liabilities",
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r48",
      "r49",
      "r50",
      "r53",
      "r155",
      "r222",
      "r263",
      "r264",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r272",
      "r273",
      "r353",
      "r354",
      "r355",
      "r366",
      "r656",
      "r682",
      "r683"
     ]
    },
    "us-gaap_LiabilitiesNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LiabilitiesNoncurrentAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LONG-TERM LIABILITIES"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LiabilitiesOtherThanCurrentPortionOfLongtermDebtCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LiabilitiesOtherThanCurrentPortionOfLongtermDebtCurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_LiabilitiesOtherThanCurrentPortionOfLongtermDebtCurrent",
        "terseLabel": "Liabilities, Other than Current Portion of Long-Term Debt, Current",
        "documentation": "Total obligations, other than the current portion of long-term debt, incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LiabilitiesOtherThanCurrentPortionOfLongtermDebtCurrentChangeFromPreviousReportingPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LiabilitiesOtherThanCurrentPortionOfLongtermDebtCurrentChangeFromPreviousReportingPeriod",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_LiabilitiesOtherThanCurrentPortionOfLongtermDebtCurrentChangeFromPreviousReportingPeriod",
        "terseLabel": "Liabilities, Other than Current Portion of Long-Term Debt, Current, Change From Previous Reporting Period",
        "documentation": "Represents the change from previous reporting period of total obligations, other than the current portion of long-term debt, incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LineOfCreditFacilityAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lender Name [Axis]",
        "documentation": "Information by name of lender, which may be a single entity (for example, but not limited to, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit."
       }
      }
     },
     "auth_ref": [
      "r42",
      "r47",
      "r617",
      "r654",
      "r655"
     ]
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LineOfCreditFacilityLenderDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility, Lender [Domain]",
        "documentation": "Identification of the lender, which may be a single entity (for example, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit, including a letter of credit facility."
       }
      }
     },
     "auth_ref": [
      "r42",
      "r47",
      "r617",
      "r654"
     ]
    },
    "srt_LitigationCaseAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "LitigationCaseAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Litigation Case [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_LitigationCaseTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "LitigationCaseTypeDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Litigation Case [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LitigationReserve": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LitigationReserve",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LitigationReserve",
        "terseLabel": "Estimated Litigation Liability",
        "documentation": "Aggregate carrying amount of the estimated litigation liability for known or estimated probable loss from litigation, which may include attorneys' fees and other litigation costs."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r649"
     ]
    },
    "us-gaap_LitigationSettlementExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LitigationSettlementExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LitigationSettlementExpense",
        "terseLabel": "Litigation Settlement, Fee Expense",
        "documentation": "Amount of litigation expense, including but not limited to legal, forensic, accounting, and investigative fees."
       }
      }
     },
     "auth_ref": [
      "r607"
     ]
    },
    "us-gaap_LitigationStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LitigationStatusAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Litigation Status [Axis]",
        "documentation": "Information by status of pending, threatened, or settled litigation."
       }
      }
     },
     "auth_ref": [
      "r643",
      "r644",
      "r645",
      "r649"
     ]
    },
    "us-gaap_LitigationStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LitigationStatusDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Litigation Status [Domain]",
        "documentation": "Status of pending, threatened, or settled litigation."
       }
      }
     },
     "auth_ref": [
      "r643",
      "r644",
      "r645",
      "r649"
     ]
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2024",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-document-and-entity-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebt",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Long-term debt",
        "label": "Long-Term Debt",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r100",
      "r281",
      "r291",
      "r559",
      "r560",
      "r574",
      "r706"
     ]
    },
    "us-gaap_LongTermDebtCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebtCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-term debt less unamortized debt issue costs, current portion (in default)",
        "negatedTerseLabel": "Less: Long-term debt, related party, current portion",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r136"
     ]
    },
    "us-gaap_LongTermDebtNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebtNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Long-Term Debt, Excluding Current Maturities",
        "label": "Long-term debt, net of current portion",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r138"
     ]
    },
    "us-gaap_LongTermDebtTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermDebtTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt [Text Block]",
        "documentation": "The entire disclosure for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r88"
     ]
    },
    "us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Category of Item Purchased [Axis]",
        "documentation": "Information by category of items purchased under a long-term purchase commitment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Purchase Commitment, Category of Item Purchased [Domain]",
        "documentation": "General description of the goods or services to be purchased from the counterparty to the long-term purchase commitment."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_LongtermPurchaseCommitmentNonrenewalPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "LongtermPurchaseCommitmentNonrenewalPeriod",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_LongtermPurchaseCommitmentNonrenewalPeriod",
        "terseLabel": "Long-Term Purchase Commitment, Non-renewal Period (Day)",
        "documentation": "Period for notification of non-renewal of the long-term purchase commitment, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingenciesByNatureOfContingencyAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency Nature [Axis]",
        "documentation": "Information by type of existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur."
       }
      }
     },
     "auth_ref": [
      "r254",
      "r255",
      "r256",
      "r260",
      "r314",
      "r455",
      "r557",
      "r650",
      "r651"
     ]
    },
    "us-gaap_LossContingencyAccrualAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingencyAccrualAtCarryingValue",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LossContingencyAccrualAtCarryingValue",
        "terseLabel": "Loss Contingency Accrual",
        "documentation": "Amount of loss contingency liability."
       }
      }
     },
     "auth_ref": [
      "r254",
      "r601"
     ]
    },
    "us-gaap_LossContingencyDamagesSoughtValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingencyDamagesSoughtValue",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LossContingencyDamagesSoughtValue",
        "terseLabel": "Loss Contingency, Damages Sought, Value",
        "documentation": "The value (monetary amount) of the award the plaintiff seeks in the legal matter."
       }
      }
     },
     "auth_ref": [
      "r649",
      "r650",
      "r651"
     ]
    },
    "us-gaap_LossContingencyEstimateOfPossibleLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingencyEstimateOfPossibleLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_LossContingencyEstimateOfPossibleLoss",
        "terseLabel": "Loss Contingency, Estimate of Possible Loss",
        "negatedLabel": "Liabilities settled",
        "documentation": "Reflects the estimated amount of loss from the specified contingency as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r255",
      "r256",
      "r259",
      "r260",
      "r314",
      "r557"
     ]
    },
    "us-gaap_LossContingencyNatureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "LossContingencyNatureDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency, Nature [Domain]",
        "documentation": "An existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur. Resolution of the uncertainty may confirm the incurrence of a loss or impairment of an asset or the incurrence of a liability."
       }
      }
     },
     "auth_ref": [
      "r254",
      "r255",
      "r256",
      "r260",
      "r314",
      "r455",
      "r557",
      "r650",
      "r651"
     ]
    },
    "srt_MajorCustomersAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "MajorCustomersAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]"
       }
      }
     },
     "auth_ref": [
      "r219",
      "r565",
      "r578",
      "r582",
      "r661",
      "r709",
      "r710",
      "r711",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737"
     ]
    },
    "us-gaap_ManagementFeeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ManagementFeeExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LEH operating fee, related party",
        "terseLabel": "Management Fee Expense",
        "documentation": "Amount of expense for investment management fee, including, but not limited to, expense in connection with research, selection, supervision, and custody of investment."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r502",
      "r593",
      "r740"
     ]
    },
    "bdco_ManagementFeePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ManagementFeePercentage",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_ManagementFeePercentage",
        "terseLabel": "Management Fee Percentage",
        "documentation": "Percentage of management fee."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_MasterServicesAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "MasterServicesAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Master Services Agreement [Member]",
        "documentation": "Represents Master Services Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "auth_ref": [
      "r255",
      "r256",
      "r257",
      "r258",
      "r309",
      "r314",
      "r365",
      "r406",
      "r448",
      "r449",
      "r455",
      "r469",
      "r470",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r535",
      "r536",
      "r554",
      "r563",
      "r566",
      "r570",
      "r571",
      "r572",
      "r573",
      "r579",
      "r658",
      "r684",
      "r685",
      "r686",
      "r687",
      "r688",
      "r689"
     ]
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "auth_ref": [
      "r255",
      "r256",
      "r257",
      "r258",
      "r309",
      "r314",
      "r365",
      "r406",
      "r448",
      "r449",
      "r455",
      "r469",
      "r470",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r535",
      "r536",
      "r554",
      "r563",
      "r566",
      "r570",
      "r571",
      "r572",
      "r579",
      "r658",
      "r684",
      "r685",
      "r686",
      "r687",
      "r688",
      "r689"
     ]
    },
    "bdco_MonthlyTankRentalFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "MonthlyTankRentalFee",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_MonthlyTankRentalFee",
        "terseLabel": "Monthly Tank Rental Fee",
        "documentation": "Amount of monthly tank rental fee."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_MtrlTermsOfTrdArrTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "MtrlTermsOfTrdArrTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Terms of Trading Arrangement [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r599"
     ]
    },
    "bdco_NPSGuarantyFeeAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NPSGuarantyFeeAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NPS Guaranty Fee Agreement [Member]",
        "documentation": "Represents the NPS Guaranty Fee Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_NPSTermLoanDue2031Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NPSTermLoanDue2031Member",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NPS Term Loan Due 2031 [Member]",
        "documentation": "Represents NPS Term Loan Due 2031."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_NPSTermLoanDue2050Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NPSTermLoanDue2050Member",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NPS Term Loan Due 2050 [Member]",
        "documentation": "Represents NPS Term Loan Due 2050."
       }
      }
     },
     "auth_ref": []
    },
    "srt_NameOfMajorCustomerDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "NameOfMajorCustomerDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]"
       }
      }
     },
     "auth_ref": [
      "r219",
      "r565",
      "r578",
      "r582",
      "r661",
      "r709",
      "r710",
      "r711",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737"
     ]
    },
    "bdco_NaphthaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NaphthaMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Naphtha [Member]",
        "documentation": "Represents Naphtha."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
        "totalLabel": "Net cash used in financing activities",
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit."
       }
      }
     },
     "auth_ref": [
      "r151"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "FINANCING ACTIVITIES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
        "totalLabel": "Net cash provided by (used in) operating activities",
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r74",
      "r75",
      "r76"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "OPERATING ACTIVITIES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 9.0
      },
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net income",
        "label": "Net income",
        "terseLabel": "Net Income (Loss) Attributable to Parent",
        "totalLabel": "Net Income",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r66",
      "r76",
      "r104",
      "r129",
      "r143",
      "r144",
      "r148",
      "r155",
      "r165",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r174",
      "r175",
      "r181",
      "r222",
      "r263",
      "r264",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r272",
      "r273",
      "r347",
      "r350",
      "r364",
      "r366",
      "r425",
      "r500",
      "r518",
      "r519",
      "r593",
      "r656"
     ]
    },
    "bdco_NetIncomeLossChangeFromPreviousReportingPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NetIncomeLossChangeFromPreviousReportingPeriod",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_NetIncomeLossChangeFromPreviousReportingPeriod",
        "terseLabel": "Net Income (Loss), Change From Previous Reporting Period",
        "documentation": "Represents the change in net income(loss) from the previous fiscal years equivalent reporting period to this current reporting period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonRule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NonRule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ecd_NonRule10b51ArrAdoptedFlag",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Adopted [Flag]"
       }
      }
     },
     "auth_ref": [
      "r599"
     ]
    },
    "ecd_NonRule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "NonRule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ecd_NonRule10b51ArrTrmntdFlag",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Terminated [Flag]"
       }
      }
     },
     "auth_ref": [
      "r599"
     ]
    },
    "us-gaap_NonoperatingIncomeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NonoperatingIncomeExpense",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NonoperatingIncomeExpense",
        "totalLabel": "Total other income (expense)",
        "terseLabel": "Interest and other non-operating expenses, net",
        "documentation": "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business)."
       }
      }
     },
     "auth_ref": [
      "r69"
     ]
    },
    "us-gaap_NonoperatingIncomeExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NonoperatingIncomeExpenseAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "OTHER INCOME (EXPENSE)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NonrelatedPartyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NonrelatedPartyMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonrelated Party [Member]",
        "documentation": "Party not related to reporting entity."
       }
      }
     },
     "auth_ref": [
      "r620",
      "r621"
     ]
    },
    "bdco_NoteToFinancialStatementDetailsTextual": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NoteToFinancialStatementDetailsTextual",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note To Financial Statement Details Textual"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_NotesToFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NotesToFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes To Financial Statements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_NpsTermLoanDue2053Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NpsTermLoanDue2053Member",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NPS Term Loan Due 2053 [Member]",
        "documentation": "Represents NPS Term Loan Due 2053."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_NumberOfMajorCustomers": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NumberOfMajorCustomers",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Number of Significant Customers",
        "label": "bdco_NumberOfMajorCustomers",
        "documentation": "The number of major customers."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfOperatingSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NumberOfOperatingSegments",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NumberOfOperatingSegments",
        "terseLabel": "Number of Operating Segments",
        "documentation": "Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues."
       }
      }
     },
     "auth_ref": [
      "r552",
      "r630"
     ]
    },
    "bdco_NumberOfPipelineRightsofway": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "NumberOfPipelineRightsofway",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_NumberOfPipelineRightsofway",
        "terseLabel": "Number of Pipeline Rights-of-way",
        "documentation": "The number of pipeline rights-of-way."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfReportableSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "NumberOfReportableSegments",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_NumberOfReportableSegments",
        "terseLabel": "Number of Reportable Segments",
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements."
       }
      }
     },
     "auth_ref": [
      "r549",
      "r553",
      "r630"
     ]
    },
    "bdco_OfficeLeaseOfCorporateHeadquartersInHoustonTexasMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "OfficeLeaseOfCorporateHeadquartersInHoustonTexasMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Office Lease of Corporate Headquarters in Houston, Texas [Member]",
        "documentation": "Represents the office lease of corporate headquarters in Houston, Texas."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_OilAndGasPropertiesVolumeSold": {
     "xbrltype": "volumeItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "OilAndGasPropertiesVolumeSold",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_OilAndGasPropertiesVolumeSold",
        "terseLabel": "Oil and Gas Properties, Volume Sold (Barrel of Oil)",
        "documentation": "Represents units of oil and gas properties sold."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OperatingExpenses",
        "totalLabel": "Total cost of operations",
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingExpensesAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "COST OF OPERATIONS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OperatingIncomeLoss",
        "totalLabel": "Income from operations",
        "documentation": "The net result for the period of deducting operating expenses from operating revenues."
       }
      }
     },
     "auth_ref": [
      "r107",
      "r548",
      "r629",
      "r631",
      "r633",
      "r634",
      "r635"
     ]
    },
    "us-gaap_OperatingLeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseCost",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details": {
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating lease costs",
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability."
       }
      }
     },
     "auth_ref": [
      "r385",
      "r575"
     ]
    },
    "us-gaap_OperatingLeaseExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OperatingLeaseExpense",
        "terseLabel": "Operating Lease, Expense",
        "documentation": "Amount of operating lease expense. Excludes sublease income."
       }
      }
     },
     "auth_ref": [
      "r678"
     ]
    },
    "us-gaap_OperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OperatingLeaseLiability",
        "totalLabel": "Total lease liabilities",
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease."
       }
      }
     },
     "auth_ref": [
      "r381"
     ]
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseLiabilityCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details": {
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current portion of lease liabilities",
        "terseLabel": "Operating lease, current",
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current."
       }
      }
     },
     "auth_ref": [
      "r381"
     ]
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details": {
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OperatingLeaseLiabilityNoncurrent",
        "terseLabel": "Operating lease, noncurrent",
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent."
       }
      }
     },
     "auth_ref": [
      "r381"
     ]
    },
    "us-gaap_OperatingLeasePayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeasePayments",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-supplemental-cash-flow-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating cash flows for operating lease",
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use."
       }
      }
     },
     "auth_ref": [
      "r382",
      "r387"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseRightOfUseAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating lease right-of-use assets, net",
        "totalLabel": "Total lease assets",
        "documentation": "Amount of lessee's right to use underlying asset under operating lease."
       }
      }
     },
     "auth_ref": [
      "r380"
     ]
    },
    "bdco_OperatingLeaseRightofuseAssetAccumulatedAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "OperatingLeaseRightofuseAssetAccumulatedAmortization",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details": {
       "parentTag": "us-gaap_OperatingLeaseRightOfUseAsset",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_OperatingLeaseRightofuseAssetAccumulatedAmortization",
        "negatedTerseLabel": "Less: Accumulated amortization on operating lease assets",
        "documentation": "Amount of accumulated amortization on lessee's right to use underlying asset under operating lease."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_OperatingLeaseRightofuseAssetGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "OperatingLeaseRightofuseAssetGross",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details": {
       "parentTag": "us-gaap_OperatingLeaseRightOfUseAsset",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_OperatingLeaseRightofuseAssetGross",
        "terseLabel": "Operating lease ROU assets",
        "documentation": "Amount of lessee's right to use underlying asset under operating lease before accumulated amortization."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-weighted-average-remaining-lease-term-and-discount-rate-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating lease, Weighted average discount rate",
        "documentation": "Weighted average discount rate for operating lease calculated at point in time."
       }
      }
     },
     "auth_ref": [
      "r389",
      "r575"
     ]
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-weighted-average-remaining-lease-term-and-discount-rate-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating lease, Weighted average remaining lease term in years (Year)",
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r388",
      "r575"
     ]
    },
    "us-gaap_OperatingLossCarryforwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingLossCarryforwards",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_OperatingLossCarryforwards",
        "terseLabel": "Operating Loss Carryforwards",
        "periodStartLabel": "Balance at December 31, 2022",
        "periodEndLabel": "Balance at December 31, 2023",
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws."
       }
      }
     },
     "auth_ref": [
      "r335"
     ]
    },
    "bdco_OperatingLossCarryforwardsEstimateOfAnnualUseLimitation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "OperatingLossCarryforwardsEstimateOfAnnualUseLimitation",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_OperatingLossCarryforwardsEstimateOfAnnualUseLimitation",
        "terseLabel": "Operating Loss Carryforwards, Estimate of Annual Use Limitation",
        "documentation": "Amount of estimate of annual use limitation on operating loss carryforward."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_OperatingLossCarryforwardsEstimateOfExpiringUnused": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "OperatingLossCarryforwardsEstimateOfExpiringUnused",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_OperatingLossCarryforwardsEstimateOfExpiringUnused",
        "terseLabel": "Operating Loss Carryforwards, Estimate of Expiring Unused",
        "documentation": "Amount of operating loss carryforward that are likely to expired unused."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_OperatingLossCarryforwardsUsedAndExpired": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "OperatingLossCarryforwardsUsedAndExpired",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_OperatingLossCarryforwardsUsedAndExpired",
        "negatedLabel": "Net operating losses used and expired",
        "documentation": "Amount of operating loss carryforward used and expired during the period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingSegmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OperatingSegmentsMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Segments [Member]",
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity."
       }
      }
     },
     "auth_ref": [
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r215",
      "r551",
      "r552"
     ]
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure."
       }
      }
     },
     "auth_ref": [
      "r38",
      "r92",
      "r457",
      "r458"
     ]
    },
    "us-gaap_OtherAccruedLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherAccruedLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details": {
       "parentTag": "bdco_AccruedLiabilitiesAndOtherLiabilitiesCurrent",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other payable",
        "documentation": "Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherCostAndExpenseOperating",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other operating expenses",
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation."
       }
      }
     },
     "auth_ref": [
      "r67",
      "r428",
      "r551"
     ]
    },
    "us-gaap_OtherCostOfOperatingRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherCostOfOperatingRevenue",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_CostOfRevenue",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other conversion costs",
        "documentation": "Other costs incurred during the reporting period related to other revenue generating activities."
       }
      }
     },
     "auth_ref": [
      "r65"
     ]
    },
    "bdco_OtherOperatingAndGeneralAndAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "OtherOperatingAndGeneralAndAdministrativeExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_OtherOperatingAndGeneralAndAdministrativeExpense",
        "negatedLabel": "Other operating and general and administrative expenses",
        "documentation": "The aggregate total of other operating expenses and expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherPrepaidExpenseCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "OtherPrepaidExpenseCurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details": {
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other prepaids",
        "documentation": "Amount of asset related to consideration paid in advance for other costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r611",
      "r641"
     ]
    },
    "bdco_OwnershipPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "OwnershipPercentage",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_OwnershipPercentage",
        "terseLabel": "Ownership Percentage",
        "documentation": "Percentage of ownership."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PaymentsForLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PaymentsForLoans",
        "terseLabel": "Payments for Loans",
        "documentation": "Cash payments for and related to principal collection on loans related to operating activities."
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "us-gaap_PendingLitigationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PendingLitigationMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pending Litigation [Member]",
        "documentation": "Risk of loss associated with the outcome of pending litigation against the entity, for example, but not limited to, litigation in arbitration or within the trial process."
       }
      }
     },
     "auth_ref": [
      "r649"
     ]
    },
    "bdco_PercentageOfRevenue": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PercentageOfRevenue",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_PercentageOfRevenue",
        "terseLabel": "% of revenue",
        "documentation": "Percentage of revenues to total revenues for the period."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_PercentageOfRevenues": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PercentageOfRevenues",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_PercentageOfRevenues",
        "terseLabel": "Percentage of revenues from operations",
        "documentation": "Percentage of revenues."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_PilotTravelCentersLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PilotTravelCentersLLCMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pilot Travel Centers LLC [Member]",
        "documentation": "Represents Pilot Travel Centers LLC."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PipelinesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PipelinesMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pipelines [Member]",
        "documentation": "Assets used for transporting gas and liquids through interconnected tubing, generally underground, for many miles."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PolicyTextBlockAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PolicyTextBlockAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PolicyTextBlockAbstract",
        "terseLabel": "Accounting Policies"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_PostownershipChangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PostownershipChangeMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-ownership change [Member]",
        "documentation": "Represents post-ownership change."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_PreownershipChangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PreownershipChangeMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Ownership Change [Member]",
        "documentation": "Represents pre-ownership change."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_PrepaidCrudeOilAndCondensateCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PrepaidCrudeOilAndCondensateCurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details": {
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid crude oil and condensate",
        "documentation": "Amount of prepaid crude oil and condensate, classified as current."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_PrepaidEasementRenewalFeesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PrepaidEasementRenewalFeesCurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details": {
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid easement renewal fees",
        "documentation": "Amount of prepaid easement renewal fees, classified as current."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid expenses and other current assets",
        "totalLabel": "Prepaid Expense and Other Assets, Current",
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r613"
     ]
    },
    "bdco_PrepaidExpensesAndOtherCurrentAssetsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PrepaidExpensesAndOtherCurrentAssetsTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expenses and Other Current Assets [Text Block]",
        "documentation": "The entire disclosure for prepaid expenses and other current assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrepaidInsurance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PrepaidInsurance",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details": {
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid insurance",
        "documentation": "Amount of asset related to consideration paid in advance for insurance that provides economic benefits within a future period of one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r541",
      "r555",
      "r641"
     ]
    },
    "us-gaap_ProceedsFromIssuanceOfDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromIssuanceOfDebt",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ProceedsFromIssuanceOfDebt",
        "terseLabel": "Proceeds from Issuance of Debt",
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt."
       }
      }
     },
     "auth_ref": [
      "r614"
     ]
    },
    "us-gaap_ProceedsFromRepaymentsOfRelatedPartyDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromRepaymentsOfRelatedPartyDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net activity on related-party debt",
        "documentation": "Amount of cash inflow (outflow) from long-term debt by a related party. Related parties, include, but are not limited to, affiliates, owners or officers and their immediate families, and pension trusts."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromSaleOfOilAndGasPropertyAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ProceedsFromSaleOfOilAndGasPropertyAndEquipment",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ProceedsFromSaleOfOilAndGasPropertyAndEquipment",
        "terseLabel": "Proceeds from Sale of Oil and Gas Property and Equipment",
        "documentation": "The cash inflow to dispose of long-lived, physical assets and mineral interests in oil and gas properties used for normal oil and gas operations."
       }
      }
     },
     "auth_ref": [
      "r72"
     ]
    },
    "srt_ProductOrServiceAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ProductOrServiceAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]"
       }
      }
     },
     "auth_ref": [
      "r217",
      "r408",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r538",
      "r564",
      "r577",
      "r579",
      "r580",
      "r583",
      "r584",
      "r652",
      "r653",
      "r661",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737"
     ]
    },
    "srt_ProductsAndServicesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ProductsAndServicesDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]"
       }
      }
     },
     "auth_ref": [
      "r217",
      "r408",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r538",
      "r564",
      "r577",
      "r579",
      "r580",
      "r583",
      "r584",
      "r652",
      "r653",
      "r661",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Axis]",
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r391"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections."
       }
      }
     },
     "auth_ref": [
      "r81",
      "r117",
      "r122",
      "r123"
     ]
    },
    "bdco_PropertyPlantAndEquipmentGrossExcludingConstructionInProgress": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PropertyPlantAndEquipmentGrossExcludingConstructionInProgress",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details": {
       "parentTag": "bdco_PropertyPlantAndEquipmentNetExcludingConstructionInProgress",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_PropertyPlantAndEquipmentGrossExcludingConstructionInProgress",
        "totalLabel": "Property, Plant and Equipment, Gross, Excluding Construction in Progress",
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale, excluding construction in progress."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentNet",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total property and equipment, net",
        "totalLabel": "Property, Plant and Equipment, Net",
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r391",
      "r411",
      "r423",
      "r576"
     ]
    },
    "bdco_PropertyPlantAndEquipmentNetExcludingConstructionInProgress": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "PropertyPlantAndEquipmentNetExcludingConstructionInProgress",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details": {
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_PropertyPlantAndEquipmentNetExcludingConstructionInProgress",
        "totalLabel": "Property, Plant and Equipment, Net, Excluding Construction in Progress",
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale, excluding construction in progress."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentOther",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details": {
       "parentTag": "bdco_PropertyPlantAndEquipmentGrossExcludingConstructionInProgress",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other property and equipment",
        "documentation": "Amount before accumulated depreciation, depletion and amortization of other physical assets used in the normal conduct of business to produce goods and services and not intended for resale."
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r117",
      "r122",
      "r421"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Table Text Block]",
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation."
       }
      }
     },
     "auth_ref": [
      "r5"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Domain]",
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r391"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_PropertyPlantAndEquipmentUsefulLife",
        "terseLabel": "Property, Plant and Equipment, Useful Life (Year)",
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PublicUtilitiesInventoryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PublicUtilitiesInventoryAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory [Axis]",
        "documentation": "Information by type of inventory held."
       }
      }
     },
     "auth_ref": [
      "r610"
     ]
    },
    "us-gaap_PublicUtilitiesInventoryPropaneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PublicUtilitiesInventoryPropaneMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Propane [Member]",
        "documentation": "Heavy, colorless, gaseous alkane occurring naturally in petroleum and natural gas."
       }
      }
     },
     "auth_ref": [
      "r610",
      "r662"
     ]
    },
    "us-gaap_PublicUtilitiesInventoryTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "PublicUtilitiesInventoryTypeDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory [Domain]",
        "documentation": "Tangible personal property that is held for sale in the ordinary course of business, in process of production for such sale or is to be currently consumed in the production of goods or services to be available for sale."
       }
      }
     },
     "auth_ref": [
      "r610"
     ]
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r255",
      "r256",
      "r257",
      "r258",
      "r307",
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r365",
      "r403",
      "r404",
      "r406",
      "r448",
      "r449",
      "r455",
      "r469",
      "r470",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r535",
      "r536",
      "r554",
      "r563",
      "r566",
      "r570",
      "r571",
      "r572",
      "r573",
      "r579",
      "r587",
      "r647",
      "r658",
      "r671",
      "r685",
      "r686",
      "r687",
      "r688",
      "r689"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "RangeMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r255",
      "r256",
      "r257",
      "r258",
      "r307",
      "r309",
      "r311",
      "r312",
      "r313",
      "r314",
      "r365",
      "r403",
      "r404",
      "r406",
      "r448",
      "r449",
      "r455",
      "r469",
      "r470",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r535",
      "r536",
      "r554",
      "r563",
      "r566",
      "r570",
      "r571",
      "r572",
      "r573",
      "r579",
      "r587",
      "r647",
      "r658",
      "r671",
      "r685",
      "r686",
      "r687",
      "r688",
      "r689"
     ]
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reconciliation of Assets from Segment to Consolidated [Table Text Block]",
        "documentation": "Tabular disclosure of all significant reconciling items in the reconciliation of total assets from reportable segments to the entity's consolidated assets."
       }
      }
     },
     "auth_ref": [
      "r25",
      "r26"
     ]
    },
    "bdco_RefineryOperationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "RefineryOperationsMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Refinery Operations [Member]",
        "documentation": "Represents refinery operations."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related and Nonrelated Parties [Domain]",
        "documentation": "Related and nonrelated parties. Related party includes, but is not limited to, affiliate, other entity for which investment is accounted for under equity method, trust for benefit of employee, principal owner, management, and member of immediate family, and other party that may be prevented from pursuing separate interests because of control, significant influence, or ownership interest."
       }
      }
     },
     "auth_ref": [
      "r220",
      "r308",
      "r397",
      "r398",
      "r415",
      "r420",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r497",
      "r499",
      "r525"
     ]
    },
    "us-gaap_RelatedPartyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party [Member]",
        "documentation": "Party related to reporting entity. Includes, but is not limited to, affiliate, entity for which investment is accounted for by equity method, trust for benefit of employees, and principal owner, management, and members of immediate family."
       }
      }
     },
     "auth_ref": [
      "r157",
      "r158",
      "r397",
      "r398",
      "r399",
      "r400",
      "r415",
      "r420",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r497",
      "r499",
      "r525"
     ]
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Axis]",
        "documentation": "Information by type of related party transaction."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r398",
      "r681"
     ]
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Domain]",
        "documentation": "Transaction between related party."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_RelatedPartyTransactionWrittenNoticePeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "RelatedPartyTransactionWrittenNoticePeriod",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_RelatedPartyTransactionWrittenNoticePeriod",
        "terseLabel": "Related Party Transaction, Written Notice Period (Year)",
        "documentation": "The period for written notice on related party transaction."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related and Nonrelated Parties [Axis]",
        "documentation": "Information by related and nonrelated parties. Related party includes, but is not limited to, affiliate, other entity for which investment is accounted for under equity method, trust for benefit of employee, principal owner, management, and member of immediate family, and other party that may be prevented from pursuing separate interests because of control, significant influence, or ownership interest."
       }
      }
     },
     "auth_ref": [
      "r220",
      "r308",
      "r397",
      "r398",
      "r415",
      "r420",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r497",
      "r499",
      "r525",
      "r681"
     ]
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions Disclosure [Text Block]",
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates."
       }
      }
     },
     "auth_ref": [
      "r394",
      "r395",
      "r396",
      "r398",
      "r401",
      "r464",
      "r465",
      "r466",
      "r503",
      "r504",
      "r505",
      "r523",
      "r524"
     ]
    },
    "bdco_RentPerSquareFoot": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "RentPerSquareFoot",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_RentPerSquareFoot",
        "terseLabel": "Rent per Square Foot",
        "documentation": "The amount of rent based on square footage."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepaymentsOfLongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RepaymentsOfLongTermDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_RepaymentsOfLongTermDebt",
        "terseLabel": "Repayments of Long-Term Debt",
        "negatedLabel": "Payments on debt principal",
        "documentation": "The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r73",
      "r461"
     ]
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RepaymentsOfNotesPayable",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_RepaymentsOfNotesPayable",
        "terseLabel": "Repayments of Notes Payable",
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation."
       }
      }
     },
     "auth_ref": [
      "r73"
     ]
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]"
       }
      }
     },
     "auth_ref": [
      "r159",
      "r160",
      "r277",
      "r292",
      "r400",
      "r405",
      "r412",
      "r543",
      "r544"
     ]
    },
    "us-gaap_RestrictedCashAndCashEquivalentsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestrictedCashAndCashEquivalentsNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted cash, noncurrent",
        "documentation": "Amount of cash and cash equivalents restricted as to withdrawal or usage, classified as noncurrent. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r113",
      "r154"
     ]
    },
    "us-gaap_RestrictedCashNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RestrictedCashNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_RestrictedCashNoncurrent",
        "terseLabel": "Restricted Cash, Noncurrent",
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as noncurrent. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits."
       }
      }
     },
     "auth_ref": [
      "r113",
      "r609",
      "r616"
     ]
    },
    "bdco_RestrictedCashNoncurrentMinimumRequiredAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "RestrictedCashNoncurrentMinimumRequiredAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_RestrictedCashNoncurrentMinimumRequiredAmount",
        "terseLabel": "Restricted Cash Noncurrent, Minimum Required Amount",
        "documentation": "The amount of restricted cash noncurrent that is required."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained earnings",
        "documentation": "Amount of accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r56",
      "r91",
      "r418",
      "r453",
      "r454",
      "r462",
      "r480",
      "r576"
     ]
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained Earnings [Member]",
        "documentation": "Accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r162",
      "r163",
      "r164",
      "r166",
      "r171",
      "r173",
      "r175",
      "r223",
      "r224",
      "r241",
      "r337",
      "r338",
      "r344",
      "r345",
      "r346",
      "r348",
      "r349",
      "r350",
      "r356",
      "r358",
      "r359",
      "r361",
      "r362",
      "r377",
      "r379",
      "r450",
      "r452",
      "r467",
      "r741"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited": {
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues from operations",
        "terseLabel": "Revenue from operations",
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise."
       }
      }
     },
     "auth_ref": [
      "r105",
      "r106",
      "r190",
      "r194",
      "r195",
      "r209",
      "r214",
      "r217",
      "r218",
      "r219",
      "r304",
      "r305",
      "r408"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromContractWithCustomerMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from Contract with Customer Benchmark [Member]",
        "documentation": "Revenue from satisfaction of performance obligation by transferring promised product and service to customer, when it serves as benchmark in concentration of risk calculation."
       }
      }
     },
     "auth_ref": [
      "r219",
      "r603"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for revenue from contract with customer."
       }
      }
     },
     "auth_ref": [
      "r126",
      "r296",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r537"
     ]
    },
    "us-gaap_RevenueRemainingPerformanceObligation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenueRemainingPerformanceObligation",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_RevenueRemainingPerformanceObligation",
        "terseLabel": "Revenue, Remaining Performance Obligation, Amount",
        "documentation": "Amount of transaction price allocated to performance obligation that has not been recognized as revenue."
       }
      }
     },
     "auth_ref": [
      "r120"
     ]
    },
    "us-gaap_RevenuesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "RevenuesAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "REVENUE FROM OPERATIONS"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_RevenuesAndSegmentReportingDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "RevenuesAndSegmentReportingDisclosureTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues and Segment Reporting Disclosure [Text Block]",
        "documentation": "The entire disclosure for revenue from contract with customer to transfer good or service and to transfer nonfinancial asset and reporting segments including data and tables."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_RliFilingForInjunctionOfPaymentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "RliFilingForInjunctionOfPaymentMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "RLI Filing for Injunction of Payment [Member]",
        "documentation": "Represents RLI filing for injunction of payment member."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_RliSuretyBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "RliSuretyBondsMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rli Surety Bonds [Member]",
        "documentation": "The Rli Surety Bonds."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_Rule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "Rule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ecd_Rule10b51ArrAdoptedFlag",
        "terseLabel": "Rule 10b5-1 Arrangement Adopted [Flag]"
       }
      }
     },
     "auth_ref": [
      "r599"
     ]
    },
    "ecd_Rule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2024",
     "localname": "Rule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ecd_Rule10b51ArrTrmntdFlag",
        "terseLabel": "Rule 10b5-1 Arrangement Terminated [Flag]"
       }
      }
     },
     "auth_ref": [
      "r599"
     ]
    },
    "srt_ScenarioForecastMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ScenarioForecastMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]"
       }
      }
     },
     "auth_ref": [
      "r310",
      "r626"
     ]
    },
    "srt_ScenarioUnspecifiedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "ScenarioUnspecifiedDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "auth_ref": [
      "r176",
      "r310",
      "r601",
      "r626"
     ]
    },
    "us-gaap_ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfAccountsPayableAndAccruedLiabilitiesTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Accounts Payable and Accrued Liabilities [Table Text Block]",
        "documentation": "Tabular disclosure of the (a) carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business (accounts payable); (b) other payables; and (c) accrued liabilities. 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). An alternative caption includes accrued expenses."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_ScheduleOfAccruedInterestOnLongtermDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ScheduleOfAccruedInterestOnLongtermDebtTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Accrued Interest on Long-term Debt [Table Text Block]",
        "documentation": "Tabular disclosure of accrued interest on long-term debt."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfAssetRetirementObligationsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfAssetRetirementObligationsTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Asset Retirement Obligations [Table Text Block]",
        "documentation": "Tabular disclosure of the carrying amount of a liability for asset retirement obligations."
       }
      }
     },
     "auth_ref": [
      "r86"
     ]
    },
    "us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfCashAndCashEquivalentsTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Cash and Cash Equivalents [Table Text Block]",
        "documentation": "Tabular disclosure of the components of cash and cash equivalents."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years."
       }
      }
     },
     "auth_ref": [
      "r667"
     ]
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Long-Term Debt Instruments [Table Text Block]",
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r29",
      "r30",
      "r35",
      "r89",
      "r90",
      "r559",
      "r561",
      "r622",
      "r675"
     ]
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfDebtTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Debt [Table Text Block]",
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets."
       }
      }
     },
     "auth_ref": [
      "r664"
     ]
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r628"
     ]
    },
    "bdco_ScheduleOfFutureMinimumAnnualLeaseCommitmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ScheduleOfFutureMinimumAnnualLeaseCommitmentsTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Future Minimum Annual Lease Commitments [Table Text Block]",
        "documentation": "Tabular disclosure of future minimum annual lease commitments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInventoryCurrentTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfInventoryCurrentTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Inventory, Current [Table Text Block]",
        "documentation": "Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r60",
      "r61",
      "r62"
     ]
    },
    "bdco_ScheduleOfOutstandingLongtermDebtToRelatedPartiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ScheduleOfOutstandingLongtermDebtToRelatedPartiesTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Outstanding Long-term Debt to Related Parties [Table Text Block]",
        "documentation": "Tabular disclosure of amounts outstanding on long-term debt to related parties."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_ScheduleOfRelatedPartyTransactionsConsolidatedStatementsOfOperationsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ScheduleOfRelatedPartyTransactionsConsolidatedStatementsOfOperationsTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Related Party Transactions, Consolidated Statements of Operations [Table Text Block]",
        "documentation": "Schedule of consolidated statements of operations pertaining to related party transactions."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r23",
      "r24"
     ]
    },
    "bdco_ScheduleOfUnamortizedDebtIssuanceCostsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ScheduleOfUnamortizedDebtIssuanceCostsTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Unamortized Debt Issuance Costs [Table Text Block]",
        "documentation": "Tabular disclosure of unamortized debt issuance costs."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedules of Concentration of Risk, by Risk Factor [Table Text Block]",
        "documentation": "Tabular disclosure of the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r16",
      "r17",
      "r18",
      "r31",
      "r93"
     ]
    },
    "us-gaap_SecuredDebtCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SecuredDebtCurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_SecuredDebtCurrent",
        "terseLabel": "Secured Debt, Current",
        "documentation": "Carrying value as of the balance sheet date of the portion of long-term, collateralized debt obligations due within one year or the operating cycle, if longer. Such obligations include mortgage loans, chattel loans, and any other borrowings secured by assets of the borrower."
       }
      }
     },
     "auth_ref": [
      "r43",
      "r96"
     ]
    },
    "bdco_SecuredDebtCurrentChangeFromPreviousReportingPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "SecuredDebtCurrentChangeFromPreviousReportingPeriod",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_SecuredDebtCurrentChangeFromPreviousReportingPeriod",
        "terseLabel": "Secured Debt, Current, Change From Previous Reporting Period",
        "documentation": "Represents the change from previous reporting period for the carrying value as of the balance sheet date of the portion of long-term, collateralized debt obligations due within one year or the operating cycle, if longer. Such obligations include mortgage loans, chattel loans, and any other borrowings secured by assets of the borrower."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments [Domain]",
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity."
       }
      }
     },
     "auth_ref": [
      "r105",
      "r106",
      "r107",
      "r108",
      "r190",
      "r192",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r201",
      "r202",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r219",
      "r231",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r250",
      "r251",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r550",
      "r551",
      "r552",
      "r556",
      "r581",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737"
     ]
    },
    "us-gaap_SegmentExpenditureAdditionToLongLivedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SegmentExpenditureAdditionToLongLivedAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Capital expenditures",
        "label": "us-gaap_SegmentExpenditureAdditionToLongLivedAssets",
        "documentation": "Amount of expenditure for addition to long-lived assets included in determination of segment assets by chief operating decision maker (CODM) or otherwise regularly provided to CODM. Excludes expenditure for addition to financial instrument, long-term customer relationship of financial institution, mortgage and other servicing rights, deferred policy acquisition cost, and deferred tax assets."
       }
      }
     },
     "auth_ref": [
      "r190",
      "r205",
      "r214",
      "r551",
      "r552"
     ]
    },
    "bdco_SegmentReconciliationOfCapitalExpendituresFromSegmentsToConsolidatedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "SegmentReconciliationOfCapitalExpendituresFromSegmentsToConsolidatedTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment, Reconciliation of Capital Expenditures from Segments to Consolidated [Table Text Block]",
        "documentation": "Tabular disclosure of reconciliation of capital expenditures from reportable segments to their consolidated amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SharesOutstanding",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_SharesOutstanding",
        "periodStartLabel": "Balance (in shares)",
        "periodEndLabel": "Balance (in shares)",
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_ShorttermLeaseExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ShorttermLeaseExpenseMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Lease Expense [Member]",
        "documentation": "In reference to short-term lease expenses."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_SmallBusinessAdministrationSbaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "SmallBusinessAdministrationSbaMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Small Business Administration SBA [Member]",
        "documentation": "Represents the Small Business Administration SBA."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementBusinessSegmentsAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments [Axis]",
        "documentation": "Information by business segments."
       }
      }
     },
     "auth_ref": [
      "r105",
      "r106",
      "r107",
      "r108",
      "r128",
      "r190",
      "r192",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r201",
      "r202",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r219",
      "r231",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r242",
      "r250",
      "r251",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r550",
      "r551",
      "r552",
      "r556",
      "r581",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r737"
     ]
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r54",
      "r57",
      "r58",
      "r127",
      "r146",
      "r147",
      "r148",
      "r162",
      "r163",
      "r164",
      "r166",
      "r171",
      "r173",
      "r175",
      "r191",
      "r223",
      "r224",
      "r241",
      "r293",
      "r337",
      "r338",
      "r344",
      "r345",
      "r346",
      "r348",
      "r349",
      "r350",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r377",
      "r379",
      "r393",
      "r426",
      "r450",
      "r451",
      "r452",
      "r467",
      "r520"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-maturities-of-lease-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-supplemental-cash-flow-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-weighted-average-remaining-lease-term-and-discount-rate-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-contract-balances-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r163",
      "r164",
      "r191",
      "r379",
      "r408",
      "r459",
      "r468",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r479",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486",
      "r488",
      "r489",
      "r490",
      "r491",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r499",
      "r501",
      "r502",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r520",
      "r588"
     ]
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementOfFinancialPositionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_StatementScenarioAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2024",
     "localname": "StatementScenarioAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "auth_ref": [
      "r176",
      "r310",
      "r601",
      "r602",
      "r626"
     ]
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StatementTable",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited-parentheticals",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-aro-liability-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-lease-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-maturities-of-lease-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-supplemental-cash-flow-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-weighted-average-remaining-lease-term-and-discount-rate-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-deferred-income-taxes-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-contract-balances-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-product-sales-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-schedule-of-inventory-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Table]",
        "documentation": "Disclosure of information about statement of comprehensive income, income, other comprehensive income, financial position, cash flows, and shareholders' equity."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r163",
      "r164",
      "r191",
      "r220",
      "r379",
      "r408",
      "r459",
      "r468",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r479",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486",
      "r488",
      "r489",
      "r490",
      "r491",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r499",
      "r501",
      "r502",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r520",
      "r588"
     ]
    },
    "us-gaap_StockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-stockholders-equity-unaudited-"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_StockholdersEquity",
        "totalLabel": "TOTAL STOCKHOLDERS' EQUITY",
        "periodStartLabel": "Balance",
        "periodEndLabel": "Balance",
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r57",
      "r58",
      "r80",
      "r481",
      "r498",
      "r521",
      "r522",
      "r576",
      "r594",
      "r618",
      "r640",
      "r673",
      "r741"
     ]
    },
    "us-gaap_StockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "StockholdersEquityAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "STOCKHOLDERS' EQUITY"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubleaseIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubleaseIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_SubleaseIncome",
        "terseLabel": "Sublease Income",
        "documentation": "Amount of sublease income excluding finance and operating lease expense."
       }
      }
     },
     "auth_ref": [
      "r386",
      "r575"
     ]
    },
    "bdco_SubleaseMonthlyRent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "SubleaseMonthlyRent",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_SubleaseMonthlyRent",
        "terseLabel": "Sublease, Monthly Rent",
        "documentation": "Represents the monthly rent as part of the office sub-lease agreement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Member]",
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r373",
      "r402"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Axis]",
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r373",
      "r402"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Domain]",
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r373",
      "r402"
     ]
    },
    "us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SummaryOfOperatingLossCarryforwardsTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Operating Loss Carryforwards [Table Text Block]",
        "documentation": "Tabular disclosure of pertinent information, such as tax authority, amounts, and expiration dates, of net operating loss carryforwards, including an assessment of the likelihood of utilization."
       }
      }
     },
     "auth_ref": [
      "r665"
     ]
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "SupplementalCashFlowInformationAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-cash-flows-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Information:"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_SupplementalCashFlowInformationRelatedToLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "SupplementalCashFlowInformationRelatedToLeasesTableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information Related to Leases [Table Text Block]",
        "documentation": "Tabular disclosure of supplemental cash flow information related to leases."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_SuretyBonds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "SuretyBonds",
     "crdr": "debit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-balance-sheets-current-period-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Surety bonds",
        "terseLabel": "Surety Bonds",
        "documentation": "Amount of surety bonds."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_TCEQProposedAgreedOrderMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "TCEQProposedAgreedOrderMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TCEQ Proposed Agreed Order [Member]",
        "documentation": "Represents TCEQ Proposed Agreed Order."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TableTextBlock": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TableTextBlock",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-11-aros-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-12-lease-obligations-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-6-prepaid-expenses-and-other-current-assets-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-7-inventory-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-8-property-plant-and-equipment-net-tables",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_TableTextBlock",
        "terseLabel": "Notes Tables"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TangibleAssetImpairmentCharges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TangibleAssetImpairmentCharges",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_TangibleAssetImpairmentCharges",
        "terseLabel": "Tangible Asset Impairment Charges",
        "documentation": "The charge against earnings resulting from the aggregate write down of tangible assets from their carrying value to their fair value."
       }
      }
     },
     "auth_ref": [
      "r39",
      "r84"
     ]
    },
    "us-gaap_TaxPeriodAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TaxPeriodAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Period [Axis]",
        "documentation": "Information by period subject to enacted tax law."
       }
      }
     },
     "auth_ref": [
      "r663"
     ]
    },
    "us-gaap_TaxPeriodDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TaxPeriodDomain",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-nol-carryforwards-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Period [Domain]",
        "documentation": "Identified tax period."
       }
      }
     },
     "auth_ref": [
      "r663"
     ]
    },
    "us-gaap_TaxesPayableCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TaxesPayableCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details": {
       "parentTag": "bdco_AccruedLiabilitiesAndOtherLiabilitiesCurrent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Taxes payable",
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for statutory income, sales, use, payroll, excise, real, property and other taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r43",
      "r44"
     ]
    },
    "bdco_TerminalServicesAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "TerminalServicesAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Terminal Services Agreement [Member]",
        "documentation": "Represents Terminal Services Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_TerminalServicesAgreementWithNixonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "TerminalServicesAgreementWithNixonMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Terminal Services Agreement With Nixon [Member]",
        "documentation": "Represents the terminal services agreement with Nixon."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_TexasFirstRentalsLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "TexasFirstRentalsLLCMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Texas First Rentals, LLC [Member]",
        "documentation": "Represents the Texas First Rentals, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_ThirdAmendedAndRestatedOperatingAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ThirdAmendedAndRestatedOperatingAgreementMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Third Amended and Restated Operating Agreement [Member]",
        "documentation": "Represents the Third Amended and Restated Operating Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_ThreeCustomersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "ThreeCustomersMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-risk-exposure-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Three Customers [Member]",
        "documentation": "Represents three significant customers."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_TollingAndTerminalingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "TollingAndTerminalingMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-capital-expenditures-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-identifiable-assets-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-4-revenue-and-segment-information-segment-information-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tolling and Terminaling [Member]",
        "documentation": "Represents tolling and terminaling."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TradeAndOtherAccountsReceivablePolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TradeAndOtherAccountsReceivablePolicy",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for accounts receivable."
       }
      }
     },
     "auth_ref": [
      "r109",
      "r110",
      "r111",
      "r637",
      "r638",
      "r639"
     ]
    },
    "us-gaap_TypeOfArrangementAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "TypeOfArrangementAxis",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-15-commitments-and-contingencies-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-5-concentration-of-risk-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]",
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations."
       }
      }
     },
     "auth_ref": [
      "r351"
     ]
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "UnamortizedDebtIssuanceExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_UnamortizedDebtIssuanceExpense",
        "negatedTerseLabel": "Less: Unamortized debt issue costs",
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "UnrecognizedTaxBenefits",
     "crdr": "credit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-2-principles-of-consolidation-and-significant-accounting-policies-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_UnrecognizedTaxBenefits",
        "terseLabel": "Unrecognized Tax Benefits",
        "documentation": "Amount of unrecognized tax benefits."
       }
      }
     },
     "auth_ref": [
      "r317",
      "r327",
      "r567"
     ]
    },
    "us-gaap_UseOfEstimates": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "UseOfEstimates",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-significant-accounting-policies-policies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r20",
      "r21",
      "r115",
      "r116",
      "r118",
      "r119"
     ]
    },
    "us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "ValuationAllowanceDeferredTaxAssetChangeInAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details": {
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount",
        "negatedLabel": "Change in valuation allowance",
        "documentation": "Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset."
       }
      }
     },
     "auth_ref": [
      "r330"
     ]
    },
    "bdco_VeritexCommunityBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "VeritexCommunityBankMember",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-details-textual",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-3-relatedparty-transactions-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Veritex Community Bank [Member]",
        "documentation": "Represents Veritex Community Bank."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_VolumeOfStorageTankCapacity": {
     "xbrltype": "volumeItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "VolumeOfStorageTankCapacity",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_VolumeOfStorageTankCapacity",
        "terseLabel": "Volume of Storage Tank Capacity (Barrel of Oil)",
        "documentation": "The volume of the storage tank capacity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberDilutedSharesOutstandingAdjustment",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment",
        "terseLabel": "Weighted Average Number of Shares Outstanding, Diluted, Adjustment (in shares)",
        "documentation": "The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation."
       }
      }
     },
     "auth_ref": [
      "r628"
     ]
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
        "terseLabel": "Diluted (in shares)",
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period."
       }
      }
     },
     "auth_ref": [
      "r179",
      "r184"
     ]
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted average number of common shares outstanding:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2024",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-consolidated-statements-of-income-unaudited",
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Basic and diluted shares used in computing earnings per share (in shares)",
        "label": "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic",
        "terseLabel": "Basic (in shares)",
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period."
       }
      }
     },
     "auth_ref": [
      "r178",
      "r184"
     ]
    },
    "bdco_WorkingCapitalDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "WorkingCapitalDeficit",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_WorkingCapitalDeficit",
        "terseLabel": "Working Capital (Deficit)",
        "documentation": "Amount of difference between assets and liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_WorkingCapitalDeficitChangeFromPreviousReportingPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "WorkingCapitalDeficitChangeFromPreviousReportingPeriod",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_WorkingCapitalDeficitChangeFromPreviousReportingPeriod",
        "terseLabel": "Working Capital (Deficit), Change From Previous Reporting Period",
        "documentation": "Represents the change in working capital (deficit) from the previous fiscal years equivalent reporting period to this current reporting period."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_WorkingCapitalDeficitExcludingCurrentPortionOfLongtermDebtChangeFromPreviousReportingPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "WorkingCapitalDeficitExcludingCurrentPortionOfLongtermDebtChangeFromPreviousReportingPeriod",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_WorkingCapitalDeficitExcludingCurrentPortionOfLongtermDebtChangeFromPreviousReportingPeriod",
        "terseLabel": "Working Capital (Deficit), Excluding Current Portion of Long-term Debt, Change From Previous Reporting Period",
        "documentation": "Represents the change in working capital (deficit), excluding current portion of long-term debt, from the previous fiscal years equivalent reporting period to this current reporting period."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_WorkingCapitalDeficitExcludingLongtermDebtCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "WorkingCapitalDeficitExcludingLongtermDebtCurrent",
     "crdr": "debit",
     "presentation": [
      "http://www.blue-dolphin-energy.com/20240331/role/statement-note-1-organization-details-textual"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "bdco_WorkingCapitalDeficitExcludingLongtermDebtCurrent",
        "terseLabel": "Working Capital (Deficit), Excluding Long-term Debt, Current",
        "documentation": "Amount of difference between assets and liabilities, excluding long-term debt, classified as current."
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-10-thirdparty-longterm-debt-accrued-interest-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-10-thirdparty-longterm-debt-accrued-interest-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Third-party Long-term Debt - Accrued Interest (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-10-thirdparty-longterm-debt-loan-agreements-summary-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Third-party Long-term Debt - Loan Agreements Summary (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-10-thirdparty-longterm-debt-outstanding-debt-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-10-thirdparty-longterm-debt-outstanding-debt-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Third-party Long-term Debt - Outstanding Debt (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-10-thirdparty-longterm-debt-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-10-thirdparty-longterm-debt-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Third-party Long-term Debt"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-10-thirdparty-longterm-debt-unamortized-debt-issuance-costs-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 10 - Third-party Long-term Debt - Unamortized Debt Issuance Costs (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-11-aros-aro-liability-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-11-aros-aro-liability-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 11 - AROs - ARO Liability (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-11-aros-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-11-aros-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 11 - AROs"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-12-lease-obligations-future-minimum-annual-lease-commitments-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 12 - Lease Obligations - Future Minimum Annual Lease Commitments (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-12-lease-obligations-lease-costs-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-12-lease-obligations-lease-costs-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 12 - Lease Obligations - Lease Costs (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-12-lease-obligations-leaserelated-assets-and-liabilities-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 12 - Lease Obligations - Lease-related Assets and Liabilities (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-12-lease-obligations-maturities-of-lease-liabilities-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-12-lease-obligations-maturities-of-lease-liabilities-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 12 - Lease Obligations - Maturities of Lease Liabilities (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-12-lease-obligations-supplemental-cash-flow-information-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-12-lease-obligations-supplemental-cash-flow-information-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 12 - Lease Obligations - Supplemental Cash Flow Information (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-12-lease-obligations-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-12-lease-obligations-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 12 - Lease Obligations"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-12-lease-obligations-weighted-average-remaining-lease-term-and-discount-rate-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-12-lease-obligations-weighted-average-remaining-lease-term-and-discount-rate-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 12 - Lease Obligations - Weighted Average Remaining Lease Term and Discount Rate (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-13-income-taxes-deferred-income-taxes-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-13-income-taxes-deferred-income-taxes-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 13 - Income Taxes - Deferred Income Taxes (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-13-income-taxes-nol-carryforwards-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-13-income-taxes-nol-carryforwards-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 13 - Income Taxes - NOL Carryforwards (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-13-income-taxes-provision-for-income-tax-benefit-expense-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 13 - Income Taxes - Provision for Income Tax Benefit (Expense) (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-13-income-taxes-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-13-income-taxes-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 13 - Income Taxes"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-14-earnings-and-dividends-per-share-reconciliation-between-basic-and-diluted-income-per-share-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 14 - Earnings and Dividends Per Share - Reconciliation Between Basic and Diluted Income Per Share (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-14-earnings-and-dividends-per-share-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-14-earnings-and-dividends-per-share-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 14 - Earnings and Dividends Per Share"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-2-principles-of-consolidation-and-significant-accounting-policies-cash-cash-equivalents-and-restricted-cash-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principles of Consolidation and Significant Accounting Policies - Cash, Cash Equivalents, and Restricted Cash (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-2-principles-of-consolidation-and-significant-accounting-policies-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-2-principles-of-consolidation-and-significant-accounting-policies-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 2 - Principles of Consolidation and Significant Accounting Policies"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-3-relatedparty-transactions-consolidated-statements-of-operations-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Related-party Transactions - Consolidated Statements of Operations (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-3-relatedparty-transactions-related-party-longterm-debt-outstanding-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Related-party Transactions - Related Party Long-term Debt Outstanding (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-3-relatedparty-transactions-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-3-relatedparty-transactions-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 3 - Related-party Transactions"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-4-revenue-and-segment-information-capital-expenditures-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-4-revenue-and-segment-information-capital-expenditures-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Revenue and Segment Information - Capital Expenditures (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-4-revenue-and-segment-information-contract-balances-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-4-revenue-and-segment-information-contract-balances-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Revenue and Segment Information - Contract Balances (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-4-revenue-and-segment-information-identifiable-assets-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-4-revenue-and-segment-information-identifiable-assets-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Revenue and Segment Information - Identifiable Assets (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-4-revenue-and-segment-information-segment-information-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-4-revenue-and-segment-information-segment-information-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Revenue and Segment Information - Segment Information (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-4-revenue-and-segment-information-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-4-revenue-and-segment-information-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 4 - Revenue and Segment Information"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-5-concentration-of-risk-product-sales-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-5-concentration-of-risk-product-sales-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Concentration of Risk - Product Sales (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-5-concentration-of-risk-risk-exposure-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-5-concentration-of-risk-risk-exposure-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Concentration of Risk - Risk Exposure (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-5-concentration-of-risk-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-5-concentration-of-risk-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 5 - Concentration of Risk"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-6-prepaid-expenses-and-other-current-assets-schedule-of-prepaid-expenses-and-other-current-assets-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Prepaid Expenses and Other Current Assets - Schedule of Prepaid Expenses and Other Current Assets (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-6-prepaid-expenses-and-other-current-assets-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-6-prepaid-expenses-and-other-current-assets-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 6 - Prepaid Expenses and Other Current Assets"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-7-inventory-schedule-of-inventory-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-7-inventory-schedule-of-inventory-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 7 - Inventory - Schedule of Inventory (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-7-inventory-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-7-inventory-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 7 - Inventory"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-8-property-plant-and-equipment-net-property-plant-and-equipment-net-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Property, Plant and Equipment, Net - Property, Plant and Equipment, Net (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-8-property-plant-and-equipment-net-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-8-property-plant-and-equipment-net-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 8 - Property, Plant and Equipment, Net"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-9-accrued-expenses-and-other-current-liabilities-schedule-of-accrued-expenses-and-other-current-liabilities-details",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Accrued Expenses and Other Current Liabilities - Schedule of Accrued Expenses and Other Current Liabilities (Details)"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-note-9-accrued-expenses-and-other-current-liabilities-tables": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-note-9-accrued-expenses-and-other-current-liabilities-tables",
     "lang": {
      "en-us": {
       "role": {
        "label": "Note 9 - Accrued Expenses and Other Current Liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "bdco_statement-statement-significant-accounting-policies-policies": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.blue-dolphin-energy.com/20240331",
     "localname": "statement-statement-significant-accounting-policies-policies",
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies"
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "05",
   "Paragraph": "4",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482338/360-10-05-4"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "230",
   "Topic": "830",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477401/830-230-45-1"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(g)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r4": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r5": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r6": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "825",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-1"
  },
  "r7": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "505",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r8": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "SubTopic": "10",
   "Topic": "280",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-4"
  },
  "r9": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483489/210-10-50-1"
  },
  "r11": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-4"
  },
  "r12": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-1"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-2"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-16"
  },
  "r16": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-20"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-21"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-4"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-8"
  },
  "r21": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-9"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-3"
  },
  "r30": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-8"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-20"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "30",
   "Section": "25",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481557/860-30-25-8"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/205/tableOfContent"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-1"
  },
  "r40": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r41": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r42": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r43": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r47": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r48": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(31))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(32))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r60": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r61": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r62": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r63": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r64": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r65": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r66": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r67": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r68": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r69": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r71": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r72": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r73": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r74": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r75": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r76": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r77": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "235",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/235/tableOfContent"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "275",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/275/tableOfContent"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 4.E)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480418/310-10-S99-2"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/360/tableOfContent"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482130/360-10-45-15"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-2"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 5.CC)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480091/360-10-S99-2"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "410",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481850/410-20-50-1"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/440/tableOfContent"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/470/tableOfContent"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-6"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-7"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/810/tableOfContent"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r98": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r99": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r102": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r103": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r104": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r105": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r106": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r107": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r108": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r109": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-11B"
  },
  "r110": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-15"
  },
  "r111": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-6"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "SubTopic": "20",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482659/740-20-45-2"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "SubTopic": "210",
   "Topic": "954",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477220/954-210-45-5"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "270",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482989/270-10-45-6"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "SubTopic": "360",
   "Topic": "958",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477798/958-360-50-1"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-11"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-12"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "606",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-13"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "20",
   "Topic": "410",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481850/410-20-50-2"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "SubTopic": "360",
   "Topic": "958",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477798/958-360-50-6"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "SubTopic": "360",
   "Topic": "958",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477798/958-360-50-7"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-9"
  },
  "r125": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h))",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r126": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Topic": "606",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/606/tableOfContent"
  },
  "r127": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r128": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-1"
  },
  "r129": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-7"
  },
  "r130": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r131": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-5"
  },
  "r132": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483489/210-10-50-1"
  },
  "r133": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r134": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r135": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r137": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r140": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r141": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r142": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r143": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1A"
  },
  "r144": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1B"
  },
  "r145": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-1"
  },
  "r146": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-4"
  },
  "r147": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-5"
  },
  "r148": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-6"
  },
  "r149": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r150": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-17"
  },
  "r151": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r152": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r153": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2"
  },
  "r154": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-8"
  },
  "r155": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r156": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r157": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r158": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r159": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r160": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r161": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r162": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r163": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r164": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r165": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r166": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r167": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r168": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r169": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-3"
  },
  "r170": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-4"
  },
  "r171": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r172": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r173": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r174": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-8"
  },
  "r175": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-9"
  },
  "r176": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-5"
  },
  "r177": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/260/tableOfContent"
  },
  "r178": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-10"
  },
  "r179": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-16"
  },
  "r180": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-2"
  },
  "r181": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r182": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r183": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-7"
  },
  "r184": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r187": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-2"
  },
  "r188": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-3"
  },
  "r189": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-15"
  },
  "r190": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483014/272-10-45-1"
  },
  "r192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-15"
  },
  "r193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-24"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26A"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26B"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26C"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(ee)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "34",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-34"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "40",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-40"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-42"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-13"
  },
  "r221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-4"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-5"
  },
  "r225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479344/326-20-45-1"
  },
  "r226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "330",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/330/tableOfContent"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "330",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483080/330-10-50-1"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "330",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483080/330-10-50-4"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r235": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r237": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r238": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r239": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r240": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-3"
  },
  "r241": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476166/350-60-65-1"
  },
  "r242": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "410",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/410-20/tableOfContent"
  },
  "r244": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "410",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481999/410-20-25-4"
  },
  "r245": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "410",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481879/410-20-45-1"
  },
  "r246": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "410",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481850/410-20-50-1"
  },
  "r247": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "410",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481850/410-20-50-1"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "410",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481850/410-20-50-1"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "410",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481850/410-20-50-1"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482017/420-10-50-1"
  },
  "r251": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 5.P.4.d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479823/420-10-S99-2"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-1"
  },
  "r255": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-4"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r257": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r259": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482425/460-10-50-2"
  },
  "r260": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482425/460-10-50-3"
  },
  "r261": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482425/460-10-50-4"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-4"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-4"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479837/606-10-45-1"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479837/606-10-45-2"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-17"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-18"
  },
  "r298": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-18"
  },
  "r299": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-19"
  },
  "r300": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-20"
  },
  "r301": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-20"
  },
  "r302": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-20"
  },
  "r303": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-20"
  },
  "r304": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-4"
  },
  "r305": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r306": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-8"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r308": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r309": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-5"
  },
  "r310": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-5"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r312": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r313": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "720",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483359/720-20-50-1"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "720",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483384/720-30-45-1"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/740/tableOfContent"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-10B"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-25"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-28"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-4"
  },
  "r321": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-6"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-10"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12B"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12C"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-14"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-15A"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-17"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-19"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-2"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-2"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-2"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-20"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-21"
  },
  "r335": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-3"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-9"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.5.Q1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 11.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-2"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "270",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477891/740-270-50-1"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482603/740-30-50-2"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "808",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479402/808-10-50-1"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-17"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r370": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-1"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-2"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483013/835-20-50-1"
  },
  "r375": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479832/842-10-65-8"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/842-20/tableOfContent"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "12A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479165/842-20-35-12A"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-1"
  },
  "r381": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-1"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-5"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-1"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-6"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-7A"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-7A"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/850/tableOfContent"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-2"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-3"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-6"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r405": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-9"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "910",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482546/910-10-50-6"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "912",
   "SubTopic": "330",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478411/912-330-50-1"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "924",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 11.L)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479941/924-10-S99-1"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(27))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r410": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r411": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478451/942-360-50-1"
  },
  "r412": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(1)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r413": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r414": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r418": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r419": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r420": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r421": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r422": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r423": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r424": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r425": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r426": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r427": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r428": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r429": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r430": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r431": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r432": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r433": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r434": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r435": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r436": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r437": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r438": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r439": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column J))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r440": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column K))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r441": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r442": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r444": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r445": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r446": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r447": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4E"
  },
  "r448": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r449": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r450": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r451": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r452": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r453": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r454": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r455": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.W.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479583/944-40-S99-1"
  },
  "r456": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "825",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477351/944-825-50-1B"
  },
  "r457": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480424/946-10-50-1"
  },
  "r458": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480424/946-10-50-2"
  },
  "r459": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r460": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r461": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r462": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-11"
  },
  "r463": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-13"
  },
  "r464": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-2"
  },
  "r465": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-5"
  },
  "r466": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-6"
  },
  "r467": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r468": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477796/946-210-45-4"
  },
  "r469": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r470": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r471": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r472": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r473": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r474": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r475": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r476": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r477": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r478": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r479": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r480": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r481": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r482": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r483": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r484": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r485": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r486": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r487": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(5)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r488": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r489": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r490": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r491": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r492": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r493": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r494": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r495": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r496": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r497": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r498": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r499": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r500": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-7"
  },
  "r501": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r502": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r503": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r504": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r505": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r506": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r507": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r508": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r509": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r510": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r511": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r512": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r513": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r514": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r515": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r516": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r517": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r518": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r519": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r520": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r521": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r522": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r523": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r524": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r525": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r526": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r527": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r528": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r529": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r530": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r531": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479196/954-310-45-1"
  },
  "r532": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478785/954-310-50-2"
  },
  "r533": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "440",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478522/954-440-50-1"
  },
  "r534": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "440",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478522/954-440-50-1"
  },
  "r535": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "976",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477332/976-310-50-1"
  },
  "r536": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "978",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479230/978-310-50-1"
  },
  "r537": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483426/235-10-50-4"
  },
  "r538": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(a)",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-13H"
  },
  "r539": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r540": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r541": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r542": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-16"
  },
  "r543": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-21"
  },
  "r544": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-22"
  },
  "r545": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483426/235-10-50-4"
  },
  "r546": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-52"
  },
  "r547": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r548": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r549": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r550": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r551": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "48",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-48"
  },
  "r552": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "49",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-49"
  },
  "r553": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r554": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481933/310-10-55-12A"
  },
  "r555": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "340",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "05",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482955/340-10-05-5"
  },
  "r556": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482548/350-20-55-24"
  },
  "r557": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482395/460-10-55-27"
  },
  "r558": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r559": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69B"
  },
  "r560": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69C"
  },
  "r561": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69E"
  },
  "r562": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69F"
  },
  "r563": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r564": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r565": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r566": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480547/715-80-55-8"
  },
  "r567": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "217",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482663/740-10-55-217"
  },
  "r568": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "231",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482663/740-10-55-231"
  },
  "r569": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "100",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-100"
  },
  "r570": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "103",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-103"
  },
  "r571": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r572": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r573": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r574": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482949/835-30-55-8"
  },
  "r575": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "53",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479589/842-20-55-53"
  },
  "r576": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481372/852-10-55-10"
  },
  "r577": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479401/944-30-55-2"
  },
  "r578": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-13H"
  },
  "r579": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-29F"
  },
  "r580": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r581": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r582": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r583": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9E"
  },
  "r584": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480078/944-80-55-18"
  },
  "r585": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r586": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r587": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477439/946-210-55-1"
  },
  "r588": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r589": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r590": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r591": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r592": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r593": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-10"
  },
  "r594": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-12"
  },
  "r595": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r596": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-Q",
   "Number": "240",
   "Section": "308",
   "Subsection": "a"
  },
  "r597": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r598": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a"
  },
  "r599": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r600": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r601": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-10"
  },
  "r602": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-3"
  },
  "r603": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r604": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "SubTopic": "825",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477351/944-825-50-1B"
  },
  "r605": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "SubTopic": "20",
   "Topic": "842",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-3"
  },
  "r606": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-9"
  },
  "r607": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(6))",
   "SubTopic": "10",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r608": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r609": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r610": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r611": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r612": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r613": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r614": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-14"
  },
  "r615": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r616": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-8"
  },
  "r617": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(f))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r618": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r619": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r620": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r621": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r622": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r623": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r624": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r625": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r626": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-4"
  },
  "r627": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r628": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r629": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r630": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-18"
  },
  "r631": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r632": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r633": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r634": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(ee)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r635": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r636": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-2"
  },
  "r637": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-2"
  },
  "r638": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-2"
  },
  "r639": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481569/310-20-50-1"
  },
  "r640": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r641": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "340",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483032/340-10-45-1"
  },
  "r642": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/405-30/tableOfContent"
  },
  "r643": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r644": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r645": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r646": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "410",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481850/410-20-50-1"
  },
  "r647": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "410",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481931/410-30-50-10"
  },
  "r648": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/450/tableOfContent"
  },
  "r649": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-1"
  },
  "r650": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-4"
  },
  "r651": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r652": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r653": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r654": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r655": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r656": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r657": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r658": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r659": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r660": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-10"
  },
  "r661": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r662": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r663": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-15"
  },
  "r664": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-2"
  },
  "r665": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-3"
  },
  "r666": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-6"
  },
  "r667": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-9"
  },
  "r668": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-9"
  },
  "r669": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r670": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r671": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r672": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r673": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r674": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-1A"
  },
  "r675": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r676": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-3"
  },
  "r677": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r678": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-4"
  },
  "r679": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r680": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-6"
  },
  "r681": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-3"
  },
  "r682": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r683": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r684": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r685": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r686": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r687": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r688": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r689": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r690": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-18"
  },
  "r691": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-19"
  },
  "r692": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-20"
  },
  "r693": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-20"
  },
  "r694": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-4"
  },
  "r695": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r696": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r697": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r698": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r699": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r700": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r701": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-7"
  },
  "r702": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r703": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r704": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r705": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r706": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r707": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r708": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r709": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479432/944-30-50-2B"
  },
  "r710": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r711": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r712": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4C"
  },
  "r713": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4D"
  },
  "r714": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4G",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4G"
  },
  "r715": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r716": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r717": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r718": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r719": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r720": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r721": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r722": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r723": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r724": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r725": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r726": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r727": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r728": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r729": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r730": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r731": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r732": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r733": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r734": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r735": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r736": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r737": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r738": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r739": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r740": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r741": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  }
 }
}
