XML 140 R124.htm IDEA: XBRL DOCUMENT
v3.20.4

Income Taxes (Narrative) (Details) - USD ($) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2019 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Income Taxes [Line Items] |  |  |  |  |
Net operating loss carryforwards |  | $ 119,000 | $ 3,008,000 |  |
Income tax impacts of the components of other comprehensive income |  | 21.00% | 21.00% | 21.00% |
Effective income tax rate reconciliation at federal federal tax benefit |  | $ 6,581,000 | $ 4,499,000 | $ 2,672,000 |
Charitable contribution carryforwards |  | 0 | 785,000 |  |
Charitable contribution carryforwards written off |  |  | 211,000 |  |
Additional tax expense recorded related to charitable contribution carryforwards | $ 44,000 |  |  |  |
Unrecognized tax benefits that would affect the effective income tax rate if recognized |  | 0 |  |  |
Income tax examination, penalties and interest expense |  | 0 | 0 | $ 0 |
Income tax examination, penalties and interest accrued |  | 0 | $ 0 |  |
CARES Act [Member] |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |
Income tax impacts of the components of other comprehensive income |  |  |  | 21.00% | 34.00%
Effective income tax rate reconciliation at federal federal tax benefit |  | $ 318,000 |  |  |
Tax Cuts and Jobs Act, pre NOL taxable income percentage |  | 0.80 |  |  |
Tax credit carryforwards alternative minimum tax refundable percent |  |  |  | 100.00% |
Scottdale Bank and Trust Company [Member] |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |
Taxable income related to acquisition |  | $ 1,313,000 |  |  |
Scottdale Bank and Trust Company [Member] | CARES Act [Member] |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |
Net operating loss carryforwards |  |  |  | $ 1,238,000 |
First Priority Financial Corp. [Member] |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |
Taxable income related to acquisition |  | 1,854,000 |  |  |
Acquired Section 1231 losses |  | $ 314,000 |  |  |
Acquired section 1231 losses, expire period |  | 2022 |  |  |
First Priority Financial Corp. [Member] | CARES Act [Member] |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |
Net operating loss carryforwards |  | $ 119,000 |  | $ 1,214,000 |
Net operating loss carryforwards expiration period |  | expires in 2032 |  |  |

X
- Definition Charitable contribution carryforwards written off. + References No definition available. + Details
Name: | mpb_CharitableContributionCarryforwardsWrittenOff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Income tax reconciliation additional tax expense charitable contributions. + References No definition available. + Details
Name: | mpb_IncomeTaxReconciliationAdditionalTaxExpenseCharitableContributions
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Income tax reconciliation deductible loss. + References No definition available. + Details
Name: | mpb_IncomeTaxReconciliationDeductibleLoss
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Income tax reconciliation deductible loss expire period. + References No definition available. + Details
Name: | mpb_IncomeTaxReconciliationDeductibleLossExpirePeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Income Taxes. + References No definition available. + Details
Name: | mpb_IncomeTaxesLineItems
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating loss carryforwards expiration period. + References No definition available. + Details
Name: | mpb_OperatingLossCarryforwardsExpirationPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax credit carryforwards alternative minimum tax refundable percent. + References No definition available. + Details
Name: | mpb_TaxCreditCarryforwardsAlternativeMinimumTaxRefundablePercent
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Taxable income related to acquisition. + References No definition available. + Details
Name: | mpb_TaxableIncomeRelatedToAcquisition
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible charitable contribution carryforwards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32632-109319 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32621-109319 + Details
Name: | us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.Fact.4) -URI http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32718-109319 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The sum of the amounts of estimated penalties and interest recognized in the period arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32718-109319 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 + Details
Name: | us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of increase (decrease) in effective tax rate for measurement period adjustment from accounting for tax effect pursuant to Tax Cuts and Jobs Act. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 2A -Subparagraph (SAB Topic 5.EE.Q2(g)) -URI http://asc.fasb.org/extlink&oid=116825942&loc=SL116722634-122817 + Details
Name: | us-gaap_TaxCutsAndJobsActOf2017MeasurementPeriodAdjustmentIncreaseDecreaseInEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_UnusualRiskOrUncertaintyByNatureAxis=mpb_CARESActMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mpb_ScottdaleBankAndTrustCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mpb_FirstPriorityFinancialCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |