XML 45 R134.htm IDEA: XBRL DOCUMENT
v3.20.1

Recent Accounting Pronouncements (Narrative) (Details) | 3 Months Ended |  |  |
--- | --- | --- | --- | ---
Dec. 31, 2019 USD ($) security | Jan. 01, 2019 USD ($) Location Lease | Dec. 31, 2018 USD ($) | Dec. 31, 2017 USD ($)
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |
Operating lease right of use asset | $ 11,442,000 |  |  |
Operating lease liability | 12,544,000 |  |  |
Finance lease right of use asset | 3,447,000 |  |  |
Finance lease liability | $ 3,551,000 |  |  |
ASU 2019-04 [Member] |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |
Number of held-to-maturity debt securities | security | 113 |  |  |
Debt securities, held-to-maturity with an aggregate amortized cost | $ 67,096,000 |  |  |
Number of held-to-maturity debt securities sold | security | 113 |  |  |
Gain (Loss) on sale of debt securities | $ 1,779,000 |  |  |
ASU 2016-02 [Member] |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |
Operating lease right of use asset |  | $ 11,661,000 |  |
Operating lease liability |  | 12,866,000 |  |
Opening adjustment to retaining earnings |  | $ 316,000 |  |
Number of retail branch locations which deferred sale/lease back gain recorded | Location |  | 2 |  |
Number of leased properties | Lease |  | 24 |  |
Finance lease right of use asset | 3,597,000 |  |  |
Finance lease liability | $ 3,597,000 |  |  |
Finance Lease, Liability, Statement of Financial Position [Extensible List] | us-gaap:LongTermDebtMember |  |  |
One-time cumulative-effect adjustment based upon adoption |  |  | $ 316,000 |
ASU 2016-02 [Member] | Retained Earnings [Member] |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |
One-time cumulative-effect adjustment based upon adoption |  |  | $ 316,000 |
ASU 2016-01 [Member] |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |
One-time cumulative-effect adjustment based upon adoption |  |  |  | $ (9,000)
ASU 2016-01 [Member] | Deferred Tax Assets [Member] |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |
One-time cumulative-effect adjustment based upon adoption |  |  |  | (9,000)
ASU 2016-01 [Member] | Retained Earnings [Member] |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |
One-time cumulative-effect adjustment based upon adoption |  |  |  | (44,000)
ASU 2016-01 [Member] | Accumulated Other Comprehensive Loss [Member] |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |
One-time cumulative-effect adjustment based upon adoption |  |  |  | $ 35,000

X
- Definition Number of held to maturity debt securities. + References No definition available. + Details
Name: | mpb_NumberOfHeldToMaturityDebtSecurities
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of held-to-maturity debt securities sold. + References No definition available. + Details
Name: | mpb_NumberOfHeldToMaturityDebtSecuritiesSold
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of leased properties. + References No definition available. + Details
Name: | mpb_NumberOfLeasedProperties
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of retail branch locations which deferred sale/lease back gain is recorded. + References No definition available. + Details
Name: | mpb_NumberOfRetailBranchLocationsWhichDeferredSaleLeasebackGainRecorded
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount after tax of increase (decrease) to equity or (increase) decrease to net assets, resulting from the cumulative effect adjustment of a new accounting principle applied in the period of adoption. + References No definition available. + Details
Name: | us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References No definition available. + Details
Name: | us-gaap_DebtSecuritiesRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from finance lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=77888426&loc=SL77918701-209980 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977 + Details
Name: | us-gaap_FinanceLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes finance lease liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918631-209977 + Details
Name: | us-gaap_FinanceLeaseLiabilityStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | srt-types:extensibleListItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under finance lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977 + Details
Name: | us-gaap_FinanceLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before other-than-temporary impairment (OTTI) accretion, of investment in debt securities measured at amortized cost (held-to-maturity). + References No definition available. + Details
Name: | us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after tax of cumulative effect of restatement on the opening retained earnings of the earliest year presented. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 7 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109234566&loc=d3e22644-107794 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=109234566&loc=d3e22658-107794 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=109234566&loc=d3e22663-107794 + Details
Name: | us-gaap_ImpactOfRestatementOnOpeningRetainedEarningsNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=mpb_AccountingStandardsUpdate201904Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201602Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201601Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=mpb_DeferredTaxAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedOtherComprehensiveIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |