2.4.0.8126 - Disclosure - Amortized Cost and Approximate Fair Values, Together with Gross Unrealized Gains and Losses of Securities (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1false
USDfalsefalse$P01_01_2013To06_30_2013_USStatesAndPoliticalSubdivisionsMemberusgaapMajorTypesOfDebtAndEquitySecuritiesAxishttp://www.sec.gov/CIK0000731653duration2013-01-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$P01_01_2012To12_31_2012_USStatesAndPoliticalSubdivisionsMemberusgaapMajorTypesOfDebtAndEquitySecuritiesAxishttp://www.sec.gov/CIK0000731653duration2012-01-01T00:00:002012-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3us-gaap_ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2823000028230USD$falsetruefalse | 2truefalsefalse3432900034329USD$falsetruefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.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.2)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2
3false
4ubcp_AvailableForSalesSecuritiesGrossUnrealizedGainubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse264000264USD$falsefalsefalse | 2truefalsefalse527000527USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
4false
4ubcp_AvailableForSalesSecuritiesGrossUnrealizedLossesubcp_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-490000-490USD$falsefalsefalse | 2truefalsefalse-3000-3USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
5false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2800400028004USD$falsefalsefalse | 2truefalsefalse3485300034853USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
6false
4us-gaap_HeldToMaturitySecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse22890002289USD$falsefalsefalse | 2truefalsefalse27680002768USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount after other than temporary impairment (OTTI) accretion, of investments in debt securities classified as held-to-maturity.Reference 1: 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=27724398&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=28360136&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 (a)
-URI http://asc.fasb.org/extlink&oid=27724398&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
false2
7false
4us-gaap_HeldToMaturitySecuritiesFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse23300002330USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value of investments in debt securities classified as held-to-maturity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 2: 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=27724398&loc=d3e27232-111563
Reference 3: 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=27724398&loc=d3e27232-111563
false2
8false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3false
USDtruefalse$PAsOn06_30_2013_USGovernmentAgenciesDebtSecuritiesMemberusgaapMajorTypesOfDebtAndEquitySecuritiesAxishttp://www.sec.gov/CIK0000731653instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseU.S. government agenciesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
9true
3us-gaap_ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
10false
4us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2100000021000USD$falsefalsefalse | 2truefalsefalse2398000023980USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.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.2)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2
11false
4ubcp_AvailableForSalesSecuritiesGrossUnrealizedGainubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse9300093USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
12false
4ubcp_AvailableForSalesSecuritiesGrossUnrealizedLossesubcp_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-490000-490USD$falsefalsefalse | 2truefalsefalse-3000-3USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
13false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2051000020510USD$falsefalsefalse | 2truefalsefalse2407000024070USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
14false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 5false
USDtruefalse$P01_01_2013To06_30_2013_USStatesAndPoliticalSubdivisionsMemberusgaapMajorTypesOfDebtAndEquitySecuritiesAxishttp://www.sec.gov/CIK0000731653duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseState and political subdivisionsus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USStatesAndPoliticalSubdivisionsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
15true
3us-gaap_ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
16false
4us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse72260007226USD$falsefalsefalse | 2truefalsefalse1034500010345USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.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.2)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2
17false
4ubcp_AvailableForSalesSecuritiesGrossUnrealizedGainubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse247000247USD$falsefalsefalse | 2truefalsefalse414000414USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
18false
4ubcp_AvailableForSalesSecuritiesGrossUnrealizedLossesubcp_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
19false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse74730007473USD$falsefalsefalse | 2truefalsefalse1075900010759USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
20false
4us-gaap_HeldToMaturitySecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse22890002289USD$falsefalsefalse | 2truefalsefalse27680002768USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount after other than temporary impairment (OTTI) accretion, of investments in debt securities classified as held-to-maturity.Reference 1: 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=27724398&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=28360136&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 (a)
-URI http://asc.fasb.org/extlink&oid=27724398&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
false2
21false
4us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingGainsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse4100041USD$falsefalsefalse | 2truefalsefalse7200072USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of unrecognized gain before loss on investments in held-to-maturity securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
false2
22false
4us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingLossesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of unrecognized loss before gain on investments in held-to-maturity securities. Excludes write-down for other than temporary impairment (OTTI).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
false2
23false
4us-gaap_HeldToMaturitySecuritiesFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse23300002330USD$falsefalsefalse | 2truefalsefalse28400002840USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value of investments in debt securities classified as held-to-maturity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 2: 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=27724398&loc=d3e27232-111563
Reference 3: 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=27724398&loc=d3e27232-111563
false2
24false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 7false
USDtruefalse$PAsOn06_30_2013_EquitySecuritiesMemberusgaapMajorTypesOfDebtAndEquitySecuritiesAxishttp://www.sec.gov/CIK0000731653instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseEquity securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
25true
3us-gaap_ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
26false
4us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse40004USD$falsefalsefalse | 2truefalsefalse40004USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any.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.2)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2
27false
4ubcp_AvailableForSalesSecuritiesGrossUnrealizedGainubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse1700017USD$falsefalsefalse | 2truefalsefalse2000020USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
28false
4ubcp_AvailableForSalesSecuritiesGrossUnrealizedLossesubcp_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
29false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2100021USD$falsetruefalse | 2truefalsefalse2400024USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
falseAmortized Cost and Approximate Fair Values, Together with Gross Unrealized Gains and Losses of Securities (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.unitedbancorp.com/role/AmortizedCostAndApproximateFairValuesTogetherWithGrossUnrealizedGainsAndLossesOfSecuritiesDetail229