| **Borrowings (Tables)**                  | 12 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
||
| **Debt Disclosure [Abstract]**           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Schedule of Debt                         | The following table summarizes the Corporation's borrowings as of December 31, 2016 and 2015:December 31, 2016December 31, 2015Federal funds purchased$120,349$49,721Securities sold under repurchase agreements146,480155,325Federal Home Loan Bank advances298,923235,652Subordinated debentures and term loans128,445127,846Total Borrowings$694,197$568,544                                                                                                                                                                                                                                                                                                                                                                |
| Schedule of Maturities of Long-term Debt | Contractual maturities of borrowings as of December 31, 2016, are as follows:Maturities in Years Ending December 31:Federal Funds Purchased Securities SoldUnder Repurchase Agreements Federal HomeLoan BankAdvances SubordinatedDebentures andTerm Loans2017$120,349 $146,480 $167,068 $1,0182018    26,717  2019    13,828  2020    31,310  2021    25,000  After 2021    35,000 132,012ASC 805 fair value adjustments at acquisition      (4,585) $120,349 $146,480 $298,923 $128,445 |

| X                                                                                                                                                                                                |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**us-gaap_DebtDisclosureAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.
+ References
No definition available.
+ Details**Name:**us-gaap_ScheduleOfDebtTableTextBlock**Namespace Prefix:**us-gaap_**Data Type:**nonnum:textBlockItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Tabular disclosure of the combined aggregate amount of maturities and sinking fund requirements for all long-term borrowings for each of the five years following the date of the latest balance sheet date presented.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601
+ Details**Name:**us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock**Namespace Prefix:**us-gaap_**Data Type:**nonnum:textBlockItemType**Balance Type:**na**Period Type:**duration |