2.4.0.800400 - Statement - Consolidated Statement of Changes In Shareholder's EquitytruefalseIn Thousandsfalse1falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseSeries A Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesAPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalseRetained Earnings [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RetainedEarningsMemberus-gaap_StatementEquityComponentsAxisexplicitMemberSeries A Preferred Stock [Member]Retained Earnings [Member]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseSeries A Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesAPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalseRetained Earnings [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RetainedEarningsMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$2falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseSeries A Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesAPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMembertruefalseEquity Component [Domain]us-gaap_StatementEquityComponentsAxisus-gaap_EquityComponentDomainus-gaap_StatementEquityComponentsAxisexplicitMemberSeries A Preferred Stock [Member]Equity Component [Domain]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseSeries A Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesAPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDUSD$3falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseSeries B Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesBPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalsePreferred Stock [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PreferredStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberSeries B Preferred Stock [Member]Preferred Stock [Member]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseSeries B Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesBPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalsePreferred Stock [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PreferredStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$4falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseSeries B Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesBPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalseRetained Earnings [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RetainedEarningsMemberus-gaap_StatementEquityComponentsAxisexplicitMemberSeries B Preferred Stock [Member]Retained Earnings [Member]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseSeries B Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesBPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalseRetained Earnings [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RetainedEarningsMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$5falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseSeries B Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesBPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMembertruefalseEquity Component [Domain]us-gaap_StatementEquityComponentsAxisus-gaap_EquityComponentDomainus-gaap_StatementEquityComponentsAxisexplicitMemberSeries B Preferred Stock [Member]Equity Component [Domain]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseSeries B Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesBPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDUSD$6falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*truefalseClass of Stock [Domain]us-gaap_StatementClassOfStockAxisus-gaap_ClassOfStockDomainus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalsePreferred Stock [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PreferredStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberClass of Stock [Domain]Preferred Stock [Member]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalsePreferred Stock [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PreferredStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$7falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*truefalseClass of Stock [Domain]us-gaap_StatementClassOfStockAxisus-gaap_ClassOfStockDomainus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalseCommon Stock [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberClass of Stock [Domain]Common Stock [Member]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseCommon Stock [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$8falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*truefalseClass of Stock [Domain]us-gaap_StatementClassOfStockAxisus-gaap_ClassOfStockDomainus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalseAdditional Paid-in Capital [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AdditionalPaidInCapitalMemberus-gaap_StatementEquityComponentsAxisexplicitMemberClass of Stock [Domain]Additional Paid-in Capital [Member]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseAdditional Paid-in Capital [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AdditionalPaidInCapitalMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$9falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*truefalseClass of Stock [Domain]us-gaap_StatementClassOfStockAxisus-gaap_ClassOfStockDomainus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalseRetained Earnings [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RetainedEarningsMemberus-gaap_StatementEquityComponentsAxisexplicitMemberClass of Stock [Domain]Retained Earnings [Member]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseRetained Earnings [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RetainedEarningsMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$10falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*truefalseClass of Stock [Domain]us-gaap_StatementClassOfStockAxisus-gaap_ClassOfStockDomainus-gaap_StatementClassOfStockAxisexplicitMemberfalsefalseAccumulated Other Comprehensive Income [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedOtherComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberClass of Stock [Domain]Accumulated Other Comprehensive Income [Member]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseAccumulated Other Comprehensive Income [Member]us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedOtherComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$11falseColumnus-gaap_StatementClassOfStockAxisAxis*Columnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*truefalseClass of Stock [Domain]us-gaap_StatementClassOfStockAxisus-gaap_ClassOfStockDomainus-gaap_StatementClassOfStockAxisexplicitMembertruefalseEquity Component [Domain]us-gaap_StatementEquityComponentsAxisus-gaap_EquityComponentDomainus-gaap_StatementEquityComponentsAxisexplicitMemberClass of Stock [Domain]Equity Component [Domain]Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDfalsefalse$na0001-01-01T00:00:000001-01-01T00:00:00USDUSD$1falseRowperiodPeriod*RowprimaryElement*2false
4us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabelxbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: 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.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsetruefalsefalsetruefalsefalseperiodStartLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6truefalsefalse1000000010000USD$falsetruefalse | 7truefalsefalse34840003484USD$falsetruefalse | 8truefalsefalse2983000029830USD$falsetruefalse | 9truefalsefalse82220008222USD$falsetruefalse | 10truefalsefalse19160001916USD$falsetruefalse | 11truefalsefalse5345200053452USD$falsetruefalse | xbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: 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.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
falseinstant2011-12-31T00:00:000001-01-01T00:00:002
2falseRowperiodPeriod*RowprimaryElement*3false
4us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: 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.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: 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.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse24940002494falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11truefalsefalse24940002494falsefalsefalse | xbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: 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.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: 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.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2
3falseRowperiodPeriod*RowprimaryElement*4false
4us-gaap_OtherComprehensiveIncomeLossNetOfTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryAmount after tax and reclassification adjustments of other comprehensive income (loss).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669619-108580
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_OtherComprehensiveIncomeLossNetOfTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10truefalsefalse362000362falsefalsefalse | 11truefalsefalse362000362falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount after tax and reclassification adjustments of other comprehensive income (loss).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669619-108580
false2
4falseRowperiodPeriod*RowprimaryElement*5false
4us-gaap_DividendsCommonStockCashus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabelxbrli:monetaryItemTypemonetaryAmount of paid and unpaid common stock dividends declared with the form of settlement in cash.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_DividendsCommonStockCashus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse-348000-348falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11truefalsefalse-348000-348falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of paid and unpaid common stock dividends declared with the form of settlement in cash.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
false2
5falseRowperiodPeriod*RowprimaryElement*6false
4us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlanus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryAggregate change in value for stock issued during the period as a result of employee stock purchase plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlanus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7truefalsefalse30003falsefalsefalse | 8truefalsefalse2500025falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11truefalsefalse2800028falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate change in value for stock issued during the period as a result of employee stock purchase plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2
6falseRowperiodPeriod*RowprimaryElement*8false
4us-gaap_DividendsPreferredStockStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabelxbrli:monetaryItemTypemonetaryAmount of paid and unpaid preferred stock dividends declared with the form of settlement in stock.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 405
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_DividendsPreferredStockStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-250000-250falsefalsefalse | 2truefalsefalse-250000-250falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of paid and unpaid preferred stock dividends declared with the form of settlement in stock.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 405
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817
false2
7falseRowperiodPeriod*RowprimaryElement*9false
4us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssuedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryAmount of increase in additional paid in capital (APIC) resulting from the issuance of warrants. Includes allocation of proceeds of debt securities issued with detachable stock purchase warrants.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 25
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=28183637&loc=d3e4724-112606
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Warrant
-URI http://asc.fasb.org/extlink&oid=6528364
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssuedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8truefalsefalse-7000-7falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11truefalsefalse-7000-7falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of increase in additional paid in capital (APIC) resulting from the issuance of warrants. Includes allocation of proceeds of debt securities issued with detachable stock purchase warrants.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 25
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=28183637&loc=d3e4724-112606
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Warrant
-URI http://asc.fasb.org/extlink&oid=6528364
false2
8falseRowperiodPeriod*RowprimaryElement*11false
4us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabelxbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: 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.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsetruefalsefalsefalsetruefalseperiodEndLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6truefalsefalse1000000010000falsefalsefalse | 7truefalsefalse34870003487falsefalsefalse | 8truefalsefalse2984800029848falsefalsefalse | 9truefalsefalse1011800010118falsefalsefalse | 10truefalsefalse22780002278falsefalsefalse | 11truefalsefalse5573100055731falsefalsefalse | xbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: 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.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
falseinstant2012-06-30T00:00:000001-01-01T00:00:002
9falseRowperiodPeriod*RowprimaryElement*2false
4us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabelxbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: 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.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsetruefalsefalsetruefalsefalseperiodStartLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6truefalsefalse48800004880falsefalsefalse | 7truefalsefalse34900003490falsefalsefalse | 8truefalsefalse2981600029816falsefalsefalse | 9truefalsefalse1174100011741falsefalsefalse | 10truefalsefalse22930002293falsefalsefalse | 11truefalsefalse5222000052220falsefalsefalse | xbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: 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.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
falseinstant2012-12-31T00:00:000001-01-01T00:00:002
10falseRowperiodPeriod*RowprimaryElement*3false
4us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: 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.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: 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.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse20510002051falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11truefalsefalse20510002051falsefalsefalse | xbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: 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.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: 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.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2
11falseRowperiodPeriod*RowprimaryElement*4false
4us-gaap_OtherComprehensiveIncomeLossNetOfTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryAmount after tax and reclassification adjustments of other comprehensive income (loss).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669619-108580
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_OtherComprehensiveIncomeLossNetOfTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10truefalsefalse-2945000-2945falsefalsefalse | 11truefalsefalse-2945000-2945falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount after tax and reclassification adjustments of other comprehensive income (loss).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669619-108580
false2
12falseRowperiodPeriod*RowprimaryElement*5false
4us-gaap_DividendsCommonStockCashus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabelxbrli:monetaryItemTypemonetaryAmount of paid and unpaid common stock dividends declared with the form of settlement in cash.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_DividendsCommonStockCashus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse-174000-174falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11truefalsefalse-174000-174falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of paid and unpaid common stock dividends declared with the form of settlement in cash.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
false2
13falseRowperiodPeriod*RowprimaryElement*6false
4us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlanus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryAggregate change in value for stock issued during the period as a result of employee stock purchase plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlanus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7truefalsefalse20002falsefalsefalse | 8truefalsefalse2600026falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11truefalsefalse2800028falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate change in value for stock issued during the period as a result of employee stock purchase plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2
14falseRowperiodPeriod*RowprimaryElement*7false
4us-gaap_StockIssuedDuringPeriodValueNewIssuesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryEquity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_StockIssuedDuringPeriodValueNewIssuesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3truefalsefalse120000120falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5truefalsefalse120000120falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryEquity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2
15falseRowperiodPeriod*RowprimaryElement*8false
4us-gaap_DividendsPreferredStockStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabelxbrli:monetaryItemTypemonetaryAmount of paid and unpaid preferred stock dividends declared with the form of settlement in stock.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 405
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_DividendsPreferredStockStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse-134000-134falsefalsefalse | 5truefalsefalse-134000-134falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of paid and unpaid preferred stock dividends declared with the form of settlement in stock.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 405
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817
false2
16falseRowperiodPeriod*RowprimaryElement*9false
4us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssuedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryAmount of increase in additional paid in capital (APIC) resulting from the issuance of warrants. Includes allocation of proceeds of debt securities issued with detachable stock purchase warrants.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 25
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=28183637&loc=d3e4724-112606
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Warrant
-URI http://asc.fasb.org/extlink&oid=6528364
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssuedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8truefalsefalse-14000-14falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11truefalsefalse-14000-14falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of increase in additional paid in capital (APIC) resulting from the issuance of warrants. Includes allocation of proceeds of debt securities issued with detachable stock purchase warrants.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 31
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 25
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=28183637&loc=d3e4724-112606
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Warrant
-URI http://asc.fasb.org/extlink&oid=6528364
false2
17falseRowperiodPeriod*RowprimaryElement*10false
4mpb_RepurchaseOfStockWarrantsmpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabelxbrli:monetaryItemTypemonetaryRepurchase Of Stock WarrantsNo definition available.false2duration2013-01-01T00:00:002013-06-30T00:00:00
0mpb_RepurchaseOfStockWarrantsmpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9truefalsefalse-58000-58falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11truefalsefalse-58000-58falsefalsefalse | xbrli:monetaryItemTypemonetaryRepurchase Of Stock WarrantsNo definition available.false2
18falseRowperiodPeriod*RowprimaryElement*11false
4us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabelxbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: 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.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsetruefalsefalsefalsetruefalseperiodEndLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6truefalsefalse50000005000USD$falsetruefalse | 7truefalsefalse34920003492USD$falsetruefalse | 8truefalsefalse2982800029828USD$falsetruefalse | 9truefalsefalse1342600013426USD$falsetruefalse | 10truefalsefalse-652000-652USD$falsetruefalse | 11truefalsefalse5109400051094USD$falsetruefalse | xbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: 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.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
falseinstant2013-06-30T00:00:000001-01-01T00:00:002
trueConsolidated Statement of Changes In Shareholder's Equity (USD $)ThousandsUnKnownUnKnownUnKnownfalsefalsefalseSheethttp://www.midpennbank.com/role/StatementConsolidatedStatementOfChangesInShareholderSEquity1118