XML 93 R71.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Loans and Allowance for Loan and Lease Losses (Narrative) (Detail) | 3 Months Ended | 6 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | ---
Jun. 30, 2017 USD ($) Loans | Jun. 30, 2016 USD ($) Loans | Jun. 30, 2017 USD ($) Loans | Jun. 30, 2016 USD ($) Loans | Dec. 31, 2016 USD ($) Loans | Dec. 31, 2015 USD ($) | Dec. 31, 2014 USD ($) Loans | Dec. 31, 2013 USD ($) Loans | Dec. 31, 2009 Loans | Dec. 31, 2008 Loans | Mar. 29, 2017 USD ($) | Mar. 31, 2016 USD ($)
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable Deferred Fees And Costs | $ 435,000 |  | $ 435,000 |  | $ 196,000 | $ 178,000 |  |  |  |  |  |
Loans and Leases Receivable, Impaired, Interest Lost on Nonaccrual Loans |  |  |  |  | 666,000 | 778,000 | $ 798,000 |  |  |  |  |
Loans and Leases Receivable, Impaired, Commitment to Lend |  |  |  |  | 0 |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | $ 3,030,000 |  | 3,030,000 |  | 3,515,000 | 2,805,000 |  |  |  |  |  |
Charge-offs associated with troubled debt restructured loans |  |  | $ 0 | $ 0 | $ 0 | 0 |  |  |  |  |  |
Number of troubled debt restructured loans | Loans | 0 | 0 | 0 | 0 | 0 |  |  |  |  |  |  |
Loans to certain executive officers, directors, and their related interests |  |  |  |  | $ 17,594,000 | 10,657,000 |  |  |  |  |  |
Loans to certain executive officers, directors, and their related interests, new loans and advances |  |  |  |  | 14,479,000 |  |  |  |  |  |  |
Loans to certain executive officers, directors, and their related interests, Repayments |  |  |  |  | 7,542,000 |  |  |  |  |  |  |
Contractual payment of principal or interest past due period for discontinuing accrual of interest |  |  | 90 days |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | $ 7,713,000 | $ 6,912,000 | $ 7,713,000 | $ 6,912,000 | 7,183,000 | 6,168,000 | $ 6,716,000 | $ 6,317,000 |  |  | $ 7,620,000 | $ 6,439,000
Non-residential loans and lease charged off period |  |  | 120 days |  |  |  |  |  |  |  |  |
Number of additional troubled debt restructured loans | Loans | 0 | 0 | 0 | 0 |  |  |  |  |  |  |  |
Other Real Estate | $ 0 |  | $ 0 |  | 57,000 |  |  |  |  |  |  |
Number of consumer mortgage loans foreclosure proceedings in process | Loans |  |  | 3 |  |  |  |  |  |  |  |  |
Loans for which formal foreclosure proceedings are in process | 140,000 |  | $ 140,000 |  | $ 426,000 | 0 |  |  |  |  |  |
Under Forbearance Agreement 2016 Period [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of forbearance agreements negotiated | Loans |  |  |  |  | 3 |  | 1 | 2 | 8 | 1 |  |
Under Forbearance Agreement 2015 Period [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of forbearance agreements negotiated | Loans |  |  |  |  |  |  | 1 | 2 | 9 | 1 |  |
Accruing [Member] | Five Loans [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  | $ 877,000 |  |  |  |  |  |  |
Accruing [Member] | Four Borrowers [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  |  | 459,000 |  |  |  |  |  |
Accruing [Member] | One Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 503,000 |  | 503,000 |  |  |  |  |  |  |  |  |
Nonaccruing [Member] | Ten Loans With Four Relationships [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 2,473,000 |  | 2,473,000 |  | 2,638,000 |  |  |  |  |  |  |
Nonaccruing [Member] | Two Large Relationships [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 2,057,000 |  | $ 2,057,000 |  | 2,170,000 |  |  |  |  |  |  |
Nonaccruing [Member] | Nine Loans Four Related Borrowers [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  |  | 2,346,000 |  |  |  |  |  |
Nonaccruing [Member] | One of Four Relationships Borrowers [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  |  | 1,370,000 |  |  |  |  |  |
Residential Mortgage [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Maximum loan maturity period |  |  | 30 years |  |  |  |  |  |  |  |  |
Residential Mortgage [Member] | Residential Portfolio [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 623,000 |  | $ 623,000 |  | 639,000 | 555,000 |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | 539,000 | $ 521,000 | 539,000 | $ 521,000 | 541,000 | 534,000 | $ 450,000 | $ 581,000 |  |  | 532,000 | 516,000
Residential Mortgage [Member] | Accruing [Member] | Four Unrelated Borrowers [Member] | Residential Portfolio [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  | 571,000 |  |  |  |  |  |  |
Residential Mortgage [Member] | Accruing [Member] | Three of Four Unrelated Borrowers [Member] | Consumer Portfolio [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  |  | 64,000 |  |  |  |  |  |
Residential Mortgage [Member] | Accruing [Member] | Four Loans [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 557,000 |  | $ 557,000 |  |  |  |  |  |  |  |  |
Residential Mortgage [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loan-to-value ratio |  |  | 100.00% |  |  |  |  |  |  |  |  |
Commercial Real Estate [Member] | Commercial Portfolio [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment | 2,407,000 |  | $ 2,407,000 |  | 2,871,000 | 2,235,000 |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | 4,981,000 | 4,241,000 | $ 4,981,000 | 4,241,000 | 4,323,000 | 3,552,000 | 3,925,000 | 4,006,000 |  |  | 4,715,000 | 3,777,000
Commercial Real Estate [Member] | Accruing [Member] | Other Borrower [Member] | Commercial Portfolio [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  | 306,000 | 395,000 |  |  |  |  |  |
Commercial and Industrial [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Maximum term on non-mortgage lines of credit |  |  | 1 year |  |  |  |  |  |  |  |  |
Commercial and Industrial [Member] | Commercial Portfolio [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Modifications, Recorded Investment |  |  |  |  | 5,000 | 15,000 |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | $ 1,628,000 | 1,372,000 | $ 1,628,000 | 1,372,000 | 1,580,000 | 1,393,000 | 1,393,000 | 1,187,000 |  |  | 1,630,000 | 1,427,000
Commercial and Industrial [Member] | LTV Less than 80 Percent [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loan-to-value ratio |  |  | 80.00% |  |  |  |  |  |  |  |  |
Private Mortgage [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loan-to-value ratio |  |  | 85.00% |  |  |  |  |  |  |  |  |
Home Equity [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Maximum loan maturity period |  |  | 20 years |  |  |  |  |  |  |  |  |
Percentage of appraised Value of property securing loan | 85.00% |  | 85.00% |  |  |  |  |  |  |  |  |
Mortgage Lines Of Credit Period |  |  | 5 years |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | $ 404,000 | $ 325,000 | $ 404,000 | $ 325,000 | 379,000 | $ 317,000 | $ 653,000 | $ 441,000 |  |  | $ 364,000 | $ 303,000
Unfunded Lending Commitments [Member] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Financing Receivable, Allowance for Credit Losses | $ 127,000 |  | $ 127,000 |  | $ 120,000 |  |  |  |  |  |  |

X
- Definition Contractual payment of principal or interest past due period. + References No definition available. + Details
Name: | mpb_ContractualPaymentOfPrincipalOrInterestPastDuePeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable Deferred Fees And Costs + References No definition available. + Details
Name: | mpb_FinancingReceivableDeferredFeesAndCosts
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Financing receivable modifications number of additional contracts. + References No definition available. + Details
Name: | mpb_FinancingReceivableModificationsNumberOfAdditionalContracts
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loan maturity period. + References No definition available. + Details
Name: | mpb_LoanMaturityPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Mortgage lines of credit period. + References No definition available. + Details
Name: | mpb_MortgageLinesOfCreditPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Non mortgage lines of credit period. + References No definition available. + Details
Name: | mpb_NonMortgageLinesOfCreditPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Non-residential loans and lease charged off period. + References No definition available. + Details
Name: | mpb_NonResidentialLoansAndLeaseChargedOffPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of consumer mortgage loans secured by residential real estate properties foreclosure proceedings in process. + References No definition available. + Details
Name: | mpb_NumberOfConsumerMortgageLoansForeclosureProceedingsInProcess
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Percentage of property securing loan. + References No definition available. + Details
Name: | mpb_PercentageOfPropertySecuringLoan
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6351-108592 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13531-108611 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=84177426&loc=d3e6404-108592 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition A valuation allowance for financing receivables that are expected to be uncollectible. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953423-111524 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_FinancingReceivableAllowanceForCreditLossesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsNumberOfContracts2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=82895541&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivableModificationsRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Reflects the amount of the write-down related to a troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=82895541&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivablesImpairedTroubledDebtRestructuringWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reflects the unfunded portion of contractual agreements to lend funds to borrowers for loans whose terms have been modified by troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82895541&loc=d3e18794-111554 + Details
Name: | us-gaap_LoansAndLeasesReceivableImpairedCommitmentToLend
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Reflects the amount of additional interest income that would have been recorded if impaired or nonperforming loans were instead current, in compliance with their original terms, and outstanding throughout the reporting period or since origination (if held for part of the period). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82895541&loc=d3e18794-111554 + Details
Name: | us-gaap_LoansAndLeasesReceivableImpairedInterestLostOnNonaccrualLoans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition For an unclassified balance sheet, reflects the carrying amount of unpaid loan amounts due from related parties at the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.7(e)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_LoansAndLeasesReceivableRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Reflects the amount of new advances made to related parties in the form of loan and lease receivables. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.7(e)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_LoansAndLeasesReceivableRelatedPartiesAdditions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow from related parties which reduce the amount of loans and leases receivable due from related parties. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.7(e)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_LoansAndLeasesReceivableRelatedPartiesProceeds
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 35 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL49126937-111524 + Details
Name: | us-gaap_MortgageLoansInProcessOfForeclosureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This does not include real estate assets taken in settlement of troubled loans through surrender or foreclosure. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.10(4)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_OtherRealEstate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

X
- Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis=mpb_AccruingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_FiveLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_FourBorrowersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_OneLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis=mpb_NonaccruingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_TenLoansWithFourRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_TwoLargeRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_NineLoansFourRelatedBorrowersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_OneOfFourRelationshipsBorrowersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ResidentialMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_FourUnrelatedBorrowersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_ThreeOfFourUnrelatedBorrowersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_FourLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorCustomersAxis=mpb_OtherBorrowerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_CommercialAndIndustrialLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LoanToValueAxis=us-gaap_LtvLessThan80PercentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_PrivateMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_HomeEquityLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_UnfundedLoanCommitmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |