XML 32 R21.htm IDEA: XBRL DOCUMENT
v3.5.0.2

Asset Purchases - Additional Information (Detail) - USD ($) $ in Thousands | 9 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Sep. 30, 2016 | Sep. 30, 2015 | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 13, 2013 | Jul. 09, 2010
Business Acquisition [Line Items] |  |  |  |  |  |
Amortization expense | $ 242 | $ 242 |  | $ 323 |  |
Scenario, Forecast [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Amortization expense |  |  | $ 322 |  |  |
Custar [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Recognition of core deposit intangible asset with acquired purchase |  |  |  |  | $ 1,170 |
Number of years amortized over an estimated remaining economic useful life of deposits |  |  |  |  | 7 years |
Hicksville [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Recognition of core deposit intangible asset with acquired purchase |  |  |  |  |  | $ 1,090
Number of years amortized over an estimated remaining economic useful life of deposits | 7 years |  |  |  |  |

X
- Definition Amortized over estimated remaining economic useful life of deposits term. + References No definition available. + Details
Name: | fmao_AmortizedOverEstimatedRemainingEconomicUsefulLifeOfDepositsTerm
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Recognition of core deposit intangible asset with acquired purchase. + References No definition available. + Details
Name: | fmao_RecognitionOfCoreDepositIntangibleAssetWithAcquiredPurchase
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_AmortizationOfIntangibleAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementScenarioAxis=us-gaap_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_CustarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=fmao_HicksvilleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |