XML 109 R126.htm IDEA: XBRL DOCUMENT
v3.20.1

Commitments and Contingencies (Narrative) (Details) | 3 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Jun. 30, 2018 USD ($) Apartment | Dec. 31, 2019 USD ($) | Dec. 31, 2018 USD ($)
Other Commitments [Line Items] |  |  |
Number of apartments under the project | Apartment | 37 |  |
Limited partner capital contribution commitment | $ 7,579,000 |  |
Annual LIHTCs mount awarded for the project | 861,000 |  |
Total anticipated LIHTCs amount under the housing project | $ 8,613,000 |  |
Project investment amortization period | 10 years | 10 years |
Carrying value of investment in limited partnership |  | $ 190,000 | $ 233,000
Other Assets [Member] |  |  |
Other Commitments [Line Items] |  |  |
Carrying value of investment in limited partnership |  | $ 7,249,000 | $ 1,710,000

X
- Definition Affordable housing tax credits and other tax benefits anticipated amount. + References No definition available. + Details
Name: | mpb_AffordableHousingTaxCreditsAndOtherTaxBenefitsAnticipatedAmount
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of apartments. + References No definition available. + Details
Name: | mpb_NumberOfApartments
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Qualified affordable housing project investments amortization period. + References No definition available. + Details
Name: | mpb_QualifiedAffordableHousingProjectInvestmentsAmortizationPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of affordable housing tax credits and other tax benefits recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 740 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=116633289&loc=SL49122993-202985 + Details
Name: | us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment in equity method investee and investment in and advance to affiliate. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures
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_OtherCommitmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of commitment or contingent commitments to qualified affordable housing project investments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 740 -Section 50 -Paragraph 2 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=116633289&loc=SL49122993-202985 + Details
Name: | us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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