2.4.0.8090400 - Disclosure - Fair Value Measurements (Details)truefalsefalse1false USDfalsefalse$c20130401to20130630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel3Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsRecurringMemberhttp://www.sec.gov/CIK0001085913duration2013-04-01T00:00:002013-06-30T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$c20120401to20120630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel3Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsRecurringMemberhttp://www.sec.gov/CIK0001085913duration2012-04-01T00:00:002012-06-30T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$c20130101to20130630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel3Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsRecurringMemberhttp://www.sec.gov/CIK0001085913duration2013-01-01T00:00:002013-06-30T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false USDfalsefalse$c20120101to20120630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel3Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsRecurringMemberhttp://www.sec.gov/CIK0001085913duration2012-01-01T00:00:002012-06-30T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5false USDfalsefalse$c20121231_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel3Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsRecurringMemberhttp://www.sec.gov/CIK0001085913instant2012-12-31T00:00:000001-01-01T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 5fmcb_OtherRealEstateFairValueDisclosureAbstractfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 5fmcb_ImpairedLoansWithPartialChargeOffOrWhereAllowanceWasEstablishedfmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse25000002500000USD$falsetruefalse2truefalsefalse560000560000USD$falsetruefalse3truefalsefalse25000002500000USD$falsetruefalse4truefalsefalse560000560000USD$falsetruefalse5truefalsefalse17000001700000USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of impaired loans with a partial charge-off or where an allowance was established.No definition available.false23false 5us-gaap_RealEstateOwnedValuationAllowanceComponentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse37000003700000USD$falsefalsefalse2truefalsefalse41000004100000USD$falsefalsefalse3truefalsefalse37000003700000USD$falsefalsefalse4truefalsefalse41000004100000USD$falsefalsefalse5truefalsefalse41000004100000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe valuation allowance loss on real estate owned or any impairment losses taken against real estate investments held for use or resale.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 35 -Paragraph 43 -URI http://asc.fasb.org/extlink&oid=16397438&loc=d3e1739-110224 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.10(4)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 35 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=16397438&loc=d3e1424-110224 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 10 -Subparagraph 4 -Article 9 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 144 -Paragraph 7, 34 -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 6: http://www.xbrl.org/2003/role/presentationRef -Publisher OTS -Name Federal Regulation (FR) -Number Title 12 -Section 563c.102 -Paragraph 10 -Subparagraph b -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 7: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-DEP -Paragraph 6, 20 -IssueDate 2006-05-01 -Chapter 11 -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. false24false 5fmcb_AllowanceForCreditLossesImpairedLoansWithSpecificReservesOrPartialChargeOffsfmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse13000001300000USD$falsefalsefalse2truefalsefalse915000915000USD$falsefalsefalse3truefalsefalse13000001300000USD$falsefalsefalse4truefalsefalse915000915000USD$falsefalsefalse5truefalsefalse14000001400000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAllowance for credit losses for impaired loans with specific reserves or partial charge-offs.No definition available.false25false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse4false USDtruefalse$c20130630_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsRecurringMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRecurring [Member]us-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsRecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse06true 5us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse07false 6fmcb_GovernmentAgencyGovernmentSponsoredEntitiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2648200026482000USD$falsefalsefalse2truefalsefalse5707800057078000USD$falsefalsefalse3truefalsefalse2648200026482000USD$falsefalsefalse4truefalsefalse5707800057078000USD$falsefalsefalse5truefalsefalse2682300026823000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. Government Agencies Debentures, notes and other debt securities issued by US government agencies, for example but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae) which have been categorized as available-for-sale. Excludes US treasury Securities. Government Sponsored Entities (GESs) Debentures, bonds and other debt securities issued by US government sponsored entities, for example, but not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB) which have been categorized as available-for-sale.No definition available.false28false 6fmcb_ObligationOfStatesAndPoliticalSubdivisionsFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse56120005612000USD$falsefalsefalse2truefalsefalse57240005724000USD$falsefalsefalse3truefalsefalse56120005612000USD$falsefalsefalse4truefalsefalse57240005724000USD$falsefalsefalse5truefalsefalse56650005665000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments., which have been categorized as available-for-sale.No definition available.false29false 6us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse392574000392574000USD$falsefalsefalse2truefalsefalse427637000427637000USD$falsefalsefalse3truefalsefalse392574000392574000USD$falsefalsefalse4truefalsefalse427637000427637000USD$falsefalsefalse5truefalsefalse352772000352772000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents securitized, pay-through debt securities collateralized by real estate mortgage loans (mortgages) as of the balance sheet date which have been categorized as available-for-sale.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-DEP -Paragraph 15 -IssueDate 2006-05-01 -Chapter 7 -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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Mortgage-Backed Securities -URI http://asc.fasb.org/extlink&oid=6517959 false210false 6fmcb_CorporateSecuritiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse4956000049560000USD$falsefalsefalse2truefalsefalse89950008995000USD$falsefalsefalse3truefalsefalse4956000049560000USD$falsefalsefalse4truefalsefalse89950008995000USD$falsefalsefalse5truefalsefalse2255800022558000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents corporate securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities.No definition available.false211false 6us-gaap_OtherAssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse11860001186000USD$falsefalsefalse2truefalsefalse24580002458000USD$falsefalsefalse3truefalsefalse11860001186000USD$falsefalsefalse4truefalsefalse24580002458000USD$falsefalsefalse5truefalsefalse1017300010173000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This element represents the fair value of assets categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false212false 5us-gaap_AvailableForSaleSecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse475414000475414000USD$falsefalsefalse2truefalsefalse501892000501892000USD$falsefalsefalse3truefalsefalse475414000475414000USD$falsefalsefalse4truefalsefalse501892000501892000USD$falsefalsefalse5truefalsefalse417991000417991000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents Available-for-sale Securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, US Treasury securities, US government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other things, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt. An entity may opt to provide the reader with additional narrative text to better understand the nature of investments in debt and equity securities which are categorized as Available-for-sale.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7534914&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 12 -Subparagraph b -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 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Available-for-Sale Securities -URI http://asc.fasb.org/extlink&oid=6505594 true213false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse7false USDtruefalse$c20130630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel1Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsRecurringMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRecurring [Member]us-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsRecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseQuoted Prices in Active Markets for Identical Assets (Level 1) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse014true 5us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse015false 6fmcb_GovernmentAgencyGovernmentSponsoredEntitiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2141600021416000USD$falsefalsefalse2truefalsefalse1072400010724000USD$falsefalsefalse3truefalsefalse2141600021416000USD$falsefalsefalse4truefalsefalse1072400010724000USD$falsefalsefalse5truefalsefalse2173100021731000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. Government Agencies Debentures, notes and other debt securities issued by US government agencies, for example but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae) which have been categorized as available-for-sale. Excludes US treasury Securities. Government Sponsored Entities (GESs) Debentures, bonds and other debt securities issued by US government sponsored entities, for example, but not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB) which have been categorized as available-for-sale.No definition available.false216false 6fmcb_ObligationOfStatesAndPoliticalSubdivisionsFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments., which have been categorized as available-for-sale.No definition available.false217false 6us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents securitized, pay-through debt securities collateralized by real estate mortgage loans (mortgages) as of the balance sheet date which have been categorized as available-for-sale.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-DEP -Paragraph 15 -IssueDate 2006-05-01 -Chapter 7 -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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Mortgage-Backed Securities -URI http://asc.fasb.org/extlink&oid=6517959 false218false 6fmcb_CorporateSecuritiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse81220008122000USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse81220008122000USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse40200004020000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents corporate securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities.No definition available.false219false 6us-gaap_OtherAssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse876000876000USD$falsefalsefalse2truefalsefalse21480002148000USD$falsefalsefalse3truefalsefalse876000876000USD$falsefalsefalse4truefalsefalse21480002148000USD$falsefalsefalse5truefalsefalse98630009863000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This element represents the fair value of assets categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false220false 5us-gaap_AvailableForSaleSecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse3041400030414000USD$falsefalsefalse2truefalsefalse1287200012872000USD$falsefalsefalse3truefalsefalse3041400030414000USD$falsefalsefalse4truefalsefalse1287200012872000USD$falsefalsefalse5truefalsefalse3561400035614000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents Available-for-sale Securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, US Treasury securities, US government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other things, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt. An entity may opt to provide the reader with additional narrative text to better understand the nature of investments in debt and equity securities which are categorized as Available-for-sale.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7534914&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 12 -Subparagraph b -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 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Available-for-Sale Securities -URI http://asc.fasb.org/extlink&oid=6505594 true221false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse10false USDtruefalse$c20130630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel2Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsRecurringMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRecurring [Member]us-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsRecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseOther Observable Inputs (Level 2) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse022true 5us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse023false 6fmcb_GovernmentAgencyGovernmentSponsoredEntitiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse50660005066000USD$falsefalsefalse2truefalsefalse4635400046354000USD$falsefalsefalse3truefalsefalse50660005066000USD$falsefalsefalse4truefalsefalse4635400046354000USD$falsefalsefalse5truefalsefalse50920005092000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. Government Agencies Debentures, notes and other debt securities issued by US government agencies, for example but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae) which have been categorized as available-for-sale. Excludes US treasury Securities. Government Sponsored Entities (GESs) Debentures, bonds and other debt securities issued by US government sponsored entities, for example, but not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB) which have been categorized as available-for-sale.No definition available.false224false 6fmcb_ObligationOfStatesAndPoliticalSubdivisionsFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments., which have been categorized as available-for-sale.No definition available.false225false 6us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse392574000392574000USD$falsefalsefalse2truefalsefalse427637000427637000USD$falsefalsefalse3truefalsefalse392574000392574000USD$falsefalsefalse4truefalsefalse427637000427637000USD$falsefalsefalse5truefalsefalse352772000352772000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents securitized, pay-through debt securities collateralized by real estate mortgage loans (mortgages) as of the balance sheet date which have been categorized as available-for-sale.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-DEP -Paragraph 15 -IssueDate 2006-05-01 -Chapter 7 -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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Mortgage-Backed Securities -URI http://asc.fasb.org/extlink&oid=6517959 false226false 6fmcb_CorporateSecuritiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse4143800041438000USD$falsefalsefalse2truefalsefalse89950008995000USD$falsefalsefalse3truefalsefalse4143800041438000USD$falsefalsefalse4truefalsefalse89950008995000USD$falsefalsefalse5truefalsefalse1853800018538000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents corporate securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities.No definition available.false227false 6us-gaap_OtherAssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse310000310000USD$falsefalsefalse2truefalsefalse310000310000USD$falsefalsefalse3truefalsefalse310000310000USD$falsefalsefalse4truefalsefalse310000310000USD$falsefalsefalse5truefalsefalse310000310000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This element represents the fair value of assets categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false228false 5us-gaap_AvailableForSaleSecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse439388000439388000USD$falsefalsefalse2truefalsefalse483296000483296000USD$falsefalsefalse3truefalsefalse439388000439388000USD$falsefalsefalse4truefalsefalse483296000483296000USD$falsefalsefalse5truefalsefalse376712000376712000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents Available-for-sale Securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, US Treasury securities, US government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other things, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt. An entity may opt to provide the reader with additional narrative text to better understand the nature of investments in debt and equity securities which are categorized as Available-for-sale.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7534914&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 12 -Subparagraph b -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 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Available-for-Sale Securities -URI http://asc.fasb.org/extlink&oid=6505594 true229false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse13false USDtruefalse$c20130401to20130630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel3Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsRecurringMemberhttp://www.sec.gov/CIK0001085913duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseRecurring [Member]us-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsRecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseSignificant Unobservable Inputs (Level 3) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse030true 5us-gaap_AssetsFairValueDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse031false 6fmcb_GovernmentAgencyGovernmentSponsoredEntitiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. Government Agencies Debentures, notes and other debt securities issued by US government agencies, for example but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae) which have been categorized as available-for-sale. Excludes US treasury Securities. Government Sponsored Entities (GESs) Debentures, bonds and other debt securities issued by US government sponsored entities, for example, but not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB) which have been categorized as available-for-sale.No definition available.false232false 6fmcb_ObligationOfStatesAndPoliticalSubdivisionsFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse56120005612000USD$falsefalsefalse2truefalsefalse57240005724000USD$falsefalsefalse3truefalsefalse56120005612000USD$falsefalsefalse4truefalsefalse57240005724000USD$falsefalsefalse5truefalsefalse56650005665000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments., which have been categorized as available-for-sale.No definition available.false233false 6us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents securitized, pay-through debt securities collateralized by real estate mortgage loans (mortgages) as of the balance sheet date which have been categorized as available-for-sale.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-DEP -Paragraph 15 -IssueDate 2006-05-01 -Chapter 7 -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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Mortgage-Backed Securities -URI http://asc.fasb.org/extlink&oid=6517959 false234false 6fmcb_CorporateSecuritiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents corporate securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities.No definition available.false235false 6us-gaap_OtherAssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This element represents the fair value of assets categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false236false 5us-gaap_AvailableForSaleSecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse56120005612000USD$falsefalsefalse2truefalsefalse57240005724000USD$falsefalsefalse3truefalsefalse56120005612000USD$falsefalsefalse4truefalsefalse57240005724000USD$falsefalsefalse5truefalsefalse56650005665000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents Available-for-sale Securities which consist of all investments in certain debt and equity securities neither classified as trading or held-to-maturity securities. A debt security represents a creditor relationship with an enterprise. Debt securities include, among other items, US Treasury securities, US government securities, municipal securities, corporate bonds, convertible debt, commercial paper, and all securitized debt instruments. An equity security represents an ownership interest in an enterprise or the right to acquire or dispose of an ownership interest in an enterprise at fixed or determinable prices. Equity securities include, among other things, common stock, certain preferred stock, warrant rights, call options, and put options, but do not include convertible debt. An entity may opt to provide the reader with additional narrative text to better understand the nature of investments in debt and equity securities which are categorized as Available-for-sale.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7534914&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 12 -Subparagraph b -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 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Available-for-Sale Securities -URI http://asc.fasb.org/extlink&oid=6505594 true237true 4us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse038false 5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse56430005643000USD$falsefalsefalse2truefalsefalse57530005753000USD$falsefalsefalse3truefalsefalse56650005665000USD$falsefalsefalse4truefalsefalse57820005782000USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents an asset measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 157 -Paragraph 32 -Subparagraph c -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. false239false 5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1us-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of gain (loss) recognized in earnings, arising from assets measured at fair value on a recurring basis using unobservable inputs (level 3).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 false240false 5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of gain (loss) recognized in other comprehensive income, arising from assets measured at fair value on a recurring basis using unobservable inputs (level 3).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1a) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 false241false 5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryPurchases that have taken place during the period in relation to assets measured at fair value and categorized within Level 3 of the fair value hierarchy.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 false242false 5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSalesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-31000-31000USD$falsefalsefalse2truefalsefalse-29000-29000USD$falsefalsefalse3truefalsefalse-53000-53000USD$falsefalsefalse4truefalsefalse-58000-58000USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetarySales that have taken place during the period in relation to assets measured at fair value and categorized within Level 3 of the fair value hierarchy.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 false243false 5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNetus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents [net] transfers in to and out of assets measured at fair value on a recurring basis using unobservable inputs (Level 3) which have taken place during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 157 -Paragraph 32 -Subparagraph c(3) -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. false244false 5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse56120005612000USD$falsefalsefalse2truefalsefalse57240005724000USD$falsefalsefalse3truefalsefalse56120005612000USD$falsefalsefalse4truefalsefalse57240005724000USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents an asset measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 157 -Paragraph 32 -Subparagraph c -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. false245false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse18false USDtruefalse$c20130630_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsNonrecurringMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNonrecurring [Member]us-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsNonrecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse046true 5us-gaap_LoanAndLeaseReceivablesImpairedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse047false 6fmcb_AgriculturalRealEstatesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse11430001143000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse11430001143000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure for other real estate related to loans secured by farmland.No definition available.false248false 6fmcb_Residential1StMortgageFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse283000283000USD$falsefalsefalse2truefalsefalse8600086000USD$falsefalsefalse3truefalsefalse283000283000USD$falsefalsefalse4truefalsefalse8600086000USD$falsefalsefalse5truefalsefalse235000235000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans to purchase or refinance residential real estate for example, but not limited to a home, in which the real estate itself serves as collateral for the loan.No definition available.false249false 6fmcb_HomeEquitiesLinesAndLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse184000184000USD$falsefalsefalse2truefalsefalse428000428000USD$falsefalsefalse3truefalsefalse184000184000USD$falsefalsefalse4truefalsefalse428000428000USD$falsefalsefalse5truefalsefalse462000462000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of revolving, open-end loan extended under a line of credit and secured by the borrower's residential property.No definition available.false250false 6fmcb_AgriculturalFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse672000672000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse672000672000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse10100001010000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans and lines of credit made to farmers to finance agricultural production.No definition available.false251false 6fmcb_CommercialLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse216000216000USD$falsefalsefalse2truefalsefalse4800048000USD$falsefalsefalse3truefalsefalse216000216000USD$falsefalsefalse4truefalsefalse4800048000USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of secured and unsecured loans for purposes such as seasonal working capital needs, inventory financing, equipment purchases and acquisitions.No definition available.false252false 6fmcb_ImpairedLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse24980002498000USD$falsefalsefalse2truefalsefalse562000562000USD$falsefalsefalse3truefalsefalse24980002498000USD$falsefalsefalse4truefalsefalse562000562000USD$falsefalsefalse5truefalsefalse17070001707000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents impaired loan receivable as presented on the statement of financial position which may include mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts, or any other loans which are due the Company as of the balance sheet date.No definition available.true253true 5fmcb_OtherRealEstateFairValueDisclosureAbstractfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse054false 6fmcb_RealEstateConstructionsFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse23990002399000USD$falsefalsefalse2truefalsefalse25530002553000USD$falsefalsefalse3truefalsefalse23990002399000USD$falsefalsefalse4truefalsefalse25530002553000USD$falsefalsefalse5truefalsefalse25530002553000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of other real estate related to construction.No definition available.false255false 6fmcb_TotalOtherRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse23990002399000USD$falsefalsefalse2truefalsefalse25530002553000USD$falsefalsefalse3truefalsefalse23990002399000USD$falsefalsefalse4truefalsefalse25530002553000USD$falsefalsefalse5truefalsefalse25530002553000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryTotal fair value disclosure of other real estate assets.No definition available.true256false 5us-gaap_AssetsFairValueDisclosureNonrecurringus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse48970004897000USD$falsefalsefalse2truefalsefalse31150003115000USD$falsefalsefalse3truefalsefalse48970004897000USD$falsefalsefalse4truefalsefalse31150003115000USD$falsefalsefalse5truefalsefalse42600004260000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the aggregate of the assets reported on the balance sheet at period end measured at fair value on a nonrecurring basis by the entity. This element is intended to be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements.No definition available.false257false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse21false USDtruefalse$c20130630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel1Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsNonrecurringMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNonrecurring [Member]us-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsNonrecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseQuoted Prices in Active Markets for Identical Assets (Level 1) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse058true 5us-gaap_LoanAndLeaseReceivablesImpairedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse059false 6fmcb_AgriculturalRealEstatesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse00USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure for other real estate related to loans secured by farmland.No definition available.false260false 6fmcb_Residential1StMortgageFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans to purchase or refinance residential real estate for example, but not limited to a home, in which the real estate itself serves as collateral for the loan.No definition available.false261false 6fmcb_HomeEquitiesLinesAndLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of revolving, open-end loan extended under a line of credit and secured by the borrower's residential property.No definition available.false262false 6fmcb_AgriculturalFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse00USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans and lines of credit made to farmers to finance agricultural production.No definition available.false263false 6fmcb_CommercialLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of secured and unsecured loans for purposes such as seasonal working capital needs, inventory financing, equipment purchases and acquisitions.No definition available.false264false 6fmcb_ImpairedLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents impaired loan receivable as presented on the statement of financial position which may include mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts, or any other loans which are due the Company as of the balance sheet date.No definition available.true265true 5fmcb_OtherRealEstateFairValueDisclosureAbstractfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse066false 6fmcb_RealEstateConstructionsFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of other real estate related to construction.No definition available.false267false 6fmcb_TotalOtherRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryTotal fair value disclosure of other real estate assets.No definition available.true268false 5us-gaap_AssetsFairValueDisclosureNonrecurringus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the aggregate of the assets reported on the balance sheet at period end measured at fair value on a nonrecurring basis by the entity. This element is intended to be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements.No definition available.false269false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse24false USDtruefalse$c20130630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel2Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsNonrecurringMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNonrecurring [Member]us-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsNonrecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseOther Observable Inputs (Level 2) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse070true 5us-gaap_LoanAndLeaseReceivablesImpairedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse071false 6fmcb_AgriculturalRealEstatesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse00USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure for other real estate related to loans secured by farmland.No definition available.false272false 6fmcb_Residential1StMortgageFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans to purchase or refinance residential real estate for example, but not limited to a home, in which the real estate itself serves as collateral for the loan.No definition available.false273false 6fmcb_HomeEquitiesLinesAndLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of revolving, open-end loan extended under a line of credit and secured by the borrower's residential property.No definition available.false274false 6fmcb_AgriculturalFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse00USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans and lines of credit made to farmers to finance agricultural production.No definition available.false275false 6fmcb_CommercialLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of secured and unsecured loans for purposes such as seasonal working capital needs, inventory financing, equipment purchases and acquisitions.No definition available.false276false 6fmcb_ImpairedLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents impaired loan receivable as presented on the statement of financial position which may include mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts, or any other loans which are due the Company as of the balance sheet date.No definition available.true277true 5fmcb_OtherRealEstateFairValueDisclosureAbstractfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse078false 6fmcb_RealEstateConstructionsFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of other real estate related to construction.No definition available.false279false 6fmcb_TotalOtherRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryTotal fair value disclosure of other real estate assets.No definition available.true280false 5us-gaap_AssetsFairValueDisclosureNonrecurringus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the aggregate of the assets reported on the balance sheet at period end measured at fair value on a nonrecurring basis by the entity. This element is intended to be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements.No definition available.false281false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse27false USDtruefalse$c20130630_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel3Member_FairValueByMeasurementFrequencyAxis_FairValueMeasurementsNonrecurringMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNonrecurring [Member]us-gaap_FairValueByMeasurementFrequencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueMeasurementsNonrecurringMemberus-gaap_FairValueByMeasurementFrequencyAxisexplicitMemberfalsefalseSignificant Unobservable Inputs (Level 3) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse082true 5us-gaap_LoanAndLeaseReceivablesImpairedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse083false 6fmcb_AgriculturalRealEstatesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse11430001143000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse11430001143000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure for other real estate related to loans secured by farmland.No definition available.false284false 6fmcb_Residential1StMortgageFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse283000283000USD$falsefalsefalse2truefalsefalse8600086000USD$falsefalsefalse3truefalsefalse283000283000USD$falsefalsefalse4truefalsefalse8600086000USD$falsefalsefalse5truefalsefalse235000235000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans to purchase or refinance residential real estate for example, but not limited to a home, in which the real estate itself serves as collateral for the loan.No definition available.false285false 6fmcb_HomeEquitiesLinesAndLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse184000184000USD$falsefalsefalse2truefalsefalse428000428000USD$falsefalsefalse3truefalsefalse184000184000USD$falsefalsefalse4truefalsefalse428000428000USD$falsefalsefalse5truefalsefalse462000462000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of revolving, open-end loan extended under a line of credit and secured by the borrower's residential property.No definition available.false286false 6fmcb_AgriculturalFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse672000672000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse672000672000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse10100001010000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans and lines of credit made to farmers to finance agricultural production.No definition available.false287false 6fmcb_CommercialLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse216000216000USD$falsefalsefalse2truefalsefalse4800048000USD$falsefalsefalse3truefalsefalse216000216000USD$falsefalsefalse4truefalsefalse4800048000USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of secured and unsecured loans for purposes such as seasonal working capital needs, inventory financing, equipment purchases and acquisitions.No definition available.false288false 6fmcb_ImpairedLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse24980002498000USD$falsefalsefalse2truefalsefalse562000562000USD$falsefalsefalse3truefalsefalse24980002498000USD$falsefalsefalse4truefalsefalse562000562000USD$falsefalsefalse5truefalsefalse17070001707000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents impaired loan receivable as presented on the statement of financial position which may include mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts, or any other loans which are due the Company as of the balance sheet date.No definition available.true289true 5fmcb_OtherRealEstateFairValueDisclosureAbstractfmcb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse090false 6fmcb_RealEstateConstructionsFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse23990002399000USD$falsefalsefalse2truefalsefalse25530002553000USD$falsefalsefalse3truefalsefalse23990002399000USD$falsefalsefalse4truefalsefalse25530002553000USD$falsefalsefalse5truefalsefalse25530002553000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of other real estate related to construction.No definition available.false291false 6fmcb_TotalOtherRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse23990002399000USD$falsefalsefalse2truefalsefalse25530002553000USD$falsefalsefalse3truefalsefalse23990002399000USD$falsefalsefalse4truefalsefalse25530002553000USD$falsefalsefalse5truefalsefalse25530002553000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryTotal fair value disclosure of other real estate assets.No definition available.true292false 5us-gaap_AssetsFairValueDisclosureNonrecurringus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse48970004897000USD$falsetruefalse2truefalsefalse31150003115000USD$falsetruefalse3truefalsefalse48970004897000USD$falsetruefalse4truefalsefalse31150003115000USD$falsetruefalse5truefalsefalse42600004260000USD$falsetruefalsexbrli:monetaryItemTypemonetaryThis element represents the aggregate of the assets reported on the balance sheet at period end measured at fair value on a nonrecurring basis by the entity. This element is intended to be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements.No definition available.false2falseFair Value Measurements (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://fmbonline.com/role/FairValueMeasurementsDetails592