XML 77 R54.htm IDEA: XBRL DOCUMENT
v3.19.1

Significant accounting policies - Segmented information (Details) | 12 Months Ended
--- | ---
Dec. 31, 2018 segment
Corporate Information And Statement Of IFRS Compliance [Abstract] |
Number of operating segments | 1

X
- Definition Corporate Information And Statement Of IFRS Compliance [Abstract] + References No definition available. + Details
Name: | mx_CorporateInformationAndStatementOfIFRSComplianceAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Operating Segments + References No definition available. + Details
Name: | mx_NumberOfOperatingSegments1
Namespace Prefix: | mx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration