XML 42 R30.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Accounting Policies - Changes in Accumulated Other Comprehensive Income, Net of Tax (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended |  |
--- | --- | --- | --- | ---
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | Dec. 31, 2017 | Dec. 31, 2016
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |  |  |
Beginning Balance | $ 73,410 | $ 42,428 | $ 51,085 | $ 33,758 |  |
Cumulative Effect of New Accounting Principle in Period of Adoption |  |  |  |  | $ 27 | $ 0
Accumulated Other Comprehensive Income, Net of Tax, Adjusted Balance |  |  |  |  | 51,112 | 33,758
Other comprehensive (loss)/income before reclassifications | (7,285) | 2,201 | 19,943 | 19,189 |  |
Amounts reclassified from AOCI | (2,124) | (3,834) | (7,054) | (12,152) |  |
Net comprehensive (loss)/income | (9,409) | (1,633) | 12,889 | 7,037 |  |
Ending Balance | 64,001 | 40,795 | 64,001 | 40,795 |  |
Accumulated Net Investment Gain (Loss) Including Portion Attributable to Noncontrolling Interest [Member] | Available-for-sale Securities [Member] |  |  |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |  |  |
Beginning Balance | 15,882 | (1,276) | (1,676) | (14,387) |  |
Cumulative Effect of New Accounting Principle in Period of Adoption |  |  |  |  | 0 | 0
Accumulated Other Comprehensive Income, Net of Tax, Adjusted Balance |  |  |  |  | (1,676) | (14,387)
Other comprehensive (loss)/income before reclassifications | (9,947) | 2,298 | 10,450 | 20,711 |  |
Amounts reclassified from AOCI | (755) | (2,875) | (3,594) | (8,177) |  |
Net comprehensive (loss)/income | (10,702) | (577) | 6,856 | 12,534 |  |
Ending Balance | 5,180 | (1,853) | 5,180 | (1,853) |  |
Accumulated Net Investment Gain (Loss) Including Portion Attributable to Noncontrolling Interest [Member] | Held-to-maturity Securities [Member] |  |  |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |  |  |
Beginning Balance | 45,979 | 42,104 | 48,236 | 45,752 |  |
Cumulative Effect of New Accounting Principle in Period of Adoption |  |  |  |  | 0 | 0
Accumulated Other Comprehensive Income, Net of Tax, Adjusted Balance |  |  |  |  | 48,236 | 45,752
Other comprehensive (loss)/income before reclassifications | 0 | 0 | 0 | 0 |  |
Amounts reclassified from AOCI | (1,220) | (1,221) | (3,477) | (4,869) |  |
Net comprehensive (loss)/income | (1,220) | (1,221) | (3,477) | (4,869) |  |
Ending Balance | 44,759 | 40,883 | 44,759 | 40,883 |  |
Accumulated Net Gain (Loss) from Cash Flow Hedges Including Portion Attributable to Noncontrolling Interest [Member] |  |  |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |  |  |
Beginning Balance | 11,549 | 1,600 | 4,525 | 2,393 |  |
Cumulative Effect of New Accounting Principle in Period of Adoption |  |  |  |  | 27 | 0
Accumulated Other Comprehensive Income, Net of Tax, Adjusted Balance |  |  |  |  | $ 4,552 | $ 2,393
Other comprehensive (loss)/income before reclassifications | 2,662 | (97) | 9,493 | (1,522) |  |
Amounts reclassified from AOCI | (149) | 262 | 17 | 894 |  |
Net comprehensive (loss)/income | 2,513 | 165 | 9,510 | (628) |  |
Ending Balance | 14,062 | 1,765 | 14,062 | 1,765 |  |
Reclassification out of Accumulated Other Comprehensive Income [Member] | Gain (Loss) on Derivative Instruments [Member] | Accumulated Net Investment Gain (Loss) Including Portion Attributable to Noncontrolling Interest [Member] | Available-for-sale Securities [Member] |  |  |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |  |  |
Reclassification from AOCI, Current Period, Tax | 0 | (1,514) | 0 | (4,365) |  |
Amounts reclassified from AOCI | 0 | 2,812 | 0 | 8,105 |  |
Reclassification from Accumulated Other Comprehensive Income, Current Period, before Tax | 0 | (4,326) | 0 | (12,470) |  |
Reclassification out of Accumulated Other Comprehensive Income [Member] | Gain (Loss) on Investments [Member] | Accumulated Net Investment Gain (Loss) Including Portion Attributable to Noncontrolling Interest [Member] | Available-for-sale Securities [Member] |  |  |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |  |  |
Reclassification from AOCI, Current Period, Tax | 0 | (31) | 0 | (31) |  |
Amounts reclassified from AOCI | 0 | 58 | 0 | 58 |  |
Reclassification from Accumulated Other Comprehensive Income, Current Period, before Tax | $ 0 | $ (89) | $ 0 | $ (89) |  |

X
- Definition Accumulated Other Comprehensive Income, Net of Tax, Adjusted Balance for retrospective adjustment upon adoption of new accounting standard. + References No definition available. + Details
Name: | agm_AccumulatedOtherComprehensiveIncomeNetofTaxAdjustedBalance
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=84228862&loc=d3e637-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=84228862&loc=d3e681-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669686-108580 + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount after tax of increase (decrease) to equity or (increase) decrease to net assets, resulting from the cumulative effect adjustment of a new accounting principle applied in the period of adoption. + References No definition available. + Details
Name: | us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount after tax, before reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 55 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=84158357&loc=d3e1436-108581 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669686-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax and reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669619-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669625-108580 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 55 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=84158357&loc=d3e1436-108581 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount before tax of reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669686-108580 + Details
Name: | us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after tax of reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669686-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 55 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=84158357&loc=d3e1436-108581 + Details
Name: | us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 11 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=79507043&loc=d3e39076-109324 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84228862&loc=d3e640-108580 + Details
Name: | us-gaap_ReclassificationFromAociCurrentPeriodTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_AvailableforsaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_HeldtomaturitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis=us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GainLossOnDerivativeInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GainLossOnInvestmentsMember1
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |