Borrowed Funds (Pledged certificates of deposit) (Details) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2013
Dec. 31, 2012
Summary of pledged certificates of deposit    
Pledged to secure borrowed funds $ 320,173 $ 308,628
Pledged to secure repurchase agreements 148,930 143,322
Pledged for public deposits and for other purposes necessary or required by law 20,922 22,955
Total $ 490,025 $ 474,905