XML 92 R77.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Segment Information - Schedule of Reconciliation of Net Income to EBITDA (Detail) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2016 | Sep. 30, 2016 | Jun. 30, 2016 | Mar. 31, 2016 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net income (loss) | $ 18,299 | $ 20,098 | $ 28,782 | $ 27,949 | $ 12,629 | $ 7,787 | $ 23,725 | $ 23,706 | $ 95,128 | $ 67,847 | $ 48,098
Interest |  |  |  |  |  |  |  |  | 461 | 1,125 | 619
Taxes |  |  |  |  |  |  |  |  | 46,791 | 34,983 | 28,689
Depreciation and amortization |  |  |  |  |  |  |  |  | 16,860 | $ 14,498 | $ 14,384
Operating Segments [Member] |  |  |  |  |  |  |  |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net income (loss) |  |  |  |  |  |  |  |  | 95,128 |  |
Interest |  |  |  |  |  |  |  |  | 461 |  |
Taxes |  |  |  |  |  |  |  |  | 46,791 |  |
Depreciation and amortization |  |  |  |  |  |  |  |  | 16,730 |  |
EBITDA |  |  |  |  |  |  |  |  | 159,110 |  |
Operating Segments [Member] | Residential [Member] |  |  |  |  |  |  |  |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net income (loss) |  |  |  |  |  |  |  |  | 97,412 |  |
Interest |  |  |  |  |  |  |  |  | 461 |  |
Taxes |  |  |  |  |  |  |  |  | 47,911 |  |
Depreciation and amortization |  |  |  |  |  |  |  |  | 14,598 |  |
EBITDA |  |  |  |  |  |  |  |  | 160,382 |  |
Operating Segments [Member] | Commercial [Member] |  |  |  |  |  |  |  |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |
Net income (loss) |  |  |  |  |  |  |  |  | (2,284) |  |
Taxes |  |  |  |  |  |  |  |  | (1,120) |  |
Depreciation and amortization |  |  |  |  |  |  |  |  | 2,132 |  |
EBITDA |  |  |  |  |  |  |  |  | $ (1,272) |  |

X
- Definition EBITDA. + References No definition available. + Details
Name: | trex_EBITDA
Namespace Prefix: | trex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 + Details
Name: | us-gaap_DepreciationDepletionAndAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of the cost of borrowed funds accounted for as interest expense. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.9) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_InterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_SegmentReportingInformationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |