2.4.0.8090500 - Disclosure - Fair Value of Financial Instruments (Details)truefalseIn Thousands, unless otherwise specifiedfalse1false USDfalsefalse$c20130630_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_CarryingReportedAmountFairValueDisclosureMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$c20121231_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_CarryingReportedAmountFairValueDisclosureMemberhttp://www.sec.gov/CIK0001085913instant2012-12-31T00:00:000001-01-01T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$c20120630_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_CarryingReportedAmountFairValueDisclosureMemberhttp://www.sec.gov/CIK0001085913instant2012-06-30T00:00:000001-01-01T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse1false USDtruefalse$c20130630_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_CarryingReportedAmountFairValueDisclosureMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCarrying Amount [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CarryingReportedAmountFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02true 4us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 5us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4530600045306USD$falsetruefalse2truefalsefalse129426000129426USD$falsetruefalse3truefalsefalse4076900040769USD$falsetruefalsexbrli: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 includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Company may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7 -Footnote 1 -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 FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 8 -Footnote 2 -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 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7, 8, 9, 10 -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. false24true 5us-gaap_AvailableForSaleSecuritiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse05false 6fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2648200026482USD$falsefalsefalse2truefalsefalse2682300026823USD$falsefalsefalse3truefalsefalse5707800057078USD$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 debentures, notes and other debt securities issued by US government agencies and US government sponsored entities. Excludes US treasury Securities, as of the balance sheet date which have been categorized as available-for-sale.No definition available.false26false 6fmcb_ObligationOfStatesAndPoliticalSubdivisionsAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse56120005612USD$falsefalsefalse2truefalsefalse56650005665USD$falsefalsefalse3truefalsefalse57240005724USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as available-for-sale.No definition available.false27false 6us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse392574000392574USD$falsefalsefalse2truefalsefalse352772000352772USD$falsefalsefalse3truefalsefalse427637000427637USD$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 false28false 6fmcb_CorporateSecuritiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse4956000049560USD$falsefalsefalse2truefalsefalse2255800022558USD$falsefalsefalse3truefalsefalse89950008995USD$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.false29false 6fmcb_OtherAvailableForSaleFairValueDisclosuresfmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse11860001186USD$falsefalsefalse2truefalsefalse1017300010173USD$falsefalsefalse3truefalsefalse24580002458USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false210false 6us-gaap_AvailableForSaleSecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse475414000475414USD$falsefalsefalse2truefalsefalse417991000417991USD$falsefalsefalse3truefalsefalse501892000501892USD$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 true211true 5us-gaap_HeldToMaturitySecuritiesClassifiedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse012false 6fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6464800064648USD$falsefalsefalse2truefalsefalse6569400065694USD$falsefalsefalse3truefalsefalse6715900067159USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as Held-to-Maturity. The held-to-Maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.No definition available.false213false 6us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse217000217USD$falsefalsefalse2truefalsefalse484000484USD$falsefalsefalse3truefalsefalse806000806USD$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 held-to-maturity. The held-to-maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.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 false214false 6fmcb_OtherHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse21940002194USD$falsefalsefalse2truefalsefalse22140002214USD$falsefalsefalse3truefalsefalse22300002230USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false215false 6us-gaap_HeldToMaturitySecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse6705900067059USD$falsefalsefalse2truefalsefalse6839200068392USD$falsefalsefalse3truefalsefalse7019500070195USD$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 investments in debt securities which are categorized as held-to-maturity and that have scheduled maturities more than one year from the balance sheet date or operating cycle, if longer; such investments are normally measured at amortized cost (carrying value) unless circumstances indicate that the value to be recovered from the investment is less than its carried amount. The held-to-maturity category is for those securities that the Company has the positive intent and ability to hold until maturity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 157 -Paragraph 33 -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 Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 7-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. true216false 5us-gaap_InvestmentInFederalHomeLoanBankStockFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse71870007187USD$falsefalsefalse2truefalsefalse73680007368USD$falsefalsefalse3truefalsefalse73680007368USD$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 the amount shown on an entity's books for investments in Federal Home Loan Bank stock.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Audit and Accounting Guide (AAG) -Number AAG-DEP -Paragraph 20 -IssueDate 2006-05-01 -Chapter 12 -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. false217true 5us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 6fmcb_CommercialRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse387427000387427USD$falsefalsefalse2truefalsefalse344084000344084USD$falsefalsefalse3truefalsefalse320418000320418USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans solely used for business purposes.No definition available.false219false 6fmcb_AgriculturalRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse309107000309107USD$falsefalsefalse2truefalsefalse309115000309115USD$falsefalsefalse3truefalsefalse282997000282997USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans secured by farmland.No definition available.false220false 6fmcb_RealEstateConstructionFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3174100031741USD$falsefalsefalse2truefalsefalse3169400031694USD$falsefalsefalse3truefalsefalse3413300034133USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure for other real estate related to commercial real estate construction.No definition available.false221false 6fmcb_ResidentialFirstMortgagesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse135436000135436USD$falsefalsefalse2truefalsefalse139038000139038USD$falsefalsefalse3truefalsefalse121602000121602USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of residential first mortgages at the end of the period,No definition available.false222false 6fmcb_HomeEquityLinesAndLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3451400034514USD$falsefalsefalse2truefalsefalse3880700038807USD$falsefalsefalse3truefalsefalse4277000042770USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of home equity lines of credit at the end of the period.No definition available.false223false 6fmcb_AgriculturalFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse204203000204203USD$falsefalsefalse2truefalsefalse210595000210595USD$falsefalsefalse3truefalsefalse202946000202946USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans and lines of credit made to farmers to finance agricultural production.No definition available.false224false 6fmcb_CommercialFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse150572000150572USD$falsefalsefalse2truefalsefalse135330000135330USD$falsefalsefalse3truefalsefalse162083000162083USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of commercial loans at the end of the period.No definition available.false225false 6fmcb_ConsumerOtherFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse53780005378USD$falsefalsefalse2truefalsefalse48760004876USD$falsefalsefalse3truefalsefalse56580005658USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of consumer and other loans at the end of the period.No definition available.false226false 6fmcb_LeasesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse26670002667USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of leases at the end of the period.No definition available.false227false 6fmcb_UnallocatedAllowanceFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-224000-224USD$falsefalsefalse2truefalsefalse-854000-854USD$falsefalsefalse3truefalsefalse-1711000-1711USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of unallocated loan allowances at the end of the period.No definition available.false228false 6us-gaap_LoansReceivableFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse12608210001260821USD$falsefalsefalse2truefalsefalse12126850001212685USD$falsefalsefalse3truefalsefalse11708960001170896USD$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 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Glossary Loan -URI http://asc.fasb.org/extlink&oid=6517073 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 114 -Paragraph 4 -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. true229false 5fmcb_AccruedInterestReceivableFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse76090007609USD$falsefalsefalse2truefalsefalse63890006389USD$falsefalsefalse3truefalsefalse72230007223USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest receivable at the end of period.No definition available.false230true 5us-gaap_DepositsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse031false 6fmcb_DemandFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse429526000429526USD$falsefalsefalse2truefalsefalse462251000462251USD$falsefalsefalse3truefalsefalse360290000360290USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of demand deposits at the end of the period.No definition available.false232false 6fmcb_InterestBearingTransactionFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse248447000248447USD$falsefalsefalse2truefalsefalse259141000259141USD$falsefalsefalse3truefalsefalse223343000223343USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of interest bearing deposit at the end of the period.No definition available.false233false 6fmcb_SavingsAndMoneyMarketFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse588009000588009USD$falsefalsefalse2truefalsefalse541526000541526USD$falsefalsefalse3truefalsefalse542922000542922USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of savings and money market instrument at the end of the period.No definition available.false234false 6fmcb_TimeFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse444175000444175USD$falsefalsefalse2truefalsefalse459108000459108USD$falsefalsefalse3truefalsefalse505670000505670USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of time deposits at the end of the period.No definition available.false235false 6us-gaap_DepositsFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse17101570001710157USD$falsefalsefalse2truefalsefalse17220260001722026USD$falsefalsefalse3truefalsefalse16322250001632225USD$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. This item represents the aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits among others.No definition available.true236false 5us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse4330000043300USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse5099800050998USD$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 the amount that a bank with insufficient reserves at a Federal Reserve Bank borrows, at the federal funds rate, from another bank to meet its reserve requirements for that day and the amount of securities that an institution sells and agrees to repurchase at a specified date for a specified price, net of any reductions or offsets.No definition available.false237false 5fmcb_SubordinatedDebenturesFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1031000010310USD$falsefalsefalse2truefalsefalse1031000010310USD$falsefalsefalse3truefalsefalse1031000010310USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of subordinated debentures at the end of the period.No definition available.false238false 5fmcb_AccruedInterestPayableFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse438000438USD$falsefalsefalse2truefalsefalse498000498USD$falsefalsefalse3truefalsefalse796000796USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest payable at the end of the period.No definition available.false239false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4false USDtruefalse$c20130630_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_EstimateOfFairValueFairValueDisclosureMemberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseEstimated Fair Value [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EstimateOfFairValueFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse040true 4us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse041false 5us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4530600045306USD$falsefalsefalse2truefalsefalse129426000129426USD$falsefalsefalse3truefalsefalse4076900040769USD$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 includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Company may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7 -Footnote 1 -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 FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 8 -Footnote 2 -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 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7, 8, 9, 10 -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. false242true 5us-gaap_AvailableForSaleSecuritiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse043false 6fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2648200026482USD$falsefalsefalse2truefalsefalse2682300026823USD$falsefalsefalse3truefalsefalse5707800057078USD$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 debentures, notes and other debt securities issued by US government agencies and US government sponsored entities. Excludes US treasury Securities, as of the balance sheet date which have been categorized as available-for-sale.No definition available.false244false 6fmcb_ObligationOfStatesAndPoliticalSubdivisionsAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse56120005612USD$falsefalsefalse2truefalsefalse56650005665USD$falsefalsefalse3truefalsefalse57240005724USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as available-for-sale.No definition available.false245false 6us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse392574000392574USD$falsefalsefalse2truefalsefalse352772000352772USD$falsefalsefalse3truefalsefalse427637000427637USD$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 false246false 6fmcb_CorporateSecuritiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse4956000049560USD$falsefalsefalse2truefalsefalse2255800022558USD$falsefalsefalse3truefalsefalse89950008995USD$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.false247false 6fmcb_OtherAvailableForSaleFairValueDisclosuresfmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse11860001186USD$falsefalsefalse2truefalsefalse1017300010173USD$falsefalsefalse3truefalsefalse24580002458USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false248false 6us-gaap_AvailableForSaleSecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse475414000475414USD$falsefalsefalse2truefalsefalse417991000417991USD$falsefalsefalse3truefalsefalse501892000501892USD$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 true249true 5us-gaap_HeldToMaturitySecuritiesClassifiedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse050false 6fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6536900065369USD$falsefalsefalse2truefalsefalse6798700067987USD$falsefalsefalse3truefalsefalse6960600069606USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as Held-to-Maturity. The held-to-Maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.No definition available.false251false 6us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse220000220USD$falsefalsefalse2truefalsefalse496000496USD$falsefalsefalse3truefalsefalse831000831USD$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 held-to-maturity. The held-to-maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.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 false252false 6fmcb_OtherHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse21940002194USD$falsefalsefalse2truefalsefalse22140002214USD$falsefalsefalse3truefalsefalse22300002230USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false253false 6us-gaap_HeldToMaturitySecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse6778300067783USD$falsefalsefalse2truefalsefalse7069700070697USD$falsefalsefalse3truefalsefalse7266700072667USD$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 investments in debt securities which are categorized as held-to-maturity and that have scheduled maturities more than one year from the balance sheet date or operating cycle, if longer; such investments are normally measured at amortized cost (carrying value) unless circumstances indicate that the value to be recovered from the investment is less than its carried amount. The held-to-maturity category is for those securities that the Company has the positive intent and ability to hold until maturity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 157 -Paragraph 33 -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 Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 7-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. true254true 5us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse055false 6fmcb_CommercialRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse387017000387017USD$falsefalsefalse2truefalsefalse349524000349524USD$falsefalsefalse3truefalsefalse330783000330783USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans solely used for business purposes.No definition available.false256false 6fmcb_AgriculturalRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse310902000310902USD$falsefalsefalse2truefalsefalse316302000316302USD$falsefalsefalse3truefalsefalse292152000292152USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans secured by farmland.No definition available.false257false 6fmcb_RealEstateConstructionFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3190100031901USD$falsefalsefalse2truefalsefalse3202400032024USD$falsefalsefalse3truefalsefalse3442300034423USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure for other real estate related to commercial real estate construction.No definition available.false258false 6fmcb_ResidentialFirstMortgagesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse137951000137951USD$falsefalsefalse2truefalsefalse144203000144203USD$falsefalsefalse3truefalsefalse125110000125110USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of residential first mortgages at the end of the period,No definition available.false259false 6fmcb_HomeEquityLinesAndLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3722500037225USD$falsefalsefalse2truefalsefalse4141900041419USD$falsefalsefalse3truefalsefalse4580900045809USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of home equity lines of credit at the end of the period.No definition available.false260false 6fmcb_AgriculturalFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse201957000201957USD$falsefalsefalse2truefalsefalse209578000209578USD$falsefalsefalse3truefalsefalse202991000202991USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans and lines of credit made to farmers to finance agricultural production.No definition available.false261false 6fmcb_CommercialFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse149593000149593USD$falsefalsefalse2truefalsefalse134647000134647USD$falsefalsefalse3truefalsefalse161242000161242USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of commercial loans at the end of the period.No definition available.false262false 6fmcb_ConsumerOtherFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse54000005400USD$falsefalsefalse2truefalsefalse48470004847USD$falsefalsefalse3truefalsefalse57310005731USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of consumer and other loans at the end of the period.No definition available.false263false 6fmcb_LeasesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse26670002667USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of leases at the end of the period.No definition available.false264false 6fmcb_UnallocatedAllowanceFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-224000-224USD$falsefalsefalse2truefalsefalse-854000-854USD$falsefalsefalse3truefalsefalse-1711000-1711USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of unallocated loan allowances at the end of the period.No definition available.false265false 6us-gaap_LoansReceivableFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse12643890001264389USD$falsefalsefalse2truefalsefalse12316900001231690USD$falsefalsefalse3truefalsefalse11965300001196530USD$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 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Glossary Loan -URI http://asc.fasb.org/extlink&oid=6517073 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 114 -Paragraph 4 -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. true266false 5fmcb_AccruedInterestReceivableFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse76090007609USD$falsefalsefalse2truefalsefalse63890006389USD$falsefalsefalse3truefalsefalse72230007223USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest receivable at the end of period.No definition available.false267true 5us-gaap_DepositsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse068false 6fmcb_DemandFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse429526000429526USD$falsefalsefalse2truefalsefalse462251000462251USD$falsefalsefalse3truefalsefalse360290000360290USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of demand deposits at the end of the period.No definition available.false269false 6fmcb_InterestBearingTransactionFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse248447000248447USD$falsefalsefalse2truefalsefalse259141000259141USD$falsefalsefalse3truefalsefalse223343000223343USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of interest bearing deposit at the end of the period.No definition available.false270false 6fmcb_SavingsAndMoneyMarketFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse588009000588009USD$falsefalsefalse2truefalsefalse541526000541526USD$falsefalsefalse3truefalsefalse542922000542922USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of savings and money market instrument at the end of the period.No definition available.false271false 6fmcb_TimeFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse444579000444579USD$falsefalsefalse2truefalsefalse459993000459993USD$falsefalsefalse3truefalsefalse506638000506638USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of time deposits at the end of the period.No definition available.false272false 6us-gaap_DepositsFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse17105610001710561USD$falsefalsefalse2truefalsefalse17229110001722911USD$falsefalsefalse3truefalsefalse16331930001633193USD$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. This item represents the aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits among others.No definition available.true273false 5us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse4330000043300USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse5106500051065USD$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 the amount that a bank with insufficient reserves at a Federal Reserve Bank borrows, at the federal funds rate, from another bank to meet its reserve requirements for that day and the amount of securities that an institution sells and agrees to repurchase at a specified date for a specified price, net of any reductions or offsets.No definition available.false274false 5fmcb_SubordinatedDebenturesFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse56650005665USD$falsefalsefalse2truefalsefalse57500005750USD$falsefalsefalse3truefalsefalse58410005841USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of subordinated debentures at the end of the period.No definition available.false275false 5fmcb_AccruedInterestPayableFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse438000438USD$falsefalsefalse2truefalsefalse498000498USD$falsefalsefalse3truefalsefalse796000796USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest payable at the end of the period.No definition available.false276false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse7false USDtruefalse$c20130630_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_EstimateOfFairValueFairValueDisclosureMember_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel1Memberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseEstimated Fair Value [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EstimateOfFairValueFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberfalsefalseQuoted 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$nanafalse077true 4us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse078false 5us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4530600045306USD$falsefalsefalse2truefalsefalse129426000129426USD$falsefalsefalse3truefalsefalse4076900040769USD$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 includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Company may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7 -Footnote 1 -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 FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 8 -Footnote 2 -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 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7, 8, 9, 10 -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. false279true 5us-gaap_AvailableForSaleSecuritiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse080false 6fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2141600021416USD$falsefalsefalse2truefalsefalse2173100021731USD$falsefalsefalse3truefalsefalse1072400010724USD$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 debentures, notes and other debt securities issued by US government agencies and US government sponsored entities. Excludes US treasury Securities, as of the balance sheet date which have been categorized as available-for-sale.No definition available.false281false 6fmcb_ObligationOfStatesAndPoliticalSubdivisionsAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as available-for-sale.No definition available.false282false 6us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 false283false 6fmcb_CorporateSecuritiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse81220008122USD$falsefalsefalse2truefalsefalse40200004020USD$falsefalsefalse3truefalsefalse00USD$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.false284false 6fmcb_OtherAvailableForSaleFairValueDisclosuresfmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse876000876USD$falsefalsefalse2truefalsefalse98630009863USD$falsefalsefalse3truefalsefalse21480002148USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false285false 6us-gaap_AvailableForSaleSecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse3041400030414USD$falsefalsefalse2truefalsefalse3561400035614USD$falsefalsefalse3truefalsefalse1287200012872USD$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 true286true 5us-gaap_HeldToMaturitySecuritiesClassifiedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse087false 6fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as Held-to-Maturity. The held-to-Maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.No definition available.false288false 6us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 held-to-maturity. The held-to-maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.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 false289false 6fmcb_OtherHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false290false 6us-gaap_HeldToMaturitySecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 investments in debt securities which are categorized as held-to-maturity and that have scheduled maturities more than one year from the balance sheet date or operating cycle, if longer; such investments are normally measured at amortized cost (carrying value) unless circumstances indicate that the value to be recovered from the investment is less than its carried amount. The held-to-maturity category is for those securities that the Company has the positive intent and ability to hold until maturity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 157 -Paragraph 33 -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 Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 7-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. true291true 5us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse092false 6fmcb_CommercialRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans solely used for business purposes.No definition available.false293false 6fmcb_AgriculturalRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans secured by farmland.No definition available.false294false 6fmcb_RealEstateConstructionFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure for other real estate related to commercial real estate construction.No definition available.false295false 6fmcb_ResidentialFirstMortgagesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of residential first mortgages at the end of the period,No definition available.false296false 6fmcb_HomeEquityLinesAndLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of home equity lines of credit at the end of the period.No definition available.false297false 6fmcb_AgriculturalFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans and lines of credit made to farmers to finance agricultural production.No definition available.false298false 6fmcb_CommercialFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of commercial loans at the end of the period.No definition available.false299false 6fmcb_ConsumerOtherFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of consumer and other loans at the end of the period.No definition available.false2100false 6fmcb_LeasesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of leases at the end of the period.No definition available.false2101false 6fmcb_UnallocatedAllowanceFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of unallocated loan allowances at the end of the period.No definition available.false2102false 6us-gaap_LoansReceivableFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Glossary Loan -URI http://asc.fasb.org/extlink&oid=6517073 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 114 -Paragraph 4 -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. true2103false 5fmcb_AccruedInterestReceivableFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest receivable at the end of period.No definition available.false2104true 5us-gaap_DepositsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0105false 6fmcb_DemandFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse429526000429526USD$falsefalsefalse2truefalsefalse462251000462251USD$falsefalsefalse3truefalsefalse360290000360290USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of demand deposits at the end of the period.No definition available.false2106false 6fmcb_InterestBearingTransactionFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse248447000248447USD$falsefalsefalse2truefalsefalse259141000259141USD$falsefalsefalse3truefalsefalse223343000223343USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of interest bearing deposit at the end of the period.No definition available.false2107false 6fmcb_SavingsAndMoneyMarketFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse588009000588009USD$falsefalsefalse2truefalsefalse541526000541526USD$falsefalsefalse3truefalsefalse542922000542922USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of savings and money market instrument at the end of the period.No definition available.false2108false 6fmcb_TimeFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of time deposits at the end of the period.No definition available.false2109false 6us-gaap_DepositsFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse12659820001265982USD$falsefalsefalse2truefalsefalse12629180001262918USD$falsefalsefalse3truefalsefalse11265550001126555USD$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. This item represents the aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits among others.No definition available.true2110false 5us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse00USD$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 the amount that a bank with insufficient reserves at a Federal Reserve Bank borrows, at the federal funds rate, from another bank to meet its reserve requirements for that day and the amount of securities that an institution sells and agrees to repurchase at a specified date for a specified price, net of any reductions or offsets.No definition available.false2111false 5fmcb_SubordinatedDebenturesFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of subordinated debentures at the end of the period.No definition available.false2112false 5fmcb_AccruedInterestPayableFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest payable at the end of the period.No definition available.false2113false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse10false USDtruefalse$c20130630_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_EstimateOfFairValueFairValueDisclosureMember_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel2Memberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseEstimated Fair Value [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EstimateOfFairValueFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberfalsefalseOther Observable Inputs (Level 2) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0114true 4us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0115false 5us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Company may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7 -Footnote 1 -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 FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 8 -Footnote 2 -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 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7, 8, 9, 10 -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. false2116true 5us-gaap_AvailableForSaleSecuritiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0117false 6fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse50660005066USD$falsefalsefalse2truefalsefalse50920005092USD$falsefalsefalse3truefalsefalse4635400046354USD$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 debentures, notes and other debt securities issued by US government agencies and US government sponsored entities. Excludes US treasury Securities, as of the balance sheet date which have been categorized as available-for-sale.No definition available.false2118false 6fmcb_ObligationOfStatesAndPoliticalSubdivisionsAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as available-for-sale.No definition available.false2119false 6us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse392574000392574USD$falsefalsefalse2truefalsefalse352772000352772USD$falsefalsefalse3truefalsefalse427637000427637USD$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 false2120false 6fmcb_CorporateSecuritiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse4143800041438USD$falsefalsefalse2truefalsefalse1853800018538USD$falsefalsefalse3truefalsefalse89950008995USD$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.false2121false 6fmcb_OtherAvailableForSaleFairValueDisclosuresfmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse310000310USD$falsefalsefalse2truefalsefalse310000310USD$falsefalsefalse3truefalsefalse310000310USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false2122false 6us-gaap_AvailableForSaleSecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse439388000439388USD$falsefalsefalse2truefalsefalse376712000376712USD$falsefalsefalse3truefalsefalse483296000483296USD$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 true2123true 5us-gaap_HeldToMaturitySecuritiesClassifiedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0124false 6fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5800900058009USD$falsefalsefalse2truefalsefalse6017700060177USD$falsefalsefalse3truefalsefalse6182000061820USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as Held-to-Maturity. The held-to-Maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.No definition available.false2125false 6us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse220000220USD$falsefalsefalse2truefalsefalse496000496USD$falsefalsefalse3truefalsefalse831000831USD$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 held-to-maturity. The held-to-maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.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 false2126false 6fmcb_OtherHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse21940002194USD$falsefalsefalse2truefalsefalse22140002214USD$falsefalsefalse3truefalsefalse22300002230USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false2127false 6us-gaap_HeldToMaturitySecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse6042300060423USD$falsefalsefalse2truefalsefalse6288700062887USD$falsefalsefalse3truefalsefalse6488100064881USD$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 investments in debt securities which are categorized as held-to-maturity and that have scheduled maturities more than one year from the balance sheet date or operating cycle, if longer; such investments are normally measured at amortized cost (carrying value) unless circumstances indicate that the value to be recovered from the investment is less than its carried amount. The held-to-maturity category is for those securities that the Company has the positive intent and ability to hold until maturity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 157 -Paragraph 33 -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 Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 7-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. true2128true 5us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0129false 6fmcb_CommercialRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans solely used for business purposes.No definition available.false2130false 6fmcb_AgriculturalRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans secured by farmland.No definition available.false2131false 6fmcb_RealEstateConstructionFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure for other real estate related to commercial real estate construction.No definition available.false2132false 6fmcb_ResidentialFirstMortgagesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of residential first mortgages at the end of the period,No definition available.false2133false 6fmcb_HomeEquityLinesAndLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of home equity lines of credit at the end of the period.No definition available.false2134false 6fmcb_AgriculturalFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans and lines of credit made to farmers to finance agricultural production.No definition available.false2135false 6fmcb_CommercialFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of commercial loans at the end of the period.No definition available.false2136false 6fmcb_ConsumerOtherFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of consumer and other loans at the end of the period.No definition available.false2137false 6fmcb_LeasesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of leases at the end of the period.No definition available.false2138false 6fmcb_UnallocatedAllowanceFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of unallocated loan allowances at the end of the period.No definition available.false2139false 6us-gaap_LoansReceivableFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Glossary Loan -URI http://asc.fasb.org/extlink&oid=6517073 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 114 -Paragraph 4 -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. true2140false 5fmcb_AccruedInterestReceivableFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse76090007609USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse72230007223USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest receivable at the end of period.No definition available.false2141true 5us-gaap_DepositsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0142false 6fmcb_DemandFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of demand deposits at the end of the period.No definition available.false2143false 6fmcb_InterestBearingTransactionFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of interest bearing deposit at the end of the period.No definition available.false2144false 6fmcb_SavingsAndMoneyMarketFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of savings and money market instrument at the end of the period.No definition available.false2145false 6fmcb_TimeFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse444579000444579USD$falsefalsefalse2truefalsefalse459993000459993USD$falsefalsefalse3truefalsefalse506638000506638USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of time deposits at the end of the period.No definition available.false2146false 6us-gaap_DepositsFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse444579000444579USD$falsefalsefalse2truefalsefalse459993000459993USD$falsefalsefalse3truefalsefalse506638000506638USD$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. This item represents the aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits among others.No definition available.true2147false 5us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse4330000043300USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse5106500051065USD$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 the amount that a bank with insufficient reserves at a Federal Reserve Bank borrows, at the federal funds rate, from another bank to meet its reserve requirements for that day and the amount of securities that an institution sells and agrees to repurchase at a specified date for a specified price, net of any reductions or offsets.No definition available.false2148false 5fmcb_SubordinatedDebenturesFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse56650005665USD$falsefalsefalse2truefalsefalse57500005750USD$falsefalsefalse3truefalsefalse58410005841USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of subordinated debentures at the end of the period.No definition available.false2149false 5fmcb_AccruedInterestPayableFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse438000438USD$falsefalsefalse2truefalsefalse498000498USD$falsefalsefalse3truefalsefalse796000796USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest payable at the end of the period.No definition available.false2150false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse13false USDtruefalse$c20130630_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_EstimateOfFairValueFairValueDisclosureMember_FairValueByFairValueHierarchyLevelAxis_FairValueInputsLevel3Memberhttp://www.sec.gov/CIK0001085913instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseEstimated Fair Value [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EstimateOfFairValueFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberfalsefalseSignificant Unobservable Inputs (Level 3) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0151true 4us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0152false 5us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Company may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7 -Footnote 1 -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 FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 8 -Footnote 2 -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 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7, 8, 9, 10 -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. false2153true 5us-gaap_AvailableForSaleSecuritiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0154false 6fmcb_GovernmentAgencyAndGovernmentSponsoredEntitiesAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 debentures, notes and other debt securities issued by US government agencies and US government sponsored entities. Excludes US treasury Securities, as of the balance sheet date which have been categorized as available-for-sale.No definition available.false2155false 6fmcb_ObligationOfStatesAndPoliticalSubdivisionsAvailableForSaleFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse56120005612USD$falsefalsefalse2truefalsefalse56650005665USD$falsefalsefalse3truefalsefalse57240005724USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as available-for-sale.No definition available.false2156false 6us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 false2157false 6fmcb_CorporateSecuritiesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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.false2158false 6fmcb_OtherAvailableForSaleFairValueDisclosuresfmcb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false2159false 6us-gaap_AvailableForSaleSecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse56120005612USD$falsefalsefalse2truefalsefalse56650005665USD$falsefalsefalse3truefalsefalse57240005724USD$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 true2160true 5us-gaap_HeldToMaturitySecuritiesClassifiedAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0161false 6fmcb_ObligationsOfStatesAndPoliticalSubdivisionHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse73600007360USD$falsefalsefalse2truefalsefalse78100007810USD$falsefalsefalse3truefalsefalse77860007786USD$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 bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments as of the balance sheet date which have been categorized as Held-to-Maturity. The held-to-Maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.No definition available.false2162false 6us-gaap_MortgageBackedSecuritiesHeldToMaturityFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 held-to-maturity. The held-to-maturity category is for those securities that the Entity has the positive intent and ability to hold until maturity.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 false2163false 6fmcb_OtherHeldToMaturityFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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 securities/investments categorized as other which are not in and of themselves material enough to require separate disclosure.No definition available.false2164false 6us-gaap_HeldToMaturitySecuritiesFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse73600007360USD$falsefalsefalse2truefalsefalse78100007810USD$falsefalsefalse3truefalsefalse77860007786USD$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 investments in debt securities which are categorized as held-to-maturity and that have scheduled maturities more than one year from the balance sheet date or operating cycle, if longer; such investments are normally measured at amortized cost (carrying value) unless circumstances indicate that the value to be recovered from the investment is less than its carried amount. The held-to-maturity category is for those securities that the Company has the positive intent and ability to hold until maturity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 157 -Paragraph 33 -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 Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 7-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. true2165true 5us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0166false 6fmcb_CommercialRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse387017000387017USD$falsefalsefalse2truefalsefalse349524000349524USD$falsefalsefalse3truefalsefalse330783000330783USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans solely used for business purposes.No definition available.false2167false 6fmcb_AgriculturalRealEstateFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse310902000310902USD$falsefalsefalse2truefalsefalse316302000316302USD$falsefalsefalse3truefalsefalse292152000292152USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans secured by farmland.No definition available.false2168false 6fmcb_RealEstateConstructionFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3190100031901USD$falsefalsefalse2truefalsefalse3202400032024USD$falsefalsefalse3truefalsefalse3442300034423USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure for other real estate related to commercial real estate construction.No definition available.false2169false 6fmcb_ResidentialFirstMortgagesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse137951000137951USD$falsefalsefalse2truefalsefalse144203000144203USD$falsefalsefalse3truefalsefalse125110000125110USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of residential first mortgages at the end of the period,No definition available.false2170false 6fmcb_HomeEquityLinesAndLoansFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3722500037225USD$falsefalsefalse2truefalsefalse4141900041419USD$falsefalsefalse3truefalsefalse4580900045809USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of home equity lines of credit at the end of the period.No definition available.false2171false 6fmcb_AgriculturalFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse201957000201957USD$falsefalsefalse2truefalsefalse209578000209578USD$falsefalsefalse3truefalsefalse202991000202991USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of loans and lines of credit made to farmers to finance agricultural production.No definition available.false2172false 6fmcb_CommercialFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse149593000149593USD$falsefalsefalse2truefalsefalse134647000134647USD$falsefalsefalse3truefalsefalse161242000161242USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of commercial loans at the end of the period.No definition available.false2173false 6fmcb_ConsumerOtherFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse54000005400USD$falsefalsefalse2truefalsefalse48470004847USD$falsefalsefalse3truefalsefalse57310005731USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of consumer and other loans at the end of the period.No definition available.false2174false 6fmcb_LeasesFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse26670002667USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of leases at the end of the period.No definition available.false2175false 6fmcb_UnallocatedAllowanceFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-224000-224USD$falsefalsefalse2truefalsefalse-854000-854USD$falsefalsefalse3truefalsefalse-1711000-1711USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of unallocated loan allowances at the end of the period.No definition available.false2176false 6us-gaap_LoansReceivableFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse12643890001264389USD$falsefalsefalse2truefalsefalse12316900001231690USD$falsefalsefalse3truefalsefalse11965300001196530USD$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 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Glossary Loan -URI http://asc.fasb.org/extlink&oid=6517073 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 114 -Paragraph 4 -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. true2177false 5fmcb_AccruedInterestReceivableFairValueDisclosurefmcb_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse63890006389USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest receivable at the end of period.No definition available.false2178true 5us-gaap_DepositsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0179false 6fmcb_DemandFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of demand deposits at the end of the period.No definition available.false2180false 6fmcb_InterestBearingTransactionFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of interest bearing deposit at the end of the period.No definition available.false2181false 6fmcb_SavingsAndMoneyMarketFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of savings and money market instrument at the end of the period.No definition available.false2182false 6fmcb_TimeFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of time deposits at the end of the period.No definition available.false2183false 6us-gaap_DepositsFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$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. This item represents the aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, negotiable orders of withdrawal (NOW) and time deposits among others.No definition available.true2184false 5us-gaap_FederalFundsPurchasedAndSecuritiesLoanedOrSoldUnderAgreementsToRepurchaseFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse00USD$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 the amount that a bank with insufficient reserves at a Federal Reserve Bank borrows, at the federal funds rate, from another bank to meet its reserve requirements for that day and the amount of securities that an institution sells and agrees to repurchase at a specified date for a specified price, net of any reductions or offsets.No definition available.false2185false 5fmcb_SubordinatedDebenturesFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value disclosure of subordinated debentures at the end of the period.No definition available.false2186false 5fmcb_AccruedInterestPayableFairValueDisclosurefmcb_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsetruefalse2truefalsefalse00USD$falsetruefalse3truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryFair value disclosure of accrued interest payable at the end of the period.No definition available.false2falseFair Value of Financial Instruments (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://fmbonline.com/role/FairValueOfFinancialInstrumentsDetails3186