XML 104 R81.htm IDEA: XBRL DOCUMENT
v3.19.1

Share-based compensation - Changes in stock options (Details) | 12 Months Ended
--- | ---
Dec. 31, 2018 USD ($) shares | Dec. 31, 2017 USD ($) shares
Share-Based Payment Arrangements [Abstract] |  |
Number of stock options outstanding, beginning of period | shares | 262,535 | 344,767
Number of stock options granted | shares | 21,900 | 31,400
Number of stock options exercised | shares | (83,114) | (98,274)
Number of stock options cancelled | shares | (3,100) | (15,358)
Number of stock options outstanding, end of period | shares | 198,221 | 262,535
Weighted average exercise price of stock options outstanding, beginning of period (in usd per option) | $ | $ 45.09 | $ 40.91
Weighted average exercise price of stock options granted (in usd per option) | $ | 54.65 | 50.17
Weighted average exercise price of stock options exercised (in usd per option) | $ | 38.89 | 30.90
Weighted average exercise price of stock options cancelled (in usd per option) | $ | 57.26 | 52.43
Weighted average exercise price of stock options outstanding, end of period (in usd per option) | $ | $ 48.55 | $ 45.09

X
- Definition The number of share options outstanding in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_d&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_i&doctype=Standard -URIDate 2017-03-09 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_vi&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfOutstandingShareOptions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of share options exercised in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_iv&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options forfeited in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_iii&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsForfeitedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options granted in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_ii&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options exercised in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_iv&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsExercisedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options forfeited in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_iii&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsForfeitedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options granted in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_ii&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options outstanding in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_i&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_vi&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsOutstandingInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share-Based Payment Arrangements [Abstract] + References No definition available. + Details
Name: | mx_ShareBasedPaymentArrangementsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration