XML 38 R24.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Summary of Significant Accounting Policies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2017
Policy Text Block [Abstract] |
Components of self-insurance reserves |
| December 31,
| 2017 |  | 2016
Self-insurance reserves (undiscounted) | $ | 147,664 |  |  | $ | 138,687 |
Self-insurance reserves (discounted) | 137,970 |  |  | 129,437 |

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: | nonnum: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