| 9. | Income Tax |
| For the Years Ended December 31, | ||||||||||||
| 2017 | 2016 | 2015 | ||||||||||
| Federal income taxes | ||||||||||||
| Current | $ | 1,201 | $ | 1,176 | $ | 2,552 | ||||||
| Deferred | (9,332 | ) | 1,872 | 1,661 | ||||||||
| Total federal tax (benefit) expense | (8,131 | ) | 3,048 | 4,213 | ||||||||
| State income taxes | ||||||||||||
| Current | 284 | 308 | 366 | |||||||||
| Deferred | (9 | ) | 302 | 365 | ||||||||
| Total state tax expense | 275 | 610 | 731 | |||||||||
| Total income tax (benefit) expense | $ | (7,856 | ) | $ | 3,658 | $ | 4,944 | |||||
| December 31, | ||||||||
| 2017 | 2016 | |||||||
| Deferred tax liabilities: | ||||||||
| Amortization | $ | (11,058 | ) | $ | (16,588 | ) | ||
| Depreciation | (8,408 | ) | (11,966 | ) | ||||
| Prepaid expense | (151 | ) | (444 | ) | ||||
| State net operating loss carryforwards and adjustments | (266 | ) | (279 | ) | ||||
| Other | (8 | ) | (13 | ) | ||||
| Total deferred tax liabilities | $ | (19,891 | ) | $ | (29,290 | ) | ||
| Deferred tax assets: | ||||||||
| Deferred compensation | $ | 131 | $ | 232 | ||||
| Advance payments | 520 | 245 | ||||||
| Bad debt | 71 | 121 | ||||||
| Other | 230 | 412 | ||||||
| Total net deferred tax assets | $ | 952 | $ | 1,010 | ||||
| For the Years Ended December 31, | ||||||||||||
| 2017 | 2016 | 2015 | ||||||||||
| Federal income tax at statutory rate | 35 | % | 35 | % | 35 | % | ||||||
| Federal income tax provision at statutory rate | $ | 1,491 | $ | 3,081 | $ | 4,349 | ||||||
| State income tax provision, net of federal income tax effects | 177 | 397 | 475 | |||||||||
| Federal tax rate change | (9,336 | ) | — | — | ||||||||
| Other | (188 | ) | 180 | 120 | ||||||||
| (Benefit) provision for income taxes | $ | (7,856 | ) | $ | 3,658 | $ | 4,944 | |||||
| Effective income tax rate | (184.5 | )% | 41.5 | % | 39.8 | % | ||||||