XML 50 R39.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Note 6 - Investment Securities Available for Sale (Details Textual) - USD ($) | 3 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | ---
Mar. 31, 2017 | Jun. 30, 2017 | Dec. 31, 2016 | Jun. 30, 2016
Available-for-sale Securities Pledged as Collateral |  | $ 59,300,000 | $ 60,300,000 |
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions |  | 27 |  |
Available-for-sale Securities, Percentage of Portfolio |  | 100.00% |  |
Other than Temporary Impairment, Credit Losses Recognized in Earnings, Credit Losses on Debt Securities Held |  | $ 0 |  | $ 0
Merger of Liberty Bank, N.A. into The Middlefield Banking Company [Member] |  |  |  |
Business Combination, Step Acquisition, Equity Interest in Acquiree, Remeasurement Gain | $ 488,000 | 488,000 |  |
Pledged to Secure Deposits and Other Purposes Required by Law [Member] |  |  |  |
Restricted Cash |  | $ 4,500,000 |  |

X
- Definition Represents a percentage of the available-for-sale securities portfolio. + References No definition available. + Details
Name: | mbcn_PercentageOfPortfolio
Namespace Prefix: | mbcn_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The fair value of available-for-sale securities that serve as collateral for borrowings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5086-111524 + Details
Name: | us-gaap_AvailableForSaleSecuritiesPledgedAsCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investment positions in available-for-sale investments in a continuous unrealized loss position for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27290-111563 + Details
Name: | us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition In a business combination achieved in stages, this element represents the amount of gain recognized by the entity as a result of remeasuring to fair value the equity interest in the acquiree it held before the business combination. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (g)(2) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cumulative amount of credit losses recognized in earnings related to debt securities held for which a portion of an other than temporary impairment (OTTI) was recognized in other comprehensive income (a component of shareholders' equity). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 8B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82897076&loc=SL6284393-111563 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 8B -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=82897076&loc=SL6284393-111563 + Details
Name: | us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCreditLossesOnDebtSecuritiesHeld
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3044-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(1)(a)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(2)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_RestrictedCash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis=mbcn_PledgedToSecureDepositsAndOtherPurposesRequiredByLawMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |