XML 50 R40.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Loans and Allowance for Loan and Lease Losses (Troubled Debt Restructurings) (Details) - USD ($) | 9 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2017 | Dec. 31, 2016
Financing Receivable, Modifications [Line Items] |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | $ 7,754,000 | $ 5,368,000
Financing Receivable, Modifications, Post-Modification Recorded Investment | 7,948,000 | 4,823,000
Financing Receivable, Modifications, Recorded Investment | 6,868,000 | 3,515,000
Commercial Portfolio [Member] | Commercial and Industrial [Member] |  |
Financing Receivable, Modifications [Line Items] |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 4,110,000 | 40,000
Financing Receivable, Modifications, Post-Modification Recorded Investment | 4,460,000 | 35,000
Financing Receivable, Modifications, Recorded Investment | 4,460,000 | 5,000
Commercial Portfolio [Member] | Commercial Real Estate [Member] |  |
Financing Receivable, Modifications [Line Items] |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 2,885,000 | 4,569,000
Financing Receivable, Modifications, Post-Modification Recorded Investment | 2,731,000 | 4,031,000
Financing Receivable, Modifications, Recorded Investment | 1,792,000 | 2,871,000
Residential Portfolio [Member] | Residential Mortgage [Member] |  |
Financing Receivable, Modifications [Line Items] |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 759,000 | 759,000
Financing Receivable, Modifications, Post-Modification Recorded Investment | 757,000 | 757,000
Financing Receivable, Modifications, Recorded Investment | $ 616,000 | $ 639,000

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

X
- Definition Post-modification amount of investment in financing receivables 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_FinancingReceivableModificationsPostModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Pre-modification amount of investment in financing receivables 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_FinancingReceivableModificationsPreModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
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_FinancialInstrumentAxis=us-gaap_ResidentialMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |