XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.25.2

Loans And Allowance For Credit Losses (Amortized Cost Basis by Origination Year) (Details) - USD ($) $ in Thousands | Jun. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | $ 45,722 | $ 116,149
Fiscal Year Before Current Fiscal Year | 108,056 | 62,181
Two Years Before Current Fiscal Year | 52,652 | 111,125
Three Years Before Current Fiscal Year | 106,178 | 97,975
Four Years Before Current Fiscal Year | 92,499 | 29,013
Prior | 160,829 | 144,521
Revolving Loans Amortized Cost Basis | 87,216 | 80,459
Revolving Loans Converted to Term | 2,245 | 2,173
Total loans | 655,397 |
Total loans | 655,397 | 643,596
Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 45,722 | 116,112
Fiscal Year Before Current Fiscal Year | 108,021 | 61,166
Two Years Before Current Fiscal Year | 51,660 | 109,736
Three Years Before Current Fiscal Year | 104,609 | 94,601
Four Years Before Current Fiscal Year | 89,321 | 27,693
Prior | 155,520 | 139,911
Revolving Loans Amortized Cost Basis | 84,845 | 78,805
Revolving Loans Converted to Term | 1,663 | 1,604
Total loans | 641,361 |
Total loans |  | 629,628
Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Two Years Before Current Fiscal Year |  | 41
Three Years Before Current Fiscal Year |  | 79
Prior | 70 | 524
Total loans | 70 |
Total loans |  | 644
Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year |  | 37
Fiscal Year Before Current Fiscal Year | 35 | 1,015
Two Years Before Current Fiscal Year | 992 | 1,348
Three Years Before Current Fiscal Year | 1,569 | 3,295
Four Years Before Current Fiscal Year | 3,177 | 1,320
Prior | 5,240 | 4,086
Revolving Loans Amortized Cost Basis | 2,371 | 1,654
Revolving Loans Converted to Term | 582 | 569
Total loans | 13,966 |
Total loans |  | 13,324
Commercial [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 8,626 | 10,412
Fiscal Year Before Current Fiscal Year | 6,625 | 4,602
Two Years Before Current Fiscal Year | 4,062 | 2,955
Three Years Before Current Fiscal Year | 2,732 | 7,310
Four Years Before Current Fiscal Year | 6,207 | 734
Prior | 15,748 | 16,639
Revolving Loans Amortized Cost Basis | 26,343 | 23,256
Revolving Loans Converted to Term | 167 | 510
Total loans | 70,510 |
Total loans | 70,510 | 66,418
Commercial [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 8,626 | 10,412
Fiscal Year Before Current Fiscal Year | 6,625 | 3,680
Two Years Before Current Fiscal Year | 3,162 | 2,901
Three Years Before Current Fiscal Year | 2,721 | 7,188
Four Years Before Current Fiscal Year | 6,169 | 734
Prior | 15,205 | 16,070
Revolving Loans Amortized Cost Basis | 23,972 | 21,602
Revolving Loans Converted to Term | 20 | 341
Total loans | 66,500 |
Total loans |  | 62,928
Commercial [Member] | Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Two Years Before Current Fiscal Year |  | 41
Three Years Before Current Fiscal Year |  | 79
Total loans |  | 120
Commercial [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Fiscal Year Before Current Fiscal Year |  | 922
Two Years Before Current Fiscal Year | 900 | 13
Three Years Before Current Fiscal Year | 11 | 43
Four Years Before Current Fiscal Year | 38 |
Prior | 543 | 569
Revolving Loans Amortized Cost Basis | 2,371 | 1,654
Revolving Loans Converted to Term | 147 | 169
Total loans | 4,010 |
Total loans |  | 3,370
Commercial Real Estate [Member] | Commercial Mortgages-Owner Occupied [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 8,504 | 21,261
Fiscal Year Before Current Fiscal Year | 25,908 | 9,052
Two Years Before Current Fiscal Year | 7,633 | 21,770
Three Years Before Current Fiscal Year | 22,021 | 42,779
Four Years Before Current Fiscal Year | 47,520 | 5,707
Prior | 40,409 | 38,157
Revolving Loans Amortized Cost Basis | 1,382 | 1,564
Revolving Loans Converted to Term | 150 | 153
Total loans | 153,526 |
Total loans | 153,526 | 140,443
Commercial Real Estate [Member] | Commercial Mortgages-Owner Occupied [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 8,504 | 21,261
Fiscal Year Before Current Fiscal Year | 25,908 | 8,959
Two Years Before Current Fiscal Year | 7,541 | 21,770
Three Years Before Current Fiscal Year | 22,021 | 39,881
Four Years Before Current Fiscal Year | 44,716 | 5,663
Prior | 38,612 | 35,869
Revolving Loans Amortized Cost Basis | 1,382 | 1,564
Revolving Loans Converted to Term | 150 | 153
Total loans | 148,834 |
Total loans |  | 135,120
Commercial Real Estate [Member] | Commercial Mortgages-Owner Occupied [Member] | Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Prior |  | 451
Total loans |  | 451
Commercial Real Estate [Member] | Commercial Mortgages-Owner Occupied [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Fiscal Year Before Current Fiscal Year |  | 93
Two Years Before Current Fiscal Year | 91 |
Three Years Before Current Fiscal Year |  | 2,898
Four Years Before Current Fiscal Year | 2,804 | 44
Prior | 1,797 | 1,837
Total loans | 4,692 |
Total loans |  | 4,872
Commercial Real Estate [Member] | Commercial Mortgages-Non-Owner Occupied [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 10,349 | 39,659
Fiscal Year Before Current Fiscal Year | 40,351 | 12,203
Two Years Before Current Fiscal Year | 11,895 | 49,273
Three Years Before Current Fiscal Year | 49,061 | 27,410
Four Years Before Current Fiscal Year | 26,563 | 10,871
Prior | 57,151 | 49,206
Revolving Loans Amortized Cost Basis | 6,776 | 6,467
Total loans | 202,147 |
Total loans | 202,147 | 195,089
Commercial Real Estate [Member] | Commercial Mortgages-Non-Owner Occupied [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 10,349 | 39,659
Fiscal Year Before Current Fiscal Year | 40,351 | 12,203
Two Years Before Current Fiscal Year | 11,895 | 49,273
Three Years Before Current Fiscal Year | 48,124 | 27,410
Four Years Before Current Fiscal Year | 26,563 | 9,698
Prior | 55,895 | 49,206
Revolving Loans Amortized Cost Basis | 6,776 | 6,467
Total loans | 199,954 |
Total loans |  | 193,916
Commercial Real Estate [Member] | Commercial Mortgages-Non-Owner Occupied [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Three Years Before Current Fiscal Year | 937 |
Four Years Before Current Fiscal Year |  | 1,173
Prior | 1,255 |
Total loans | 2,192 |
Total loans |  | 1,173
Commercial Real Estate [Member] | Commercial Construction/Land [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 2,228 | 7,180
Fiscal Year Before Current Fiscal Year | 1,794 | 1,496
Two Years Before Current Fiscal Year | 555 | 1,719
Three Years Before Current Fiscal Year | 375 | 9,851
Four Years Before Current Fiscal Year | 2,992 | 1,976
Prior | 2,435 | 1,020
Revolving Loans Amortized Cost Basis | 300 | 641
Total loans | 10,678 |
Total loans | 10,678 | 23,883
Commercial Real Estate [Member] | Commercial Construction/Land [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 2,228 | 7,180
Fiscal Year Before Current Fiscal Year | 1,794 | 1,496
Two Years Before Current Fiscal Year | 555 | 768
Three Years Before Current Fiscal Year | 375 | 9,497
Four Years Before Current Fiscal Year | 2,657 | 1,976
Prior | 2,435 | 1,020
Revolving Loans Amortized Cost Basis | 300 | 641
Total loans | 10,343 |
Total loans |  | 22,578
Commercial Real Estate [Member] | Commercial Construction/Land [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Two Years Before Current Fiscal Year |  | 951
Three Years Before Current Fiscal Year |  | 354
Four Years Before Current Fiscal Year | 335 |
Total loans | 335 |
Total loans |  | 1,305
Consumer [Member] | Consumer Open-End [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Revolving Loans Amortized Cost Basis | 52,409 | 48,531
Revolving Loans Converted to Term | 1,928 | 1,510
Total loans | 54,337 |
Total loans | 54,337 | 50,041
Consumer [Member] | Consumer Open-End [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Revolving Loans Amortized Cost Basis | 52,409 | 48,531
Revolving Loans Converted to Term | 1,493 | 1,110
Total loans | 53,902 |
Total loans |  | 49,641
Consumer [Member] | Consumer Open-End [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Revolving Loans Converted to Term | 435 | 400
Total loans | 435 |
Total loans |  | 400
Consumer [Member] | Consumer Closed-End [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 941 | 6,697
Fiscal Year Before Current Fiscal Year | 5,980 | 4,548
Two Years Before Current Fiscal Year | 4,037 | 9,753
Three Years Before Current Fiscal Year | 8,922 | 382
Four Years Before Current Fiscal Year | 306 | 398
Prior | 6,094 | 6,491
Total loans | 26,280 |
Total loans | 26,280 | 28,269
Consumer [Member] | Consumer Closed-End [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 941 | 6,660
Fiscal Year Before Current Fiscal Year | 5,945 | 4,548
Two Years Before Current Fiscal Year | 4,037 | 9,634
Three Years Before Current Fiscal Year | 8,810 | 382
Four Years Before Current Fiscal Year | 306 | 398
Prior | 5,965 | 6,366
Total loans | 26,003 |
Total loans |  | 27,988
Consumer [Member] | Consumer Closed-End [Member] | Substandard [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year |  | 37
Fiscal Year Before Current Fiscal Year | 35 |
Two Years Before Current Fiscal Year |  | 119
Three Years Before Current Fiscal Year | 112 |
Prior | 129 | 125
Total loans | 276 |
Total loans |  | 281
Residential [Member] | Residential Mortgages [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 5,700 | 18,418
Fiscal Year Before Current Fiscal Year | 17,851 | 23,905
Two Years Before Current Fiscal Year | 20,311 | 23,219
Three Years Before Current Fiscal Year | 20,870 | 9,082
Four Years Before Current Fiscal Year | 7,800 | 8,479
Prior | 36,344 | 30,200
Total loans | 108,875 |
Total loans | 108,875 | 113,303
Residential [Member] | Residential Mortgages [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 5,700 | 18,418
Fiscal Year Before Current Fiscal Year | 17,851 | 23,905
Two Years Before Current Fiscal Year | 20,311 | 22,954
Three Years Before Current Fiscal Year | 20,361 | 9,082
Four Years Before Current Fiscal Year | 7,800 | 8,376
Prior | 34,758 | 28,572
Total loans | 106,781 |
Total loans |  | 111,307
Residential [Member] | Residential Mortgages [Member] | Special Mention [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Prior | 70 | 73
Total loans | 70 |
Total loans |  | 73
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 | 509 |
Four Years Before Current Fiscal Year |  | 103
Prior | 1,516 | 1,555
Total loans | 2,025 |
Total loans |  | 1,923
Residential [Member] | Residential Consumer Construction/Land [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 9,374 | 12,522
Fiscal Year Before Current Fiscal Year | 9,548 | 6,375
Two Years Before Current Fiscal Year | 4,158 | 2,436
Three Years Before Current Fiscal Year | 2,198 | 1,161
Four Years Before Current Fiscal Year | 1,111 | 848
Prior | 2,650 | 2,808
Revolving Loans Amortized Cost Basis | 5 |
Total loans | 29,044 |
Total loans | 29,044 | 26,150
Residential [Member] | Residential Consumer Construction/Land [Member] | Pass [Member] |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Current Fiscal Year | 9,374 | 12,522
Fiscal Year Before Current Fiscal Year | 9,548 | 6,375
Two Years Before Current Fiscal Year | 4,158 | 2,436
Three Years Before Current Fiscal Year | 2,198 | 1,161
Four Years Before Current Fiscal Year | 1,111 | 848
Prior | 2,650 | 2,808
Revolving Loans Amortized Cost Basis | 5 |
Total loans | $ 29,044 |
Total loans |  | $ 26,150

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: |