XML 83 R69.htm IDEA: XBRL DOCUMENT
v3.22.0.1

SHARE-BASED COMPENSATION AND BENEFIT PLANS (Employee Stock Purchase Plan) (Narrative) (Details) - Employee stock purchase plan [Member] | 12 Months Ended
--- | ---
Dec. 31, 2021
Share-Based Compensation and Benefit Plans |
Employee stock purchase plan stock purchase percentage | 85.00%
Percentage of annual salary to be withhold by company | 5.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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage that the Company to withhold annual salary of employees to participate in the plan. + References No definition available. + Details
Name: | orly_PercentageOfAnnualSalaryToBeWithholdByCompany
Namespace Prefix: | orly_
Data Type: | dtr-types: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: |