XML 86 R72.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Income Taxes (Provision for Income Taxes) (Narrative) (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Income Taxes |  |  |
Revaluation of deferred tax liability, benefit | $ (53,240) | $ 0 | $ 0
State and local jurisdiction [Member] |  |  |
Income Taxes |  |  |
Tax credit carryforwards available for state tax purposes, net of federal impact | 7,200 |  |
Net operating loss carryforwards available for state tax purposes | $ 9,500 |  |
Operating loss carryforwards available for state tax purposes, expiration year | 2028 |  |
Tax credit carryforwards available for state tax purposes, expiration year | 2024 |  |

X
- Definition Line items of the Company's net operating loss carryforwards and tax credit carryfowards available to reduce future taxable income. + References No definition available. + Details
Name: | orly_OperatingLossAndTaxCreditCarryforwardsLineItems
Namespace Prefix: | orly_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The expiration of the Company's state net operating loss carryfowards. + References No definition available. + Details
Name: | orly_StateOperatingLossCarryfowardsExpiration
Namespace Prefix: | orly_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition The expiration of the Company's state tax credit carryfowards. + References No definition available. + Details
Name: | orly_StateTaxCreditCarrforwardsExpiration
Namespace Prefix: | orly_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before allocation of a valuation allowances, of deferred tax assets attributable to deductible tax credit carryforwards including, but not limited to, research, foreign, general business, alternative minimum tax, and other deductible tax credit carryforwards. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32621-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32632-109319 + Details
Name: | us-gaap_DeferredTaxAssetsTaxCreditCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations, attributable to increase (decrease) in the income tax rates. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32698-109319 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=84176650&loc=d3e32059-109318 + Details
Name: | us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_StateAndLocalJurisdictionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |