XML 101 R85.htm IDEA: XBRL DOCUMENT
v3.20.4

Income Taxes (Provision for Income Taxes) (Narrative) (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Income Taxes |  |  |
Revaluation of deferred tax liability, benefit | $ 0 | $ 0 | $ (1,262)
Investment tax credit amount | 170,500 | $ 8,500 | $ 19,400
State and local jurisdiction [Member] |  |  |
Income Taxes |  |  |
Tax credit carryforwards available for state tax purposes, net of federal impact | $ 1,400 |  |
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=84230637&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=84230637&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=84230637&loc=d3e32621-109319 + Details
Name: | us-gaap_DeferredTaxAssetsTaxCreditCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations, attributable to increase (decrease) in the income tax rates. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=120406818&loc=d3e32059-109318 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 + Details
Name: | us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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=121586364&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: |