Annual report pursuant to Section 13 and 15(d)

CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (Parenthetical)

v2.4.1.9
CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (Parenthetical) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Common Stock [Member]      
Issuance of Common Stock in regard to acquisition, shares 22,147,874us-gaap_StockIssuedDuringPeriodSharesAcquisitions
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
   
Stock purchased under stock repurchase plan, shares 2,125,264us-gaap_StockRepurchasedDuringPeriodShares
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
500,000us-gaap_StockRepurchasedDuringPeriodShares
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
970,265us-gaap_StockRepurchasedDuringPeriodShares
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
Issuance of common stock under Dividend Reinvestment Plan, shares 52,252us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
47,598us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
45,502us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
Vesting of restricted stock under Equity Compensation Plan, shares 16,582us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
19,763us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
15,492us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
Issuance of common stock under Equity Compensation Plan , shares 75,282us-gaap_StockIssuedDuringPeriodSharesEmployeeStockOwnershipPlan
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
50,119us-gaap_StockIssuedDuringPeriodSharesEmployeeStockOwnershipPlan
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
2,376us-gaap_StockIssuedDuringPeriodSharesEmployeeStockOwnershipPlan
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
Issuance of common stock for services rendered, shares 30,057us-gaap_StockIssuedDuringPeriodSharesIssuedForServices
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
18,815us-gaap_StockIssuedDuringPeriodSharesIssuedForServices
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
37,134us-gaap_StockIssuedDuringPeriodSharesIssuedForServices
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
Net settle for taxes on Restricted Stock Awards, shares 64,536ubsh_NetSettleForTaxOnStockIssuedShares
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
5,059ubsh_NetSettleForTaxOnStockIssuedShares
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
3,670ubsh_NetSettleForTaxOnStockIssuedShares
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_CommonStockMember
Retained Earnings [Member]      
Dividends on common stock, per share 0.58us-gaap_CommonStockDividendsPerShareDeclared
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_RetainedEarningsMember
0.54us-gaap_CommonStockDividendsPerShareDeclared
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_RetainedEarningsMember
0.37us-gaap_CommonStockDividendsPerShareDeclared
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_RetainedEarningsMember
Accumulated Other Comprehensive Income (Loss) [Member]      
Other comprehensive income (loss), tax 9,067us-gaap_OtherComprehensiveIncomeLossTax
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AccumulatedOtherComprehensiveIncomeMember
7,205us-gaap_OtherComprehensiveIncomeLossTax
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AccumulatedOtherComprehensiveIncomeMember
339us-gaap_OtherComprehensiveIncomeLossTax
/ us-gaap_StatementEquityComponentsAxis
= us-gaap_AccumulatedOtherComprehensiveIncomeMember