XML 40 R26.htm IDEA: XBRL DOCUMENT
v3.22.0.1

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Summary of Significant Accounting Policies |
Components of self-insurance reserves | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | December 31,
​ |  | ​ | 2021 |  | 2020
Self-insurance reserves (undiscounted) | ​ | ​ | $ | 233,185 | ​ | $ | 213,332
Self-insurance reserves (discounted) | ​ | ​ |  | 222,273 | ​ |  | 202,454

X
- Definition Table containing amount of undiscounted and discounted self-insurance reserves the Company had at the balance sheet date. + References No definition available. + Details
Name: | orly_SelfInsuranceReservesTableTextBlock
Namespace Prefix: | orly_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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