XML 72 R34.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Summary of Significant Accounting Policies - Estimated Useful Lives of Property Plant and Equipment (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2014
Buildings [Member] |
Property, Plant and Equipment [Line Items] |
Property, plant, and equipment estimated useful life | 40 years
Furniture and Fixtures [Member] |
Property, Plant and Equipment [Line Items] |
Property, plant, and equipment estimated useful life | 10 years
Forklifts and Tractors [Member] |
Property, Plant and Equipment [Line Items] |
Property, plant, and equipment estimated useful life | 5 years
Minimum [Member] | Machinery and Equipment [Member] |
Property, Plant and Equipment [Line Items] |
Property, plant, and equipment estimated useful life | 3 years
Minimum [Member] | Computer Equipment and Software [Member] |
Property, Plant and Equipment [Line Items] |
Property, plant, and equipment estimated useful life | 3 years
Maximum [Member] | Machinery and Equipment [Member] |
Property, Plant and Equipment [Line Items] |
Property, plant, and equipment estimated useful life | 11 years
Maximum [Member] | Computer Equipment and Software [Member] |
Property, Plant and Equipment [Line Items] |
Property, plant, and equipment estimated useful life | 5 years

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=trex_ForkliftsAndTractorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_FurnitureAndFixturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |