XML 44 R34.htm IDEA: XBRL DOCUMENT v2.4.1.9
Fair Value of Financial Instruments (Details) (USD $)
In Thousands, unless otherwise specified
Mar. 31, 2015
Dec. 31, 2014
Mar. 31, 2014
Investment Securities Available-for-Sale [Abstract]      
Fair/Book Value, Total $ 365,184us-gaap_AvailableForSaleSecurities $ 366,542us-gaap_AvailableForSaleSecurities $ 399,743us-gaap_AvailableForSaleSecurities
Investment Securities Held-to-Maturity [Abstract]      
Fair Value 64,218us-gaap_HeldToMaturitySecuritiesFairValue 64,635us-gaap_HeldToMaturitySecuritiesFairValue 66,109us-gaap_HeldToMaturitySecuritiesFairValue
Carrying Amount [Member]      
Assets [Abstract]      
Cash and Cash Equivalents 143,936us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
77,125us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
173,727us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Investment Securities Available-for-Sale [Abstract]      
Government Agency & Government-Sponsored Entities 68,132fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
78,109fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
18,426fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
US Treasury Notes 19,966fmcb_USTreasuryNotesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
   
Mortgage Backed Securities 276,601us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
287,948us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
329,730us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Corporate Securities     49,352fmcb_CorporateSecuritiesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Other 485fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
485fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
2,235fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Fair/Book Value, Total 365,184us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
366,542us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
399,743us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Investment Securities Held-to-Maturity [Abstract]      
Obligations of States and Political Subdivisions 61,324fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
61,716fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
62,890fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Mortgage Backed Securities     4us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Other 2,139fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
2,147fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
2,761fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Fair Value 63,463us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
63,863us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
65,655us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
FHLB Stock 7,677us-gaap_InvestmentInFederalHomeLoanBankStockFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
7,677us-gaap_InvestmentInFederalHomeLoanBankStockFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
7,187us-gaap_InvestmentInFederalHomeLoanBankStockFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Loans & Leases, Net of Deferred Fees & Allowance [Abstract]      
Commercial Real Estate 521,596fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
484,061fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
396,439fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Agricultural Real Estate 344,965fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
353,022fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
322,725fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Real Estate Construction 99,700fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
94,850fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
54,674fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Residential 1st Mortgages 181,758fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
170,858fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
154,994fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Home Equity Lines and Loans 29,628fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
30,591fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
31,641fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Agricultural 211,629fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
275,859fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
199,627fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Commercial 227,200fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
222,624fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
149,376fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Consumer & Other 4,703fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
4,501fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
4,550fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Leases 48,347fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
42,006fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
17,247fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Unallocated Allowance (3,146)fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
(1,529)fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
(2,520)fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Total Loans & Leases, Net of Deferred Fees & Allowance 1,666,380us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
1,676,843us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
1,328,753us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Accrued Interest Receivable 7,324fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
7,797fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
6,732fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Deposits [Abstract]      
Demand 578,820fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
610,133fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
489,786fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Interest Bearing Transaction 340,045fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
341,397fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
287,174fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Savings and Money Market 699,308fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
644,260fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
639,370fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Time 493,600fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
468,283fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
424,284fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Total Deposits 2,111,773us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
2,064,073us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
1,840,614us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Subordinated Debentures 10,310fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
10,310fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
10,310fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Accrued Interest Payable 433fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
378fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
345fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_CarryingReportedAmountFairValueDisclosureMember
Estimated Fair Value [Member]      
Assets [Abstract]      
Cash and Cash Equivalents 143,936us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
77,125us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
173,727us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Investment Securities Available-for-Sale [Abstract]      
Government Agency & Government-Sponsored Entities 68,132fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
78,109fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
18,426fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
US Treasury Notes 19,966fmcb_USTreasuryNotesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
   
Mortgage Backed Securities 276,601us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
287,948us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
329,730us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Corporate Securities     49,352fmcb_CorporateSecuritiesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Other 485fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
485fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
2,235fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Fair/Book Value, Total 365,184us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
366,542us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
399,743us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Investment Securities Held-to-Maturity [Abstract]      
Obligations of States and Political Subdivisions 62,079fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
62,488fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
63,344fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Mortgage Backed Securities     4us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Other 2,139fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
2,147fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
2,761fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Fair Value 64,218us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
64,635us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
66,109us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Loans & Leases, Net of Deferred Fees & Allowance [Abstract]      
Commercial Real Estate 519,698fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
481,037fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
397,090fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Agricultural Real Estate 346,742fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
353,288fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
326,210fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Real Estate Construction 99,861fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
95,022fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
55,040fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Residential 1st Mortgages 185,210fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
173,916fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
157,714fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Home Equity Lines and Loans 31,332fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
32,456fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
33,994fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Agricultural 210,769fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
274,195fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
198,836fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Commercial 224,783fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
222,175fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
149,450fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Consumer & Other 4,747fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
4,535fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
4,599fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Leases 48,779fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
40,298fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
17,080fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Unallocated Allowance (3,146)fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
(1,529)fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
(2,520)fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Total Loans & Leases, Net of Deferred Fees & Allowance 1,668,775us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
1,675,393us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
1,337,493us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Accrued Interest Receivable 7,324fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
7,797fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
6,732fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Deposits [Abstract]      
Demand 578,820fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
610,133fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
489,786fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Interest Bearing Transaction 340,045fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
341,397fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
287,174fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Savings and Money Market 699,308fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
644,260fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
639,370fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Time 493,600fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
468,161fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
424,568fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Total Deposits 2,111,773us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
2,063,951us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
1,840,898us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Subordinated Debentures 6,250fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
6,227fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
6,220fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Accrued Interest Payable 433fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
378fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
345fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Estimated Fair Value [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member]      
Assets [Abstract]      
Cash and Cash Equivalents 143,936us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
77,125us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
173,727us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Investment Securities Available-for-Sale [Abstract]      
Government Agency & Government-Sponsored Entities 0fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
10,005fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
13,399fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
US Treasury Notes 0fmcb_USTreasuryNotesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
   
Mortgage Backed Securities 0us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Corporate Securities     7,966fmcb_CorporateSecuritiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Other 175fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
175fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
1,925fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Fair/Book Value, Total 175us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
10,180us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
23,290us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Investment Securities Held-to-Maturity [Abstract]      
Obligations of States and Political Subdivisions 0fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Mortgage Backed Securities     0us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Other 0fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Fair Value 0us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Loans & Leases, Net of Deferred Fees & Allowance [Abstract]      
Commercial Real Estate 0fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Agricultural Real Estate 0fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Real Estate Construction 0fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Residential 1st Mortgages 0fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Home Equity Lines and Loans 0fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Agricultural 0fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Commercial 0fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Consumer & Other 0fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Leases   0fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Unallocated Allowance 0fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Total Loans & Leases, Net of Deferred Fees & Allowance 0us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Accrued Interest Receivable 0fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Deposits [Abstract]      
Demand 578,820fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
610,133fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
489,786fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Interest Bearing Transaction 340,045fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
341,397fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
287,174fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Savings and Money Market 699,308fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
644,260fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
639,370fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Time 0fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Total Deposits 1,618,173us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
1,595,790us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
1,416,330us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Subordinated Debentures 0fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Accrued Interest Payable 0fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Estimated Fair Value [Member] | Other Observable Inputs (Level 2) [Member]      
Assets [Abstract]      
Cash and Cash Equivalents 0us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Investment Securities Available-for-Sale [Abstract]      
Government Agency & Government-Sponsored Entities 68,132fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
68,104fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
5,027fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
US Treasury Notes 19,966fmcb_USTreasuryNotesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
   
Mortgage Backed Securities 276,601us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
287,948us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
329,730us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Corporate Securities     41,386fmcb_CorporateSecuritiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Other 310fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
310fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
310fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Fair/Book Value, Total 365,009us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
356,362us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
376,453us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Investment Securities Held-to-Maturity [Abstract]      
Obligations of States and Political Subdivisions 48,583fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
49,085fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
49,348fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Mortgage Backed Securities     4us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Other 2,139fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
2,147fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
2,761fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Fair Value 50,722us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
51,232us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
52,113us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Loans & Leases, Net of Deferred Fees & Allowance [Abstract]      
Commercial Real Estate 0fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Agricultural Real Estate 0fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Real Estate Construction 0fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Residential 1st Mortgages 0fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Home Equity Lines and Loans 0fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Agricultural 0fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Commercial 0fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Consumer & Other 0fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Leases   0fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Unallocated Allowance 0fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Total Loans & Leases, Net of Deferred Fees & Allowance 0us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Accrued Interest Receivable 7,324fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
7,797fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
6,732fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Deposits [Abstract]      
Demand 0fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Interest Bearing Transaction 0fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Savings and Money Market 0fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Time 493,600fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
468,161fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
424,568fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Total Deposits 493,600us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
468,161us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
424,568us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Subordinated Debentures 6,250fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
6,227fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
6,220fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Accrued Interest Payable 433fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
378fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
345fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Estimated Fair Value [Member] | Significant Unobservable Inputs (Level 3) [Member]      
Assets [Abstract]      
Cash and Cash Equivalents 0us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_CashAndCashEquivalentsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Investment Securities Available-for-Sale [Abstract]      
Government Agency & Government-Sponsored Entities 0fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
US Treasury Notes 0fmcb_USTreasuryNotesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
   
Mortgage Backed Securities 0us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Corporate Securities     0fmcb_CorporateSecuritiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Other 0fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_OtherAvailableForSaleFairValueDisclosures
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Fair/Book Value, Total 0us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_AvailableForSaleSecurities
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Investment Securities Held-to-Maturity [Abstract]      
Obligations of States and Political Subdivisions 13,496fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
13,403fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
13,996fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Mortgage Backed Securities     0us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Other 0fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_OtherHeldToMaturityFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Fair Value 13,496us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
13,403us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
13,996us-gaap_HeldToMaturitySecuritiesFairValue
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Loans & Leases, Net of Deferred Fees & Allowance [Abstract]      
Commercial Real Estate 519,698fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
481,037fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
397,090fmcb_CommercialRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Agricultural Real Estate 346,742fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
353,288fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
326,210fmcb_AgriculturalRealEstateFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Real Estate Construction 99,861fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
95,022fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
55,040fmcb_RealEstateConstructionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Residential 1st Mortgages 185,210fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
173,916fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
157,714fmcb_ResidentialFirstMortgagesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Home Equity Lines and Loans 31,332fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
32,456fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
33,994fmcb_HomeEquityLinesAndLoansFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Agricultural 210,769fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
274,195fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
198,836fmcb_AgriculturalFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Commercial 224,783fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
222,175fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
149,450fmcb_CommercialFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Consumer & Other 4,747fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
4,535fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
4,599fmcb_ConsumerOtherFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Leases 48,779fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
40,298fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
17,080fmcb_LeasesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Unallocated Allowance (3,146)fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
(1,529)fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
(2,520)fmcb_UnallocatedAllowanceFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Total Loans & Leases, Net of Deferred Fees & Allowance 1,668,775us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
1,675,393us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
1,337,493us-gaap_LoansReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Accrued Interest Receivable 0fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_AccruedInterestReceivableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Deposits [Abstract]      
Demand 0fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_DemandFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Interest Bearing Transaction 0fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_InterestBearingTransactionFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Savings and Money Market 0fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_SavingsAndMoneyMarketFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Time 0fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_TimeFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Total Deposits 0us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0us-gaap_DepositsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Subordinated Debentures 0fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
0fmcb_SubordinatedDebenturesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
Accrued Interest Payable $ 0fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
$ 0fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember
$ 0fmcb_AccruedInterestPayableFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FairValueByMeasurementBasisAxis
= us-gaap_EstimateOfFairValueFairValueDisclosureMember