XML 112 R81.htm IDEA: XBRL DOCUMENT
v3.23.1

Financial Instruments and Risk Management (Revolving Credit Facility) (Details) |  | 12 Months Ended
--- | --- | ---
Sep. 21, 2017 USD ($) | Dec. 31, 2022 USD ($)
Debt and Financing Obligations [Line Items] |  |
Uncommitted accordion feature |  | $ 100,000,000
Line of credit, additional borrowing increase to capacity |  | 600,000,000
Revolving Credit Facility |  |
Debt and Financing Obligations [Line Items] |  |
Minimum interest coverage ratio | 3.0 |
Maximum net leverage ratio | 3.5 |
Payments for debt issue costs |  | $ 800,000
Bottom of range | Revolving Credit Facility |  |
Debt and Financing Obligations [Line Items] |  |
Commitment fee | 0.42% |
Top of range | Revolving Credit Facility |  |
Debt and Financing Obligations [Line Items] |  |
Line of credit facility, maximum borrowing capacity | $ 500,000,000 |
LIBOR | Bottom of range | Revolving Credit Facility - Drawn Amounts |  |
Debt and Financing Obligations [Line Items] |  |
Borrowings, adjustment to interest rate basis | 1.875% |

X
- Definition [Line Items] for Debt and Financing Obligations [Table] + References No definition available. + Details
Name: | agi_DebtandFinancingObligationsLineItems
Namespace Prefix: | agi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of Credit Facility, Additional Borrowing Capacity + References No definition available. + Details
Name: | agi_LineOfCreditFacilityAdditionalBorrowingCapacity
Namespace Prefix: | agi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line of Credit Facility, Uncommitted Accordion Feature + References No definition available. + Details
Name: | agi_LineOfCreditFacilityUncommittedAccordionFeature
Namespace Prefix: | agi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line Of Credit Facility Unused Capacity Commitment Fee Percentage1 + References No definition available. + Details
Name: | agi_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage1
Namespace Prefix: | agi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line of Credit Facility, Maximum Borrowing Capacity1 + References No definition available. + Details
Name: | agi_LineofCreditFacilityMaximumBorrowingCapacity1
Namespace Prefix: | agi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum Net Leverage Ratio + References No definition available. + Details
Name: | agi_MaximumNetLeverageRatio
Namespace Prefix: | agi_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum Interest Coverage Ratio + References No definition available. + Details
Name: | agi_MinimumInterestCoverageRatio
Namespace Prefix: | agi_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition The adjustment to the basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_BorrowingsAdjustmentToInterestRateBasis
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash outflow for debt issue costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 17 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PaymentsForDebtIssueCosts
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=agi_LondonInterbankOfferedRateLIBOR1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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