XML 72 R58.htm IDEA: XBRL DOCUMENT
v3.25.1

Loans And Allowance For Credit Losses (Amortized Cost Basis by Origination Year) (Details) - USD ($) $ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | $ 116,149 | $ 74,660
Fiscal Year Before Current Fiscal Year | 62,181 | 130,397
Two Years Before Current Fiscal Year | 111,125 | 115,310
Three Years Before Current Fiscal Year | 97,975 | 39,510
Four Years Before Current Fiscal Year | 29,013 | 33,846
Prior | 144,521 | 136,874
Revolving Loans Amortized Cost Basis | 80,459 | 76,891
Revolving Loans Converted to Term | 2,173 | 1,845
Total loans | 643,596 |
Total loans | 643,596 | 609,333
Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 116,112 | 74,466
Fiscal Year Before Current Fiscal Year | 61,166 | 130,379
Two Years Before Current Fiscal Year | 109,736 | 114,846
Three Years Before Current Fiscal Year | 94,601 | 38,041
Four Years Before Current Fiscal Year | 27,693 | 33,471
Prior | 139,911 | 131,682
Revolving Loans Amortized Cost Basis | 78,805 | 76,269
Revolving Loans Converted to Term | 1,604 | 1,664
Total loans | 629,628 |
Total loans |  | 600,818
Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year |  | 100
Two Years Before Current Fiscal Year | 41 | 22
Three Years Before Current Fiscal Year | 79 | 146
Prior | 524 | 2,143
Revolving Loans Amortized Cost Basis |  | 382
Total loans | 644 |
Total loans |  | 2,793
Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 37 | 94
Fiscal Year Before Current Fiscal Year | 1,015 | 18
Two Years Before Current Fiscal Year | 1,348 | 442
Three Years Before Current Fiscal Year | 3,295 | 1,323
Four Years Before Current Fiscal Year | 1,320 | 375
Prior | 4,086 | 3,049
Revolving Loans Amortized Cost Basis | 1,654 | 240
Revolving Loans Converted to Term | 569 | 181
Total loans | 13,324 |
Total loans |  | 5,722
Commercial [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 10,412 | 6,186
Fiscal Year Before Current Fiscal Year | 4,602 | 4,577
Two Years Before Current Fiscal Year | 2,955 | 9,142
Three Years Before Current Fiscal Year | 7,310 | 6,199
Four Years Before Current Fiscal Year | 734 | 2,760
Prior | 16,639 | 18,556
Revolving Loans Amortized Cost Basis | 23,256 | 17,684
Revolving Loans Converted to Term | 510 | 220
Total loans | 66,418 |
Total loans | 66,418 | 65,324
Commercial [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 10,412 | 6,086
Fiscal Year Before Current Fiscal Year | 3,680 | 4,559
Two Years Before Current Fiscal Year | 2,901 | 9,091
Three Years Before Current Fiscal Year | 7,188 | 6,067
Four Years Before Current Fiscal Year | 734 | 2,754
Prior | 16,070 | 18,429
Revolving Loans Amortized Cost Basis | 21,602 | 17,302
Revolving Loans Converted to Term | 341 | 39
Total loans | 62,928 |
Total loans |  | 64,327
Commercial [Member] | Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year |  | 100
Two Years Before Current Fiscal Year | 41 |
Three Years Before Current Fiscal Year | 79 | 132
Revolving Loans Amortized Cost Basis |  | 382
Total loans | 120 |
Total loans |  | 614
Commercial [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Fiscal Year Before Current Fiscal Year | 922 | 18
Two Years Before Current Fiscal Year | 13 | 51
Three Years Before Current Fiscal Year | 43 |
Four Years Before Current Fiscal Year |  | 6
Prior | 569 | 127
Revolving Loans Amortized Cost Basis | 1,654 |
Revolving Loans Converted to Term | 169 | 181
Total loans | 3,370 |
Total loans |  | 383
Commercial Real Estate [Member] | Commercial Mortgages-Owner Occupied [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 21,261 | 10,354
Fiscal Year Before Current Fiscal Year | 9,052 | 23,120
Two Years Before Current Fiscal Year | 21,770 | 45,838
Three Years Before Current Fiscal Year | 42,779 | 8,017
Four Years Before Current Fiscal Year | 5,707 | 9,271
Prior | 38,157 | 33,289
Revolving Loans Amortized Cost Basis | 1,564 | 1,471
Revolving Loans Converted to Term | 153 | 159
Total loans | 140,443 |
Total loans | 140,443 | 131,519
Commercial Real Estate [Member] | Commercial Mortgages-Owner Occupied [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 21,261 | 10,260
Fiscal Year Before Current Fiscal Year | 8,959 | 23,120
Two Years Before Current Fiscal Year | 21,770 | 45,838
Three Years Before Current Fiscal Year | 39,881 | 7,972
Four Years Before Current Fiscal Year | 5,663 | 8,988
Prior | 35,869 | 31,254
Revolving Loans Amortized Cost Basis | 1,564 | 1,471
Revolving Loans Converted to Term | 153 | 159
Total loans | 135,120 |
Total loans |  | 129,062
Commercial Real Estate [Member] | Commercial Mortgages-Owner Occupied [Member] | Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Prior | 451 | 456
Total loans | 451 |
Total loans |  | 456
Commercial Real Estate [Member] | Commercial Mortgages-Owner Occupied [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year |  | 94
Fiscal Year Before Current Fiscal Year | 93 |
Three Years Before Current Fiscal Year | 2,898 | 45
Four Years Before Current Fiscal Year | 44 | 283
Prior | 1,837 | 1,579
Total loans | 4,872 |
Total loans |  | 2,001
Commercial Real Estate [Member] | Commercial Mortgages-Non-Owner Occupied [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 39,659 | 13,069
Fiscal Year Before Current Fiscal Year | 12,203 | 52,341
Two Years Before Current Fiscal Year | 49,273 | 35,419
Three Years Before Current Fiscal Year | 27,410 | 11,383
Four Years Before Current Fiscal Year | 10,871 | 4,397
Prior | 49,206 | 52,583
Revolving Loans Amortized Cost Basis | 6,467 | 6,152
Total loans | 195,089 |
Total loans | 195,089 | 175,344
Commercial Real Estate [Member] | Commercial Mortgages-Non-Owner Occupied [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 39,659 | 13,069
Fiscal Year Before Current Fiscal Year | 12,203 | 52,341
Two Years Before Current Fiscal Year | 49,273 | 35,419
Three Years Before Current Fiscal Year | 27,410 | 10,210
Four Years Before Current Fiscal Year | 9,698 | 4,397
Prior | 49,206 | 52,583
Revolving Loans Amortized Cost Basis | 6,467 | 6,152
Total loans | 193,916 |
Total loans |  | 174,171
Commercial Real Estate [Member] | Commercial Mortgages-Non-Owner Occupied [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Three Years Before Current Fiscal Year |  | 1,173
Four Years Before Current Fiscal Year | 1,173 |
Total loans | 1,173 |
Total loans |  | 1,173
Commercial Real Estate [Member] | Commercial Construction/Land [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 7,180 | 1,848
Fiscal Year Before Current Fiscal Year | 1,496 | 3,157
Two Years Before Current Fiscal Year | 1,719 | 10,260
Three Years Before Current Fiscal Year | 9,851 | 2,842
Four Years Before Current Fiscal Year | 1,976 | 628
Prior | 1,020 | 463
Revolving Loans Amortized Cost Basis | 641 | 2,768
Total loans | 23,883 |
Total loans | 23,883 | 21,966
Commercial Real Estate [Member] | Commercial Construction/Land [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 7,180 | 1,848
Fiscal Year Before Current Fiscal Year | 1,496 | 3,157
Two Years Before Current Fiscal Year | 768 | 9,869
Three Years Before Current Fiscal Year | 9,497 | 2,842
Four Years Before Current Fiscal Year | 1,976 | 628
Prior | 1,020 | 463
Revolving Loans Amortized Cost Basis | 641 | 2,768
Total loans | 22,578 |
Total loans |  | 21,575
Commercial Real Estate [Member] | Commercial Construction/Land [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Two Years Before Current Fiscal Year | 951 | 391
Three Years Before Current Fiscal Year | 354 |
Total loans | 1,305 |
Total loans |  | 391
Consumer [Member] | Consumer Open-End [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Revolving Loans Amortized Cost Basis | 48,531 | 48,816
Revolving Loans Converted to Term | 1,510 | 1,466
Total loans | 50,041 |
Total loans | 50,041 | 50,282
Consumer [Member] | Consumer Open-End [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Revolving Loans Amortized Cost Basis | 48,531 | 48,576
Revolving Loans Converted to Term | 1,110 | 1,466
Total loans | 49,641 |
Total loans |  | 50,042
Consumer [Member] | Consumer Open-End [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Revolving Loans Amortized Cost Basis |  | 240
Revolving Loans Converted to Term | 400 |
Total loans | 400 |
Total loans |  | 240
Consumer [Member] | Consumer Closed-End [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 6,697 | 5,587
Fiscal Year Before Current Fiscal Year | 4,548 | 11,121
Two Years Before Current Fiscal Year | 9,753 | 588
Three Years Before Current Fiscal Year | 382 | 543
Four Years Before Current Fiscal Year | 398 | 7,679
Prior | 6,491 | 717
Total loans | 28,269 |
Total loans | 28,269 | 26,235
Consumer [Member] | Consumer Closed-End [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 6,660 | 5,587
Fiscal Year Before Current Fiscal Year | 4,548 | 11,121
Two Years Before Current Fiscal Year | 9,634 | 588
Three Years Before Current Fiscal Year | 382 | 529
Four Years Before Current Fiscal Year | 398 | 7,647
Prior | 6,366 | 601
Total loans | 27,988 |
Total loans |  | 26,073
Consumer [Member] | Consumer Closed-End [Member] | Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Three Years Before Current Fiscal Year |  | 14
Total loans |  | 14
Consumer [Member] | Consumer Closed-End [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 37 |
Two Years Before Current Fiscal Year | 119 |
Four Years Before Current Fiscal Year |  | 32
Prior | 125 | 116
Total loans | 281 |
Total loans |  | 148
Residential [Member] | Residential Mortgages [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 18,418 | 26,854
Fiscal Year Before Current Fiscal Year | 23,905 | 24,740
Two Years Before Current Fiscal Year | 23,219 | 10,220
Three Years Before Current Fiscal Year | 9,082 | 9,112
Four Years Before Current Fiscal Year | 8,479 | 7,215
Prior | 30,200 | 28,849
Total loans | 113,303 |
Total loans | 113,303 | 106,990
Residential [Member] | Residential Mortgages [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 18,418 | 26,854
Fiscal Year Before Current Fiscal Year | 23,905 | 24,740
Two Years Before Current Fiscal Year | 22,954 | 10,220
Three Years Before Current Fiscal Year | 9,082 | 9,007
Four Years Before Current Fiscal Year | 8,376 | 7,161
Prior | 28,572 | 25,935
Total loans | 111,307 |
Total loans |  | 103,917
Residential [Member] | Residential Mortgages [Member] | Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Prior | 73 | 1,687
Total loans | 73 |
Total loans |  | 1,687
Residential [Member] | Residential Mortgages [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Two Years Before Current Fiscal Year | 265 |
Three Years Before Current Fiscal Year |  | 105
Four Years Before Current Fiscal Year | 103 | 54
Prior | 1,555 | 1,227
Total loans | 1,923 |
Total loans |  | 1,386
Residential [Member] | Residential Consumer Construction/Land [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 12,522 | 10,762
Fiscal Year Before Current Fiscal Year | 6,375 | 11,341
Two Years Before Current Fiscal Year | 2,436 | 3,843
Three Years Before Current Fiscal Year | 1,161 | 1,414
Four Years Before Current Fiscal Year | 848 | 1,896
Prior | 2,808 | 2,417
Total loans | 26,150 |
Total loans | 26,150 | 31,673
Residential [Member] | Residential Consumer Construction/Land [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 12,522 | 10,762
Fiscal Year Before Current Fiscal Year | 6,375 | 11,341
Two Years Before Current Fiscal Year | 2,436 | 3,821
Three Years Before Current Fiscal Year | 1,161 | 1,414
Four Years Before Current Fiscal Year | 848 | 1,896
Prior | 2,808 | 2,417
Total loans | $ 26,150 |
Total loans |  | 31,651
Residential [Member] | Residential Consumer Construction/Land [Member] | Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Two Years Before Current Fiscal Year |  | 22
Total loans |  | $ 22

X
- Definition Financing Receivable Excluding Accrued Interest Before Allowance For Credit Loss, Net Of Revolving Loans Converted To Term + References No definition available. + Details
Name: | botj_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossNetOfRevolvingLoansConvertedToTerm
Namespace Prefix: | botj_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated more than five years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolving
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of revolving financing receivable converted to term loan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated in current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 29 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-29 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_PassMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SpecialMentionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubstandardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialRealEstatePortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=botj_CommercialMortgagesOwnerOccupiedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=botj_CommercialMortgagesNonOwnerOccupiedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=botj_CommercialConstructionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=botj_ConsumerOpenEndMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=botj_ConsumerClosedEndMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ResidentialMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=botj_ResidentialConsumerConstructionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |