Loans and Leases (Details 3) - USD ($)
$ in Thousands
Sep. 30, 2016
Dec. 31, 2015
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases $ 4,092,940 $ 3,774,832
Less: unearned income and deferred costs and fees (3,393) (2,790)
Total loans and leases, net 4,089,547 3,772,042
Commercial and Industrial - Agriculture [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 77,711 88,299
Commercial and Industrial Other [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 931,328 852,834
Commercial and industrial, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 1,009,039 941,133
Commercial Real Estate - Construction [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 137,342 107,929
Commercial Real Estate - Agriculture [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 108,828 89,030
Commercial Real Estate Other [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 1,567,728 1,452,202
Commercial real estate, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 1,813,898 1,649,161
Residential Real Estate - Home equity [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 247,959 244,670
Residential Real Estate - Mortgages [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 947,811 851,332
Residential real estate, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 1,195,770 1,096,002
Consumer Indirect [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 15,893 17,829
Consumer Other [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 42,482 41,815
Consumer and other, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 58,375 59,644
Leases [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 15,858 14,861
Covered Loans [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 0 14,031
Originated Loans and Leases [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 3,662,923 3,298,573
Total loans and leases 3,675,932 3,313,558
90 days and accruing 35 58 [1]
Nonaccrual 11,554 13,506
Less: unearned income and deferred costs and fees (3,393) (2,790)
Total loans and leases, net 3,659,530 3,310,768
Originated Loans and Leases [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 4,551 3,280
Originated Loans and Leases [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 8,458 11,705
Originated Loans and Leases [Member] | Commercial and Industrial - Agriculture [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 77,711 88,299
Total loans and leases 77,711 88,299
90 days and accruing 0 0 [1]
Nonaccrual 0 0
Originated Loans and Leases [Member] | Commercial and Industrial - Agriculture [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Originated Loans and Leases [Member] | Commercial and Industrial - Agriculture [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Originated Loans and Leases [Member] | Commercial and Industrial Other [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 845,986 766,650
Total loans and leases 846,657 768,024
90 days and accruing 0 0 [1]
Nonaccrual 293 1,091
Originated Loans and Leases [Member] | Commercial and Industrial Other [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 378 507
Originated Loans and Leases [Member] | Commercial and Industrial Other [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 293 867
Originated Loans and Leases [Member] | Commercial and industrial, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 923,697 854,949
Total loans and leases 924,368 856,323
90 days and accruing 0 0 [1]
Nonaccrual 293 1,091
Originated Loans and Leases [Member] | Commercial and industrial, total [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 378 507
Originated Loans and Leases [Member] | Commercial and industrial, total [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 293 867
Originated Loans and Leases [Member] | Commercial Real Estate - Construction [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 133,528 103,037
Total loans and leases 133,714 103,037
90 days and accruing 0 0 [1]
Nonaccrual 0 0
Originated Loans and Leases [Member] | Commercial Real Estate - Construction [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 186 0
Originated Loans and Leases [Member] | Commercial Real Estate - Construction [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Originated Loans and Leases [Member] | Commercial Real Estate - Agriculture [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 104,048 86,935
Total loans and leases 104,067 86,935
90 days and accruing 0 0 [1]
Nonaccrual 0 106
Originated Loans and Leases [Member] | Commercial Real Estate - Agriculture [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 19 0
Originated Loans and Leases [Member] | Commercial Real Estate - Agriculture [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Originated Loans and Leases [Member] | Commercial Real Estate Other [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 1,311,020 1,163,445
Total loans and leases 1,314,333 1,167,250
90 days and accruing 0 0 [1]
Nonaccrual 4,336 4,365
Originated Loans and Leases [Member] | Commercial Real Estate Other [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 674 225
Originated Loans and Leases [Member] | Commercial Real Estate Other [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 2,639 3,580
Originated Loans and Leases [Member] | Commercial real estate, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 1,548,596 1,353,417
Total loans and leases 1,552,114 1,357,222
90 days and accruing 0 0 [1]
Nonaccrual 4,336 4,471
Originated Loans and Leases [Member] | Commercial real estate, total [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 879 225
Originated Loans and Leases [Member] | Commercial real estate, total [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 2,639 3,580
Originated Loans and Leases [Member] | Residential Real Estate - Home equity [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 206,156 199,981
Total loans and leases 208,329 202,578
90 days and accruing 1 58 [1]
Nonaccrual 1,544 1,873
Originated Loans and Leases [Member] | Residential Real Estate - Home equity [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 984 729
Originated Loans and Leases [Member] | Residential Real Estate - Home equity [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 1,189 1,868
Originated Loans and Leases [Member] | Residential Real Estate - Mortgages [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 911,900 817,540
Total loans and leases 917,755 823,841
90 days and accruing 34 0 [1]
Nonaccrual 5,158 5,889
Originated Loans and Leases [Member] | Residential Real Estate - Mortgages [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 1,735 1,161
Originated Loans and Leases [Member] | Residential Real Estate - Mortgages [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 4,120 5,140
Originated Loans and Leases [Member] | Residential real estate, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 1,118,056 1,017,521
Total loans and leases 1,126,084 1,026,419
90 days and accruing 35 58 [1]
Nonaccrual 6,702 7,762
Originated Loans and Leases [Member] | Residential real estate, total [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 2,719 1,890
Originated Loans and Leases [Member] | Residential real estate, total [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 5,309 7,008
Originated Loans and Leases [Member] | Consumer Indirect [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 15,277 17,085
Total loans and leases 15,893 17,829
90 days and accruing 0 0 [1]
Nonaccrual 213 107
Originated Loans and Leases [Member] | Consumer Indirect [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 405 494
Originated Loans and Leases [Member] | Consumer Indirect [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 211 250
Originated Loans and Leases [Member] | Consumer Other [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 41,439 40,740
Total loans and leases 41,615 40,904
90 days and accruing 0 0 [1]
Nonaccrual 10 75
Originated Loans and Leases [Member] | Consumer Other [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 170 164
Originated Loans and Leases [Member] | Consumer Other [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 6 0
Originated Loans and Leases [Member] | Consumer and other, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 56,716 57,825
Total loans and leases 57,508 58,733
90 days and accruing 0 0 [1]
Nonaccrual 223 182
Originated Loans and Leases [Member] | Consumer and other, total [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 575 658
Originated Loans and Leases [Member] | Consumer and other, total [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 217 250
Originated Loans and Leases [Member] | Leases [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 15,858 14,861
Total loans and leases 15,858 14,861
90 days and accruing 0 0 [1]
Nonaccrual 0 0
Originated Loans and Leases [Member] | Leases [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Originated Loans and Leases [Member] | Leases [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Originated Loans and Leases [Member] | Covered Loans [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 0 0
Acquired Loans and Leases [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 408,921 454,285
Total loans and leases 417,008 461,274
90 days and accruing 2,555 2,515 [1]
Nonaccrual 4,559 4,331
Less: unearned income and deferred costs and fees 0 0
Total loans and leases, net 417,008 461,274
Acquired Loans and Leases [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 1,069 1,209
Acquired Loans and Leases [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 7,018 5,780
Acquired Loans and Leases [Member] | Commercial and Industrial - Agriculture [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 0 0
Acquired Loans and Leases [Member] | Commercial and Industrial Other [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 84,023 83,854
Total loans and leases 84,671 84,810
90 days and accruing 41 338 [1]
Nonaccrual 47 647
Acquired Loans and Leases [Member] | Commercial and Industrial Other [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 20
Acquired Loans and Leases [Member] | Commercial and Industrial Other [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 648 936
Acquired Loans and Leases [Member] | Commercial and industrial, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 84,023 83,854
Total loans and leases 84,671 84,810
90 days and accruing 41 338 [1]
Nonaccrual 47 647
Acquired Loans and Leases [Member] | Commercial and industrial, total [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 20
Acquired Loans and Leases [Member] | Commercial and industrial, total [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 648 936
Acquired Loans and Leases [Member] | Commercial Real Estate - Construction [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 3,628 4,533
Total loans and leases 3,628 4,892
90 days and accruing 0 0 [1]
Nonaccrual 0 359
Acquired Loans and Leases [Member] | Commercial Real Estate - Construction [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Acquired Loans and Leases [Member] | Commercial Real Estate - Construction [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 359
Acquired Loans and Leases [Member] | Commercial Real Estate - Agriculture [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 4,761 2,095
Total loans and leases 4,761 2,095
90 days and accruing 0 0 [1]
Nonaccrual 0 0
Acquired Loans and Leases [Member] | Commercial Real Estate - Agriculture [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Acquired Loans and Leases [Member] | Commercial Real Estate - Agriculture [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Acquired Loans and Leases [Member] | Commercial Real Estate Other [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 250,910 283,131
Total loans and leases 253,395 284,952
90 days and accruing 1,367 550 [1]
Nonaccrual 2,793 1,224
Acquired Loans and Leases [Member] | Commercial Real Estate Other [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 684 150
Acquired Loans and Leases [Member] | Commercial Real Estate Other [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 1,801 1,671
Acquired Loans and Leases [Member] | Commercial real estate, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 259,299 289,759
Total loans and leases 261,784 291,939
90 days and accruing 1,367 550 [1]
Nonaccrual 2,793 1,583
Acquired Loans and Leases [Member] | Commercial real estate, total [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 684 150
Acquired Loans and Leases [Member] | Commercial real estate, total [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 1,801 2,030
Acquired Loans and Leases [Member] | Residential Real Estate - Home equity [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 38,651 41,302
Total loans and leases 39,630 42,092
90 days and accruing 183 0 [1]
Nonaccrual 741 712
Acquired Loans and Leases [Member] | Residential Real Estate - Home equity [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 156 426
Acquired Loans and Leases [Member] | Residential Real Estate - Home equity [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 823 364
Acquired Loans and Leases [Member] | Residential Real Estate - Mortgages [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 26,082 25,229
Total loans and leases 30,056 27,491
90 days and accruing 964 1,103 [1]
Nonaccrual 978 1,389
Acquired Loans and Leases [Member] | Residential Real Estate - Mortgages [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 228 336
Acquired Loans and Leases [Member] | Residential Real Estate - Mortgages [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 3,746 1,926
Acquired Loans and Leases [Member] | Residential real estate, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 64,733 66,531
Total loans and leases 69,686 69,583
90 days and accruing 1,147 1,103 [1]
Nonaccrual 1,719 2,101
Acquired Loans and Leases [Member] | Residential real estate, total [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 384 762
Acquired Loans and Leases [Member] | Residential real estate, total [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 4,569 2,290
Acquired Loans and Leases [Member] | Consumer Indirect [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 0 0
Acquired Loans and Leases [Member] | Consumer Other [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 866 910
Total loans and leases 867 911
90 days and accruing 0 0 [1]
Nonaccrual 0 0
Acquired Loans and Leases [Member] | Consumer Other [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 1 1
Acquired Loans and Leases [Member] | Consumer Other [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Acquired Loans and Leases [Member] | Consumer and other, total [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans 866 910
Total loans and leases 867 911
90 days and accruing 0 0 [1]
Nonaccrual 0 0
Acquired Loans and Leases [Member] | Consumer and other, total [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 1 1
Acquired Loans and Leases [Member] | Consumer and other, total [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due 0 0
Acquired Loans and Leases [Member] | Leases [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Total loans and leases 0 0
Acquired Loans and Leases [Member] | Covered Loans [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Current Loans   13,231
Total loans and leases $ 0 14,031
90 days and accruing [1]   524
Nonaccrual   0
Acquired Loans and Leases [Member] | Covered Loans [Member] | 30 - 89 Days [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due   276
Acquired Loans and Leases [Member] | Covered Loans [Member] | 90 Days or More [Member]    
Financing Receivable, Recorded Investment, Past Due [Line Items]    
Past due   $ 524
[1] Includes acquired loans that were recorded at fair value at the acquisition date.