XML 49 R37.htm IDEA: XBRL DOCUMENT
v3.21.2

VARIABLE INTEREST ENTITIES (Narrative) (Details) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2021 | Jun. 30, 2020
Variable Interest Entities |  |
Equity method investment in VIEs, net | $ 20.3 |
Investment tax credit amount |  | $ 108.3
Additional capital contributions | $ 160.0 |

X
- Definition Amount of additional capital contributions to be made upon achievement of project milestones. + References No definition available. + Details
Name: | orly_AdditionalCapitalContributionsToBeMadeToTaxCreditFunds
Namespace Prefix: | orly_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition No definition available + References No definition available. + Details
Name: | orly_VariableInterestEntitiesAbstract
Namespace Prefix: | orly_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying amount of the reporting entity's equity method investment in a Variable Interest Entity included in the reporting entity's statement of financial position. + References No definition available. + Details
Name: | orly_VariableInterestEntityEquityMethodInvestmentCarryAmount
Namespace Prefix: | orly_
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