XML 61 R43.htm IDEA: XBRL DOCUMENT
v3.22.4

Management of Capital (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
Disclosure of objectives, policies and processes for managing capital [abstract] |
Schedule of Managed Capital |
| December 31, 2022 | December 31, 2021
Shareholder's equity | $2,721.1 |  | $2,735.6 |

X
- Definition Schedule of Managed Capital [Table Text Block] + References No definition available. + Details
Name: | agi_ScheduleofManagedCapitalTableTextBlock
Namespace Prefix: | agi_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | ifrs-full_DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration