| **Fair Values of Financial Instruments** | 12 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
||
| **Fair Value Disclosures [Abstract]**    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Fair Values of Financial Instruments     | FAIR VALUES OF FINANCIAL INSTRUMENTSThe Corporation used fair value measurements to record fair value adjustments, to certain assets, and liabilities and to determine fair value disclosures. The accounting guidance defines fair value, establishes a framework for measuring fair value and expands disclosures about fair value measurements.  ASC 820 applies only when other guidance requires or permits assets or liabilities to be measured at fair value; it does not expand the use of fair value in any new circumstances.As defined in ASC 820, fair value is the price to sell an asset or transfer a liability in an orderly transaction between market participants. It represents an exit price at the measurement date. Market participants are buyers and sellers, who are independent, knowledgeable, and willing and able to transact in the principal (or most advantageous) market for the asset or liability being measured. Current market conditions, including imbalances between supply and demand, are considered in determining fair value. The Corporation values its assets and liabilities in the principal market where it sells the particular asset or transfers the liability with the greatest volume and level of activity. In the absence of a principal market, the valuation is based on the most advantageous market for the asset or liability (i.e., the market where the asset could be sold or the liability transferred at a price that maximizes the amount to be received for the asset or minimizes the amount to be paid to transfer the liability).Valuation inputs refer to the assumptions market participants would use in pricing a given asset or liability. Inputs can be observable or unobservable. Observable inputs are those assumptions which market participants would use in pricing the particular asset or liability. These inputs are based on market data and are obtained from a source independent of the Corporation. Unobservable inputs are assumptions based on the Corporation’s own information or estimate of assumptions used by market participants in pricing the asset or liability. Unobservable inputs are based on the best and most current information available on the measurement date. All inputs, whether observable or unobservable, are ranked in accordance with a prescribed fair value hierarchy which gives the highest ranking to quoted prices (unadjusted) in active markets for identical assets or liabilities (Level 1) and the lowest ranking to unobservable inputs for which there is little or no market activity (Level 3). Fair values for assets or liabilities classified as Level 2 are based on one or a combination of the following factors: (i) quoted prices for similar assets; (ii) observable inputs for the asset or liability, such as interest rates or yield curves; or (iii) inputs derived principally from or corroborated by observable market data. The level in the fair value hierarchy within which the fair value measurement in its entirety falls is determined based on the lowest level input that is significant to the fair value measurement in its entirety. The Corporation considers an input to be significant if it drives 10 percent or more of the total fair value of a particular asset or liability.RECURRING MEASUREMENTSAssets and liabilities are considered to be measured at fair value on a recurring basis if fair value is measured regularly (i.e., daily, weekly, monthly or quarterly). Recurring valuation occurs at a minimum on the measurement date. Assets and liabilities are considered to be measured at fair value on a nonrecurring basis if the fair value measurement of the instrument does not necessarily result in a change in the amount recorded on the balance sheet. Generally, nonrecurring valuation is the result of the application of other accounting pronouncements which require assets or liabilities to be assessed for impairment or recorded at the lower of cost or fair value. The fair value of assets or liabilities transferred in or out of Level 3 is measured on the transfer date, with any additional changes in fair value subsequent to the transfer considered to be realized or unrealized gains or losses.Following is a description of the valuation methodologies used for instruments measured at fair value on a recurring basis and recognized in the accompanying balance sheets, as well as the general classification of such instruments pursuant to the valuation hierarchy.Investment SecuritiesWhere quoted, market prices are available in an active market and securities are classified within Level 1 of the valuation hierarchy. Level 1 securities include equity securities.  If quoted market prices are not available, then fair values are estimated by using pricing models, quoted prices of securities with similar characteristics or discounted cash flows. Level 2 securities include agencies, government-sponsored mortgage backs, state and municipal and equity securities. In certain cases where Level 1 or Level 2 inputs are not available, securities are classified within Level 3 of the hierarchy and include state and municipal, corporate obligations and equity securities. Level 3 fair value for state and municipal, corporate obligations and equity securities was determined using a discounted cash flow model that incorporated market estimates of interest rates and volatility in markets that have not been active.Third party vendors compile prices from various sources and may apply such techniques as matrix pricing to determine the value of identical or similar investment securities (Level 2). Matrix pricing is a mathematical technique widely used in the banking industry to value investment securities without relying exclusively on quoted prices for specific investment securities but rather relying on the investment securities’ relationship to other benchmark quoted investment securities. Any investment security not valued based upon the methods above are considered Level 3.Interest Rate Derivative AgreementsSee information regarding the Corporation’s interest rate derivative products in Note 13. DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES, in the Notes to Consolidated Financial Statements included as Item 8 of this Annual Report on Form 10-K. The following table presents the fair value measurements of assets and liabilities recognized in the accompanying balance sheets measured at fair value on a recurring basis and the level within the ASC 820-10 fair value hierarchy in which the fair value measurements fall at December 31, 2016 and 2015.    Fair Value Measurements Using:    Quoted Prices in ActiveMarkets for Identical Assets Significant Other Observable Inputs SignificantUnobservable InputsDecember 31, 2016 Fair Value (Level 1) (Level 2) (Level 3)Available for sale securities:        U.S. Government-sponsored agency securities $100   $100  State and municipal 363,658   358,524 $5,134U.S. Government-sponsored mortgage-backed securities 312,292   312,292  Corporate obligations 31     31Equity securities 20,781 $18,765 2,012 4Interest rate swap asset 6,295   6,295  Interest rate cap 15   15  Interest rate swap liability 8,477   8,477      Fair Value Measurements Using:    Quoted Prices in ActiveMarkets for Identical Assets Significant Other Observable Inputs SignificantUnobservable InputsDecember 31, 2015 Fair Value (Level 1) (Level 2) (Level 3)Available for sale securities:        U.S. Government-sponsored agency securities $104   $104  State and municipal 305,911   300,014 $5,897U.S. Government-sponsored mortgage-backed securities 346,266   346,266  Certificates of deposit 2,176  2,176  Corporate obligations 31     31Equity securities 3,912   3,908 4Interest rate swap asset 4,938   4,938  Interest rate cap 36   36  Interest rate swap liability 8,070   8,070  LEVEL 3 RECONCILIATIONThe following is a reconciliation of the beginning and ending balances of recurring fair value measurements recognized in the accompanying balance sheets using significant unobservable Level 3 inputs for year ended December 31, 2016 and 2015. Available for Sale Securities For The Year Ended December 31, 2016 December 31, 2015Beginning Balance$5,932 $6,646Included in other comprehensive income(223) 199Principal payments(540) (913)Ending balance$5,169 $5,932There were no gains or losses for the period included in earnings that were attributable to the changes in unrealized gains or losses related to assets or liabilities held at December 31, 2016 or 2015.TRANSFERS BETWEEN LEVELSThere were no transfers in or out of Level 3 during 2016 or 2015.NONRECURRING MEASUREMENTSFollowing is a description of valuation methodologies used for instruments measured at fair value on a non-recurring basis and recognized in the accompanying balance sheets, as well as the general classification of such instruments pursuant to the valuation hierarchy for year ended December 31, 2016 and 2015.  Fair Value Measurements Using  Quoted Prices in ActiveMarkets for Identical AssetsSignificant Other Observable InputsSignificantUnobservable InputsDecember 31, 2016Fair Value(Level 1)(Level 2)(Level 3)Impaired Loans (collateral dependent)$15,318$15,318Other real estate owned $1,612$1,612  Fair Value Measurements Using  Quoted Prices in ActiveMarkets for Identical AssetsSignificant Other Observable InputsSignificantUnobservable InputsDecember 31, 2015Fair Value(Level 1)(Level 2)(Level 3)Impaired Loans (collateral dependent)$7,066  $7,066Other real estate owned$5,529  $5,529 Impaired Loans (collateral dependent)Loans for which it is probable that the Corporation will not collect all principal and interest due according to contractual terms are measured for impairment.  Allowable methods for determining the amount of impairment include estimating fair value of the collateral for collateral dependent loans.  If the impaired loan is identified as collateral dependent, then the fair value method of measuring the amount of impairment is utilized.  This method requires obtaining a current independent appraisal of the collateral and applying a discount factor to the value.  A portion of the allowance for loan losses is allocated to impaired loans if the value of such loans is deemed to be less than the unpaid balance. If these allocations cause the allowance for loan losses to increase, such increase is reported as a component of the provision for loan losses. Loan losses are charged against the allowance when management believes the uncollectability of the loan is confirmed. During 2016, certain impaired loans were partially charged off or re-evaluated. Impaired loans that are collateral dependent are classified within Level 3 of the fair value hierarchy when impairment is determined using the fair value method.Other Real Estate OwnedThe fair value for impaired loans and other real estate owned is measured based on the value of the collateral securing those loans or real estate and is determined using several methods. The fair value of real estate is generally determined based on appraisals by qualified licensed appraisers. The appraisers typically determine the value of the real estate by utilizing an income or market valuation approach. If an appraisal is not available, the fair value may be determined by using a discounted cash flow analysis. Fair value on other collateral such as business assets is typically ascertained by assessing, either singularly or some combination of, asset appraisals, accounts receivable aging reports, inventory listings andor customer financial statements.  Both appraised values and values based on borrower’s financial information are discounted as considered appropriate based on age and quality of the information and current market conditions.UNOBSERVABLE (LEVEL 3) INPUTSThe following table presents quantitative information about unobservable inputs used in recurring and nonrecurring Level 3 fair value measurements, other than goodwill, at December 31, 2016 and 2015.December 31, 2016Fair Value Valuation Technique Unobservable Inputs Range            (Weighted-Average)State and municipal securities$5,134 Discounted cash flow Maturity Call DateUS Muni BQ curveDiscount rate 1 month to 20 yearsA- to BBB-.69% - 5%        Corporate obligations and Equity securities$35 Discounted cash flow Risk free rateplus Premium for illiquidity 3 month LIBORplus 200 bps        Impaired loans (collateral dependent)$15,318 Collateral based measurements Discount to reflect current market conditions and ultimate collectability 0% - 10%                 (1%)        Other real estate owned$1,612 Appraisals Discount to reflect current market conditions 0% - 10%                 (9%)December 31, 2015Fair Value Valuation Technique Unobservable Inputs Range            (Weighted-Average)State and municipal securities$5,897 Discounted cash flow Maturity Call DateUS Muni BQ curveDiscount rate 1 month to 15 yearsA- to BBB-.80% - 5%        Corporate obligations and Equity securities$35 Discounted cash flow Risk free rateplus Premium for illiquidity 3 month LIBORplus 200 bps        Impaired loans (collateral dependent)$7,066 Collateral based measurements Discount to reflect current market conditions and ultimate collectability 0% - 50%                 (2%)        Other real estate owned$5,529 Appraisals Discount to reflect current market conditions 0% - 20%                 (2%)The following is a discussion of the sensitivity of significant unobservable inputs, the interrelationships between those inputs and other unobservable inputs used in recurring fair value measurement and how those inputs might magnify or mitigate the effect of changes in the unobservable inputs on the fair value measurement.State and Municipal Securities, Corporate Obligations and Equity SecuritiesThe significant unobservable inputs used in the fair value measurement of the Corporation's state and municipal securities, corporate obligations and equity securities are premiums for unrated securities and marketability discounts.  Significant increases or decreases in either of those inputs in isolation would result in a significantly lower or higher fair value measurement.  Generally, changes in either of those inputs will not affect the other input.FAIR VALUE OF FINANCIAL INSTRUMENTSThe following table presents estimated fair values of the Corporation's financial instruments and the level within the fair value hierarchy in which the fair value measurements fall at December 31, 2016 and 2015. 2016 CarryingAmountQuoted Prices in Active Markets for Identical Assets (Level 1)Significant Other Observable Inputs(Level 2)Significant Unobservable Inputs(Level 3)Assets at December 31:   Cash and cash equivalents$127,927$127,927Interest-bearing time deposits24,45924,459Investment securities available for sale696,86218,765$672,928$5,169Investment securities held to maturity607,643597,24614,687Loans held for sale2,9292,929Loans5,073,6084,933,552Federal Home Loan Bank stock17,96417,964Interest rate swap asset6,3106,310Interest receivable26,19426,194Liabilities at December 31:Deposits$5,556,498$4,427,605$1,111,491Borrowings:Federal funds purchased120,349120,349Securities sold under repurchase agreements146,480146,449Federal Home Loan Bank advances298,923297,465Subordinated debentures and term loans128,445105,930Interest rate swap liability8,4778,477Interest payable3,1103,110 2015 CarryingAmountQuoted Prices in Active Markets for Identical Assets (Level 1)Significant Other Observable Inputs(Level 2)Significant Unobservable Inputs(Level 3)Assets at December 31:   Cash and cash equivalents$102,170$102,170Interest-bearing time deposits32,31532,315Investment securities available for sale658,400$652,468$5,932Investment securities held to maturity618,599598,08234,298Loans held for sale9,8949,894Loans4,631,3694,539,940Federal Reserve and Federal Home Loan Bank stock37,63337,633Interest rate swap asset4,9744,974Interest receivable24,41524,415Liabilities at December 31:Deposits$5,289,647$4,095,004$1,177,142Borrowings:Federal funds purchased49,72149,721Securities sold under repurchase agreements155,325155,325Federal Home Loan Bank advances235,652236,375Subordinated debentures and term loans127,846103,643Interest rate swap liability8,0708,070Interest payable3,0923,092The following methods were used to estimate the fair value of all other financial instruments recognized in the Consolidated Condensed Balance Sheets at amounts other than fair value.Cash and cash equivalents:  The fair value of cash and cash equivalents approximates carrying value.Interest-bearing time deposits:  The fair value of interest-bearing time deposits approximates carrying value.Investment securities:  Fair value is based on quoted market prices, if available.  If a quoted market price is not available, fair value is estimated using quoted market prices for similar securities.  The fair value of certain Level III securities is estimated using discounted cash flow analysis, using interest rates currently being offered on investments with similar maturities and investment quality.Loans held for sale:  The carrying amount approximates fair value due to the short duration between origination and date of sale.Loans:  The fair value for loans is estimated using discounted cash flow analysis, using interest rates currently being offered for loans with similar terms to borrowers of similar credit quality.  See Impaired Loans above.Federal Reserve and Federal Home Loan Bank stock:  The fair value of Federal Reserve Bank and Federal Home Loan Bank stock is based on the price which it may be resold to the Federal Reserve and Federal Home Loan Bank.Derivative instruments:  The fair value of interest rate swaps reflect the estimated amounts that would have been received to terminate these contracts at the reporting date based upon pricing or valuation models applied to current market information.  Interest rate caps are valued using the market standard methodology of discounting the future expected cash receipts that would occur if variable interest rates rose above the strike rate of the caps.  The projected cash receipts on the caps are based on an expectation of future interest rates derived from observed market interest rate curves and volatilities.Interest receivable and Interest payable:  The fair value of interest receivable/payable approximates carrying value.Deposits:  The fair values of noninterest-bearing and interest-bearing demand accounts and savings deposits are equal to the amount payable on demand at the balance sheet date. The carrying amounts for variable rate, fixed-term certificates of deposit approximate their fair values at the balance sheet date. Fair values for fixed-rate certificates of deposit and other time deposits are estimated using a discounted cash flow calculation that applies interest rates currently being offered to a schedule of aggregated expected monthly maturities on such time deposits.Borrowings:  The fair value of Federal Funds purchased approximates the carrying amount.  The fair value of all other borrowings is estimated using a discounted cash flow calculation, based on current rates for similar debt. |

| X                                                                                                                                                                                                      |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**us-gaap_FairValueDisclosuresAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19207-110258Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 30 -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14172-108612Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13537-108611Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13504-108611Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13433-108611
+ Details**Name:**us-gaap_FairValueDisclosuresTextBlock**Namespace Prefix:**us-gaap_**Data Type:**nonnum:textBlockItemType**Balance Type:**na**Period Type:**duration |