XML 43 R28.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Summary of Significant Accounting Policies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2017
Accounting Policies [Abstract] |
Estimated Useful Lives of Property Plant and Equipment | Property, plant and equipment are stated at historical cost. The costs of additions and improvements are capitalized, while maintenance and repairs are expensed as incurred. Depreciation is provided using the straight-line method over the following estimated useful lives:
Buildings |  |  | 40 years |
Machinery and equipment |  |  | 3-11 years |
Furniture and equipment |  |  | 10 years |
Forklifts and tractors |  |  | 5 years |
Computer equipment and software |  |  | 5 years |

X
- Definition Tabular disclosure of the estimated useful life of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. + References No definition available. + Details
Name: | trex_PropertyPlantAndEquipmentEstimatedUsefulLifeTableTextBlock
Namespace Prefix: | trex_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration