XML 37 R27.htm IDEA: XBRL DOCUMENT
v3.25.2

Debt (Current and Long Term) (Narrative) (Details) - USD ($) |  | 6 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | ---
Dec. 29, 2021 | Jun. 30, 2025 | Dec. 31, 2026 | Dec. 31, 2024 | Jul. 01, 2022 | Apr. 13, 2020
Pettyjohn, Wood & White, Inc [Member] |  |  |  |  |  |
Short-term Debt [Line Items] |  |  |  |  |  |
Percentage of capital stock purchased |  | 100.00% |  |  |  |
National Bank of Blacksburg (NBB Note) [Member] |  |  |  |  |  |
Short-term Debt [Line Items] |  |  |  |  |  |
Proceeds from Issuance of Debt | $ 11,000,000 |  |  |  |  |
Debt instrument, interest rate, stated percentage | 4.00% |  |  |  | 3.90% |
Debt instrument amortization period |  | 15 years |  |  |  |
Debt Instrument, Periodic Payment Terms, Balloon Payment to be Paid | $ 9,375,000 |  |  |  |  |
Percentage of common stock secured by first priority lien |  | 4.95% |  |  |  |
Capital notes, principal balance |  | $ 8,992,000 |  | $ 9,300,000 |  |
2020 Offering [Member] |  |  |  |  |  |
Short-term Debt [Line Items] |  |  |  |  |  |
Debt instrument, interest rate, stated percentage |  |  |  |  |  | 3.25%
Capital notes, maturity date |  | Jun. 30, 2025 |  |  |  |
Capital notes, principal balance |  |  |  |  |  | $ 10,050,000
Repayment of unsecured debt |  | $ 10,050,000 |  |  |  |
Interest payment on notes |  | 82,000 |  |  |  |
Cash outflow for financing activities |  | $ 10,050,000 |  |  |  |
Forecast [Member] | National Bank of Blacksburg (NBB Note) [Member] |  |  |  |  |  |
Short-term Debt [Line Items] |  |  |  |  |  |
Debt Instrument, Periodic Payment Terms, Balloon Payment to be Paid |  |  | $ 8,104,000 |  |  |

X
- Definition Debt instrument amortization period + References No definition available. + Details
Name: | botj_DebtInstrumentAmortizationPeriod
Namespace Prefix: | botj_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument Principal Balance + References No definition available. + Details
Name: | botj_DebtInstrumentPrincipalBalance
Namespace Prefix: | botj_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of capital stock purchased + References No definition available. + Details
Name: | botj_PercentageOfCapitalStockPurchased
Namespace Prefix: | botj_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of common stock secured by first priority lien. + References No definition available. + Details
Name: | botj_PercentageOfCommonStockSecuredByFirstPriorityLien
Namespace Prefix: | botj_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of payment greater than the preceding installment payments to be paid at final maturity date of debt. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from financing activities classified as other. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-14 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 45 -Paragraph 15 -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_ProceedsFromPaymentsForOtherFinancingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow to repay long-term debt that is not secured by collateral. Excludes repayments of tax exempt unsecured debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfUnsecuredDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 No definition available. + Details
Name: | us-gaap_ShortTermDebtLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=botj_PettyjohnWoodWhiteIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=botj_NationalBankOfBlacksburgMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=botj_TwentyTwentyOfferingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |