XML 87 R64.htm IDEA: XBRL DOCUMENT
v3.20.4

Property, plant and equipment - Right of use assets (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | $ 635,418 |
Right-of-use assets, ending balance | 624,996 | $ 635,418
Cost |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | 798,097 | 628,479
Additions | 114,005 | 171,992
Disposals and other | (20,046) | (2,374)
Right-of-use assets, ending balance | 892,056 | 798,097
Accumulated depreciation |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | (162,679) | (49,981)
Disposals and other | 14,026 | 0
Depreciation | 118,407 | 112,698
Right-of-use assets, ending balance | (267,060) | (162,679)
Ocean going vessels |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | 425,018 |
Right-of-use assets, ending balance | 429,456 | 425,018
Ocean going vessels | Cost |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | 514,661 | 370,654
Additions | 86,214 | 144,764
Disposals and other | (18,803) | (757)
Right-of-use assets, ending balance | 582,072 | 514,661
Ocean going vessels | Accumulated depreciation |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | (89,643) | (15,204)
Disposals and other | 13,727 | 0
Depreciation | 76,700 | 74,439
Right-of-use assets, ending balance | (152,616) | (89,643)
Terminals and tanks |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | 162,063 |
Right-of-use assets, ending balance | 154,719 | 162,063
Terminals and tanks | Cost |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | 221,303 | 207,721
Additions | 25,758 | 13,582
Disposals and other | (508) | 0
Right-of-use assets, ending balance | 246,553 | 221,303
Terminals and tanks | Accumulated depreciation |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | (59,240) | (29,333)
Disposals and other | 0 | 0
Depreciation | 32,594 | 29,907
Right-of-use assets, ending balance | (91,834) | (59,240)
Buildings, plant installations and machinery |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | 15,746 |
Right-of-use assets, ending balance | 13,353 | 15,746
Buildings, plant installations and machinery | Cost |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | 23,613 | 19,705
Additions | 148 | 3,908
Disposals and other | 0 | 0
Right-of-use assets, ending balance | 23,761 | 23,613
Buildings, plant installations and machinery | Accumulated depreciation |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | (7,867) | (5,444)
Disposals and other | 0 | 0
Depreciation | 2,541 | 2,423
Right-of-use assets, ending balance | (10,408) | (7,867)
Other |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | 32,591 |
Right-of-use assets, ending balance | 27,468 | 32,591
Other | Cost |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | 38,520 | 30,399
Additions | 1,885 | 9,738
Disposals and other | (735) | (1,617)
Right-of-use assets, ending balance | 39,670 | 38,520
Other | Accumulated depreciation |  |
Reconciliation of Changes in Right of Use Assets [Roll Forward] |  |
Right-of-use assets, beginning balance | (5,929) | 0
Disposals and other | 299 | 0
Depreciation | 6,572 | 5,929
Right-of-use assets, ending balance | $ (12,202) | $ (5,929)

X
- Definition The amount of additions to right-of-use assets. [Refer: Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2020-01-01 -Paragraph 53 -Subparagraph h -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2020-en-r&anchor=para_53_h&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_AdditionsToRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of depreciation of right-of-use assets. [Refer: Depreciation and amortisation expense; Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2020-01-01 -Paragraph 53 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2020-en-r&anchor=para_53_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_DepreciationRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of assets that represent a lessee's right to use an underlying asset for the lease term. Underlying asset is an asset that is the subject of a lease, for which the right to use that asset has been provided by a lessor to a lessee. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2020-01-01 -Paragraph 53 -Subparagraph j -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2020-en-r&anchor=para_53_j&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_RightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disposals, Right of Use Assets + References No definition available. + Details
Name: | mx_DisposalsRightofUseAssets
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Reconciliation of Changes in Right of Use Assets [Roll Forward] + References No definition available. + Details
Name: | mx_ReconciliationofChangesinRightofUseAssetsRollForward
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis=ifrs-full_GrossCarryingAmountMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis=ifrs-full_AccumulatedDepreciationAndAmortisationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_ShipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=mx_TerminalsandtanksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=mx_BuildingsPlantInstallationsAndMachineryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_OtherPropertyPlantAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |