XML 96 R82.htm IDEA: XBRL DOCUMENT
v3.22.0.1

INCOME TAXES (Provision for Income Taxes) (Narrative) (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Income Taxes |  |  |
Investment tax credit amount | $ 177.1 | $ 170.5 | $ 8.5
State and local jurisdiction [Member] |  |  |
Income Taxes |  |  |
Tax credit carryforwards available for state tax purposes, net of federal impact | $ 0.3 |  |
Tax credit carryforwards available for state tax purposes, expiration year | 2024 |  |

X
- Definition Line items of the Company's net operating loss carryforwards and tax credit carryforwards available to reduce future taxable income. + References No definition available. + Details
Name: | orly_OperatingLossAndTaxCreditCarryforwardsLineItems
Namespace Prefix: | orly_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The expiration of the company's state tax credit carryforwards. + References No definition available. + Details
Name: | orly_StateTaxCreditCarryforwardsExpiration
Namespace Prefix: | orly_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before allocation of a valuation allowances, of deferred tax assets attributable to deductible tax credit carryforwards including, but not limited to, research, foreign, general business, alternative minimum tax, and other deductible tax credit carryforwards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319 + Details
Name: | us-gaap_DeferredTaxAssetsTaxCreditCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount deducted from an entities' taxes, reflecting a percentage of an amount invested in certain assets spread over the useful life of those assets; includes deferred investment tax credits. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_InvestmentTaxCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_StateAndLocalJurisdictionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |