SECURITIES (Gross Realized Gains and Losses on the Sale of Securities) (Details) - USD ($) $ in Thousands  | 
3 Months Ended | |
|---|---|---|
Mar. 31, 2018  | 
Mar. 31, 2017  | 
|
| Realized gains (losses): | ||
| Gross realized gains | $ 697 | $ 481 | 
| Gross realized losses | (484) | 0 | 
| Net realized gains | 213 | 481 | 
| Proceeds from sales of securities | $ 115,850 | $ 21,306 | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition This item represents the gross profit realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
| X | ||||||||||
- Definition Amount of loss realized on the sale of debt or equity securities classified as available-for-sale. Excludes other than temporary impairments (OTTI). No definition available. 
  | 
| X | ||||||||||
- Definition The net gain (loss) realized from the sale, exchange, redemption, or retirement of securities, not separately or otherwise categorized as trading, available-for-sale, or held-to-maturity. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
| X | ||||||||||
- Definition The cash inflow associated with the sale of debt and equity securities classified as available-for-sale securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  |