XML 80 R58.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Summary of Significant Accounting Policies (Narrative) (Detail) - USD ($) | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jun. 30, 2017 | Jun. 30, 2016 | Jun. 30, 2017 | Jun. 30, 2016 | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Net gain on sales of investment securities | $ 12,000 | $ 213,000 | $ 20,000 | $ 213,000 | $ 1,046,000 | $ 325,000 | $ 168,000
Held-to-maturity Securities | 71,096,000 |  | 71,096,000 |  | 0 | 0 |
Mortgage banking income | 225,000 | 246,000 | 416,000 | 432,000 | 922,000 | 456,000 | 313,000
Other securities | 64,000 | $ 78,000 | 107,000 | $ 172,000 | 304,000 | 382,000 | 155,000
Residential real estate held in other real estate owned |  |  |  |  | 57,000 | 358,000 |
Foreclosure proceedings in process | $ 140,000 |  | $ 140,000 |  | 426,000 | 0 |
Mortgage servicing rights |  |  |  |  | 144,000 | 174,000 |
Mortgage servicing rights, amortization |  |  |  |  | 30,000 | 24,000 | 36,000
Investments in and Advance to Affiliates, Subsidiaries, Associates, and Joint Ventures |  |  |  |  | 321,000 | 365,000 |
Low Income Housing Tax Credit |  |  |  |  | $ 46,000 | 46,000 | 46,000
Core Deposit Intangible, Amortization Period |  |  |  |  | 10 years |  |
Goodwill, Impairment Loss |  |  |  |  | $ 0 | $ 0 | $ 0
Class of warrant or right, outstanding | 0 | 0 | 0 | 0 | 0 | 0 | 0
Federal Home Loan Bank of Pittsburgh [Member] |  |  |  |  |  |  |
Other securities |  |  |  |  | $ 135,000 | $ 250,000 |
Restricted investments |  |  |  |  | 2,443,000 | 4,266,000 |
Reserve for Off-balance Sheet Activities [Member] |  |  |  |  |  |  |
Valuation Allowances and Reserves, Balance |  |  |  |  | $ 120,000 | $ 94,500 |
Commercial Portfolio [Member] |  |  |  |  |  |  |
Loan Terms |  |  |  |  | 1 year |  |
Loan To Value Ratio |  |  |  |  | 80.00% |  |
Maximum [Member] |  |  |  |  |  |  |
Maturity of interest bearing time deposits with other financial institutions |  |  |  |  | 1 year |  |
Non-residential consumer loans charged off on contractual basis in event of bankruptcy, in period |  |  |  |  | 120 days |  |
Maximum [Member] | Building Assets [Member] |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 50 years |  |
Maximum [Member] | Furniture, Fixtures, and Equipment [Member] |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 10 years |  |
Maximum [Member] | Land Improvements [Member] |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 20 years |  |
Maximum [Member] | Leasehold Improvements [Member] |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 30 years |  |
Maximum [Member] | Home equity lines of credit [Member] |  |  |  |  |  |  |
Loan Terms |  |  |  |  | 20 years |  |
Loan To Value Ratio |  |  |  |  | 85.00% |  |
Maximum [Member] | Home Equity Lines Of Credit [Member] |  |  |  |  |  |  |
Loan Terms |  |  |  |  | 5 years |  |
Maximum [Member] | Residential Portfolio [Member] |  |  |  |  |  |  |
Loan Terms |  |  |  |  | 30 years |  |
Loan To Value Ratio |  |  |  |  | 100.00% |  |
Loan To Value Ratio, Exposure After Private Mortgage Insurance |  |  |  |  | 85.00% |  |
Minimum [Member] | Building Assets [Member] |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 5 years |  |
Minimum [Member] | Furniture, Fixtures, and Equipment [Member] |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 3 years |  |
Minimum [Member] | Land Improvements [Member] |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 10 years |  |
Minimum [Member] | Leasehold Improvements [Member] |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 10 years |  |

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

X
- Definition Loan to value ratio. + References No definition available. + Details
Name: | mpb_LoanToValueRatio
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Loan to value ratio, exposure after private mortgage insurance. + References No definition available. + Details
Name: | mpb_LoanToValueRatioExposureAfterPrivateMortgageInsurance
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Low income housing tax credit. + References No definition available. + Details
Name: | mpb_LowIncomeHousingTaxCredit
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The noninterest income derived from mortgage banking activities (fees and commissions), excluding fees earned from servicing third-party assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.13 (d)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_FeesAndCommissionsMortgageBanking
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The net gain (loss) realized from the sale, exchange, redemption, or retirement of securities, not separately or otherwise categorized as trading, available-for-sale, or held-to-maturity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.13(h)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.3) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 + Details
Name: | us-gaap_GainLossOnSaleOfSecuritiesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13854-109267 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13777-109266 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 Total investments in (A) an entity in which the entity has significant influence, but does not have control, (B) subsidiaries that are not required to be consolidated and are accounted for using the equity and or cost method, and (C) an entity in which the reporting entity shares control of the entity with another party or group. Includes long-term advances receivable from a party that is affiliated with the reporting entity by means of direct or indirect ownership. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Period of time between issuance and maturity of customer deposits, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Industry Guide -Number 3 -Section V -Paragraph D-E + Details
Name: | us-gaap_MaturityOfTimeDeposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
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 Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.4) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_OtherInterestAndDividendIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of other real estate and foreclosed assets. Other real estate may include 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. Foreclosed assets include all assets obtained in full or partial satisfaction of a debt arrangement through foreclosure proceedings. + 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_OtherRealEstateAndForeclosedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investments which are not defined as or included in marketable (debt, equity, or other) securities whose use is restricted in whole or in part, generally by contractual agreements or regulatory requirements. For use in an unclassified balance sheet. + References No definition available. + Details
Name: | us-gaap_RestrictedInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Aggregate amount of servicing assets that are subsequently measured at fair value and servicing assets that are subsequently measured using the amortization method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745 + Details
Name: | us-gaap_ServicingAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of amortization of contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 50 -Paragraph 4 -Subparagraph (a)(4) -URI http://asc.fasb.org/extlink&oid=68078379&loc=d3e122739-111746 + Details
Name: | us-gaap_ServicingAssetAtAmortizedValueAmortization1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Threshold period past due for financing receivable to write off as uncollectible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_ThresholdPeriodPastDueForWriteoffOfFinancingReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total of allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset (in order to value it at its carrying value) or that reflect a liability established to represent expected future costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis=us-gaap_FederalHomeLoanBankOfPittsburghMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=us-gaap_ReserveForOffBalanceSheetActivitiesMember
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_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mpb_HomeEquityLinesOfCreditMember
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_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |