XML 78 R98.htm IDEA: XBRL DOCUMENT v2.4.1.9
Employee Benefits - (Details) (USD $)
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Defined Contribution Plan Disclosure [Line Items]      
Defined Contribution Plan Wage Base $ 260,000agm_DefinedContributionPlanWageBase $ 255,000agm_DefinedContributionPlanWageBase $ 250,000agm_DefinedContributionPlanWageBase
Deferred Compensation Arrangement with Individual, Requisite Service Period 3 years    
Defined Contribution Plan, Cost Recognized $ 1,200,000us-gaap_DefinedContributionPlanCostRecognized $ 1,100,000us-gaap_DefinedContributionPlanCostRecognized $ 900,000us-gaap_DefinedContributionPlanCostRecognized
Base Percentage [Member]      
Defined Contribution Plan Disclosure [Line Items]      
Employer contribution percentage to retirement plan 13.20%agm_Employercontributionpercentagetoretirementplan
/ us-gaap_DefinedContributionPlanNameAxis
= agm_BasePercentageMember
   
Excess Percentage for amounts above Social Security taxable wage base] [Member]      
Defined Contribution Plan Disclosure [Line Items]      
Employer contribution percentage to retirement plan 5.70%agm_Employercontributionpercentagetoretirementplan
/ us-gaap_DefinedContributionPlanNameAxis
= agm_ExcessPercentageforamountsaboveSocialSecuritytaxablewagebaseMember