XML 60 R46.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Accounting Policies - New Accounting Standards (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Accounting Policies [Abstract] |  |  |
Excess Tax Benefits from Share-Based Compensation | $ 860 | $ 0 | $ 0
Payments Related to Tax Withholding for Share-based Compensation | 2,536 | $ 4,103 | $ 543
Reclass of Stranded Tax Effects from AOCI to Retained Earnings | $ 0 |  |

X
- Definition Excess Tax Benefits from Share-Based Compensation + References No definition available. + Details
Name: | agm_ExcessTaxBenefitsfromShareBasedCompensation
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reclass of Stranded Tax Effects from AOCI to Retained Earnings related to ASU 2018-02 + References No definition available. + Details
Name: | agm_ReclassofStrandedTaxEffectsfromAOCItoRetainedEarnings
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow to satisfy an employee's income tax withholding obligation as part of a net-share settlement of a share-based award. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 25 -Paragraph 19A -URI http://asc.fasb.org/extlink&oid=96949009&loc=SL79513924-113897 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration