XML 61 R50.htm IDEA: XBRL DOCUMENT
v3.22.1

SHARE-BASED COMPENSATION AND BENEFIT PLANS (Profit Sharing and Savings Plan) (Narrative) (Detail) - Profit sharing and savings plan [Member] - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2022 | Mar. 31, 2021 | Dec. 31, 2021
Share-Based Compensation and Benefit Plans |  |  |
Profit sharing and savings plan, employer discretionary contribution | $ 0 |  | $ 0
Profit sharing and savings plan, cost recognized | $ 8,600 | $ 7,200 |
Employee's first 2% of contributed wages [Member] |  |  |
Share-Based Compensation and Benefit Plans |  |  |
Profit sharing and savings plan, Company match | 100.00% |  |
Employee's next 4% of contributed wages [Member] |  |  |
Share-Based Compensation and Benefit Plans |  |  |
Profit sharing and savings plan, Company match | 25.00% |  |

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of discretionary contributions made by an employer to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage employer matches of the employee's percentage contribution matched. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=orly_ProfitSharingAndSavingsPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | orly_ProfitSharingAndSavingsPlanPercentageMatchRangeAxis=orly_ProfitSharingAndSavingsPlanEmployeeFirstTwoPercentOfContributedWagesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | orly_ProfitSharingAndSavingsPlanPercentageMatchRangeAxis=orly_ProfitSharingAndSavingsPlanEmployeeNextFourPercentOfContributedWagesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |