{
 "version": "2.2",
 "instance": {
  "form20f.htm exhibit99-1.htm": {
   "nsprefix": "xtgr",
   "nsuri": "http://www.xtragold.com/20211231",
   "dts": {
    "inline": {
     "local": [
      "exhibit99-1.htm",
      "form20f.htm"
     ]
    },
    "schema": {
     "local": [
      "xtgr-20211231.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/arcrole/factExplanatory-2009-12-16.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://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.sec.gov/currency/2021/currency-2021.xsd",
      "https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd",
      "https://xbrl.sec.gov/exch/2021/exch-2021.xsd",
      "https://xbrl.sec.gov/naics/2021/naics-2021.xsd",
      "https://xbrl.sec.gov/sic/2021/sic-2021.xsd",
      "https://xbrl.sec.gov/stpr/2021/stpr-2021.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "xtgr-20211231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "xtgr-20211231_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "xtgr-20211231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "xtgr-20211231_pre.xml"
     ]
    }
   },
   "keyStandard": 202,
   "keyCustom": 41,
   "axisStandard": 15,
   "axisCustom": 2,
   "memberStandard": 21,
   "memberCustom": 30,
   "hidden": {
    "total": 8,
    "http://xbrl.sec.gov/dei/2021q4": 7,
    "http://fasb.org/us-gaap/2021-01-31": 1
   },
   "contextCount": 161,
   "entityCount": 1,
   "segmentCount": 51,
   "elementCount": 427,
   "unitCount": 7,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2021-01-31": 732,
    "http://xbrl.sec.gov/dei/2021q4": 39
   },
   "report": {
    "R1": {
     "role": "http://www.xtragold.com/role/DocumentAndEntityInformation",
     "longName": "0001 - Document - Document and Entity Information",
     "shortName": "Document and Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "strong",
       "span",
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "form20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "strong",
       "span",
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "form20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.xtragold.com/role/BalanceSheet",
     "longName": "0002 - Statement - CONSOLIDATED BALANCE SHEETS",
     "shortName": "CONSOLIDATED BALANCE SHEETS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:ReceivablesNetCurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.xtragold.com/role/BalanceSheetParenthetical",
     "longName": "0003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "shortName": "CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:TradingSecuritiesCost",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:CommonStockSharesIssued",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "us-gaap:CommonStockSharesOutstanding",
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.xtragold.com/role/IncomeStatement",
     "longName": "0004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:DepreciationAndAmortization",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:OperatingExpenses",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.xtragold.com/role/StockholdersEquity",
     "longName": "0005 - Statement - CONSOLIDATED STATEMENT OF EQUITY",
     "shortName": "CONSOLIDATED STATEMENT OF EQUITY",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "C_20181231_usgaapStatementEquityComponentsAxis_usgaapCommonStockMember",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20181231_usgaapStatementEquityComponentsAxis_usgaapCommonStockMember",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.xtragold.com/role/CashFlows",
     "longName": "0006 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ProfitLoss",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ForeignCurrencyTransactionGainLossUnrealized",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "longName": "0007 - Disclosure - HISTORY AND ORGANIZATION OF THE COMPANY",
     "shortName": "HISTORY AND ORGANIZATION OF THE COMPANY",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "7",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.xtragold.com/role/CONTINUANCEOFOPERATIONSGOINGCONCERN",
     "longName": "0008 - Disclosure - CONTINUANCE OF OPERATIONS - GOING CONCERN",
     "shortName": "CONTINUANCE OF OPERATIONS - GOING CONCERN",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:SubstantialDoubtAboutGoingConcernTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:SubstantialDoubtAboutGoingConcernTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlock",
     "longName": "0009 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES",
     "shortName": "SIGNIFICANT ACCOUNTING POLICIES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsInvestmentsTextBlock",
     "longName": "0010 - Disclosure - INVESTMENTS IN TRADING SECURITIES",
     "shortName": "INVESTMENTS IN TRADING SECURITIES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlock",
     "longName": "0011 - Disclosure - EQUIPMENT",
     "shortName": "EQUIPMENT",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsMineralPropertiesTextBlock",
     "longName": "0012 - Disclosure - MINERAL PROPERTIES",
     "shortName": "MINERAL PROPERTIES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "xtgr:MineralPropertiesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "xtgr:MineralPropertiesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsAssetRetirementObligationDisclosureTextBlock",
     "longName": "0013 - Disclosure - ASSET RETIREMENT OBLIGATION",
     "shortName": "ASSET RETIREMENT OBLIGATION",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:AssetRetirementObligationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:AssetRetirementObligationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.xtragold.com/role/INVENTORIES",
     "longName": "0014 - Disclosure - INVENTORIES",
     "shortName": "INVENTORIES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock",
     "longName": "0015 - Disclosure - CAPITAL STOCK",
     "shortName": "CAPITAL STOCK",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsRelatedPartyTransactionsDisclosureTextBlock",
     "longName": "0016 - Disclosure - RELATED PARTY TRANSACTIONS",
     "shortName": "RELATED PARTY TRANSACTIONS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsCashFlowSupplementalDisclosuresTextBlock",
     "longName": "0017 - Disclosure - SUPPLEMENTAL DISCLOSURE WITH RESPECT TO CASH FLOWS",
     "shortName": "SUPPLEMENTAL DISCLOSURE WITH RESPECT TO CASH FLOWS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock",
     "longName": "0018 - Disclosure - DEFERRED INCOME TAXES",
     "shortName": "DEFERRED INCOME TAXES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsSegmentedInformationTextBlock",
     "longName": "0019 - Disclosure - SEGMENTED INFORMATION",
     "shortName": "SEGMENTED INFORMATION",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock",
     "longName": "0020 - Disclosure - CONTINGENCY AND COMMITMENTS",
     "shortName": "CONTINGENCY AND COMMITMENTS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsScheduleOfSubsequentEventsTextBlock",
     "longName": "0021 - Disclosure - SUBSEQUENT EVENT NOTE",
     "shortName": "SUBSEQUENT EVENT NOTE",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies",
     "longName": "0022 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "shortName": "SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "22",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockTables",
     "longName": "0023 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES (Tables)",
     "shortName": "SIGNIFICANT ACCOUNTING POLICIES (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "23",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "xtgr:ScheduleOfEquipmentDecliningMethodAnnualRatesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "xtgr:ScheduleOfEquipmentDecliningMethodAnnualRatesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsInvestmentsTextBlockTables",
     "longName": "0024 - Disclosure - INVESTMENTS IN TRADING SECURITIES (Tables)",
     "shortName": "INVESTMENTS IN TRADING SECURITIES (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "24",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlockTables",
     "longName": "0025 - Disclosure - EQUIPMENT (Tables)",
     "shortName": "EQUIPMENT (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "25",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsMineralPropertiesTextBlockTables",
     "longName": "0026 - Disclosure - MINERAL PROPERTIES (Tables)",
     "shortName": "MINERAL PROPERTIES (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "26",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "xtgr:ScheduleOfMineralPropertiesAcquiredTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "xtgr:MineralPropertiesTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "xtgr:ScheduleOfMineralPropertiesAcquiredTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "xtgr:MineralPropertiesTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsAssetRetirementObligationDisclosureTextBlockTables",
     "longName": "0027 - Disclosure - ASSET RETIREMENT OBLIGATION (Tables)",
     "shortName": "ASSET RETIREMENT OBLIGATION (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "27",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfAssetRetirementObligationsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfAssetRetirementObligationsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.xtragold.com/role/INVENTORIESTables",
     "longName": "0028 - Disclosure - INVENTORIES (Tables)",
     "shortName": "INVENTORIES (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "28",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables",
     "longName": "0029 - Disclosure - CAPITAL STOCK (Tables)",
     "shortName": "CAPITAL STOCK (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "29",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsRelatedPartyTransactionsDisclosureTextBlockTables",
     "longName": "0030 - Disclosure - RELATED PARTY TRANSACTIONS (Tables)",
     "shortName": "RELATED PARTY TRANSACTIONS (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "30",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.xtragold.com/role/NotesToFinancialStatementsCashFlowSupplementalDisclosuresTextBlockTables",
     "longName": "0031 - Disclosure - SUPPLEMENTAL DISCLOSURE WITH RESPECT TO CASH FLOWS (Tables)",
     "shortName": "SUPPLEMENTAL DISCLOSURE WITH RESPECT TO CASH FLOWS (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "31",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.xtragold.com/role/DEFERREDINCOMETAXESTables",
     "longName": "0032 - Disclosure - DEFERRED INCOME TAXES (Tables)",
     "shortName": "DEFERRED INCOME TAXES (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "32",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.xtragold.com/role/SEGMENTEDINFORMATIONTables",
     "longName": "0033 - Disclosure - SEGMENTED INFORMATION (Tables)",
     "shortName": "SEGMENTED INFORMATION (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "33",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsByGeographicalAreasTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsByGeographicalAreasTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails",
     "longName": "0034 - Disclosure - HISTORY AND ORGANIZATION OF THE COMPANY (Narrative) (Details)",
     "shortName": "HISTORY AND ORGANIZATION OF THE COMPANY (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "34",
     "firstAnchor": {
      "contextRef": "C_20041231_usgaapRelatedPartyTransactionsByRelatedPartyAxis_xtgrCanadianaGoldResourcesLimitedMember",
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "p",
       "div",
       "div",
       "div",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20041231_usgaapRelatedPartyTransactionsByRelatedPartyAxis_xtgrCanadianaGoldResourcesLimitedMember",
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "p",
       "div",
       "div",
       "div",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://www.xtragold.com/role/DisclosureSubstantialDoubtAboutGoingConcernTextBlockDetails",
     "longName": "0035 - Disclosure - CONTINUANCE OF OPERATIONS - GOING CONCERN  (Narrative) (Details)",
     "shortName": "CONTINUANCE OF OPERATIONS - GOING CONCERN  (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "35",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R36": {
     "role": "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails",
     "longName": "0036 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES (Narrative) (Details)",
     "shortName": "SIGNIFICANT ACCOUNTING POLICIES (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "36",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:ClassOfWarrantOrRightOutstanding",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "span",
       "span",
       "p",
       "div",
       "us-gaap:EarningsPerSharePolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:CashUninsuredAmount",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "span",
       "span",
       "p",
       "div",
       "us-gaap:ConcentrationRiskCreditRisk",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails",
     "longName": "0037 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES - Schedule of Equipment, Declining Method Annual Rates (Details)",
     "shortName": "SIGNIFICANT ACCOUNTING POLICIES - Schedule of Equipment, Declining Method Annual Rates (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "37",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231_usgaapPropertyPlantAndEquipmentByTypeAxis_usgaapFurnitureAndFixturesMember",
      "name": "xtgr:EquipmentAmortizationRate",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "xtgr:ScheduleOfEquipmentDecliningMethodAnnualRatesTableTextBlock",
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231_usgaapPropertyPlantAndEquipmentByTypeAxis_usgaapFurnitureAndFixturesMember",
      "name": "xtgr:EquipmentAmortizationRate",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "xtgr:ScheduleOfEquipmentDecliningMethodAnnualRatesTableTextBlock",
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfDebtSecuritiesAtFairValueBySignificantInvestmentCategories",
     "longName": "0038 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES - Schedule of Debt Securities at Fair Value by Significant Investment Categories (Details)",
     "shortName": "SIGNIFICANT ACCOUNTING POLICIES - Schedule of Debt Securities at Fair Value by Significant Investment Categories (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "38",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "xtgr:ScheduleOfDebtSecuritiesAtFairValueTableTextBlock",
       "div",
       "div",
       "xtgr:CashCashEquivalentsAndMarketableSecuritiesPolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:MoneyMarketFundsAtCarryingValue",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "xtgr:ScheduleOfDebtSecuritiesAtFairValueTableTextBlock",
       "div",
       "div",
       "xtgr:CashCashEquivalentsAndMarketableSecuritiesPolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails",
     "longName": "0039 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES - Schedule of Fair Value of Financial Assets And Liabilities (Details)",
     "shortName": "SIGNIFICANT ACCOUNTING POLICIES - Schedule of Fair Value of Financial Assets And Liabilities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "39",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:MarketableSecurities",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "div",
       "xtgr:CashCashEquivalentsAndMarketableSecuritiesPolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.xtragold.com/role/DisclosureInvestmentsTextBlockDetails",
     "longName": "0040 - Disclosure - INVESTMENTS IN TRADING SECURITIES (Narrative) (Details)",
     "shortName": "INVESTMENTS IN TRADING SECURITIES (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "40",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R41": {
     "role": "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESScheduleOfInvestmentsDetails",
     "longName": "0041 - Disclosure - INVESTMENTS IN TRADING SECURITIES - Schedule of Investments (Details)",
     "shortName": "INVESTMENTS IN TRADING SECURITIES - Schedule of Investments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "41",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:TradingSecuritiesCost",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R42": {
     "role": "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
     "longName": "0042 - Disclosure - INVESTMENTS IN TRADING SECURITIES - Schedule of Fair Value Carrying Value of Investments (Details)",
     "shortName": "INVESTMENTS IN TRADING SECURITIES - Schedule of Fair Value Carrying Value of Investments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "42",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231_usgaapFairValueByFairValueHierarchyLevelAxis_usgaapFairValueInputsLevel1Member",
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1",
     "longName": "0043 - Disclosure - INVESTMENTS IN TRADING SECURITIES - Schedule of Gains and Losses on Investments (Details)",
     "shortName": "INVESTMENTS IN TRADING SECURITIES - Schedule of Gains and Losses on Investments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "43",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:TradingSecuritiesUnrealizedHoldingGainLoss",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "xtgr:NetRealizedOrUnrealizedGainLossOnTradingSecuritiesIncludingImpairment",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:GainLossOnInvestmentsTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.xtragold.com/role/DisclosurePropertyPlantAndEquipmentDisclosureTextBlockDetails",
     "longName": "0044 - Disclosure - EQUIPMENT (Narrative) (Details)",
     "shortName": "EQUIPMENT (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "44",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:DepreciationAndAmortization",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R45": {
     "role": "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails",
     "longName": "0045 - Disclosure - EQUIPMENT - Schedule of Equipment (Details)",
     "shortName": "EQUIPMENT - Schedule of Equipment (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "45",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails",
     "longName": "0046 - Disclosure - MINERAL PROPERTIES (Narrative) (Details)",
     "shortName": "MINERAL PROPERTIES (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "46",
     "firstAnchor": {
      "contextRef": "C_20190101to20191231",
      "name": "xtgr:TermsOfMiningLeases",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "xtgr:MineralPropertiesTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20190101to20191231",
      "name": "xtgr:TermsOfMiningLeases",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "xtgr:MineralPropertiesTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.xtragold.com/role/MINERALPROPERTIESScheduleOfMineralPropertiesAcquiredDetails",
     "longName": "0047 - Disclosure - MINERAL PROPERTIES - Schedule of Mineral Properties Acquired (Details)",
     "shortName": "MINERAL PROPERTIES - Schedule of Mineral Properties Acquired (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "47",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:MineralPropertiesGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "xtgr:ScheduleOfMineralPropertiesAcquiredTableTextBlock",
       "div",
       "div",
       "div",
       "xtgr:MineralPropertiesTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:MineralPropertiesGross",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "xtgr:ScheduleOfMineralPropertiesAcquiredTableTextBlock",
       "div",
       "div",
       "div",
       "xtgr:MineralPropertiesTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.xtragold.com/role/DisclosureAssetRetirementObligationDisclosureTextBlockDetails",
     "longName": "0048 - Disclosure - ASSET RETIREMENT OBLIGATION (Narrative) (Details)",
     "shortName": "ASSET RETIREMENT OBLIGATION (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "48",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:AssetRetirementObligationCurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R49": {
     "role": "http://www.xtragold.com/role/ASSETRETIREMENTOBLIGATIONScheduleOfAssetRetirementObligationsDetails",
     "longName": "0049 - Disclosure - ASSET RETIREMENT OBLIGATION - Schedule of Asset Retirement Obligations (Details)",
     "shortName": "ASSET RETIREMENT OBLIGATION - Schedule of Asset Retirement Obligations (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "49",
     "firstAnchor": {
      "contextRef": "C_20201231",
      "name": "us-gaap:AssetRetirementObligationCurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:AssetRetirementObligationAccretionExpense",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAssetRetirementObligationsTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:AssetRetirementObligationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.xtragold.com/role/INVENTORIESDetails",
     "longName": "0050 - Disclosure - INVENTORIES - Schedule of Inventories (Details)",
     "shortName": "INVENTORIES - Schedule of Inventories (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "50",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:InventoryRawMaterials",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:InventoryRawMaterials",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R51": {
     "role": "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
     "longName": "0051 - Disclosure - CAPITAL STOCK (Narrative) (Details)",
     "shortName": "CAPITAL STOCK (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "51",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:CommonStockSharesAuthorized",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20200101to20201231",
      "name": "xtgr:ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsExercised",
      "unitRef": "CAD_per_Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "span",
       "span",
       "p",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R52": {
     "role": "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails",
     "longName": "0052 - Disclosure - CAPITAL STOCK - Schedule of Stock Options Oustanding (Details)",
     "shortName": "CAPITAL STOCK - Schedule of Stock Options Oustanding (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "52",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "span",
       "span",
       "p",
       "div",
       "us-gaap:EarningsPerSharePolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231_usgaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_xtgrOptionsOutstandingOneMember",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
      "unitRef": "CAD_per_Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock",
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R53": {
     "role": "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails",
     "longName": "0053 - Disclosure - CAPITAL STOCK - Schedule of Share-based Compensation, Stock Options, Activity (Details)",
     "shortName": "CAPITAL STOCK - Schedule of Share-based Compensation, Stock Options, Activity (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "53",
     "firstAnchor": {
      "contextRef": "C_20201231",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "span",
       "span",
       "p",
       "div",
       "us-gaap:EarningsPerSharePolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R54": {
     "role": "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails",
     "longName": "0054 - Disclosure - CAPITAL STOCK - Schedule of Share-based Compensation, Stock Options Black-Scholes Valuation Assumptions (Details)",
     "shortName": "CAPITAL STOCK - Schedule of Share-based Compensation, Stock Options Black-Scholes Valuation Assumptions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "54",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "xtgr:ScheduleOfShareBasedCompensationStockOptionsBlackscholesValuationAssumptionsTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "xtgr:ScheduleOfShareBasedCompensationStockOptionsBlackscholesValuationAssumptionsTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R55": {
     "role": "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityDetails",
     "longName": "0055 - Disclosure - CAPITAL STOCK - Schedule of Stockholders' Equity Note, Warrants or Rights, Activity (Details)",
     "shortName": "CAPITAL STOCK - Schedule of Stockholders' Equity Note, Warrants or Rights, Activity (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "55",
     "firstAnchor": {
      "contextRef": "C_20201231",
      "name": "us-gaap:ClassOfWarrantOrRightOutstanding",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "span",
       "span",
       "p",
       "div",
       "us-gaap:EarningsPerSharePolicyTextBlock",
       "div",
       "div",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20181231",
      "name": "xtgr:ClassOfWarrantOrRightOutstandingWeightedAverageExercisePrice",
      "unitRef": "CAD_per_Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "xtgr:ScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R56": {
     "role": "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
     "longName": "0056 - Disclosure - RELATED PARTY TRANSACTIONS (Narrative) (Details)",
     "shortName": "RELATED PARTY TRANSACTIONS (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "56",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231_usgaapRelatedPartyTransactionsByRelatedPartyAxis_xtgrPrivateCompanyOfWhichRelatedPartyIsFiveZeroShareholderAndDirectorMember",
      "name": "us-gaap:RelatedPartyTransactionAmountsOfTransaction",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "span",
       "p",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R57": {
     "role": "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails",
     "longName": "0057 - Disclosure - RELATED PARTY TRANSACTIONS - Schedule of Related Party Transactions (Details)",
     "shortName": "RELATED PARTY TRANSACTIONS - Schedule of Related Party Transactions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "57",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231_usgaapRelatedPartyTransactionsByRelatedPartyAxis_xtgrOfficersAndDirectorMember",
      "name": "us-gaap:RelatedPartyTransactionAmountsOfTransaction",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "div",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R58": {
     "role": "http://www.xtragold.com/role/SUPPLEMENTALDISCLOSUREWITHRESPECTTOCASHFLOWS",
     "longName": "0058 - Disclosure - SUPPLEMENTAL DISCLOSURE WITH RESPECT TO CASH FLOWS (Narrative) (Details)",
     "shortName": "SUPPLEMENTAL DISCLOSURE WITH RESPECT TO CASH FLOWS (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "58",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:IncomeTaxesPaid",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:IncreaseDecreaseInAccruedIncomeTaxesPayable",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "p",
       "div",
       "div",
       "div",
       "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R59": {
     "role": "http://www.xtragold.com/role/SUPPLEMENTALDISCLOSUREWITHRESPECTTOCASHFLOWSScheduleOfCashFlowSupplementalDisclosuresDetails",
     "longName": "0059 - Disclosure - SUPPLEMENTAL DISCLOSURE WITH RESPECT TO CASH FLOWS - Schedule of Cash Flow, Supplemental Disclosures (Details)",
     "shortName": "SUPPLEMENTAL DISCLOSURE WITH RESPECT TO CASH FLOWS - Schedule of Cash Flow, Supplemental Disclosures (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "59",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:InterestPaid",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:InterestPaid",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R60": {
     "role": "http://www.xtragold.com/role/DEFERREDINCOMETAXESNarrativeDetails",
     "longName": "0060 - Disclosure - DEFERRED INCOME TAXES (Narrative) (Details)",
     "shortName": "DEFERRED INCOME TAXES (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "60",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231_srtStatementGeographicalAxis_countryVG",
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231_srtStatementGeographicalAxis_countryVG",
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "unitRef": "pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R61": {
     "role": "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails",
     "longName": "0061 - Disclosure - DEFERRED INCOME TAXES - Schedule of  Deferred Income Taxes (Details)",
     "shortName": "DEFERRED INCOME TAXES - Schedule of  Deferred Income Taxes (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "61",
     "firstAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20211231",
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true,
      "unique": true
     }
    },
    "R62": {
     "role": "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails",
     "longName": "0062 - Disclosure - SEGMENTED INFORMATION - Schedule of Segmented Information (Details)",
     "shortName": "SEGMENTED INFORMATION - Schedule of Segmented Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "62",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:NoncurrentAssets",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsByGeographicalAreasTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R63": {
     "role": "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails",
     "longName": "0063 - Disclosure - CONTINGENCY AND COMMITMENTS (Narrative) (Details)",
     "shortName": "CONTINGENCY AND COMMITMENTS (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "63",
     "firstAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:RestrictedCashAndCashEquivalentsNoncurrent",
      "unitRef": "USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20211231",
      "name": "us-gaap:LesseeOperatingLeaseTermOfContract",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "span",
       "p",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    },
    "R64": {
     "role": "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
     "longName": "0064 - Disclosure - SUBSEQUENT EVENT NOTE (Narrative) (Details)",
     "shortName": "SUBSEQUENT EVENT NOTE (Narrative) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "64",
     "firstAnchor": {
      "contextRef": "C_20210101to20210131",
      "name": "us-gaap:TreasuryStockSharesRetired",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "span",
       "span",
       "span",
       "span",
       "span",
       "p",
       "div",
       "div",
       "div",
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_20210101to20210316_srtRangeAxis_srtMaximumMember_usgaapTypeOfArrangementAxis_xtgrRepurchasePlan2021Member",
      "name": "xtgr:NumberOfSharesAuthorisedToRepurchase",
      "unitRef": "shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "span",
       "p",
       "div",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "exhibit99-1.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts payable and accrued liabilities",
        "documentation": "Sum of the carrying values as of the balance sheet date of obligations incurred through that date and due within one year (or the operating cycle, if longer), including liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received, taxes, interest, rent and utilities, accrued salaries and bonuses, payroll taxes and fringe benefits."
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Amortization",
        "verboseLabel": "Accumulated Amortization",
        "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": [
      "r30",
      "r83"
     ]
    },
    "us-gaap_AdditionalPaidInCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AdditionalPaidInCapital",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "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": [
      "r18",
      "r293",
      "r430"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "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": [
      "r290",
      "r291",
      "r292",
      "r451",
      "r452",
      "r453",
      "r470"
     ]
    },
    "dei_AddressTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "AddressTypeDomain",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Address Type [Domain]",
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AllOtherCorporateBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AllOtherCorporateBondsMember",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Corporate Bonds [Member]",
        "verboseLabel": "Corporate bonds [Member]",
        "documentation": "Investments in corporate fixed maturity debt securities classified as other."
       }
      }
     },
     "auth_ref": [
      "r76"
     ]
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AllowanceForDoubtfulAccountsReceivable",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Allowance for Doubtful Accounts Receivable",
        "verboseLabel": "Allowance for doubtful accounts receivable",
        "documentation": "Amount of allowance for credit loss on accounts receivable."
       }
      }
     },
     "auth_ref": [
      "r244",
      "r247",
      "r248",
      "r249"
     ]
    },
    "xtgr_AmendedStockOptionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "AmendedStockOptionsMember",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amended Stock Options",
        "label": "Amended Stock Options [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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": []
    },
    "xtgr_AnnualGroundRentMining": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "AnnualGroundRentMining",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ground rent specifically refers to regular payments made by a holder of a leasehold property to the freeholder or a superior leaseholder, as required under a lease.",
        "label": "Annual Ground Rent Mining",
        "terseLabel": "Annual ground rent of mining"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails"
     ],
     "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": []
    },
    "us-gaap_AssetRetirementObligation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetRetirementObligation",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/MINERALPROPERTIESScheduleOfMineralPropertiesAcquiredDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset retirement obligation (AssetRetirementObligation)",
        "verboseLabel": "Asset retirement obligation",
        "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": [
      "r88"
     ]
    },
    "us-gaap_AssetRetirementObligationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetRetirementObligationAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Retirement Obligation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetRetirementObligationAccretionExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetRetirementObligationAccretionExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/ASSETRETIREMENTOBLIGATIONScheduleOfAssetRetirementObligationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accretion expense",
        "terseLabel": "Accretion expense",
        "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": [
      "r87",
      "r89"
     ]
    },
    "us-gaap_AssetRetirementObligationCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetRetirementObligationCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/ASSETRETIREMENTOBLIGATIONScheduleOfAssetRetirementObligationsDetails",
      "http://www.xtragold.com/role/BalanceSheet",
      "http://www.xtragold.com/role/DisclosureAssetRetirementObligationDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Asset retirement obligation, end of year",
        "periodStartLabel": "Asset retirement obligation, beginning of year",
        "label": "Asset retirement obligation (Note 7)",
        "verboseLabel": "Asset retirement obligation",
        "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": [
      "r88"
     ]
    },
    "us-gaap_AssetRetirementObligationDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetRetirementObligationDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsAssetRetirementObligationDisclosureTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ASSET RETIREMENT OBLIGATION [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": [
      "r91"
     ]
    },
    "us-gaap_AssetRetirementObligationPeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetRetirementObligationPeriodIncreaseDecrease",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/ASSETRETIREMENTOBLIGATIONScheduleOfAssetRetirementObligationsDetails",
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Change in asset retirement obligation",
        "negatedTerseLabel": "Change in obligation",
        "label": "Asset Retirement Obligation, Period Increase (Decrease)",
        "terseLabel": "Change in obligation",
        "totalLabel": "Asset Retirement Obligation, Period Increase (Decrease), Total",
        "verboseLabel": "Change in asset retirement obligation",
        "documentation": "Amount of increase (decrease) in asset retirement obligations."
       }
      }
     },
     "auth_ref": [
      "r88"
     ]
    },
    "us-gaap_AssetRetirementObligationsPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetRetirementObligationsPolicy",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset retirement obligations [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": [
      "r90"
     ]
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TOTAL ASSETS",
        "totalLabel": "TOTAL ASSETS",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events."
       }
      }
     },
     "auth_ref": [
      "r154",
      "r166",
      "r192",
      "r228",
      "r231",
      "r234",
      "r245",
      "r255",
      "r256",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r264",
      "r265",
      "r315",
      "r319",
      "r327",
      "r430",
      "r461",
      "r462",
      "r479"
     ]
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ASSETS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetsCurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total current assets",
        "totalLabel": "Total current 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 within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r6",
      "r42",
      "r192",
      "r245",
      "r255",
      "r256",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r264",
      "r265",
      "r315",
      "r319",
      "r327",
      "r430",
      "r461",
      "r462",
      "r479"
     ]
    },
    "us-gaap_AssetsCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "AssetsCurrentAbstract",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AuditorFirmId": {
     "xbrltype": "nonemptySequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "AuditorFirmId",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Firm ID",
        "documentation": "PCAOB issued Audit Firm Identifier"
       }
      }
     },
     "auth_ref": [
      "r439",
      "r440",
      "r441"
     ]
    },
    "dei_AuditorLocation": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "AuditorLocation",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "auth_ref": [
      "r439",
      "r440",
      "r441"
     ]
    },
    "dei_AuditorName": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "AuditorName",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "auth_ref": [
      "r439",
      "r440",
      "r441"
     ]
    },
    "xtgr_BansoAndMuosoProjectsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "BansoAndMuosoProjectsMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information of Banso and Muoso Projects.",
        "label": "Banso And Muoso Projects [Member]",
        "terseLabel": "Banso and Muoso projects [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_BansoPermitMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "BansoPermitMember",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Banso permit",
        "label": "Banso permit [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_BansoProjectsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "BansoProjectsMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information of Banso Projects.",
        "label": "Banso Projects [Member]",
        "terseLabel": "Banso projects [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Generally accepted accounting principles [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_BondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "BondsMember",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bonds [Member]",
        "verboseLabel": "Private bonds [Member]",
        "documentation": "Debt security, in which the authorized issuer owes the holder a debt and is obliged to repay the principal and interest (the coupon)."
       }
      }
     },
     "auth_ref": []
    },
    "dei_BusinessContactMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "BusinessContactMember",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Contact [Member]",
        "documentation": "Business contact for the entity"
       }
      }
     },
     "auth_ref": [
      "r440",
      "r441"
     ]
    },
    "country_CA": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "localname": "CA",
     "presentation": [
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Canada [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_CanadianaGoldResourcesLimitedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "CanadianaGoldResourcesLimitedMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Canadiana Gold Resources Limited",
        "label": "Canadiana Gold Resources Limited [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet",
      "http://www.xtragold.com/role/CashFlows",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Cash and cash equivalents at end of year",
        "periodStartLabel": "Cash and cash equivalents at beginning of year",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "totalLabel": "Cash and Cash Equivalents, at Carrying Value, Total",
        "verboseLabel": "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": [
      "r2",
      "r27",
      "r60"
     ]
    },
    "us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CashAndCashEquivalentsPeriodIncreaseDecrease",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Change in cash and cash equivalents during the year",
        "totalLabel": "Change in cash and cash equivalents and restricted cash during the year",
        "documentation": "Amount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the 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. Includes effect from exchange rate changes."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents [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": [
      "r9",
      "r61"
     ]
    },
    "xtgr_CashCashEquivalentsAndMarketableSecuritiesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "CashCashEquivalentsAndMarketableSecuritiesPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for Cash, Cash Equivalents And Marketable Securities.",
        "label": "Cash, Cash Equivalents And Marketable Securities [Policy Text Block]",
        "verboseLabel": "Cash, Cash Equivalents And Marketable Securities [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/CashFlows",
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Cash and cash equivalents and restricted cash, end of the year",
        "periodStartLabel": "Cash and cash equivalents and restricted cash at beginning of year",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Total",
        "verboseLabel": "Cash and restricted cash",
        "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": [
      "r52",
      "r60",
      "r63"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract",
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents [Abstract]",
        "terseLabel": "Reconciliation of Cash and Cash Equivalents and Restricted Cash"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashFlowSupplementalDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CashFlowSupplementalDisclosuresTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsCashFlowSupplementalDisclosuresTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SUPPLEMENTAL DISCLOSURE WITH RESPECT TO CASH FLOWS [Text Block]",
        "documentation": "The entire disclosure for supplemental cash flow activities, including cash, noncash, and part noncash transactions, for the period. Noncash is defined as information about all investing and financing activities of an enterprise during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period."
       }
      }
     },
     "auth_ref": [
      "r64"
     ]
    },
    "us-gaap_CashUninsuredAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CashUninsuredAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Uninsured Amount",
        "verboseLabel": "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": []
    },
    "xtgr_ChangeInFairValueWarrantDerivativeLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ChangeInFairValueWarrantDerivativeLiability",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 40.0
      },
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": -1.0,
       "order": 50.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows",
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amount of change in fair value warrant derivative liability.",
        "negatedLabel": "Change in fair value warrant derivative liability",
        "label": "Change In Fair Value Warrant Derivative Liability",
        "terseLabel": "Change in fair value warrant derivative liability"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ChiefExecutiveOfficerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "ChiefExecutiveOfficerMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chief Executive Officer [Member]",
        "verboseLabel": "CEO [Member]"
       }
      }
     },
     "auth_ref": [
      "r454"
     ]
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Warrant or Right, Exercise Price of Warrants or Rights",
        "terseLabel": "Strike price of warrants",
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding."
       }
      }
     },
     "auth_ref": [
      "r279"
     ]
    },
    "xtgr_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsExercised": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsExercised",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class Of Warrant Or Right Exercise Price Of Warrants Or Rights Exercised.",
        "label": "Class Of Warrant Or Right Exercise Price Of Warrants Or Rights Exercised",
        "terseLabel": "Exercise price of warrants"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightExercised": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightExercised",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of Warrant or Right, Exercises in Period",
        "negatedLabel": "Class of Warrant or Right, Exercises in Period",
        "label": "Class Of Warrant Or Right Exercised",
        "verboseLabel": "Warrant exercised"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightExercisesInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightExercisesInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of Warrant or Right, Exercises in Period, Weighted Average Exercise Price",
        "label": "Class Of Warrant Or Right Exercises In Period Weighted Average Exercise Price",
        "terseLabel": "Warrant exercised, strike price",
        "verboseLabel": "Class of Warrant or Right, Exercises in Period, Weighted Average Exercise Price"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightExpenseToExtension": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightExpenseToExtension",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents expense related to extension of the warrants.",
        "label": "Class Of Warrant Or Right Expense To Extension",
        "terseLabel": "Expenses related to extension of the warrants"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightExpirationsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightExpirationsInPeriod",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of Warrant or Right, Expirations in Period",
        "negatedLabel": "Class of Warrant or Right, Expirations in Period",
        "label": "Class Of Warrant Or Right Expirations In Period",
        "verboseLabel": "Warrants expired"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightExpirationsInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightExpirationsInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of Warrant or Right, Expirations in Period, Weighted Average Exercise Price",
        "label": "Class Of Warrant Or Right Expirations In Period Weighted Average Exercise Price",
        "verboseLabel": "Class of Warrant or Right, Expirations in Period, Weighted Average Exercise Price"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightGrantsInPeriod",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of Warrant or Right, Grants in Period, Net of Forfeitures",
        "label": "Class Of Warrant Or Right Grants In Period",
        "verboseLabel": "Class of Warrant or Right, Grants in Period"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightGrantsInPeriodContractualTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightGrantsInPeriodContractualTerm",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of Warrant or Right, Grants in Period, Contractual Term",
        "label": "Class Of Warrant Or Right Grants In Period Contractual Term",
        "verboseLabel": "Class of Warrant or Right, Grants in Period, Contractual Term"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightGrantsInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightGrantsInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of Warrant or Right, Grants in Period, Weighted Average Exercise Price",
        "label": "Class Of Warrant Or Right Grants In Period Weighted Average Exercise Price",
        "verboseLabel": "Class of Warrant or Right, Grants in Period, Weighted Average Exercise Price"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ClassOfWarrantOrRightOutstanding",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityDetails",
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Class of Warrant or Right, Outstanding, End of Period",
        "periodStartLabel": "Class of Warrant or Right, Outstanding, Beginning of Period",
        "label": "Class of warrant or right, outstanding",
        "verboseLabel": "Number of Warrants",
        "documentation": "Number of warrants or rights outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightOutstandingWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightOutstandingWeightedAverageExercisePrice",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of Warrant or Right, Outstanding, Weighted Average Exercise Price, Beginning of Period",
        "periodEndLabel": "Class of Warrant or Right, Outstanding, Weighted Average Exercise Price, End of Period",
        "periodStartLabel": "Class of Warrant or Right, Outstanding, Weighted Average Exercise Price, Beginning of Period",
        "label": "Class Of Warrant Or Right Outstanding Weighted Average Exercise Price"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ClassOfWarrantOrRightsOutstandingStrikePrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ClassOfWarrantOrRightsOutstandingStrikePrice",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of Warrant or Rights Outstanding, Strike Price",
        "label": "Class Of Warrant Or Rights Outstanding Strike Price",
        "verboseLabel": "Class of Warrant or Rights Outstanding, Strike Price"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONTINGENCY AND COMMITMENTS [Text Block]",
        "documentation": "The entire disclosure for commitments and contingencies."
       }
      }
     },
     "auth_ref": [
      "r92",
      "r93",
      "r253",
      "r254",
      "r397"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CommonStockMember",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock [Member]",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r451",
      "r452",
      "r470"
     ]
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheetParenthetical",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Par Value Per Share",
        "verboseLabel": "Common Stock, Par Value Per Share",
        "documentation": "Face amount or stated value per share of common stock."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheetParenthetical",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Shares Authorized",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheetParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Shares, Issued",
        "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": [
      "r15"
     ]
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheetParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Shares, Outstanding",
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r95"
     ]
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital stock Authorized - 250,000,000 common shares with a par value of $0.001 Issued and outstanding 47,782,417 common shares (December 31, 2016 - 48,174,417 common shares, December 31, 2015 - 45,662,417 common shares)",
        "terseLabel": "Capital stock Authorized - 250,000,000 common shares with a par value of $0.001 Issued and outstanding 46,687,517 common shares (December 31, 2020 - 46,817,017 common shares, December 31, 2019 - 45,844,117 common shares)",
        "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": [
      "r15",
      "r430"
     ]
    },
    "us-gaap_CompensationRelatedCostsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "CompensationRelatedCostsPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Related Costs, Policy [Policy Text Block]",
        "verboseLabel": "Stock-based compensation [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for salaries, bonuses, incentive awards, postretirement and postemployment benefits granted to employees, including equity-based arrangements; discloses methodologies for measurement, and the bases for recognizing related assets and liabilities and recognizing and reporting compensation expense."
       }
      }
     },
     "auth_ref": [
      "r104"
     ]
    },
    "us-gaap_ComputerEquipmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ComputerEquipmentMember",
     "presentation": [
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Computer equipment [Member]",
        "documentation": "Long lived, depreciable assets that are used in the creation, maintenance and utilization of information systems."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConcentrationRiskCreditRisk": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ConcentrationRiskCreditRisk",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration of credit risk [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for credit risk."
       }
      }
     },
     "auth_ref": [
      "r164",
      "r221"
     ]
    },
    "srt_ConsolidatedEntitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "ConsolidatedEntitiesAxis",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "auth_ref": [
      "r195",
      "r315",
      "r316",
      "r319",
      "r320",
      "r346",
      "r410",
      "r460",
      "r463",
      "r464"
     ]
    },
    "srt_ConsolidatedEntitiesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "ConsolidatedEntitiesDomain",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]"
       }
      }
     },
     "auth_ref": [
      "r195",
      "r315",
      "r316",
      "r319",
      "r320",
      "r346",
      "r410",
      "r460",
      "r463",
      "r464"
     ]
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ConsolidationPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Principles of consolidation [Policy Text Block]",
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting.  The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary."
       }
      }
     },
     "auth_ref": [
      "r129",
      "r415"
     ]
    },
    "dei_ContactPersonnelEmailAddress": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "ContactPersonnelEmailAddress",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contact Personnel Email Address",
        "documentation": "Email address of contact personnel."
       }
      }
     },
     "auth_ref": []
    },
    "dei_ContactPersonnelFaxNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "ContactPersonnelFaxNumber",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contact Personnel Fax Number",
        "documentation": "Fax Number of contact personnel."
       }
      }
     },
     "auth_ref": [
      "r440"
     ]
    },
    "dei_ContactPersonnelName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "ContactPersonnelName",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contact Personnel Name",
        "documentation": "Name of contact personnel"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ContinuanceOfOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ContinuanceOfOperationsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Continuance Of Operations[Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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_DebtPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "DebtPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt, Policy [Policy Text Block]",
        "verboseLabel": "Debt Securities [ Policy Text Block]",
        "documentation": "Disclosure of accounting policy related to debt. Includes, but is not limited to, debt issuance costs, the effects of refinancings, method of amortizing debt issuance costs and original issue discount, and classifications of debt."
       }
      }
     },
     "auth_ref": [
      "r94"
     ]
    },
    "us-gaap_DebtSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "DebtSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfDebtSecuritiesAtFairValueBySignificantInvestmentCategories"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities",
        "verboseLabel": "Debt securities at fair value",
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity), and investment in debt security measured at fair value with change in fair value recognized in net income (trading)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredIncomeTaxesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "DeferredIncomeTaxesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Taxes and Other Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_DeficitAccumulatedDuringExplorationStageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "DeficitAccumulatedDuringExplorationStageMember",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deficit Accumulated During the Exploration Stage [Member]",
        "label": "Deficit Accumulated During Exploration Stage [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DepreciationAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "DepreciationAndAmortization",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 0.0
      },
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows",
      "http://www.xtragold.com/role/DisclosurePropertyPlantAndEquipmentDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization",
        "terseLabel": "Amortization",
        "verboseLabel": "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": [
      "r58",
      "r81"
     ]
    },
    "xtgr_DescriptionOfMiningLeaseAndProspectingLicenseCommitments": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "DescriptionOfMiningLeaseAndProspectingLicenseCommitments",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mining lease and prospecting license commitments",
        "label": "Description Of Mining Lease And Prospecting License Commitments",
        "verboseLabel": "Mining lease and prospecting license commitments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of stock options outstanding [Table Text Block]",
        "documentation": "Tabular disclosure of share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r102",
      "r122"
     ]
    },
    "dei_DocumentAccountingStandard": {
     "xbrltype": "accountingStandardItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "DocumentAccountingStandard",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Accounting Standard",
        "documentation": "The basis of accounting the registrant has used to prepare the financial statements included in this filing This can either be 'U.S. GAAP', 'International Financial Reporting Standards', or 'Other'."
       }
      }
     },
     "auth_ref": [
      "r440"
     ]
    },
    "dei_DocumentAnnualReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "DocumentAnnualReport",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Annual Report",
        "documentation": "Boolean flag that is true only for a form used as an annual report."
       }
      }
     },
     "auth_ref": [
      "r439",
      "r440",
      "r441"
     ]
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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/2021q4",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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_DocumentRegistrationStatement": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "DocumentRegistrationStatement",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Registration Statement",
        "documentation": "Boolean flag that is true only for a form used as a registration statement."
       }
      }
     },
     "auth_ref": [
      "r433"
     ]
    },
    "dei_DocumentShellCompanyReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "DocumentShellCompanyReport",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Shell Company Report",
        "documentation": "Boolean flag that is true for a Shell Company Report pursuant to section 13 or 15(d) of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r440"
     ]
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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": [
      "r442"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "DocumentType",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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_DueFromRelatedPartiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "DueFromRelatedPartiesCurrent",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Due From Related Parties Current",
        "terseLabel": "Due from related party",
        "documentation": "The aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due within one year (or one business cycle)."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r10",
      "r16",
      "r257",
      "r258",
      "r259",
      "r263",
      "r264",
      "r265",
      "r343",
      "r450"
     ]
    },
    "us-gaap_DueToOtherRelatedPartiesClassifiedCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "DueToOtherRelatedPartiesClassifiedCurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Due to Related Parties for expenses earned for work on behalf of the Company",
        "verboseLabel": "Amount payable for expenses earned for work on behalf of company",
        "documentation": "Amount payable to related parties classified as other, due within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r31",
      "r142",
      "r450"
     ]
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "DueToRelatedPartiesCurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Due to Related Parties",
        "terseLabel": "Balance payable, related party",
        "verboseLabel": "Due to Related Parties",
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r31",
      "r257",
      "r258",
      "r259",
      "r263",
      "r264",
      "r265",
      "r343",
      "r450"
     ]
    },
    "us-gaap_DueToRelatedPartiesCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "DueToRelatedPartiesCurrentAndNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Due From Related Parties Current And Noncurrent",
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties."
       }
      }
     },
     "auth_ref": [
      "r157",
      "r172",
      "r257",
      "r258",
      "r259",
      "r263",
      "r264",
      "r265",
      "r343",
      "r450"
     ]
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basic income attributable to common shareholders per common 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": [
      "r187",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r209",
      "r211",
      "r213",
      "r214",
      "r215",
      "r216",
      "r322",
      "r323",
      "r369",
      "r372",
      "r417"
     ]
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Diluted income attributable to common shareholders per common 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": [
      "r187",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r211",
      "r213",
      "r214",
      "r215",
      "r216",
      "r322",
      "r323",
      "r369",
      "r372",
      "r417"
     ]
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "EarningsPerSharePolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income (Loss) per share [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": [
      "r66",
      "r67"
     ]
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "terseLabel": "Corporate income tax rate",
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss)."
       }
      }
     },
     "auth_ref": [
      "r193",
      "r297",
      "r308"
     ]
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine2": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityAddressAddressLine2",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line Two",
        "documentation": "Address Line 2 such as Street or Suite number"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine3": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityAddressAddressLine3",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line Three",
        "documentation": "Address Line 3 such as an Office Park"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCountry": {
     "xbrltype": "countryCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityAddressCountry",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Country",
        "documentation": "ISO 3166-1 alpha-2 country code."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityAddressesAddressTypeAxis",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Addresses, Address Type [Axis]",
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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": [
      "r435"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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/2021q4",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r435"
     ]
    },
    "dei_EntityExTransitionPeriod": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityExTransitionPeriod",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Ex Transition Period",
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards."
       }
      }
     },
     "auth_ref": [
      "r445"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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/2021q4",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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": [
      "r435"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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/2021q4",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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": [
      "r443"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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": [
      "r435"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "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": [
      "r435"
     ]
    },
    "dei_EntityVoluntaryFilers": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityVoluntaryFilers",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Voluntary Filers",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "EntityWellKnownSeasonedIssuer",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Well Known Seasoned Issuer",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A."
       }
      }
     },
     "auth_ref": [
      "r444"
     ]
    },
    "xtgr_EnvironmentalBond": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "EnvironmentalBond",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Environmental bond",
        "label": "Environmental Bond",
        "verboseLabel": "Environmental bond"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_EquipmentAmortizationRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "EquipmentAmortizationRate",
     "presentation": [
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment, amortization rate",
        "label": "Equipment Amortization Rate",
        "verboseLabel": "Equipment, amortization rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement, Equity Components [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": [
      "r95",
      "r178",
      "r184",
      "r185",
      "r186",
      "r196",
      "r197",
      "r198",
      "r200",
      "r206",
      "r208",
      "r218",
      "r246",
      "r280",
      "r290",
      "r291",
      "r292",
      "r304",
      "r305",
      "r321",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r375",
      "r376",
      "r377",
      "r414"
     ]
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Method Investment, Ownership Percentage",
        "terseLabel": "Equity method investment, ownership percentage",
        "verboseLabel": "Equity method investment, ownership percentage",
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting."
       }
      }
     },
     "auth_ref": [
      "r78"
     ]
    },
    "xtgr_EquityOutstandingAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "EquityOutstandingAxis",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Outstanding [Axis]",
        "label": "Equity Outstanding [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_EquityOutstandingDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "EquityOutstandingDomain",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Outstanding [Domain]",
        "label": "Equity Outstanding [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ExplorationAndProductionEquipmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ExplorationAndProductionEquipmentMember",
     "presentation": [
      "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mining and exploration equipment [Member]",
        "terseLabel": "Exploration equipment [Member]",
        "documentation": "Equipment used in the process of surveying, preparing land for the extraction of natural resources and extracting natural resources."
       }
      }
     },
     "auth_ref": [
      "r145",
      "r147",
      "r148",
      "r149"
     ]
    },
    "xtgr_ExtensionOfProspectingLicense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ExtensionOfProspectingLicense",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amount of extension of prospecting license.",
        "label": "Extension Of Prospecting License",
        "verboseLabel": "Extension of prospecting license per cadastral unit/or 21.24 hectare"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "presentation": [
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [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": []
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "presentation": [
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis."
       }
      }
     },
     "auth_ref": [
      "r136",
      "r324",
      "r325",
      "r326"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsInvestmentsTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements, Nonrecurring [Table Text Block]",
        "verboseLabel": "Schedule of fair value carrying value of investments [Table Text Block]",
        "documentation": "Tabular disclosure of assets and liabilities by class, including financial instruments measured at fair value that are classified in shareholders' equity, if any, that are measured at fair value on a nonrecurring basis in periods after initial recognition (for example, impaired assets). Disclosures may include, but are not limited to: (a) the fair value measurements recorded and the reasons for the measurements and (b) the level within the fair value hierarchy in which the fair value measurements are categorized in their entirety (levels 1, 2, 3)."
       }
      }
     },
     "auth_ref": [
      "r134",
      "r135",
      "r137"
     ]
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of fair value of financial assets and liabilities [Table Text Block]",
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities."
       }
      }
     },
     "auth_ref": [
      "r134",
      "r141"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient."
       }
      }
     },
     "auth_ref": [
      "r266",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r325",
      "r350",
      "r351",
      "r352",
      "r420",
      "r421",
      "r424",
      "r425",
      "r426"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Quoted Prices in Active Markets (Level 1) [Member]",
        "verboseLabel": "Marketable Equity Securities - Level 1 [Member]",
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date."
       }
      }
     },
     "auth_ref": [
      "r266",
      "r282",
      "r287",
      "r325",
      "r350",
      "r424",
      "r425",
      "r426"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "netLabel": "Significant Other Observable Inputs (Level 2) [Member]",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Non-Marketable Debt Securities - Level 2 [Member]",
        "verboseLabel": "Marketable Debt Securities - Level 2 [Member]",
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets."
       }
      }
     },
     "auth_ref": [
      "r266",
      "r282",
      "r287",
      "r325",
      "r351",
      "r420",
      "r421",
      "r424",
      "r425",
      "r426"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Significant Unobservable Inputs (Level 3) [Member]",
        "verboseLabel": "Non-Marketable Equity Securities - Level 3 [Member]",
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r266",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r325",
      "r352",
      "r420",
      "r421",
      "r424",
      "r425",
      "r426"
     ]
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair value of financial assets and liabilities [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair value of financial assets and liabilities",
        "verboseLabel": "Fair value of financial assets and liabilities",
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r138"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value."
       }
      }
     },
     "auth_ref": [
      "r266",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r350",
      "r351",
      "r352",
      "r420",
      "r421",
      "r424",
      "r425",
      "r426"
     ]
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial instruments [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments."
       }
      }
     },
     "auth_ref": [
      "r139",
      "r140"
     ]
    },
    "xtgr_FindersWarrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "FindersWarrantsMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finders warrants",
        "label": "Finders warrants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_FirstRepurchaseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "FirstRepurchaseMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First repurchase of shares.",
        "label": "First Repurchase [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ForeignCurrencyTransactionGainLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ForeignCurrencyTransactionGainLossBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign exchange loss",
        "terseLabel": "Foreign exchange gain (loss)",
        "documentation": "Amount before tax of foreign currency transaction realized and unrealized gain (loss) recognized in the income statement."
       }
      }
     },
     "auth_ref": [
      "r328",
      "r329",
      "r330",
      "r331"
     ]
    },
    "us-gaap_ForeignCurrencyTransactionGainLossUnrealized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ForeignCurrencyTransactionGainLossUnrealized",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 50.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Unrealized foreign exchange loss (gain)",
        "label": "Unrealized foreign exchange loss (gain)",
        "documentation": "Amount before tax of foreign currency transaction unrealized gain (loss) recognized in the income statement."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r472",
      "r473"
     ]
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign exchange [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy."
       }
      }
     },
     "auth_ref": [
      "r339"
     ]
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "FurnitureAndFixturesMember",
     "presentation": [
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Furniture and equipment [Member]",
        "documentation": "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases."
       }
      }
     },
     "auth_ref": []
    },
    "country_GH": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "localname": "GH",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails",
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESNarrativeDetails",
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "GHANA",
        "terseLabel": "Ghana [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnInvestmentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "GainLossOnInvestmentsTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsInvestmentsTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss) on Securities [Table Text Block]",
        "verboseLabel": "Schedule of gains and losses on investments [Table Text Block]",
        "documentation": "Tabular disclosure of realized and unrealized gain (loss) on investment in security."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "GeneralAndAdministrativeExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General and administrative",
        "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": [
      "r46"
     ]
    },
    "xtgr_GoldenraeMiningCompanyLimitedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "GoldenraeMiningCompanyLimitedMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Goldenrae Mining Company Limited",
        "label": "Goldenrae Mining Company Limited [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_GrantOfMiningLease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "GrantOfMiningLease",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amount of grant of a mining lease.",
        "label": "Grant Of Mining Lease",
        "verboseLabel": "Grant of a mining lease per cadastral unit/or 21.24 hectare"
       }
      }
     },
     "auth_ref": []
    },
    "dei_IcfrAuditorAttestationFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "IcfrAuditorAttestationFlag",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "auth_ref": [
      "r439",
      "r440",
      "r441"
     ]
    },
    "xtgr_ImpairmentOfNonFinancialAssetsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ImpairmentOfNonFinancialAssetsPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for impairment of non-financial assets.",
        "label": "Impairment of non financial assets [Policy Text Block]",
        "terseLabel": "Impairment of non-financial assets [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-lived assets [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": [
      "r80",
      "r85"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "terseLabel": "Pre tax income",
        "totalLabel": "Consolidated pre tax income for the year",
        "verboseLabel": "Consolidated pre tax income for the year",
        "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": [
      "r43",
      "r151",
      "r159",
      "r174",
      "r228",
      "r230",
      "r233",
      "r236",
      "r370",
      "r419"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest",
        "terseLabel": "Pre tax income",
        "documentation": "Amount of income (loss) from continuing operations before deduction of income tax expense (benefit) and income (loss) attributable to noncontrolling interest, and addition of income (loss) from equity method investments."
       }
      }
     },
     "auth_ref": [
      "r228",
      "r230",
      "r233",
      "r236",
      "r419"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Operations [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "DEFERRED INCOME TAXES [Text Block]",
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information."
       }
      }
     },
     "auth_ref": [
      "r193",
      "r298",
      "r299",
      "r302",
      "r306",
      "r309",
      "r311",
      "r312",
      "r313"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails",
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Income tax expense",
        "label": "Income Tax Expense (Benefit)",
        "terseLabel": "Income tax",
        "verboseLabel": "Income tax expense",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r194",
      "r207",
      "r208",
      "r227",
      "r296",
      "r307",
      "r310",
      "r373"
     ]
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncomeTaxPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income taxes [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": [
      "r183",
      "r294",
      "r295",
      "r299",
      "r300",
      "r301",
      "r303"
     ]
    },
    "us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount",
        "verboseLabel": "Tax at federal rate",
        "documentation": "The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r297"
     ]
    },
    "us-gaap_IncomeTaxReconciliationOtherAdjustments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncomeTaxReconciliationOtherAdjustments",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Other Adjustments, Amount",
        "terseLabel": "Temporary differences",
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments."
       }
      }
     },
     "auth_ref": [
      "r468"
     ]
    },
    "us-gaap_IncomeTaxesPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncomeTaxesPaid",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/SUPPLEMENTALDISCLOSUREWITHRESPECTTOCASHFLOWS",
      "http://www.xtragold.com/role/SUPPLEMENTALDISCLOSUREWITHRESPECTTOCASHFLOWSScheduleOfCashFlowSupplementalDisclosuresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash paid during the period for Income taxes",
        "verboseLabel": "Cash paid during the period for Income taxes",
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r62"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 120.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) in accounts payable and accrued 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": [
      "r57"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 100.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "(Increase) decrease in receivables and other assets",
        "label": "(Increase) decrease in receivables and other assets",
        "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": [
      "r57"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncreaseDecreaseInAccruedIncomeTaxesPayable",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/SUPPLEMENTALDISCLOSUREWITHRESPECTTOCASHFLOWS"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Income Taxes Payable",
        "terseLabel": "Accrued for income tax payments related to activities in Ghana",
        "documentation": "The increase (decrease) during the period in the amount due for taxes based on the reporting entity's earnings or attributable to the entity's income earning process (business presence) within a given jurisdiction."
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncreaseDecreaseInInventories",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 110.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Decrease (increase) in inventory",
        "label": "(Increase) decrease in 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": [
      "r57"
     ]
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes in non-cash working capital items:"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_InsidersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "InsidersMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Insiders",
        "label": "Insiders [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InterestPaid",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/SUPPLEMENTALDISCLOSUREWITHRESPECTTOCASHFLOWSScheduleOfCashFlowSupplementalDisclosuresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash paid during the period for Interest",
        "verboseLabel": "Cash paid during the period for Interest",
        "documentation": "Amount of cash paid for interest, including, but not limited to, capitalized interest and payment to settle zero-coupon bond attributable to 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; classified as operating and investing activities."
       }
      }
     },
     "auth_ref": [
      "r448"
     ]
    },
    "us-gaap_InventoryDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InventoryDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/INVENTORIES"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory Disclosure [Text Block]",
        "terseLabel": "INVENTORIES [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": [
      "r252"
     ]
    },
    "us-gaap_InventoryNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InventoryNet",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 30.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory, Net",
        "terseLabel": "Raw materials",
        "verboseLabel": "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": [
      "r3",
      "r40",
      "r430"
     ]
    },
    "us-gaap_InventoryNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InventoryNetAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory, Net [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InventoryPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory [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": [
      "r8",
      "r41",
      "r217",
      "r250",
      "r251",
      "r252",
      "r355",
      "r416"
     ]
    },
    "us-gaap_InventoryRawMaterials": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InventoryRawMaterials",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/INVENTORIESDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory, Raw Materials, Gross",
        "terseLabel": "Raw materials",
        "totalLabel": "Inventory, Raw Materials, Gross, Total",
        "verboseLabel": "Inventory",
        "documentation": "Amount before valuation and LIFO reserves of raw materials expected to be sold, or consumed within one year or operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "xtgr_InvestmentInTradingSecuritiesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "InvestmentInTradingSecuritiesPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in trading securities.",
        "label": "Investment In Trading Securities [Policy Text Block]",
        "verboseLabel": "Investment in trading securities [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Type [Axis]",
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Domain]",
        "documentation": "Asset obtained to generate income or appreciate in value."
       }
      }
     },
     "auth_ref": [
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394"
     ]
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InvestmentsFairValueDisclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet",
      "http://www.xtragold.com/role/DisclosureInvestmentsTextBlockDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESScheduleOfInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "netLabel": "Trading Securities",
        "positiveLabel": "Investment in trading securities",
        "positiveTerseLabel": "Total investments",
        "label": "Investments, Fair Value Disclosure",
        "terseLabel": "Investment in trading securities, at cost of $3,268,618 (December 31, 2020 - $1,977,477, December 31, 2019 - $923,009)",
        "totalLabel": "Investments, Fair Value Disclosure, Total",
        "verboseLabel": "Investments in trading securities at fair market value",
        "documentation": "Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method."
       }
      }
     },
     "auth_ref": [
      "r324"
     ]
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsInvestmentsTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "verboseLabel": "INVESTMENTS IN TRADING SECURITIES [Text Block]",
        "documentation": "The entire disclosure for  investments in certain debt and equity securities."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r152",
      "r163",
      "r177",
      "r413"
     ]
    },
    "us-gaap_LeaseContractualTermAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "LeaseContractualTermAxis",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease Contractual Term [Axis]",
        "documentation": "Information by contractual term of lease arrangement."
       }
      }
     },
     "auth_ref": [
      "r475"
     ]
    },
    "us-gaap_LeaseContractualTermDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "LeaseContractualTermDomain",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease Contractual Term [Domain]",
        "documentation": "Contractual term of lease arrangement."
       }
      }
     },
     "auth_ref": [
      "r475"
     ]
    },
    "us-gaap_LesseeOperatingLeaseTermOfContract": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "LesseeOperatingLeaseTermOfContract",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Term of Contract",
        "terseLabel": "Term of lease of Kibi Project",
        "documentation": "Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r474"
     ]
    },
    "us-gaap_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "Liabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total liabilities",
        "totalLabel": "Total liabilities",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r192",
      "r245",
      "r255",
      "r256",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r264",
      "r265",
      "r316",
      "r319",
      "r320",
      "r327",
      "r418",
      "r461",
      "r479",
      "r480"
     ]
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TOTAL LIABILITIES AND STOCKHOLDERS' EQUITY",
        "totalLabel": "TOTAL LIABILITIES AND EQUITY",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r156",
      "r169",
      "r430",
      "r449",
      "r459",
      "r471"
     ]
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LIABILITIES AND EQUITY"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "LiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total current liabilities",
        "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": [
      "r34",
      "r192",
      "r245",
      "r255",
      "r256",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r264",
      "r265",
      "r316",
      "r319",
      "r320",
      "r327",
      "r430",
      "r461",
      "r479",
      "r480"
     ]
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "LiabilitiesCurrentAbstract",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current (LiabilitiesCurrentAbstract)",
        "verboseLabel": "Current"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MarketableSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "MarketableSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Marketable Securities",
        "verboseLabel": "Marketable securities",
        "documentation": "Amount of investment in marketable security."
       }
      }
     },
     "auth_ref": [
      "r158"
     ]
    },
    "us-gaap_MarketableSecuritiesGainLossExcludingOtherThanTemporaryImpairments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "MarketableSecuritiesGainLossExcludingOtherThanTemporaryImpairments",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 30.0
      },
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 70.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows",
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Impairment on trading securities",
        "label": "Marketable Securities, Gain (Loss), Excluding Other-than-temporary Impairment Loss",
        "terseLabel": "Impairment on marketable securities",
        "documentation": "Amount of unrealized and realized gain (loss) on investment in marketable security, excluding other-than-temporary impairment (OTTI)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MarketableSecuritiesPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "MarketableSecuritiesPolicy",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading securities [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for investment classified as marketable security."
       }
      }
     },
     "auth_ref": [
      "r162"
     ]
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails",
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "auth_ref": [
      "r289",
      "r354",
      "r374",
      "r411",
      "r412",
      "r422",
      "r427",
      "r432",
      "r465",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486"
     ]
    },
    "us-gaap_MineralIndustriesDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "MineralIndustriesDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Mineral Industries Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_MineralPropertiesAndExplorationAndDevelopmentCostsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "MineralPropertiesAndExplorationAndDevelopmentCostsPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mineral properties and exploration and development costs",
        "label": "Mineral properties and exploration and development costs [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MineralPropertiesGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "MineralPropertiesGross",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/MINERALPROPERTIESScheduleOfMineralPropertiesAcquiredDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquisition costs",
        "verboseLabel": "Acquisition costs",
        "documentation": "Carrying amount at the balance sheet date of mineral properties, gross of adjustments."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r146",
      "r150"
     ]
    },
    "xtgr_MineralPropertiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "MineralPropertiesLineItems",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mineral Properties [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MineralPropertiesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "MineralPropertiesNet",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 30.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet",
      "http://www.xtragold.com/role/MINERALPROPERTIESScheduleOfMineralPropertiesAcquiredDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mineral properties (Note 6)",
        "terseLabel": "Total",
        "verboseLabel": "Mineral properties",
        "documentation": "Mineral properties, net of adjustments."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r150"
     ]
    },
    "xtgr_MineralPropertiesOptionPaymentsReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "MineralPropertiesOptionPaymentsReceived",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/MINERALPROPERTIESScheduleOfMineralPropertiesAcquiredDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Option payments received",
        "negatedLabel": "Option payments received",
        "label": "Mineral Properties Option Payments Received"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_MineralPropertiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "MineralPropertiesTable",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mineral Properties [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_MineralPropertiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "MineralPropertiesTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsMineralPropertiesTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MINERAL PROPERTIES [Text Block]",
        "label": "MINERAL PROPERTIES [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails",
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "auth_ref": [
      "r289",
      "r354",
      "r374",
      "r411",
      "r412",
      "r422",
      "r427",
      "r432",
      "r465",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486"
     ]
    },
    "us-gaap_MinorityInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "MinorityInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-controlling interest",
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest)."
       }
      }
     },
     "auth_ref": [
      "r38",
      "r155",
      "r168",
      "r192",
      "r245",
      "r255",
      "r258",
      "r259",
      "r260",
      "r264",
      "r265",
      "r327"
     ]
    },
    "us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "MinorityInterestOwnershipPercentageByNoncontrollingOwners",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncontrolling Interest, Ownership Percentage by Noncontrolling Owners",
        "terseLabel": "Noncontrolling Interest, Ownership Percentage by Noncontrolling Owners",
        "verboseLabel": "Noncontrolling interest, ownership percentage by noncontrolling owners",
        "documentation": "The equity interest of noncontrolling shareholders, partners or other equity holders in consolidated entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MoneyMarketFundsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "MoneyMarketFundsAtCarryingValue",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfDebtSecuritiesAtFairValueBySignificantInvestmentCategories"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Money Market Funds, at Carrying Value",
        "verboseLabel": "Money market funds",
        "documentation": "Investment in short-term money-market instruments (such as commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and so forth) which are highly liquid (that is, readily convertible to known amounts of cash) and so near their maturity that they present an insignificant risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify as cash equivalents by definition. Original maturity means an original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three-years ago does not become a cash equivalent when its remaining maturity is three months."
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_MuosoPermitMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "MuosoPermitMember",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Muoso permit",
        "label": "Muoso permit [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_MuosoProjectsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "MuosoProjectsMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information of Muoso projects.",
        "label": "Muoso Projects [Member]",
        "terseLabel": "Muoso projects [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net cash provided by (used in) financing activities",
        "totalLabel": "Net cash (used in) provided by 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": [
      "r189"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CASH FLOWS FROM FINANCING ACTIVITIES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net cash used in investing activities",
        "totalLabel": "Net cash used in investing activities",
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets."
       }
      }
     },
     "auth_ref": [
      "r189"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CASH FLOWS FROM INVESTING ACTIVITIES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net cash provided by (used in) operating activities",
        "totalLabel": "Net cash provided by 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": [
      "r52",
      "r56",
      "r59"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CASH FLOWS FROM OPERATING ACTIVITIES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/DisclosureSubstantialDoubtAboutGoingConcernTextBlockDetails",
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "netLabel": "Net (loss) profit",
        "label": "Net income (loss) attributable to Xtra-Gold Resources Corp.",
        "totalLabel": "Net income attributable to Xtra-Gold Resources Corp.",
        "verboseLabel": "Net income (loss) attributable to Xtra-Gold Resources Corp.",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r44",
      "r59",
      "r160",
      "r173",
      "r180",
      "r181",
      "r182",
      "r186",
      "r192",
      "r199",
      "r201",
      "r202",
      "r203",
      "r204",
      "r207",
      "r208",
      "r212",
      "r228",
      "r230",
      "r233",
      "r236",
      "r245",
      "r255",
      "r256",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r264",
      "r265",
      "r323",
      "r327",
      "r419",
      "r461"
     ]
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net gain attributable to non-controlling interest",
        "label": "Net gain attributable to non-controlling interest",
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r130",
      "r132",
      "r181",
      "r182",
      "r207",
      "r208",
      "r446"
     ]
    },
    "us-gaap_NetRealizedOrUnrealizedGainLossOnTradingSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NetRealizedOrUnrealizedGainLossOnTradingSecurities",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 10.0
      },
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 90.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows",
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net loss (gain) on sales of trading securities",
        "positiveLabel": "Total investments",
        "label": "Net Realized and Unrealized Gain (Loss) on Trading Securities",
        "terseLabel": "Net gain (loss) gain on trading securities",
        "totalLabel": "Net Realized and Unrealized Gain (Loss) on Trading Securities, Total",
        "documentation": "The sum of the realized and unrealized net gain (loss) on trading securities during the period."
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_NetRealizedOrUnrealizedGainLossOnTradingSecuritiesIncludingImpairment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "NetRealizedOrUnrealizedGainLossOnTradingSecuritiesIncludingImpairment",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net loss (gain) on sales of trading securities",
        "positiveLabel": "Total investments",
        "label": "Net Realized Or Unrealized Gain Loss On Trading Securities Including Impairment",
        "terseLabel": "Net gain (loss) gain on trading securities",
        "totalLabel": "Net Realized and Unrealized Gain (Loss) on Trading Securities, Total"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recent accounting pronouncements [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": []
    },
    "us-gaap_NoncontrollingInterestMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NoncontrollingInterestMember",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Controlling Interest [Member]",
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r280",
      "r451",
      "r452",
      "r453"
     ]
    },
    "xtgr_NoncontrollingInterestPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "NoncontrollingInterestPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-Controlling Interest",
        "label": "Noncontrolling Interest Policy [Text Block]",
        "verboseLabel": "Non-Controlling Interest [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoncurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NoncurrentAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital assets",
        "verboseLabel": "Capital assets",
        "documentation": "Long-lived assets other than financial instruments, long-term customer relationships of a financial institution, mortgage and other servicing rights, deferred policy acquisition costs, and deferred tax assets."
       }
      }
     },
     "auth_ref": [
      "r240"
     ]
    },
    "us-gaap_NoninterestExpenseDirectorsFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NoninterestExpenseDirectorsFees",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Directors fees",
        "verboseLabel": "Directors' fees",
        "documentation": "Noninterest expense related to directors' fees which are fees paid by an Entity to its directors. Directors' fees may be paid in addition to salary and other benefits."
       }
      }
     },
     "auth_ref": [
      "r161"
     ]
    },
    "us-gaap_NonoperatingIncomeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NonoperatingIncomeExpense",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Other Items",
        "totalLabel": "Total other items",
        "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": [
      "r47"
     ]
    },
    "us-gaap_NonoperatingIncomeExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "NonoperatingIncomeExpenseAbstract",
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "OTHER ITEMS"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_NotesToFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "NotesToFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notes to Financial Statements [Abstract]",
        "label": "Notes to Financial Statements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_NumberOfCommonStockSharesIssuedForExerciseOfWarrants": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "NumberOfCommonStockSharesIssuedForExerciseOfWarrants",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents number of common stock shares issued for exercise of warrants.",
        "label": "Number Of Common Stock Shares Issued For Exercise Of Warrants",
        "verboseLabel": "Number of common stock shares issued for exercise of warrants"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_NumberOfOptionsRePriced": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "NumberOfOptionsRePriced",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of Options Re-priced",
        "label": "Number Of Options Re Priced",
        "terseLabel": "Number of Options Re-priced",
        "verboseLabel": "Number of Options Re-priced"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_NumberOfSharesAuthorisedToRepurchase": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "NumberOfSharesAuthorisedToRepurchase",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorised to repurchase.",
        "label": "Number Of Shares Authorised To Repurchase",
        "verboseLabel": "Number of shares authorised to repurchase"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OfficersAndDirectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OfficersAndDirectorMember",
     "presentation": [
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information of officers and director.",
        "label": "Officers And Director [Member]",
        "verboseLabel": "Officers and directors [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OperatingExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exploration",
        "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/2021-01-31",
     "localname": "OperatingExpensesAbstract",
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EXPENSES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OperatingIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "LOSS BEFORE OTHER ITEMS",
        "totalLabel": "LOSS BEFORE OTHER ITEMS",
        "documentation": "The net result for the period of deducting operating expenses from operating revenues."
       }
      }
     },
     "auth_ref": [
      "r228",
      "r230",
      "r233",
      "r236",
      "r419"
     ]
    },
    "us-gaap_OperatingLossCarryforwardsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OperatingLossCarryforwardsLineItems",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails",
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Loss Carryforwards [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": []
    },
    "us-gaap_OperatingLossCarryforwardsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OperatingLossCarryforwardsTable",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails",
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Loss Carryforwards [Table]",
        "documentation": "Schedule reflecting 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": [
      "r125"
     ]
    },
    "xtgr_OptionsGrantedToConsultantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsGrantedToConsultantsMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options granted to consultants",
        "label": "Options granted to consultants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsGrantedToConsultantsTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsGrantedToConsultantsTwoMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options granted to consultants 2",
        "label": "Options Granted To Consultants Two [Member]",
        "verboseLabel": "Options granted to consultants 2 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsGrantedToInsidersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsGrantedToInsidersMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options granted to insiders",
        "label": "Options granted to insiders [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsGrantedToInsidersTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsGrantedToInsidersTwoMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options granted to insiders 2",
        "label": "Options Granted To Insiders Two [Member]",
        "verboseLabel": "Options granted to insiders 2 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsGrantedToNoninsidersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsGrantedToNoninsidersMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options granted to non-insiders",
        "label": "Options Granted To Noninsiders [Member]",
        "verboseLabel": "Options granted to non-insiders [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingEightMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingEightMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 8",
        "label": "Options Outstanding Eight [Member]",
        "verboseLabel": "Options Outstanding 8 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingFiveMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 5",
        "label": "Options Outstanding Five [Member]",
        "verboseLabel": "Options Outstanding 5 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingFourMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 4",
        "label": "Options Outstanding Four [Member]",
        "verboseLabel": "Options Outstanding 4 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingNineMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingNineMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 9",
        "label": "Options Outstanding Nine [Member]",
        "verboseLabel": "Options Outstanding 9 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingOneFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingOneFourMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 14",
        "label": "Options Outstanding One Four [Member]",
        "verboseLabel": "Options Outstanding 14 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingOneMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 1",
        "label": "Options Outstanding One [Member]",
        "verboseLabel": "Options Outstanding 1 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingOneOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingOneOneMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 11",
        "label": "Options Outstanding One One [Member]",
        "verboseLabel": "Options Outstanding 11 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingOneThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingOneThreeMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 13",
        "label": "Options Outstanding One Three [Member]",
        "verboseLabel": "Options Outstanding 13 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingOneTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingOneTwoMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 12",
        "label": "Options Outstanding One Two [Member]",
        "verboseLabel": "Options Outstanding 12 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingOneZeroMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingOneZeroMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 10",
        "label": "Options Outstanding One Zero [Member]",
        "verboseLabel": "Options Outstanding 10 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingSevenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingSevenMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 7",
        "label": "Options Outstanding Seven [Member]",
        "verboseLabel": "Options Outstanding 7 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingSixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingSixMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 6",
        "label": "Options Outstanding Six [Member]",
        "verboseLabel": "Options Outstanding 6 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingThreeMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 3",
        "label": "Options Outstanding Three [Member]",
        "verboseLabel": "Options Outstanding 3 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsOutstandingTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsOutstandingTwoMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Outstanding 2",
        "label": "Options Outstanding Two [Member]",
        "verboseLabel": "Options Outstanding 2 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsRePricedNewPrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsRePricedNewPrice",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Re-priced, new price",
        "label": "Options Re Priced New Price",
        "terseLabel": "Options Re-priced, new price",
        "verboseLabel": "Options Re-priced, new price"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OptionsRePricedValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OptionsRePricedValue",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Options Re-priced, value",
        "label": "Options Re Priced Value",
        "terseLabel": "Options Re-priced, value",
        "verboseLabel": "Options Re-priced, value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureLineItems",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Organization Consolidation and Presentation of Financial Statements Disclosure [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTable",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization Consolidation and Presentation of Financial Statements Disclosure [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "HISTORY AND ORGANIZATION OF THE COMPANY [Text Block]",
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r133"
     ]
    },
    "us-gaap_OtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OtherAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total",
        "verboseLabel": "Total",
        "documentation": "Amount of assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r13",
      "r153",
      "r165"
     ]
    },
    "us-gaap_OtherCommitmentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OtherCommitmentsAxis",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Commitments [Axis]",
        "documentation": "Information by type of other commitment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherCommitmentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OtherCommitmentsDomain",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Commitments [Domain]",
        "documentation": "Other future obligation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "OtherNonoperatingIncomeExpense",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other income",
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other."
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "dei_OtherReportingStandardItemNumber": {
     "xbrltype": "otherReportingStandardItemNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "OtherReportingStandardItemNumber",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Reporting Standard Item Number",
        "documentation": "\"Item 17\" or \"Item 18\" specified when the basis of accounting is neither US GAAP nor IFRS."
       }
      }
     },
     "auth_ref": [
      "r440"
     ]
    },
    "xtgr_OutstandingMineralRightFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "OutstandingMineralRightFees",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amount related to Outstanding annual mineral right fees.",
        "label": "Outstanding Mineral Right Fees",
        "verboseLabel": "Outstanding annual mineral right fees"
       }
      }
     },
     "auth_ref": []
    },
    "srt_OwnershipAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "OwnershipAxis",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_OwnershipDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "OwnershipDomain",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForPurchaseOfSecuritiesOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PaymentsForPurchaseOfSecuritiesOperatingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 60.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Purchase of trading securities",
        "label": "Purchase of trading securities",
        "documentation": "Cash paid to purchase debt and equity securities, classified as operating activities, during the period; includes trading securities and any other investments classified as operating."
       }
      }
     },
     "auth_ref": [
      "r55"
     ]
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of capital stock",
        "label": "Repurchase of capital stock",
        "documentation": "The cash outflow to reacquire common stock during the period."
       }
      }
     },
     "auth_ref": [
      "r51"
     ]
    },
    "us-gaap_PaymentsToAcquireMiningAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PaymentsToAcquireMiningAssets",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments to Acquire Mining Assets",
        "terseLabel": "Payments to acquire lease",
        "documentation": "The cash outflow from the purchase of mining and mining related assets during the period."
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Acquisition of equipment",
        "label": "Acquisition of equipment",
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets."
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "xtgr_PrivateCompanyOfWhichRelatedPartyIsFiveZeroShareholderAndDirectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "PrivateCompanyOfWhichRelatedPartyIsFiveZeroShareholderAndDirectorMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A private company of which a related party is a 50% shareholder and director",
        "label": "Private Company Of Which Related Party Is Five Zero Shareholder And Director [Member]",
        "verboseLabel": "A private company of which a related party is a 50% shareholder and director [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_PrivateInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "PrivateInvestmentsMember",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for private investments.",
        "label": "Private Investments [Member]",
        "verboseLabel": "Private investments [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ProceedsFromExerciseOfOptionsAndWarrants": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ProceedsFromExerciseOfOptionsAndWarrants",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amount of proceeds From exercise Of options And warrants.",
        "label": "Proceeds From Exercise Of Options And Warrants",
        "verboseLabel": "Proceeds from exercise of options and warrants"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromSaleOfSecuritiesOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ProceedsFromSaleOfSecuritiesOperatingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 80.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds on sale of trading securities",
        "documentation": "Cash received from sale of investments in debt and equity securities, classified as operating activities, during the period; includes trading securities and any other investments classified as operating."
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ProceedsFromStockOptionsExercised",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from exercise of options",
        "terseLabel": "Proceeds from exercise of options",
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r123"
     ]
    },
    "xtgr_ProceedsFromUnitsIssued": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ProceedsFromUnitsIssued",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from Units Issued",
        "label": "Proceeds From Units Issued",
        "verboseLabel": "Proceeds from Units Issued"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromWarrantExercises": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ProceedsFromWarrantExercises",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Warrant Exercises",
        "verboseLabel": "Proceeds from exercise of warrants",
        "documentation": "The cash inflow associated with the amount received from holders exercising their stock warrants."
       }
      }
     },
     "auth_ref": [
      "r447"
     ]
    },
    "us-gaap_ProfitLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ProfitLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows",
      "http://www.xtragold.com/role/IncomeStatement",
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated income (loss) for the year",
        "terseLabel": "Income (loss) for the year",
        "totalLabel": "Net income after tax",
        "verboseLabel": "Income for the year",
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r180",
      "r181",
      "r182",
      "r188",
      "r192",
      "r199",
      "r207",
      "r208",
      "r228",
      "r230",
      "r233",
      "r236",
      "r245",
      "r255",
      "r256",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r264",
      "r265",
      "r314",
      "r317",
      "r318",
      "r323",
      "r327",
      "r370",
      "r419",
      "r428",
      "r429",
      "r446",
      "r461"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PropertyPlantAndEquipmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "presentation": [
      "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails"
     ],
     "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": [
      "r30",
      "r84"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EQUIPMENT [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": [
      "r86",
      "r398",
      "r399",
      "r400"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PropertyPlantAndEquipmentGross",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cost",
        "verboseLabel": "Cost",
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business 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": [
      "r29",
      "r82"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PropertyPlantAndEquipmentLineItems",
     "presentation": [
      "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [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": []
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PropertyPlantAndEquipmentNet",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet",
      "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equipment (Note 5)",
        "terseLabel": "Equipment, net",
        "verboseLabel": "Net Book Value",
        "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": [
      "r11",
      "r12",
      "r84",
      "r171",
      "r371",
      "r430"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equipment [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": [
      "r28",
      "r84",
      "r398",
      "r399"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of 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": [
      "r11",
      "r84"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "presentation": [
      "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails"
     ],
     "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": [
      "r11",
      "r82"
     ]
    },
    "xtgr_PubliclyTradedInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "PubliclyTradedInvestmentsMember",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for Publicly traded investments.",
        "label": "Publicly Traded Investments [Member]",
        "verboseLabel": "Publicly traded investments [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails",
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r281",
      "r289",
      "r353",
      "r354",
      "r374",
      "r411",
      "r412",
      "r422",
      "r427",
      "r432",
      "r465",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "RangeMember",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails",
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r281",
      "r289",
      "r353",
      "r354",
      "r374",
      "r411",
      "r412",
      "r422",
      "r427",
      "r432",
      "r465",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486"
     ]
    },
    "us-gaap_ReceivablesNetCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ReceivablesNetCurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables and other assets",
        "documentation": "The total amount due to the entity within one year of the balance sheet date (or one operating cycle, if longer) from outside sources, including trade accounts receivable, notes and loans receivable, as well as any other types of receivables, net of allowances established for the purpose of reducing such receivables to an amount that approximates their net realizable value."
       }
      }
     },
     "auth_ref": [
      "r17",
      "r23",
      "r170",
      "r175",
      "r430"
     ]
    },
    "us-gaap_ReceivablesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ReceivablesPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for receivable. Includes, but is not limited to, accounts receivable and financing receivable."
       }
      }
     },
     "auth_ref": [
      "r455",
      "r456",
      "r457",
      "r458"
     ]
    },
    "xtgr_RecentlyIssuedAccountingPronouncementsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "RecentlyIssuedAccountingPronouncementsPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recently issued accounting pronouncements",
        "label": "Recently issued accounting pronouncements [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_RecoveryOfGold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "RecoveryOfGold",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/IncomeStatement": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 40.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recovery of gold",
        "label": "Recovery of gold"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_RecoveryOfGoldPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "RecoveryOfGoldPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recovery of gold",
        "label": "Recovery of gold [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ReductioninCommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ReductioninCommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reductionin Common Stock Par Or Stated Value Per Share",
        "label": "Reductionin Common Stock Par Or Stated Value Per Share",
        "verboseLabel": "Reductionin common stock par or stated value per share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "RelatedPartyDomain",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party [Domain]",
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests."
       }
      }
     },
     "auth_ref": [
      "r288",
      "r342",
      "r343"
     ]
    },
    "us-gaap_RelatedPartyTransactionAmountsOfTransaction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "RelatedPartyTransactionAmountsOfTransaction",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction, Amounts of Transaction",
        "terseLabel": "Consulting fees paid to shareholder and directors",
        "verboseLabel": "Consulting fees paid or accrued to officers or their companies",
        "documentation": "Amount of transactions with related party during the financial reporting period."
       }
      }
     },
     "auth_ref": [
      "r144",
      "r342"
     ]
    },
    "xtgr_RelatedPartyTransactionAmountsOfTransactionWhichRelatedPartyIsEntitledToReceive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "RelatedPartyTransactionAmountsOfTransactionWhichRelatedPartyIsEntitledToReceive",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction, Amounts of Transaction which the related party is entitled to receive",
        "label": "Related Party Transaction Amounts Of Transaction Which Related Party Is Entitled To Receive",
        "terseLabel": "Amounts of transaction which related party is entitled to receive",
        "verboseLabel": "A private company of which a related party is a 50% shareholder and director [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "RelatedPartyTransactionLineItems",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [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": []
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "RelatedPartyTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party [Axis]",
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests."
       }
      }
     },
     "auth_ref": [
      "r288",
      "r342",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r478"
     ]
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsRelatedPartyTransactionsDisclosureTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "RELATED PARTY TRANSACTIONS [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": [
      "r340",
      "r341",
      "r343",
      "r344",
      "r345"
     ]
    },
    "xtgr_RepurchasePlan2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "RepurchasePlan2021Member",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information of repurchase plan in 2021.",
        "label": "Repurchase Plan 2021 [Member]",
        "verboseLabel": "2021 repurchase plan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_RepurchasePlan2022Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "RepurchasePlan2022Member",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information of repurchase plan 2022.",
        "label": "Repurchase Plan 2022 [Member]",
        "terseLabel": "2022 repurchase plan [Member]",
        "verboseLabel": "2022 repurchase plan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RestrictedCashAndCashEquivalentsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "RestrictedCashAndCashEquivalentsNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet",
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails",
      "http://www.xtragold.com/role/CashFlows",
      "http://www.xtragold.com/role/DisclosureAssetRetirementObligationDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Restricted cash at end of year",
        "periodStartLabel": "Restricted cash at beginning of year",
        "label": "Restricted Cash and Cash Equivalents, Noncurrent",
        "terseLabel": "Restricted cash",
        "totalLabel": "Restricted Cash and Cash Equivalents, Noncurrent, Total",
        "verboseLabel": "Restricted cash",
        "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": [
      "r7",
      "r13",
      "r60",
      "r63",
      "r396"
     ]
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 30.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet",
      "http://www.xtragold.com/role/DisclosureSubstantialDoubtAboutGoingConcernTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Deficit accumulated",
        "label": "Accumulated deficit",
        "terseLabel": "Deficit accumulated",
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r96",
      "r167",
      "r293",
      "r378",
      "r379",
      "r430"
     ]
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Deficit [Member]",
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit."
       }
      }
     },
     "auth_ref": [
      "r178",
      "r196",
      "r197",
      "r198",
      "r200",
      "r206",
      "r208",
      "r246",
      "r290",
      "r291",
      "r292",
      "r304",
      "r305",
      "r321",
      "r375",
      "r377"
     ]
    },
    "us-gaap_ScheduleOfAssetRetirementObligationsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfAssetRetirementObligationsTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsAssetRetirementObligationDisclosureTextBlockTables"
     ],
     "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": [
      "r90"
     ]
    },
    "xtgr_ScheduleOfBuccaneerCommitmentToCompanyTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ScheduleOfBuccaneerCommitmentToCompanyTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsMineralPropertiesTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Buccaneer Commitment to the Company",
        "label": "Schedule of Buccaneer Commitment to Company [Table Text Block]",
        "terseLabel": "Schedule of buccaneer commitment to company [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsCashFlowSupplementalDisclosuresTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of cash flow, supplemental disclosures [Table Text Block]",
        "documentation": "Tabular disclosure of supplemental cash flow information for the periods presented."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESTables"
     ],
     "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": [
      "r126"
     ]
    },
    "xtgr_ScheduleOfDebtSecuritiesAtFairValueTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ScheduleOfDebtSecuritiesAtFairValueTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of debt securities at fair value.",
        "label": "Schedule Of Debt Securities At Fair Value [Table Text Block]",
        "verboseLabel": "Schedule of debt securities at fair value [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ScheduleOfEquipmentDecliningMethodAnnualRatesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ScheduleOfEquipmentDecliningMethodAnnualRatesTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Equipment, Declining Method Annual Rates",
        "label": "Schedule of equipment, declining method annual rates [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInventoryCurrentTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfInventoryCurrentTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/INVENTORIESTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Inventory, Current [Table Text Block]",
        "terseLabel": "Schedule of inventories [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": [
      "r8",
      "r24",
      "r25",
      "r26"
     ]
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfInvestmentsLineItems",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments [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": []
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfInvestmentsTable",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments [Table]",
        "documentation": "A container table for all schedule of investment items. It ties in the \"Legal Entity [Axis]\" to all of its contained line items."
       }
      }
     },
     "auth_ref": [
      "r176"
     ]
    },
    "xtgr_ScheduleOfMineralPropertiesAcquiredTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ScheduleOfMineralPropertiesAcquiredTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsMineralPropertiesTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Mineral Properties Acquired",
        "label": "Schedule of Mineral Properties Acquired [Table Text Block]",
        "terseLabel": "Schedule of mineral properties acquired [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "presentation": [
      "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Table]",
        "documentation": "Disclosure of information about 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": [
      "r30",
      "r84"
     ]
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "documentation": "Schedule of quantitative and qualitative information pertaining to 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": [
      "r143",
      "r144"
     ]
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsRelatedPartyTransactionsDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of related party transactions [Table Text Block]",
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, 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": []
    },
    "xtgr_ScheduleOfRepurchaseOfSharesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ScheduleOfRepurchaseOfSharesAxis",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the schedule of repurchase of shares.",
        "label": "Schedule Of Repurchase Of Shares [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ScheduleOfRepurchaseOfSharesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ScheduleOfRepurchaseOfSharesDomain",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the schedule of repurchase of shares.",
        "label": "Schedule Of Repurchase Of Shares [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsByGeographicalAreasTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsByGeographicalAreasTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of segmented information [Table Text Block]",
        "documentation": "Tabular disclosure of information concerning material long-lived assets (excluding financial instruments, customer relationships with financial institutions, mortgage and other servicing rights, deferred policy acquisition costs, and deferred taxes assets) located in identified geographic areas and/or the amount of revenue from external customers attributed to that country from which revenue is material.  An entity may also provide subtotals of geographic information about groups of countries."
       }
      }
     },
     "auth_ref": [
      "r45",
      "r74"
     ]
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "presentation": [
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. 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": [
      "r71",
      "r72",
      "r73",
      "r79"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails",
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]",
        "documentation": "Disclosure of information about share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r102",
      "r122"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Share Based Compensation Stock Options Activity [Table Text Block]",
        "terseLabel": "Share-based payment arrangement, option, activity [Table Text Block]",
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value."
       }
      }
     },
     "auth_ref": [
      "r106",
      "r113",
      "r114"
     ]
    },
    "xtgr_ScheduleOfShareBasedCompensationStockOptionsBlackscholesValuationAssumptionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ScheduleOfShareBasedCompensationStockOptionsBlackscholesValuationAssumptionsTableTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Share-based Compensation, Stock Options Black-Scholes Valuation Assumptions",
        "label": "Schedule Of Share Based Compensation Stock Options Blackscholes Valuation Assumptions [Table Text Block]",
        "verboseLabel": "Schedule of share-based compensation, stock options black-scholes valuation assumptions [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ScheduleOfStockholdersEquityNoteWarrantsOrRightsActivityTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Stockholders' Equity Note, Warrants or Rights, Activity [Table Text Block]",
        "label": "Schedule Of Stockholders Equity Note Warrants Or Rights Activity [Text Block]",
        "verboseLabel": "Schedule of stockholders' equity note, warrants or rights, activity [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Stockholders' Equity Note, Warrants or Rights [Table Text Block]",
        "verboseLabel": "Schedule of stockholders' equity note, warrants or rights [Table Text Block]",
        "documentation": "Tabular disclosure of warrants or rights issued. Warrants and rights outstanding are derivative securities that give the holder the right to purchase securities (usually equity) from the issuer at a specific price within a certain time frame. Warrants are often included in a new debt issue to entice investors by a higher return potential. The main difference between warrants and call options is that warrants are issued and guaranteed by the company, whereas options are exchange instruments and are not issued by the company. Also, the lifetime of a warrant is often measured in years, while the lifetime of a typical option is measured in months. Disclose the title of issue of securities called for by warrants and rights outstanding, the aggregate amount of securities called for by warrants and rights outstanding, the date from which the warrants or rights are exercisable, and the price at which the warrant or right is exercisable."
       }
      }
     },
     "auth_ref": [
      "r99",
      "r101"
     ]
    },
    "xtgr_SecondRepurchaseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "SecondRepurchaseMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Second repurchase of shares.",
        "label": "Second Repurchase [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "Security12bTitle",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r434"
     ]
    },
    "dei_Security12gTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "Security12gTitle",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of 12(g) Security",
        "documentation": "Title of a 12(g) registered security."
       }
      }
     },
     "auth_ref": [
      "r437"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r436"
     ]
    },
    "dei_SecurityReportingObligation": {
     "xbrltype": "securityReportingObligationItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "SecurityReportingObligation",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Reporting Obligation",
        "documentation": "15(d), indicating whether the security has a reporting obligation under that section of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r438"
     ]
    },
    "srt_SegmentGeographicalDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "SegmentGeographicalDomain",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails",
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESNarrativeDetails",
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Domain]"
       }
      }
     },
     "auth_ref": [
      "r239",
      "r240",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r423",
      "r431",
      "r466"
     ]
    },
    "us-gaap_SegmentReportingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SegmentReportingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SegmentReportingDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSegmentedInformationTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting Disclosure [Text Block]",
        "verboseLabel": "SEGMENTED INFORMATION [Text Block]",
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r225",
      "r226",
      "r228",
      "r229",
      "r232",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r241",
      "r242",
      "r243"
     ]
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SegmentReportingInformationLineItems",
     "presentation": [
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting 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": []
    },
    "us-gaap_ShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensation",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/CashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 30.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/CashFlows",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Payment Arrangement, Noncash Expense",
        "verboseLabel": "Stock-based compensation",
        "documentation": "Amount of noncash expense for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Expiration Date",
        "terseLabel": "Expiry Date",
        "documentation": "Date the equity-based award expires, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r103"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend rate",
        "verboseLabel": "Dividend rate",
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term."
       }
      }
     },
     "auth_ref": [
      "r119"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annualized volatility",
        "verboseLabel": "Annualized volatility",
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk-free interest rate",
        "verboseLabel": "Risk-free interest rate",
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares."
       }
      }
     },
     "auth_ref": [
      "r120"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails",
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Compensation Arrangement by Share-based Payment Award [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": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number",
        "verboseLabel": "Number of Options, Exercisable end of year",
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan."
       }
      }
     },
     "auth_ref": [
      "r109"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "verboseLabel": "Weighted Average Exercise Price, Exercisable end of year",
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan."
       }
      }
     },
     "auth_ref": [
      "r109"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Number of Options, Cancelled/Expired",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period",
        "verboseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period",
        "documentation": "For presentations that combine terminations, the number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan or that expired."
       }
      }
     },
     "auth_ref": [
      "r112"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period, Weighted Average Exercise Price",
        "verboseLabel": "Weighted Average Exercise Price, Cancelled/Expired",
        "documentation": "Weighted average price of options that were either forfeited or expired."
       }
      }
     },
     "auth_ref": [
      "r112"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails",
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "netLabel": "Stock option grants",
        "positiveLabel": "Stock options granted",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Net of Forfeitures",
        "terseLabel": "Stock option grants to officers and directors",
        "totalLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Net of Forfeitures, Total",
        "verboseLabel": "Number of Options, Granted",
        "documentation": "Net number of share options (or share units) granted during the period."
       }
      }
     },
     "auth_ref": [
      "r110"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value",
        "verboseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value",
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding."
       }
      }
     },
     "auth_ref": [
      "r122"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails",
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails",
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Number of Options, Outstanding end of year",
        "periodStartLabel": "Number of Options, Outstanding, beginning of year",
        "label": "Share-based compensation arrangement by share-based payment award, options, outstanding, number",
        "verboseLabel": "Number of Options",
        "documentation": "Number of options outstanding, including both vested and non-vested options."
       }
      }
     },
     "auth_ref": [
      "r108",
      "r122"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails",
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Weighted Average Exercise Price, Outstanding end of year",
        "periodStartLabel": "Weighted Average Exercise Price, Outstanding, beginning of year",
        "label": "Exercise Price",
        "verboseLabel": "Exercise Price",
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan."
       }
      }
     },
     "auth_ref": [
      "r107"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "netLabel": "Exercise price of stock option",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Stock options exercised, strike price",
        "verboseLabel": "Weighted Average Exercise Price, Exercised",
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails",
      "http://www.xtragold.com/role/DisclosureRelatedPartyTransactionsDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/RELATEDPARTYTRANSACTIONSScheduleOfRelatedPartyTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "positiveLabel": "Exercise price for stock options granted",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Stock option grant price range",
        "verboseLabel": "Weighted Average Exercise Price, Granted",
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Share-based payment transactions [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost."
       }
      }
     },
     "auth_ref": [
      "r102",
      "r105"
     ]
    },
    "us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Options [Axis]",
        "documentation": "Information by range of option prices pertaining to options granted."
       }
      }
     },
     "auth_ref": [
      "r116"
     ]
    },
    "us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfStockOptionsOustandingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exercise Price Range [Domain]",
        "documentation": "Supplementary information on outstanding and exercisable share awards as of the balance sheet date which stratifies outstanding options by ranges of exercise prices."
       }
      }
     },
     "auth_ref": [
      "r121"
     ]
    },
    "xtgr_ShareRepurchasesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ShareRepurchasesPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for share repurchases.",
        "label": "Share Repurchases [Policy Text Block]",
        "verboseLabel": "Share repurchases [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsBlackScholesValuationAssumptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expected life",
        "verboseLabel": "Expected life",
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r117",
      "r124"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, Outstanding Options, Weighted Average Remaining Contractual Term",
        "verboseLabel": "Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, Outstanding Options, Weighted Average Remaining Contractual Term",
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r115"
     ]
    },
    "xtgr_SharesInTreasuryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "SharesInTreasuryMember",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Shares in Treasury member.",
        "label": "Shares in Treasury [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SharesIssued",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending Balance (Shares)",
        "periodStartLabel": "Beginning Balance (Shares)",
        "label": "Shares Issued (Shares)",
        "documentation": "Number of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury."
       }
      }
     },
     "auth_ref": [
      "r95"
     ]
    },
    "xtgr_SignificantAccountingPoliciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "SignificantAccountingPoliciesLineItems",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information of significant accounting policies.",
        "label": "Significant Accounting Policies [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_SignificantAccountingPoliciesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "SignificantAccountingPoliciesTable",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information of significant accounting policies.",
        "label": "Significant Accounting Policies [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SIGNIFICANT ACCOUNTING POLICIES [Text Block]",
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r65",
      "r190"
     ]
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement, Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r95",
      "r178",
      "r184",
      "r185",
      "r186",
      "r196",
      "r197",
      "r198",
      "r200",
      "r206",
      "r208",
      "r218",
      "r246",
      "r280",
      "r290",
      "r291",
      "r292",
      "r304",
      "r305",
      "r321",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r375",
      "r376",
      "r377",
      "r414"
     ]
    },
    "srt_StatementGeographicalAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "StatementGeographicalAxis",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails",
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESNarrativeDetails",
      "http://www.xtragold.com/role/SEGMENTEDINFORMATIONScheduleOfSegmentedInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Axis]"
       }
      }
     },
     "auth_ref": [
      "r239",
      "r240",
      "r395",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r423",
      "r431",
      "r466"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails",
      "http://www.xtragold.com/role/DocumentAndEntityInformation",
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "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": []
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "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/2021-01-31",
     "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/2021-01-31",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StatementTable",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails",
      "http://www.xtragold.com/role/DocumentAndEntityInformation",
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Table]",
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed."
       }
      }
     },
     "auth_ref": [
      "r196",
      "r197",
      "r198",
      "r218",
      "r356"
     ]
    },
    "xtgr_StockIssuedDuringPeriodSharesExerciseOfWarrants": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "StockIssuedDuringPeriodSharesExerciseOfWarrants",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise of warrants (or share units) during the current period.",
        "label": "Stock Issued During Period Shares Exercise Of Warrants",
        "terseLabel": "Exercise of warrants (shares)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Number of common shares issued",
        "verboseLabel": "Common shares issued",
        "documentation": "Number of new stock issued during the period."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r95",
      "r96"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "presentation": [
      "http://www.xtragold.com/role/CAPITALSTOCKScheduleOfSharebasedCompensationStockOptionsActivityDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Number of Options, Exercised",
        "netLabel": "Number of stock options exercised",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period",
        "terseLabel": "Exercise of stock options (shares)",
        "verboseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period",
        "documentation": "Number of share options (or share units) exercised during the current period."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r95",
      "r96",
      "r111"
     ]
    },
    "xtgr_StockIssuedDuringPeriodValueExerciseOfWarrants": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "StockIssuedDuringPeriodValueExerciseOfWarrants",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of warrants.",
        "label": "Stock Issued During Period Value Exercise Of Warrants",
        "terseLabel": "Exercise of warrants"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period, Value, Stock Options Exercised",
        "verboseLabel": "Exercise of stock options",
        "documentation": "Value of stock issued as a result of the exercise of stock options."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r95",
      "r96"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueTreasuryStockReissued": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockIssuedDuringPeriodValueTreasuryStockReissued",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Shares in treasury",
        "label": "Stock Issued During Period, Value, Treasury Stock Reissued",
        "verboseLabel": "Shares in treasury",
        "documentation": "Value of treasury shares or units reissued. Excludes reissuance of shares or units in treasury for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r95",
      "r96",
      "r97"
     ]
    },
    "xtgr_StockOptionPlanRollingPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "StockOptionPlanRollingPercentage",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock option plan, rolling percentage",
        "label": "Stock Option Plan Rolling Percentage",
        "verboseLabel": "Stock option plan, rolling percentage"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_StockPurchasedDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "StockPurchasedDuringPeriodShares",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of stock purchases during the period.",
        "label": "Stock Purchased During Period Shares",
        "terseLabel": "Stock purchased during period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockRepurchasedAndRetiredDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockRepurchasedAndRetiredDuringPeriodShares",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of shares (Shares)",
        "positiveTerseLabel": "Stock repurchased and retired",
        "label": "Stock Repurchased and Retired During Period, Shares",
        "terseLabel": "Repurchase of shares (shares)",
        "verboseLabel": "Stock cancelled during period",
        "documentation": "Number of shares that have been repurchased and retired during the period."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r95",
      "r96"
     ]
    },
    "us-gaap_StockRepurchasedAndRetiredDuringPeriodValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockRepurchasedAndRetiredDuringPeriodValue",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of shares",
        "label": "Repurchase of shares",
        "terseLabel": "Repurchase of shares",
        "verboseLabel": "Stock Repurchased and Retired During Period",
        "documentation": "Equity impact of the value of stock that has been repurchased and retired during the period. The excess of the purchase price over par value can be charged against retained earnings (once the excess is fully allocated to additional paid in capital)."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r95",
      "r96"
     ]
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockRepurchasedDuringPeriodShares",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Repurchased During Period, Shares",
        "terseLabel": "Common shares re-purchased which were held in treasury",
        "verboseLabel": "Stock repurchased during period",
        "documentation": "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r95",
      "r96"
     ]
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockRepurchasedDuringPeriodValue",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Repurchased During Period, Value",
        "terseLabel": "Common shares re-purchased which held in treasury, value",
        "verboseLabel": "Stock Repurchased During Period, Value",
        "documentation": "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r95",
      "r96"
     ]
    },
    "us-gaap_StockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "label": "Total equity",
        "totalLabel": "Total Xtra-Gold Resources Corp. stockholders' equity",
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r20",
      "r21",
      "r75",
      "r430",
      "r449",
      "r459",
      "r471"
     ]
    },
    "us-gaap_StockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockholdersEquityAbstract",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "Equity"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet",
      "http://www.xtragold.com/role/StockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "label": "Total Xtra-Gold Resources Corp. stockholders' equity",
        "totalLabel": "Total equity",
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r128",
      "r131",
      "r178",
      "r179",
      "r185",
      "r196",
      "r197",
      "r198",
      "r200",
      "r206",
      "r246",
      "r280",
      "r290",
      "r291",
      "r292",
      "r304",
      "r305",
      "r321",
      "r332",
      "r333",
      "r337",
      "r376",
      "r377",
      "r414",
      "r449",
      "r459",
      "r471"
     ]
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockholdersEquityNoteAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CAPITAL STOCK [Text Block]",
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income."
       }
      }
     },
     "auth_ref": [
      "r100",
      "r191",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r280"
     ]
    },
    "us-gaap_SubsequentEventLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SubsequentEventLineItems",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Line Items]",
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Member]",
        "terseLabel": "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": [
      "r338",
      "r348"
     ]
    },
    "us-gaap_SubsequentEventTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SubsequentEventTable",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Table]",
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued."
       }
      }
     },
     "auth_ref": [
      "r338",
      "r348"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "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": [
      "r338",
      "r348"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "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": [
      "r338",
      "r348"
     ]
    },
    "us-gaap_SubsequentEventsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SubsequentEventsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SubsequentEventsTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsScheduleOfSubsequentEventsTextBlock"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Text Block]",
        "verboseLabel": "SUBSEQUENT EVENT NOTE [Text Block]",
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business."
       }
      }
     },
     "auth_ref": [
      "r347",
      "r349"
     ]
    },
    "srt_SubsidiariesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "localname": "SubsidiariesMember",
     "presentation": [
      "http://www.xtragold.com/role/CONTINGENCYANDCOMMITMENTSNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsidiaries [Member]",
        "verboseLabel": "Ghanaian subsidiary [Member]"
       }
      }
     },
     "auth_ref": [
      "r467",
      "r476",
      "r477",
      "r478"
     ]
    },
    "us-gaap_SubstantialDoubtAboutGoingConcernTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SubstantialDoubtAboutGoingConcernTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/CONTINUANCEOFOPERATIONSGOINGCONCERN"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONTINUANCE OF OPERATIONS [Text Block]",
        "verboseLabel": "CONTINUANCE OF OPERATIONS - GOING CONCERN [Text Block]",
        "documentation": "The entire disclosure when substantial doubt is raised about the ability to continue as a going concern. Includes, but is not limited to, principal conditions or events that raised substantial doubt about the ability to continue as a going concern, management's evaluation of the significance of those conditions or events in relation to the ability to meet its obligations, and management's plans that alleviated or are intended to mitigate the conditions or events that raise substantial doubt about the ability to continue as a going concern."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "us-gaap_SupplementalCashFlowElementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "SupplementalCashFlowElementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Elements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_TermsOfMiningLeases": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "TermsOfMiningLeases",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureMineralPropertiesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Terms of mining leases",
        "label": "Terms Of Mining Leases",
        "verboseLabel": "Terms of mining leases"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_ThirdRepurchaseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "ThirdRepurchaseMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Third repurchase of shares.",
        "label": "Third Repurchase [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "TradingSecuritiesAndCertainTradingAssetsTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsInvestmentsTextBlockTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of investments [Table Text Block]",
        "documentation": "Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TradingSecuritiesCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "TradingSecuritiesCost",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheetParenthetical",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESScheduleOfInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "netLabel": "Trading Securities",
        "positiveLabel": "Investment in trading securities",
        "positiveTerseLabel": "Total investments",
        "label": "Trading Securities, Cost",
        "terseLabel": "Trading Securities",
        "totalLabel": "Investments, Fair Value Disclosure, Total",
        "verboseLabel": "Investments in trading securities at cost",
        "documentation": "Cost of investments in debt and equity securities and other forms of securities that provide ownership interests classified as trading."
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_TradingSecuritiesImpairment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "TradingSecuritiesImpairment",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Impairment",
        "label": "Trading Securities Impairment",
        "verboseLabel": "Impairment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TradingSecuritiesRealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "TradingSecuritiesRealizedGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net loss (gain) on sales of trading securities",
        "label": "Trading Securities, Realized Gain (Loss)",
        "terseLabel": "Net gain (loss) gain on trading securities",
        "verboseLabel": "Realized gains and losses on investments",
        "documentation": "Amount of gain (loss) realized from securities classified as trading."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "TradingSecuritiesUnrealizedHoldingGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESDetails1",
      "http://www.xtragold.com/role/INVESTMENTSINTRADINGSECURITIESScheduleOfInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "positiveLabel": "Unrealized gains and losses on investments",
        "label": "Trading Securities, Change in Unrealized Holding Gain (Loss)",
        "terseLabel": "Unrealized losses",
        "totalLabel": "Trading Securities, Change in Unrealized Holding Gain (Loss), Total",
        "verboseLabel": "Unrealized gains (losses)",
        "documentation": "Amount of unrealized holding gain (loss) recognized in the income statement for investments in debt and equity securities and other forms of securities that provide ownership interests classified as trading."
       }
      }
     },
     "auth_ref": []
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "localname": "TradingSymbol",
     "presentation": [
      "http://www.xtragold.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TreasuryStockCommonValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "TreasuryStockCommonValue",
     "crdr": "debit",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Treasury Stock, Common, Value",
        "documentation": "Amount allocated to previously issued common shares repurchased by the issuing entity and held in treasury."
       }
      }
     },
     "auth_ref": [
      "r37",
      "r97",
      "r98"
     ]
    },
    "us-gaap_TreasuryStockSharesRetired": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "TreasuryStockSharesRetired",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Treasury Stock, Shares, Retired",
        "verboseLabel": "Treasury shares cancelled",
        "documentation": "Number of shares of common and preferred stock retired from treasury during the period."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r95",
      "r96"
     ]
    },
    "us-gaap_TreasuryStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "TreasuryStockValue",
     "crdr": "debit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Shares in treasury",
        "periodEndLabel": "Treasury Stock, Value, Ending Balance",
        "periodStartLabel": "Treasury Stock, Value, Beginning Balance",
        "label": "Treasury Stock, Value",
        "totalLabel": "Treasury Stock, Value, Total",
        "verboseLabel": "Shares in treasury",
        "documentation": "The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r97",
      "r98"
     ]
    },
    "us-gaap_TypeOfArrangementAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "TypeOfArrangementAxis",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureScheduleOfSubsequentEventsTextBlockDetails"
     ],
     "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": [
      "r469"
     ]
    },
    "xtgr_UnitsIssuedDuringPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "UnitsIssuedDuringPeriod",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Units Issued During Period, Units",
        "label": "Units Issued During Period",
        "verboseLabel": "Units Issued During Period, Units"
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_UnitsIssuedDuringPeriodPerUnitAmount": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "UnitsIssuedDuringPeriodPerUnitAmount",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Units Issued During Period, Per Unit Amount",
        "label": "Units Issued During Period Per Unit Amount",
        "verboseLabel": "Units Issued During Period, Per Unit Amount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UseOfEstimates": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "UseOfEstimates",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Use of estimates [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": [
      "r68",
      "r69",
      "r70",
      "r219",
      "r220",
      "r222",
      "r223"
     ]
    },
    "country_VG": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2021",
     "localname": "VG",
     "presentation": [
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESDeferredIncomeTaxesDetails",
      "http://www.xtragold.com/role/DEFERREDINCOMETAXESNarrativeDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "VIRGIN ISLANDS, BRITISH",
        "terseLabel": "British Virgin Islands [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VehiclesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "VehiclesMember",
     "presentation": [
      "http://www.xtragold.com/role/EQUIPMENTScheduleOfEquipmentDetails",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfEquipmentDecliningMethodAnnualRatesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vehicles [Member]",
        "documentation": "Equipment used primarily for road transportation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WarrantsAndRightsOutstanding": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "WarrantsAndRightsOutstanding",
     "crdr": "credit",
     "calculation": {
      "http://www.xtragold.com/role/BalanceSheet": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.xtragold.com/role/BalanceSheet",
      "http://www.xtragold.com/role/DisclosureStockholdersEquityNoteDisclosureTextBlockDetails",
      "http://www.xtragold.com/role/SIGNIFICANTACCOUNTINGPOLICIESScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Warrant liability",
        "netLabel": "Fair value of warrant liability",
        "label": "Warrants and Rights Outstanding",
        "verboseLabel": "Warrant liability",
        "documentation": "Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price."
       }
      }
     },
     "auth_ref": []
    },
    "xtgr_WarrantsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "WarrantsPolicyTextBlock",
     "presentation": [
      "http://www.xtragold.com/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants",
        "label": "Warrants [Policy Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails",
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Diluted weighted average number of common shares outstanding",
        "terseLabel": "Diluted weighted average number of common shares outstanding",
        "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": [
      "r210",
      "r215"
     ]
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails",
      "http://www.xtragold.com/role/IncomeStatement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basic weighted average number of common shares outstanding",
        "terseLabel": "Basic weighted average number of common shares outstanding",
        "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": [
      "r209",
      "r215"
     ]
    },
    "xtgr_XGMiningMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.xtragold.com/20211231",
     "localname": "XGMiningMember",
     "presentation": [
      "http://www.xtragold.com/role/DisclosureSignificantAccountingPoliciesTextBlockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "XG Mining",
        "label": "X G Mining [Member]",
        "verboseLabel": "XG Mining [Member]"
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "40",
   "URI": "http://asc.fasb.org/subtopic&trid=51888271"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r4": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r5": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r6": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "3",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6801-107765"
  },
  "r7": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6812-107765"
  },
  "r8": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766"
  },
  "r9": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(11))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r11": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(13))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r12": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(14))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(17))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r16": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3)(a)(2))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r21": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(31))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(32))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(4))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6)(a))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6)(c))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.1)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.13(a))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.13)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r30": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.14)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.21)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.30)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.31)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.6(a)(4))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r40": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.6(a))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r41": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.6(b))",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r42": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.9)",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r43": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(10))",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(20))",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.1)",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.4)",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r47": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.7)",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r48": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.9)",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "24",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(f)",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(g)",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "25",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "28",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r60": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r61": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4273-108586"
  },
  "r62": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r63": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r64": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "URI": "http://asc.fasb.org/topic&trid=2134446"
  },
  "r65": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r66": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r67": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r68": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r69": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r71": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "22",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r72": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "25",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r73": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r74": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "41",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r75": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 4.E)",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r76": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "320",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1B",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL6283291-111563"
  },
  "r77": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "323",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "05",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=109226317&loc=d3e202-110218"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 5.CC)",
   "URI": "http://asc.fasb.org/extlink&oid=27011434&loc=d3e125687-122742"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "410",
   "SubTopic": "20",
   "Section": "45",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6392676&loc=d3e7480-110848"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "410",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "410",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(3)",
   "URI": "http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "410",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "410",
   "SubTopic": "20",
   "URI": "http://asc.fasb.org/subtopic&trid=2175671"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
  },
  "r98": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656"
  },
  "r99": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "50",
   "Section": "S99",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6784392&loc=d3e188667-122775"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r102": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r103": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r104": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b),(f(1))",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r105": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b),(f)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r106": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r107": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r108": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)-(ii)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r109": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r110": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r111": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r112": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(3)-(4)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r113": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r114": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r115": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r116": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r117": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r118": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r119": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r120": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r121": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r122": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r123": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2A",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=SL79508275-113901"
  },
  "r124": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.D.2)",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r125": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319"
  },
  "r126": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r127": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568447-111683"
  },
  "r128": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "16",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568740-111683"
  },
  "r129": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
  },
  "r130": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(a)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r131": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "4I",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686"
  },
  "r132": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "4J",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r133": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "URI": "http://asc.fasb.org/topic&trid=2197479"
  },
  "r134": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r135": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r136": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bb)",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r137": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r138": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r139": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "60",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260"
  },
  "r140": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611"
  },
  "r141": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611"
  },
  "r142": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r143": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r144": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r145": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "13",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61901-109447"
  },
  "r146": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61797-109447"
  },
  "r147": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61831-109447"
  },
  "r148": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "360",
   "Section": "25",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=96866604&loc=d3e64763-109465"
  },
  "r149": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "360",
   "Section": "25",
   "Paragraph": "6",
   "URI": "http://asc.fasb.org/extlink&oid=96866604&loc=d3e64867-109465"
  },
  "r150": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "360",
   "Section": "25",
   "Paragraph": "7",
   "URI": "http://asc.fasb.org/extlink&oid=96866604&loc=d3e64895-109465"
  },
  "r151": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "940",
   "SubTopic": "20",
   "Section": "25",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
  },
  "r152": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "940",
   "SubTopic": "320",
   "URI": "http://asc.fasb.org/subtopic&trid=2176304"
  },
  "r153": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10))",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r154": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(11))",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r155": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(22))",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r156": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(23))",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r157": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.15(3),(4))",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r158": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.4)",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r159": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(15))",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r160": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(22))",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r161": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04.14)",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r162": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "320",
   "Section": "50",
   "Paragraph": "5",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62652-112803"
  },
  "r163": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "320",
   "URI": "http://asc.fasb.org/subtopic&trid=2209399"
  },
  "r164": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "825",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=123345438&loc=d3e61044-112788"
  },
  "r165": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r166": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r167": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r168": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r169": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r170": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(5))",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r171": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r172": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03.17)",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r173": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(18))",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r174": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(8))",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r175": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-06(3))",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e604059-122996"
  },
  "r176": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12)",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010"
  },
  "r177": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "URI": "http://asc.fasb.org/subtopic&trid=2324412"
  },
  "r178": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "105",
   "SubTopic": "10",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r179": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "105",
   "SubTopic": "10",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r180": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "7",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r181": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r182": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r183": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r184": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "6",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r187": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(25))",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r188": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3000-108585"
  },
  "r189": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "24",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r190": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
  },
  "r191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h))",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "24",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "10",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1448-109256"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "16",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1505-109256"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "7",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "15",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "270",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124437754&loc=d3e543-108305"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "272",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "12",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "15",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8657-108599"
  },
  "r225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(h)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "22",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "26",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8844-108599"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "31",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r235": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(e)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r237": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "34",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8981-108599"
  },
  "r238": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "40",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r239": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r240": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r241": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "41",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r242": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "42",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "URI": "http://asc.fasb.org/topic&trid=2134510"
  },
  "r244": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524"
  },
  "r245": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "323",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r246": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "326",
   "SubTopic": "10",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r247": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "326",
   "SubTopic": "20",
   "Section": "45",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "326",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "326",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(f)",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "330",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4492-108314"
  },
  "r251": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "330",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4556-108314"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "330",
   "URI": "http://asc.fasb.org/topic&trid=2126998"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "440",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "440",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r255": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r257": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r259": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r260": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r261": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(g)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(i)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "13",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496180-112644"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(i)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(A)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(B)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(C)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(03)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "80",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(g)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "25",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "28",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "10",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "12",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r298": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "14",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r299": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "17",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r300": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "19",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r301": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "20",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r302": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "21",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r303": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r304": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r305": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(3)",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r306": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r308": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r309": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 11.C)",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r310": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "20",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "270",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r312": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r313": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "19",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(a)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r321": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(4)",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "17",
   "URI": "http://asc.fasb.org/extlink&oid=120253306&loc=d3e28228-110885"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "20",
   "Section": "35",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=123602790&loc=d3e30226-110892"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "20",
   "Section": "45",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "17",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r335": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "URI": "http://asc.fasb.org/topic&trid=2175825"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "6",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "852",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "URI": "http://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "855",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "855",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(3)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "910",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "912",
   "SubTopic": "330",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6471895&loc=d3e55923-109411"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "924",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 11.L)",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "33",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "33",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "35A",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "35A",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "932",
   "SubTopic": "235",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(27))",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r370": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "235",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "360",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(9))",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "40",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r375": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(i)",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r381": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "946",
   "SubTopic": "320",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "948",
   "SubTopic": "310",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "URI": "http://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "954",
   "SubTopic": "210",
   "Section": "45",
   "Paragraph": "5",
   "URI": "http://asc.fasb.org/extlink&oid=120413173&loc=SL116631458-115580"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "954",
   "SubTopic": "440",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "958",
   "SubTopic": "360",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "958",
   "SubTopic": "360",
   "Section": "50",
   "Paragraph": "6",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "958",
   "SubTopic": "360",
   "Section": "50",
   "Paragraph": "7",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=SL120174063-112916"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r405": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r410": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "970",
   "SubTopic": "360",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r411": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "976",
   "SubTopic": "310",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r412": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "978",
   "SubTopic": "310",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r413": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1403",
   "Paragraph": "(b)"
  },
  "r414": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Subparagraph": "(a)(3)(iii)(03)"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "52",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e4984-109258"
  },
  "r418": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r419": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "31",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r420": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "20",
   "Section": "55",
   "Paragraph": "69B",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r421": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "20",
   "Section": "55",
   "Paragraph": "69C",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r422": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r423": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "606",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r424": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r425": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r426": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "55",
   "Paragraph": "17",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r427": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "80",
   "Section": "55",
   "Paragraph": "8",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r428": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "4J",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r429": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "4K",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r430": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "852",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "10",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r431": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "40",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r432": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "40",
   "Section": "55",
   "Paragraph": "29F",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r433": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12"
  },
  "r434": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r435": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r436": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r437": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "g"
  },
  "r438": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "15",
   "Subsection": "d"
  },
  "r439": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-K",
   "Number": "249",
   "Section": "310"
  },
  "r440": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Number": "249",
   "Section": "220",
   "Subsection": "f"
  },
  "r441": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Number": "249",
   "Section": "240",
   "Subsection": "f"
  },
  "r442": {
   "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"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r444": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "405"
  },
  "r445": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "7A",
   "Section": "B",
   "Subsection": "2"
  },
  "r446": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "6",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r447": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r448": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r449": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r450": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "235",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r451": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r452": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "24",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r453": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r454": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522"
  },
  "r455": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5033-111524"
  },
  "r456": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534"
  },
  "r457": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "2",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10149-111534"
  },
  "r458": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "4",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10178-111534"
  },
  "r459": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "323",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r460": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r461": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r462": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r463": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r464": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r465": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r466": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "606",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r467": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "715",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r468": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "12",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r469": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "808",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
  },
  "r470": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r471": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r472": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "20",
   "Section": "45",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894"
  },
  "r473": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "URI": "http://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895"
  },
  "r474": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "842",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980"
  },
  "r475": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "842",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980"
  },
  "r476": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r477": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r478": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r479": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "852",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r480": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "852",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r481": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r482": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r483": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r484": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r485": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r486": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  }
 }
}
