XML 88 R54.htm IDEA: XBRL DOCUMENT
v3.20.1

Commitments and contingencies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2019
Commitments And Contingencies [Abstract] |
Schedule of minimum estimated commitment under purchase contracts | The minimum estimated commitment under these contracts, except as noted below, is as follows: As at December 31, 2019
2020 |  | 2021 |  | 2022 |  | 2023 |  | 2024 |  | Thereafter |
$ | 458,859 |  | $ | 398,267 |  | $ | 356,268 |  | $ | 356,861 |  | $ | 375,281 |  | $ | 1,386,390 |
Contractual obligations | The Company has future minimum payments relating primarily to vessel charters, terminal facilities, and other commitments that are not leases, as follows: As at December 31, 2019
2020 |  | 2021 |  | 2022 |  | 2023 |  | 2024 |  | Thereafter |
$ | 58,715 |  | $ | 1,390 |  | $ | 539 |  | $ | 539 |  | $ | 539 |  | $ | 3,273 |

X
- Definition Commitments And Contingencies + References No definition available. + Details
Name: | mx_CommitmentsAndContingenciesAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contingent Liabilities With Associates [Table Text Block] + References No definition available. + Details
Name: | mx_ContingentLiabilitiesWithAssociatesTableTextBlock
Namespace Prefix: | mx_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of contractual obligation by timing of payment due. Includes, but is not limited to, long-term debt obligation, lease obligation, and purchase obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 303 -Paragraph (a) -Subparagraph (5) + Details
Name: | srt_ContractualObligationFiscalYearMaturityScheduleTableTextBlock
Namespace Prefix: | srt_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration