XML 113 R44.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Business Combination (Narrative) (Details) $ in Thousands | Dec. 31, 2019 USD ($) store | Nov. 29, 2019 | Dec. 31, 2018 USD ($)
--- | --- | --- | ---
Business Combination |  |  |
Provisional goodwill and intangibles related to Mayasa acquisition | $ 128,090 |  | $ 0
Mayasa |  |  |
Business Combination |  |  |
Number of distribution centers |  | 6 |
Number of stores |  | 21 |
Number of independent jobber locations served |  | 2,000 |
Provisional goodwill and intangibles related to Mayasa acquisition | $ 128,100 |  |
Mexico |  |  |
Business Combination |  |  |
Number of stores | store | 21 |  |
Mexico | Mayasa |  |  |
Business Combination |  |  |
Number of states |  | 28 |

X
- Definition Number of distribution centers. + References No definition available. + Details
Name: | orly_NumberOfDistributionCenters
Namespace Prefix: | orly_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of independent jobber locations served. + References No definition available. + Details
Name: | orly_NumberOfIndependentJobberLocations
Namespace Prefix: | orly_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The number of states the entity operates in as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfStatesInWhichEntityOperates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the number of stores. + References No definition available. + Details
Name: | us-gaap_NumberOfStores
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=orly_MayoreoDeAutopartesYAceitesS.a.DeC.vMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_MX
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |