XML 128 R107.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Note 20 - Business Acquisition - Purchase Price and Adjustments (Details) - USD ($) |  | 12 Months Ended
--- | --- | ---
Jan. 12, 2017 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Goodwill |  | $ 15,071,000 | $ 4,559,000 |
Merger of Liberty Bank, N.A. into The Middlefield Banking Company [Member] |  |  |  |
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares | 544,610 |  |  |
Shares Issued, Price Per Share | $ 38.55 |  |  |
Purchase price assigned to Liberty common shares exchanged for Middlefield Banc Corp. shares | $ 20,995,000 |  |  |
Purchase price assigned to Liberty common shares exchanged for cash | 21,173,000 |  |  |
Business Combination, Consideration Transferred | 42,168,000 |  |  |
Previously held equity interest in Liberty | 1,068,000 | 1,068,000 |  |
Liberty shareholders equity | 30,474,000 |  |  |
Allowance for loan loss | 3,257,000 |  |  |
Loans - interest rate | 578,000 |  |  |
Loans - general credit | (2,161,000) |  |  |
Core deposit intangible | 3,087,000 |  |  |
Other | 254,000 |  |  |
Time deposits | (141,000) |  |  |
Deferred taxes | (906,000) |  |  |
Change in control | (1,718,000) |  |  |
Total net assets acquired | 32,724,000 |  |  |
Goodwill | $ 10,512,000 | $ 10,500,000 |  |

X
- Definition Value of equity interests (such as common shares, preferred shares, or partnership interest) exchanged with the acquiree equity interests to acquire the entity. + References No definition available. + Details
Name: | mbcn_BusinessAcquisitionEquityInterestExchangedValueAssigned
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fair value at acquisition-date of the assets and liabilities of the acquiree in a business acquisition, including the acquiring entity's prior interest. + References No definition available. + Details
Name: | mbcn_BusinessCombinationAdjustedFairValueOfAcquireeIncludingTheAcquiringEntitysPriorInterest
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This element represents the amount of any measurement period fair value adjustment (as defined) realized during the reporting period to allowance for loan losses acquired in connection with a business combination. + References No definition available. + Details
Name: | mbcn_BusinessCombinationFairValueAdjustmentsAllowanceForLoanLosses
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period fair value adjustment (as defined) realized during the reporting period to the stockholder's equity acquired in connection with a business combination. + References No definition available. + Details
Name: | mbcn_BusinessCombinationFairValueAdjustmentsChangeInStockholdersEquity
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period fair value adjustment (as defined) realized during the reporting period to core deposit intangibles acquired in connection with a business combination. + References No definition available. + Details
Name: | mbcn_BusinessCombinationFairValueAdjustmentsCoreDepositIntangibles
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period fair value adjustment (as defined) realized during the reporting period to deferred tax liabilities acquired in connection with a business combination. + References No definition available. + Details
Name: | mbcn_BusinessCombinationFairValueAdjustmentsDeferredTaxLiabilities
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period fair value adjustment (as defined) realized during the reporting period to loans receivables regarding general credit acquired in connection with a business combination. + References No definition available. + Details
Name: | mbcn_BusinessCombinationFairValueAdjustmentsLoansGeneralCredit
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period fair value adjustment (as defined) realized during the reporting period to loans receivable regarding interest rates acquired in connection with a business combination. + References No definition available. + Details
Name: | mbcn_BusinessCombinationFairValueAdjustmentsLoansInterestRates
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period fair value adjustment (as defined) realized during the reporting period to other assets acquired in connection with a business combination. + References No definition available. + Details
Name: | mbcn_BusinessCombinationFairValueAdjustmentsOtherAssets
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents the amount of any measurement period fair value adjustment (as defined) realized during the reporting period to time deposits acquired in connection with a business combination. + References No definition available. + Details
Name: | mbcn_BusinessCombinationFairValueAdjustmentsTimeDeposits
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The carrying value of net assets acquired at acquisition-date from the acquiree, immediately before the acquisition date for businesses. + References No definition available. + Details
Name: | mbcn_BusinessCombinationNetAssetsAcquiredCarryingValue
Namespace Prefix: | mbcn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value at acquisition-date of the equity interest in the acquiree held by the acquirer, immediately before the acquisition date for businesses combined in stages. + 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)(1) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13770-109266 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=77989000&loc=SL49117168-202975 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Per share or per unit amount of equity securities issued. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

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