XML 88 R72.htm IDEA: XBRL DOCUMENT
v3.20.4

Share-Based Compensation and Benefit Plans (Employee Stock Purchase Plan) (Narrative) (Details) | 12 Months Ended
--- | ---
Dec. 31, 2020
Employee stock purchase plan [Member] |
Share-Based Compensation and Benefit Plans |
Employee stock purchase plan stock purchase percentage | 85.00%

X
- Definition Percent of fair market value of Company's common stock that eligible employees, participating in employee stock purchase plan, may purchase the stock at within the plan. + References No definition available. + Details
Name: | orly_EmployeeStockPurchasePlanStockPurchasePercentage
Namespace Prefix: | orly_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items disclose details pertaining to the Company's employee stock purchase plan (ESPP). + References No definition available. + Details
Name: | orly_ScheduleOfEmployeeStockPurchasePlanDisclosuresLineItems
Namespace Prefix: | orly_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=orly_EmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |