XML 101 R64.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Long-term debt - Maturity (Details) - USD ($) $ in Thousands | Dec. 31, 2017 | Dec. 31, 2016
--- | --- | ---
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | $ 1,502,271 | $ 1,556,206
Limited recourse debt facilities |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 314,108 | 369,782
Unsecured notes |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 1,188,163 | $ 1,186,424
Carrying amount |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 1,520,028 |
Carrying amount | 2018 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 57,072 |
Carrying amount | 2019 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 410,100 |
Carrying amount | 2020 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 62,115 |
Carrying amount | 2021 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 109,462 |
Carrying amount | 2022 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 281,279 |
Carrying amount | Thereafter |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 600,000 |
Carrying amount | Limited recourse debt facilities |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 320,028 |
Carrying amount | Limited recourse debt facilities | 2018 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 57,072 |
Carrying amount | Limited recourse debt facilities | 2019 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 60,100 |
Carrying amount | Limited recourse debt facilities | 2020 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 62,115 |
Carrying amount | Limited recourse debt facilities | 2021 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 109,462 |
Carrying amount | Limited recourse debt facilities | 2022 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 31,279 |
Carrying amount | Limited recourse debt facilities | Thereafter |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 0 |
Carrying amount | Unsecured notes |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 1,200,000 |
Carrying amount | Unsecured notes | 2018 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 0 |
Carrying amount | Unsecured notes | 2019 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 350,000 |
Carrying amount | Unsecured notes | 2020 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 0 |
Carrying amount | Unsecured notes | 2021 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 0 |
Carrying amount | Unsecured notes | 2022 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 250,000 |
Carrying amount | Unsecured notes | Thereafter |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | $ 600,000 |

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 55 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_55&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=mx_LimitedRecourseDebtFacilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=mx_UnsecuredDebt1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |