XML 76 R55.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Note 3 - Investment Securities Available for Sale (Details Textual) - USD ($) | 12 Months Ended |
--- | --- | ---
Dec. 31, 2017 | Dec. 31, 2016
Available-for-sale Securities Pledged as Collateral | $ 57,900,000 | $ 60,300,000
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions | 29 |
Available-for-sale Securities, Percentage of Portfolio | 99.30% |
Other than Temporary Impairment, Credit Losses Recognized in Earnings, Credit Losses on Debt Securities Held | $ 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 |

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
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mbcn_MergerOfLibertyBankNAIntoTheMiddlefieldBankingCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |