XML 90 R68.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Investment Securities (Narrative) (Detail) | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jun. 30, 2017 USD ($) Security | Jun. 30, 2017 USD ($) Security | Jun. 30, 2016 USD ($) | Dec. 31, 2016 USD ($) Security | Dec. 31, 2015 USD ($) Security | Dec. 31, 2014 USD ($)
Schedule of Investments [Line Items] |  |  |  |  |  |
Available-for-sale Securities Pledged as Collateral | $ 126,032,000 | $ 126,032,000 |  | $ 131,469,000 | $ 130,298,000 |
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions | Security | 97 | 97 |  | 151 | 47 |
Available-for-sale Securities, Continuous Unrealized Loss Position, Accumulated Loss | $ 1,719,000 | $ 1,719,000 |  | $ 4,565,000 | $ 403,000 |
Available-for-sale, Securities in Unrealized Loss Positions, Depreciation Percentage |  |  |  | 3.82% | 1.19% |
Available-for-sale Securities, Gross Realized Gains | 77,000 | 200,000 | $ 450,000 | $ 1,927,000 | $ 325,000 | $ 168,000
Available-for-sale Securities, Gross Realized Losses | (65,000) | (180,000) | $ (237,000) | $ 881,000 | 0 | $ 0
Number of debt securities sold for gross realized gains | Security |  |  |  | 102 |  |
Number of debt securities sold for gross realized losses | Security |  |  |  | 56 |  |
Held to maturity securities | $ 71,096,000 | $ 71,096,000 |  | $ 0 | $ 0 |
Debt Securities [Member] |  |  |  |  |  |
Schedule of Investments [Line Items] |  |  |  |  |  |
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions | Security |  |  |  | 149 | 45 |
Equity Securities [Member] |  |  |  |  |  |
Schedule of Investments [Line Items] |  |  |  |  |  |
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions | Security | 1 | 1 |  | 2 | 2 |
Available-for-sale Securities, Continuous Unrealized Loss Position, Accumulated Loss | $ 40,000 | $ 40,000 |  | $ 112,000 | $ 33,000 |

X
- Definition Represents the percentage of depreciation from the amortized cost basis of available-for-sale debt securities in unrealized loss positions at the balance sheet date + References No definition available. + Details
Name: | mpb_AvailableforsaleSecuritiesInUnrealizedLossPositionsDepreciationPercentage
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of debt securities sold for gross realized gains. + References No definition available. + Details
Name: | mpb_NumberOfDebtSecuritiesSoldForGrossRealizedGains
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of debt securities sold for gross realized losses. + References No definition available. + Details
Name: | mpb_NumberOfDebtSecuritiesSoldForGrossRealizedLosses
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale in a continuous loss position. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27337-111563 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27290-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the gross profit realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27357-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedGains
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This item represents the gross loss realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27357-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The fair value of available-for-sale securities that serve as collateral for borrowings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5086-111524 + Details
Name: | us-gaap_AvailableForSaleSecuritiesPledgedAsCollateral
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investment positions in available-for-sale investments in a continuous unrealized loss position for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27290-111563 + Details
Name: | us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount after other than temporary impairment (OTTI) accretion, of investments in debt securities classified as held-to-maturity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=75030427&loc=d3e22054-111558 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27232-111563 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.1) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 5: 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.6) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_HeldToMaturitySecurities
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_ScheduleOfInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_EquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |