XML 61 R45.htm IDEA: XBRL DOCUMENT
v3.20.4

Fair Value Measurements (Narrative) (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Fair Value Measurements |  |
Increase in fair value of marketable securities | $ 5.4 | $ 5.8
Non-financial assets and liabilities measured at fair value on a nonrecurring basis | $ 0.0 | $ 0.0

X
- Definition Represents the aggregate of the non-financial assets and/or liabilities reported on the balance sheet at period end measured at fair value on a nonrecurring basis. Non-financial assets and liabilities may include assets acquired in a business combination or property and equipment that are determined to be impaired. + References No definition available. + Details
Name: | orly_NonFinancialAssetsAndLiabilitiesFairValueNonrecurring
Namespace Prefix: | orly_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) of investment in debt and equity securities, measured at fair value with changes in fair value recognized in net income. + 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 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3444-108585 + Details
Name: | us-gaap_IncreaseDecreaseInTradingSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration