2.4.0.8090304 - Disclosure - Allowance for Credit Losses, Aging Analysis of Loan Portfolio by the Time Past Due (Details)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$c20130630http://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$c20121231http://www.sec.gov/CIK0001085913instant2012-12-31T00:00:000001-01-01T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$c20120630http://www.sec.gov/CIK0001085913instant2012-06-30T00:00:000001-01-01T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse169000169USD$falsetruefalse2truefalsefalse547000547USD$falsetruefalse3truefalsefalse30030003003USD$falsetruefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false23false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false24false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse1042700010427USD$falsefalsefalse2truefalsefalse92980009298USD$falsefalsefalse3truefalsefalse30150003015USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false25false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1059600010596USD$falsefalsefalse2truefalsefalse98450009845USD$falsefalsefalse3truefalsefalse60180006018USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true26false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse12844600001284460USD$falsefalsefalse2truefalsefalse12370570001237057USD$falsefalsefalse3truefalsefalse11979760001197976USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false27false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse12950560001295056USD$falsefalsefalse2truefalsefalse12469020001246902USD$falsefalsefalse3truefalsefalse12039940001203994USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true28false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falseUSDtruefalse$c20130630_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CommercialRealEstateMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCommercial Real Estate [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialRealEstateMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse09true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse010false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse150000150USD$falsefalsefalse3truefalsefalse105000105USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false211false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false212false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse28730002873USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false213false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse28730002873USD$falsefalsefalse2truefalsefalse150000150USD$falsefalsefalse3truefalsefalse105000105USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true214false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse390286000390286USD$falsefalsefalse2truefalsefalse350398000350398USD$falsefalsefalse3truefalsefalse324690000324690USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false215false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse393159000393159USD$falsefalsefalse2truefalsefalse350548000350548USD$falsefalsefalse3truefalsefalse324795000324795USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true216false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse7falseUSDtruefalse$c20130630_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_AgriculturalRealEstateMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAgricultural Real Estate [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldifmcb_AgriculturalRealEstateMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse017true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false219false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false220false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse58170005817USD$falsefalsefalse2truefalsefalse54230005423USD$falsefalsefalse3truefalsefalse15120001512USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false221false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse58170005817USD$falsefalsefalse2truefalsefalse54230005423USD$falsefalsefalse3truefalsefalse15120001512USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true222false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse306771000306771USD$falsefalsefalse2truefalsefalse306569000306569USD$falsefalsefalse3truefalsefalse284118000284118USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false223false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse312588000312588USD$falsefalsefalse2truefalsefalse311992000311992USD$falsefalsefalse3truefalsefalse285630000285630USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true224false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse10falseUSDtruefalse$c20130630_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CommercialRealEstateConstructionFinancingReceivableMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseReal Estate Construction [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialRealEstateConstructionFinancingReceivableMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse025true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse026false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false227false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false228false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false229false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true230false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse3271800032718USD$falsefalsefalse2truefalsefalse3268000032680USD$falsefalsefalse3truefalsefalse3603300036033USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false231false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse3271800032718USD$falsefalsefalse2truefalsefalse3268000032680USD$falsefalsefalse3truefalsefalse3603300036033USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true232false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse13falseUSDtruefalse$c20130630_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_ResidentialFirstMortgagesMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseResidential 1st Mortgages [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldifmcb_ResidentialFirstMortgagesMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse033true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse034false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse2300023USD$falsefalsefalse3truefalsefalse1100011USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false235false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false236false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse202000202USD$falsefalsefalse2truefalsefalse445000445USD$falsefalsefalse3truefalsefalse452000452USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false237false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse202000202USD$falsefalsefalse2truefalsefalse468000468USD$falsefalsefalse3truefalsefalse463000463USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true238false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse136271000136271USD$falsefalsefalse2truefalsefalse139789000139789USD$falsefalsefalse3truefalsefalse122590000122590USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false239false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse136473000136473USD$falsefalsefalse2truefalsefalse140257000140257USD$falsefalsefalse3truefalsefalse123053000123053USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true240false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse16falseUSDtruefalse$c20130630_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_HomeEquityMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseHome Equity Lines & Loans [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_HomeEquityMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse041true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse042false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse152000152USD$falsefalsefalse2truefalsefalse7000070USD$falsefalsefalse3truefalsefalse132000132USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false243false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false244false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse243000243USD$falsefalsefalse2truefalsefalse213000213USD$falsefalsefalse3truefalsefalse346000346USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false245false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse395000395USD$falsefalsefalse2truefalsefalse283000283USD$falsefalsefalse3truefalsefalse478000478USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true246false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse3710300037103USD$falsefalsefalse2truefalsefalse4175900041759USD$falsefalsefalse3truefalsefalse4580600045806USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false247false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse3749800037498USD$falsefalsefalse2truefalsefalse4204200042042USD$falsefalsefalse3truefalsefalse4628400046284USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true248false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse19falseUSDtruefalse$c20130630_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_AgriculturalMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAgricultural [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldifmcb_AgriculturalMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse049true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse050false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse23840002384USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false251false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false252false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse997000997USD$falsefalsefalse2truefalsefalse31980003198USD$falsefalsefalse3truefalsefalse587000587USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false253false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse997000997USD$falsefalsefalse2truefalsefalse31980003198USD$falsefalsefalse3truefalsefalse29710002971USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true254false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse213763000213763USD$falsefalsefalse2truefalsefalse217834000217834USD$falsefalsefalse3truefalsefalse207809000207809USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false255false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse214760000214760USD$falsefalsefalse2truefalsefalse221032000221032USD$falsefalsefalse3truefalsefalse210780000210780USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true256false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse22falseUSDtruefalse$c20130630_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_CommercialLoanMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCommercial [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialLoanMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse057true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse058false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse10001USD$falsefalsefalse2truefalsefalse293000293USD$falsefalsefalse3truefalsefalse327000327USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false259false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false260false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse277000277USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse9700097USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false261false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse278000278USD$falsefalsefalse2truefalsefalse293000293USD$falsefalsefalse3truefalsefalse424000424USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true262false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse159369000159369USD$falsefalsefalse2truefalsefalse143000000143000USD$falsefalsefalse3truefalsefalse171197000171197USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false263false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse159647000159647USD$falsefalsefalse2truefalsefalse143293000143293USD$falsefalsefalse3truefalsefalse171621000171621USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true264false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse25falseUSDtruefalse$c20130630_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_ConsumerLoanMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseConsumer & Other [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConsumerLoanMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse065true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse066false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1600016USD$falsefalsefalse2truefalsefalse1100011USD$falsefalsefalse3truefalsefalse4400044USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false267false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false268false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse1800018USD$falsefalsefalse2truefalsefalse1900019USD$falsefalsefalse3truefalsefalse2100021USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false269false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse3400034USD$falsefalsefalse2truefalsefalse3000030USD$falsefalsefalse3truefalsefalse6500065USD$falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true270false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse55120005512USD$falsefalsefalse2truefalsefalse50280005028USD$falsefalsefalse3truefalsefalse57330005733USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false271false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse55460005546USD$falsefalsefalse2truefalsefalse50580005058USD$falsefalsefalse3truefalsefalse57980005798USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true272false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse28falseUSDtruefalse$c20130630_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_FinanceLeasesFinancingReceivableMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseLeases [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FinanceLeasesFinancingReceivableMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse073true3us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse074false4fmcb_FinancingReceivableRecordedInvestment30To89DaysPastDuefmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are less than 90 days past due but more than 29 days past due.No definition available.false275false4us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruingus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are 90 days or more past due and still accruing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false276false4us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatusus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded investment in financing receivables that are on nonaccrual status as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5111-111524
false277false4us-gaap_FinancingReceivableRecordedInvestmentPastDueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRecorded Investment in financing receivables that are past due at the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
true278false4us-gaap_FinancingReceivableRecordedInvestmentCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse26670002667USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFinancing receivables that are current.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 7A
-URI http://asc.fasb.org/extlink&oid=7512638&loc=SL6953401-111524
false279false4us-gaap_LoansAndLeasesReceivableNetOfDeferredIncomeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse26670002667USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before allowance and after deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6375948&loc=d3e4428-111522
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Statement of Position (SOP)
-Number 01-6
-Paragraph 13
-Subparagraph e
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Subparagraph e
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Audit and Accounting Guide (AAG)
-Number AAG-DEP
-Paragraph 116
-IssueDate 2006-05-01
-Chapter 8
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
true2falseAllowance for Credit Losses, Aging Analysis of Loan Portfolio by the Time Past Due (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://fmbonline.com/role/AllowanceForCreditLossesAgingAnalysisOfLoanPortfolioByTimePastDueDetails379