XML 55 R100.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Note 19 - Parent Company (Details) - Condensed Statement of Cash Flows (USD $) In Thousands, unless otherwise specified | 12 Months Ended
--- | ---
Dec. 31, 2014 | Dec. 31, 2013 | Dec. 31, 2012
OPERATING ACTIVITIES |  |  |
Net income | $ 7,180 us-gaap_NetIncomeLoss | $ 7,028 us-gaap_NetIncomeLoss | $ 6,281 us-gaap_NetIncomeLoss
Adjustments to reconcile net income to net cash provided by operating activities: |  |  |
Stock-based compensation expense | 10 us-gaap_ShareBasedCompensation |  | 32 us-gaap_ShareBasedCompensation
Other | 708 us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet | (364)us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet | (355)us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet
Net cash provided by operating activities | 7,459 us-gaap_NetCashProvidedByUsedInOperatingActivities | 9,897 us-gaap_NetCashProvidedByUsedInOperatingActivities | 10,282 us-gaap_NetCashProvidedByUsedInOperatingActivities
FINANCING ACTIVITIES |  |  |
Net decrease in short-term borrowings | 3,999 us-gaap_ProceedsFromRepaymentsOfShortTermDebt | 4,271 us-gaap_ProceedsFromRepaymentsOfShortTermDebt | (854)us-gaap_ProceedsFromRepaymentsOfShortTermDebt
Common stock issued |  | 74 us-gaap_ProceedsFromIssuanceOfCommonStock | 2,329 us-gaap_ProceedsFromIssuanceOfCommonStock
Cash dividends | 2,121 us-gaap_DividendsCommonStockCash | 2,097 us-gaap_DividendsCommonStockCash | 2,002 us-gaap_DividendsCommonStockCash
Net cash (used for) provided by financing activities | 18,709 us-gaap_NetCashProvidedByUsedInFinancingActivities | (22,953)us-gaap_NetCashProvidedByUsedInFinancingActivities | 8,679 us-gaap_NetCashProvidedByUsedInFinancingActivities
(Decrease) increase in cash | (554)us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease | (19,153)us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease | 10,956 us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease
Cash | 25,639 us-gaap_CashAndCashEquivalentsAtCarryingValue | 26,193 us-gaap_CashAndCashEquivalentsAtCarryingValue | 45,346 us-gaap_CashAndCashEquivalentsAtCarryingValue
Beginning of Year [Member] | Parent Company [Member] |  |  |
FINANCING ACTIVITIES |  |  |
Cash | 797 us-gaap_CashAndCashEquivalentsAtCarryingValue / dei_LegalEntityAxis = us-gaap_ParentCompanyMember / us-gaap_StatementScenarioAxis = mbcn_BeginningOfYearMember | 1,740 us-gaap_CashAndCashEquivalentsAtCarryingValue / dei_LegalEntityAxis = us-gaap_ParentCompanyMember / us-gaap_StatementScenarioAxis = mbcn_BeginningOfYearMember | 710 us-gaap_CashAndCashEquivalentsAtCarryingValue / dei_LegalEntityAxis = us-gaap_ParentCompanyMember / us-gaap_StatementScenarioAxis = mbcn_BeginningOfYearMember
End of Year [Member] | Parent Company [Member] |  |  |
FINANCING ACTIVITIES |  |  |
Cash | 466 us-gaap_CashAndCashEquivalentsAtCarryingValue / dei_LegalEntityAxis = us-gaap_ParentCompanyMember / us-gaap_StatementScenarioAxis = mbcn_EndOfYearMember | 797 us-gaap_CashAndCashEquivalentsAtCarryingValue / dei_LegalEntityAxis = us-gaap_ParentCompanyMember / us-gaap_StatementScenarioAxis = mbcn_EndOfYearMember | 1,740 us-gaap_CashAndCashEquivalentsAtCarryingValue / dei_LegalEntityAxis = us-gaap_ParentCompanyMember / us-gaap_StatementScenarioAxis = mbcn_EndOfYearMember
Middlefield Banking Company [Member] | Parent Company [Member] |  |  |
Adjustments to reconcile net income to net cash provided by operating activities: |  |  |
Equity in undistributed net income | (4,798)us-gaap_IncomeLossFromEquityMethodInvestments / us-gaap_CounterpartyNameAxis = mbcn_MiddlefieldBankingCompanyMember / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (4,884)us-gaap_IncomeLossFromEquityMethodInvestments / us-gaap_CounterpartyNameAxis = mbcn_MiddlefieldBankingCompanyMember / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (4,655)us-gaap_IncomeLossFromEquityMethodInvestments / us-gaap_CounterpartyNameAxis = mbcn_MiddlefieldBankingCompanyMember / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Emerald Bank [Member] | Parent Company [Member] |  |  |
Adjustments to reconcile net income to net cash provided by operating activities: |  |  |
Equity in undistributed net income |  | (598)us-gaap_IncomeLossFromEquityMethodInvestments / us-gaap_CounterpartyNameAxis = mbcn_EmeraldBankMember / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (240)us-gaap_IncomeLossFromEquityMethodInvestments / us-gaap_CounterpartyNameAxis = mbcn_EmeraldBankMember / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
EMORECO [Member] | Parent Company [Member] |  |  |
Adjustments to reconcile net income to net cash provided by operating activities: |  |  |
Equity in undistributed net income | 26 us-gaap_IncomeLossFromEquityMethodInvestments / us-gaap_CounterpartyNameAxis = mbcn_EMORECOMember / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 104 us-gaap_IncomeLossFromEquityMethodInvestments / us-gaap_CounterpartyNameAxis = mbcn_EMORECOMember / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 280 us-gaap_IncomeLossFromEquityMethodInvestments / us-gaap_CounterpartyNameAxis = mbcn_EMORECOMember / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Parent Company [Member] |  |  |
OPERATING ACTIVITIES |  |  |
Net income | 7,180 us-gaap_NetIncomeLoss / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 7,028 us-gaap_NetIncomeLoss / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 6,281 us-gaap_NetIncomeLoss / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Adjustments to reconcile net income to net cash provided by operating activities: |  |  |
Equity in undistributed net income | 4,772 us-gaap_IncomeLossFromEquityMethodInvestments / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 5,378 us-gaap_IncomeLossFromEquityMethodInvestments / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 4,615 us-gaap_IncomeLossFromEquityMethodInvestments / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Stock-based compensation expense | 10 us-gaap_ShareBasedCompensation / dei_LegalEntityAxis = us-gaap_ParentCompanyMember |  | 32 us-gaap_ShareBasedCompensation / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Other | (409)us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (253)us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (885)us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Net cash provided by operating activities | 2,009 us-gaap_NetCashProvidedByUsedInOperatingActivities / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 1,397 us-gaap_NetCashProvidedByUsedInOperatingActivities / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 813 us-gaap_NetCashProvidedByUsedInOperatingActivities / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
FINANCING ACTIVITIES |  |  |
Net decrease in short-term borrowings | (759)us-gaap_ProceedsFromRepaymentsOfShortTermDebt / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (976)us-gaap_ProceedsFromRepaymentsOfShortTermDebt / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (804)us-gaap_ProceedsFromRepaymentsOfShortTermDebt / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Common stock issued |  | 74 us-gaap_ProceedsFromIssuanceOfCommonStock / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 2,329 us-gaap_ProceedsFromIssuanceOfCommonStock / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Stock options exercised | (50)us-gaap_ProceedsFromStockOptionsExercised / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (77)us-gaap_ProceedsFromStockOptionsExercised / dei_LegalEntityAxis = us-gaap_ParentCompanyMember |
Proceeds from dividend reinvestment plan | 590 us-gaap_ProceedsFromIssuanceOfCommonStockDividendReinvestmentPlan / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 736 us-gaap_ProceedsFromIssuanceOfCommonStockDividendReinvestmentPlan / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 694 us-gaap_ProceedsFromIssuanceOfCommonStockDividendReinvestmentPlan / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Cash dividends | (2,121)us-gaap_DividendsCommonStockCash / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (2,097)us-gaap_DividendsCommonStockCash / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (2,002)us-gaap_DividendsCommonStockCash / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
Net cash (used for) provided by financing activities | (2,340)us-gaap_NetCashProvidedByUsedInFinancingActivities / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | (2,340)us-gaap_NetCashProvidedByUsedInFinancingActivities / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | 217 us-gaap_NetCashProvidedByUsedInFinancingActivities / dei_LegalEntityAxis = us-gaap_ParentCompanyMember
(Decrease) increase in cash | $ (331)us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | $ (943)us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease / dei_LegalEntityAxis = us-gaap_ParentCompanyMember | $ 1,030 us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease / dei_LegalEntityAxis = us-gaap_ParentCompanyMember

X
- Details
Name: | mbcn_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract0
Namespace Prefix: | mbcn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | mbcn_FinancingActivitiesAbstract0
Namespace Prefix: | mbcn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | mbcn_OperatingActivitiesAbstract0
Namespace Prefix: | mbcn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References 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 SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 Reference 4: 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 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765 Reference 6: 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=31042434&loc=d3e3044-108585 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 230 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906 + Details
Name: | us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of paid and unpaid common stock dividends declared with the form of settlement in cash. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_DividendsCommonStockCash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 9 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=35755396&loc=d3e33749-111570 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.12) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 11 -Article 7 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) during the reporting period in other assets used in operating activities less other operating liabilities used in operating activities not separately disclosed in the statement of cash flows. May include changes in other current assets and liabilities, other noncurrent assets and liabilities, or a combination of other current and noncurrent assets and liabilities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 26 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInFinancingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInOperatingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Other Comprehensive Income -URI http://asc.fasb.org/extlink&oid=6519514 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Net Income -URI http://asc.fasb.org/extlink&oid=6518256 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.19) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.18) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.22) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 19 -Article 5 Reference 9: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 20 -Article 9 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from the additional capital contribution to the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow from capital contributions to an entity associated with a dividend reinvestment plan. + References No definition available. + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonStockDividendReinvestmentPlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The net cash inflow or outflow for borrowing having initial term of repayment within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 9 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3098-108585 + Details
Name: | us-gaap_ProceedsFromRepaymentsOfShortTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow associated with the amount received from holders exercising their stock options. This item inherently excludes any excess tax benefit, which the entity may have realized and reported separately. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (j) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=us-gaap_ParentCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=mbcn_EmeraldBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=mbcn_EMORECOMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=mbcn_MiddlefieldBankingCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=mbcn_BeginningOfYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=mbcn_EndOfYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |