XML 95 R80.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Segmented Information (Narrative) (Details) | Dec. 31, 2017 geographical_area
--- | ---
Disclosure of entity's operating segments [Abstract] |
Number of geographical areas | 2

X
- Definition Disclosure of entity's operating segments [Abstract] + References No definition available. + Details
Name: | agi_DisclosureofentitysoperatingsegmentsAbstract
Namespace Prefix: | agi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Geographical Areas + References No definition available. + Details
Name: | agi_NumberofGeographicalAreas
Namespace Prefix: | agi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant