XML 67 R57.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Guarantees and Commitments (Narrative) (Details) - USD ($) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2018 | Dec. 31, 2017
Financial Standby Letters of Credit [Member] |  |
Commitments, Contingencies and Guarantees [Line Items] |  |
Concentration Risk, Credit Risk, Financial Instrument, Maximum Exposure | $ 17,803,000 | $ 20,496,000

X
- Definition Commitments, contingencies and guarantees. + References No definition available. + Details
Name: | mpb_CommitmentsContingenciesAndGuaranteesLineItems
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum amount of loss due to credit risk that, based on the gross fair value of the financial instrument, the entity would incur if parties to the financial instruments that make up the concentration failed completely to perform according to the terms of the contracts and the collateral or other security, if any, for the amount due proved to be of no value to the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskCreditRiskFinancialInstrumentMaximumExposure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_StandbyLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |