XML 75 R65.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Agreement and Plan of Merger (Narrative) (Details) - First Priority Financial Corp. [Member] $ in Billions | Jan. 16, 2018 USD ($)
--- | ---
Business Acquisition [Line Items] |
Plan of merger agreement, date | Jan. 16, 2018
Business acquisition, proforma assets | $ 2
Shares of acquirer ratio of common stock | 34.81%

X
- Definition Business acquisition proforma assets. + References No definition available. + Details
Name: | mpb_BusinessAcquisitionProformaAssets
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Shares Of Acquirer Ratio Of Common Stock + References No definition available. + Details
Name: | mpb_SharesOfAcquirerRatioOfCommonStock
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the business acquisition agreement was executed, in CCYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionDateOfAcquisitionAgreement1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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