| EMPLOYEE BENEFITS AND STOCK BASED COMPENSATION (Estimated Unamortized Compensation Expense Recognized in Future) (Details) $ in Thousands | Dec. 31, 2016  USD ($) | 
|---|---|
| Estimated unamortized compensation expense recognized in future | |
| 2017 | $ 2,970 | 
| 2018 | 2,314 | 
| 2019 | 1,164 | 
| 2020 | 100 | 
| Total | 6,548 | 
| Stock Options | |
| Estimated unamortized compensation expense recognized in future | |
| 2017 | 13 | 
| 2018 | 0 | 
| 2019 | 0 | 
| 2020 | 0 | 
| Total | 13 | 
| Restricted Stock | |
| Estimated unamortized compensation expense recognized in future | |
| 2017 | 2,353 | 
| 2018 | 1,919 | 
| 2019 | 1,164 | 
| 2020 | 100 | 
| Total | 5,536 | 
| Preferred Stock | |
| Estimated unamortized compensation expense recognized in future | |
| 2017 | 604 | 
| 2018 | 395 | 
| 2019 | 0 | 
| 2020 | 0 | 
| Total | $ 999 | 
| X | ||||||||||
| 
- Definition Estimated unamortized compensation expense recognized in future. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Estimated unamortized compensation expense year four. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Estimated unamortized compensation expense year one. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Estimated unamortized compensation expense year three. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Estimated unamortized compensation expense year two. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Unrecognized cost of unvested share-based compensation awards. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |