LOANS HELD FOR INVESTMENT AND ALLOWANCE FOR CREDIT LOSSES (Composition of the loan portfolio) (Details) - USD ($) $ in Thousands  | 
Jun. 30, 2024  | 
Dec. 31, 2023  | 
|---|---|---|
| Loan Portfolio Composition | ||
| Total Loans | $ 2,690,223 | $ 2,733,918 | 
| Commercial, Financial and Agricultural [Member] | ||
| Loan Portfolio Composition | ||
| Total Loans | 204,990 | 225,190 | 
| Real Estate - Construction [Member] | ||
| Loan Portfolio Composition | ||
| Total Loans | 200,754 | 196,091 | 
| Real Estate - Commercial Mortgage [Member] | ||
| Loan Portfolio Composition | ||
| Total Loans | 823,122 | 825,456 | 
| Real Estate - Residential [Member] | ||
| Loan Portfolio Composition | ||
| Total Loans | 1,014,827 | 1,004,219 | 
| Loans in process | 3,500 | 3,200 | 
| Real Estate - Home Equity [Member] | ||
| Loan Portfolio Composition | ||
| Total Loans | 211,126 | 210,920 | 
| Consumer [Member] | ||
| Loan Portfolio Composition | ||
| Total Loans | 235,404 | 272,042 | 
| Overdraft Balances | $ 1,200 | $ 1,000 | 
| X | ||||||||||
- Definition Loan Portfolio Composition [Abstract] No definition available. 
  | 
| X | ||||||||||
- Definition Amount of deposits held by the entity that have been reclassified as loan balances receivable, for example, but not limited to, overdrafts receivable. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount of undisbursed portion of financing receivable balance. Excludes financing receivable covered under loss sharing agreement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  | 
| X | ||||||||||
- Definition Amortized cost, before allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |