XML 143 R121.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Guarantees and Commitments (Narrative) (Detail) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2017 USD ($) Property | Dec. 31, 2016 USD ($) | Dec. 31, 2015 USD ($)
Commitments Contingencies And Guarantees [Line Items] |  |  |
Concentration Risk, Credit Risk, Financial Instrument, Maximum Exposure |  | $ 201,749,000 | $ 157,338,000
Fixed asset acquisition commitments settlement payment date | 2017-07 |  |
Harrisburg, PA [Member] | Commercial Building [Member] |  |  |
Commitments Contingencies And Guarantees [Line Items] |  |  |
Fixed asset acquisition commitments | $ 2,100,000 |  |
Harrisburg, PA [Member] | Vacant and Undeveloped Lots Adjacent to Commercial Building [Member] |  |  |
Commitments Contingencies And Guarantees [Line Items] |  |  |
Fixed asset acquisition commitments | $ 462,000 |  |
Number of fixed asset purchased | Property | 2 |  |
Halifax, PA [Member] | Land [Member] |  |  |
Commitments Contingencies And Guarantees [Line Items] |  |  |
Fixed asset acquisition commitments | $ 504,000 |  |
Financial Standby Letters of Credit [Member] |  |  |
Commitments Contingencies And Guarantees [Line Items] |  |  |
Concentration Risk, Credit Risk, Financial Instrument, Maximum Exposure | $ 23,595,000 | $ 14,000,000 |

X
- Definition Commitments Contingencies And Guarantees [Line Items] + References No definition available. + Details
Name: | mpb_CommitmentsContingenciesAndGuaranteesLineItems
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Purchase commitment settlement payment date. + References No definition available. + Details
Name: | mpb_PurchaseCommitmentSettlementPaymentDate
Namespace Prefix: | mpb_
Data Type: | xbrli:gYearMonthItemType
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
- Definition The minimum amount the entity agreed to spend under the long-term purchase commitment. + References No definition available. + Details
Name: | us-gaap_LongTermPurchaseCommitmentAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of real estate properties owned as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfRealEstateProperties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_StatementGeographicalAxis=mpb_HarrisburgPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=mpb_CommercialBuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=mpb_VacantAndUndevelopedLotsAdjacentToCommercialBuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementGeographicalAxis=mpb_HalifaxPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LandMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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