<SEC-DOCUMENT>0001193125-17-242588.txt : 20170801
<SEC-HEADER>0001193125-17-242588.hdr.sgml : 20170801
<ACCEPTANCE-DATETIME>20170731174654
ACCESSION NUMBER:		0001193125-17-242588
CONFORMED SUBMISSION TYPE:	10-Q
PUBLIC DOCUMENT COUNT:		64
CONFORMED PERIOD OF REPORT:	20170630
FILED AS OF DATE:		20170801
DATE AS OF CHANGE:		20170731

FILER:

	COMPANY DATA:	
		COMPANY CONFORMED NAME:			TREX CO INC
		CENTRAL INDEX KEY:			0001069878
		STANDARD INDUSTRIAL CLASSIFICATION:	LUMBER & WOOD PRODUCTS (NO FURNITURE) [2400]
		IRS NUMBER:				541910453
		STATE OF INCORPORATION:			DE
		FISCAL YEAR END:			1231

	FILING VALUES:
		FORM TYPE:		10-Q
		SEC ACT:		1934 Act
		SEC FILE NUMBER:	001-14649
		FILM NUMBER:		17994071

	BUSINESS ADDRESS:	
		STREET 1:		160 EXETER DRIVE
		CITY:			WINCHESTER
		STATE:			VA
		ZIP:			22603-8605
		BUSINESS PHONE:		5405426300

	MAIL ADDRESS:	
		STREET 1:		160 EXETER DRIVE
		CITY:			WINCHESTER
		STATE:			VA
		ZIP:			22603-8605
</SEC-HEADER>
<DOCUMENT>
<TYPE>10-Q
<SEQUENCE>1
<FILENAME>d405693d10q.htm
<DESCRIPTION>10-Q
<TEXT>
<HTML><HEAD>
<TITLE>10-Q</TITLE>
</HEAD>
 <BODY BGCOLOR="WHITE">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="line-height:1.0pt;margin-top:0pt;margin-bottom:0pt;border-bottom:1px solid #000000">&nbsp;</P>
<P STYLE="line-height:3.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1px solid #000000">&nbsp;</P> <P STYLE="margin-top:2pt; margin-bottom:0pt; font-size:12pt; font-family:Times New Roman" ALIGN="center"><B>UNITED STATES </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:12pt; font-family:Times New Roman" ALIGN="center"><B>SECURITIES AND EXCHANGE COMMISSION </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:12pt; font-family:Times New Roman" ALIGN="center"><B>Washington, D.C. 20549 </B></P><center>
<P STYLE="line-height:6.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1.00pt solid #000000;width:21%">&nbsp;</P></center> <P STYLE="margin-top:2pt; margin-bottom:0pt; font-size:12pt; font-family:Times New Roman" ALIGN="center"><B>FORM 10-Q
</B></P><center> <P STYLE="line-height:3.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1.00pt solid #000000;width:21%">&nbsp;</P></center> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B></B>&#9746;<B></B><B></B></TD>
<TD ALIGN="left" VALIGN="top"><B>QUARTERLY REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934 </B></TD></TR></TABLE>
<P STYLE="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>For the quarterly period ended June&nbsp;30, 2017 </B></P> <P STYLE="font-size:2pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD ALIGN="left" VALIGN="top"><B>OR </B></TD></TR></TABLE> <P STYLE="font-size:4pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B></B>&#9744;<B></B><B></B></TD>
<TD ALIGN="left" VALIGN="top"><B>TRANSITION REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934 </B></TD></TR></TABLE>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>For the transition period from &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </B></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Commission
File Number: 001-14649 </B></P> <P STYLE="font-size:2pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P><center> <P STYLE="line-height:6.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1.00pt solid #000000;width:21%">&nbsp;</P></center>
<P STYLE="font-size:1pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P> <P STYLE="margin-top:0pt;margin-bottom:0pt" ALIGN="center">


<IMG SRC="g405693g80f11.jpg" ALT="LOGO">
 </P> <P STYLE="margin-top:4pt; margin-bottom:0pt; font-size:12pt; font-family:Times New Roman" ALIGN="center"><B>Trex Company, Inc. </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>(Exact name of registrant as specified in its charter) </B></P> <P STYLE="font-size:2pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P><center>
<P STYLE="line-height:6.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1.00pt solid #000000;width:21%">&nbsp;</P></center>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="50%"></TD>
<TD VALIGN="bottom" WIDTH="1%"></TD>
<TD WIDTH="48%"></TD></TR>


<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" ALIGN="center"><B>Delaware</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top" ALIGN="center"><B>54-1910453</B></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="top" ALIGN="center"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:8pt; font-family:Times New Roman" ALIGN="center"><B>(State or other jurisdiction of</B></P>
<P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:8pt; font-family:Times New Roman" ALIGN="center"><B>incorporation or organization)</B></P></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top" ALIGN="center"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:8pt; font-family:Times New Roman" ALIGN="center"><B>(I.R.S. Employer</B></P>
<P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:8pt; font-family:Times New Roman" ALIGN="center"><B>Identification No.)</B></P></TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="10"></TD>
<TD HEIGHT="10" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" ALIGN="center"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>160 Exeter Drive</B></P>
<P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Winchester, Virginia</B></P></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="center"><B>22603-8605</B></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="top" ALIGN="center"><B>(Address of principal executive offices)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top" ALIGN="center"><B>(Zip Code)</B></TD></TR>
</TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Registrant&#146;s telephone number, including area code: (540)&nbsp;542-6300 </B></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Not Applicable </B></P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:8pt; font-family:Times New Roman" ALIGN="center"><B>(Former
name, former address and former fiscal year, if changed since last report) </B></P> <P STYLE="font-size:2pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P><center>
<P STYLE="line-height:6.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1.00pt solid #000000;width:21%">&nbsp;</P></center> <P STYLE="margin-top:3pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Indicate by check mark whether
the registrant (1)&nbsp;has filed all reports required to be filed by Section&nbsp;13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that the registrant was required to file such reports),
and (2)&nbsp;has been subject to such filing requirements for the past 90 days.&nbsp;&nbsp;&nbsp;&nbsp;Yes&nbsp;&nbsp;&#9746;&nbsp;&nbsp;&nbsp;&nbsp;No&nbsp;&nbsp;&#9744; </P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Indicate by check mark whether the registrant has submitted electronically and posted on its corporate Web site, if any, every Interactive Data File required
to be submitted and posted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit and post such
files).&nbsp;&nbsp;&nbsp;&nbsp;Yes&nbsp;&nbsp;&#9746;&nbsp;&nbsp;&nbsp;&nbsp;No&nbsp;&nbsp;&#9744; </P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Indicate by check mark whether the registrant is a
large accelerated filer, an accelerated filer, a non-accelerated filer, or a smaller reporting company. See the definitions of &#147;large accelerated filer,&#148; &#147;accelerated filer&#148; and &#147;smaller reporting company&#148; in Rule 12b-2
of the Exchange Act.: </P> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="16%"></TD>
<TD VALIGN="bottom" WIDTH="1%"></TD>
<TD WIDTH="60%"></TD>
<TD VALIGN="bottom" WIDTH="1%"></TD>
<TD WIDTH="20%"></TD>
<TD VALIGN="bottom" WIDTH="1%"></TD>
<TD WIDTH="1%"></TD></TR>


<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="bottom">Large&nbsp;accelerated&nbsp;filer</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&#9746;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">Accelerated&nbsp;filer</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&#9744;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="5"></TD>
<TD HEIGHT="5" COLSPAN="2"></TD>
<TD HEIGHT="5" COLSPAN="2"></TD>
<TD HEIGHT="5" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="bottom">Non-accelerated filer</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&#9744;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">Smaller&nbsp;reporting&nbsp;company</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&#9744;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="5"></TD>
<TD HEIGHT="5" COLSPAN="2"></TD>
<TD HEIGHT="5" COLSPAN="2"></TD>
<TD HEIGHT="5" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" NOWRAP>Emerging&nbsp;growth&nbsp;company</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&#9744;</TD></TR>
</TABLE> <P STYLE="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">If an emerging growth company, indicate by check mark if the registrant has elected not to use the extended transition period
for complying with any new or revised financial accounting standards provided pursuant to Section&nbsp;13(a) of the Exchange Act.&nbsp;&nbsp;&#9744; </P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Indicate by check mark whether the registrant is a shell company (as defined by Rule 12b-2 of the Exchange
Act):&nbsp;&nbsp;&nbsp;&nbsp;Yes&nbsp;&nbsp;&#9744;&nbsp;&nbsp;&nbsp;&nbsp;No&nbsp;&nbsp;&#9746; </P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The number of shares of the registrant&#146;s common
stock, par value $.01 per share, outstanding at July&nbsp;18, 2017 was 29,406,092 shares. </P> <P STYLE="font-size:2pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<P STYLE="line-height:1.0pt;margin-top:0pt;margin-bottom:0pt;border-bottom:1px solid #000000">&nbsp;</P> <P STYLE="line-height:3.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1px solid #000000">&nbsp;</P>

<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B><A NAME="toc"></A>TREX COMPANY, INC. </B></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>INDEX </B></P> <P STYLE="font-size:24pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="7%"></TD>
<TD VALIGN="bottom" WIDTH="2%"></TD>
<TD WIDTH="88%"></TD>
<TD VALIGN="bottom" WIDTH="2%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-bottom:1.00pt solid #000000; width:20.55pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Page</B></P></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><B><A HREF="#tx405693_1">PART I FINANCIAL INFORMATION </A></B></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:2.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_2">Item 1.&nbsp;&nbsp;&nbsp;&nbsp;Financial Statements
</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE="margin-top:0pt; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_3">Condensed Consolidated Statements of Comprehensive Income for the Three
 and Six Months Ended June&nbsp;30, 2017 and</A></P> <P STYLE="margin-top:0pt; margin-bottom:1pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_3">2016 (unaudited)</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_4">Condensed Consolidated Balance Sheets as of June&nbsp;
30, 2017 (unaudited) and December&nbsp;31, 2016</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">3</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_5">Condensed Consolidated Statements of Cash Flows for the Six Months
 Ended June&nbsp;30, 2017 and 2016 (unaudited)</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">4</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_6">Notes to Condensed Consolidated Financial Statements
(unaudited)</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">5</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:2.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_7">Item&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp;
Management&#146;s Discussion and Analysis of Financial Condition and Results of Operations</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">13</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:2.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_8">Item&nbsp;3.&nbsp;&nbsp;&nbsp;&nbsp;
Quantitative and Qualitative Disclosures About Market Risk</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">20</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:2.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_9">Item&nbsp;4.&nbsp;&nbsp;&nbsp;&nbsp;Controls and
Procedures</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">20</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><B><A HREF="#tx405693_10">PART II OTHER INFORMATION </A></B></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">21</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:2.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_11">Item&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp;Legal
Proceedings</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">21</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:2.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_12">Item&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp;
Unregistered Sales of Equity Securities and Use of Proceeds</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">21</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16" COLSPAN="3"></TD>
<TD HEIGHT="16" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" COLSPAN="3"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:2.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><A HREF="#tx405693_14">Item&nbsp;6.&nbsp;&nbsp;&nbsp;&nbsp;Exhibits</A></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">22</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
</TABLE>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">1 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B><A NAME="tx405693_1"></A>PART I </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>FINANCIAL INFORMATION </B></P> <P STYLE="font-size:18pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="10%" VALIGN="top" ALIGN="left"><B><A NAME="tx405693_2"></A>Item&nbsp;1.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>Financial Statements </B></TD></TR></TABLE> <P STYLE="margin-top:24pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B><A NAME="tx405693_3"></A>TREX COMPANY, INC. </B></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Condensed Consolidated Statements of Comprehensive Income </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">(Unaudited) </P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">(In thousands, except
share and per share data) </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="60%"></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three Months Ended</B><br><B>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended</B><br><B>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">157,941</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">146,450</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">302,747</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">278,126</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cost of sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">85,927</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">85,040</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">165,563</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">159,089</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Gross profit</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">72,014</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">61,410</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">137,184</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">119,037</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Selling, general and administrative expenses</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">27,221</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">24,795</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">50,490</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">45,407</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Income from operations</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">44,793</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">36,615</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">86,694</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">73,630</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Interest expense, net</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">251</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">458</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">456</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,030</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Income before income taxes</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">44,542</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">36,157</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">86,238</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">72,600</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Provision for income taxes</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">15,760</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">12,432</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,506</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">25,170</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net income</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">28,782</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">23,725</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">56,732</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">47,430</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Basic earnings per common share</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.98</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.81</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.93</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.61</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Basic weighted average common shares outstanding</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,389,458</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,264,362</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,376,407</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,481,042</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Diluted earnings per common share</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.97</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.80</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.92</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.60</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Diluted weighted average common shares outstanding</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,550,418</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,477,870</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,555,985</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,694,081</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Comprehensive income</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">28,782</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">23,725</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">56,732</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">47,430</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:24pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">See Notes to Condensed Consolidated Financial Statements (Unaudited). </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">2 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B><A NAME="tx405693_4"></A>TREX COMPANY, INC. </B></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Condensed Consolidated Balance Sheets </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">(In thousands) </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="82%"></TD>
<TD VALIGN="bottom" WIDTH="3%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="3%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>June&nbsp;30,<BR>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>December&nbsp;31,<BR>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center"><B>(Unaudited)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD COLSPAN="2" VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><B>Assets</B></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Current assets:</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cash and cash equivalents</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">8,576</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">18,664</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Accounts receivable, net</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">129,881</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">48,039</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Inventories</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">26,941</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">28,546</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Prepaid expenses and other assets</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,675</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">10,400</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total current assets</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">168,073</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">105,649</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="4"></TD>
<TD HEIGHT="8" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Property, plant and equipment, net</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">101,620</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">103,286</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Goodwill and other intangibles</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">10,523</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">10,523</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Other assets</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,313</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,972</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total assets</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">282,529</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">221,430</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><B>Liabilities and Stockholders&#146; Equity</B></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Current liabilities:</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Accounts payable</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">15,137</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">10,767</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Accrued expenses and other liabilities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">36,271</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">34,693</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Accrued warranty</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">5,925</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">5,925</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Line of credit</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom"></TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total current liabilities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">57,333</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">51,385</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="4"></TD>
<TD HEIGHT="8" COLSPAN="4"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Deferred income taxes</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">894</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">894</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Non-current accrued warranty</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">30,735</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">31,767</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Other long-term liabilities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,880</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">3,223</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total liabilities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">91,842</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">87,269</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Commitments and contingencies</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom"></TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="4"></TD>
<TD HEIGHT="8" COLSPAN="4"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Stockholders&#146; equity:</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Preferred stock, $0.01 par value, 3,000,000 shares authorized; none issued and
outstanding</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Common stock, $0.01 par value, 80,000,000 shares authorized; 34,899,586 and 34,894,233 shares
issued and 29,405,905 and 29,400,552 shares outstanding at June&nbsp;30, 2017 and December&nbsp;31, 2016, respectively</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">349</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">349</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Additional paid-in capital</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">119,876</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">120,082</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Retained earnings</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">243,974</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">187,242</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Treasury stock, at cost, 5,493,681 shares at June&nbsp;30, 2017 and December&nbsp;31,
2016</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(173,512</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(173,512</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total stockholders&#146; equity</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">190,687</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">134,161</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total liabilities and stockholders&#146; equity</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">282,529</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">221,430</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:24pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">See Notes to Condensed Consolidated Financial Statements (Unaudited). </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">3 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B><A NAME="tx405693_5"></A>TREX COMPANY, INC. </B></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Condensed Consolidated Statements of Cash Flows </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">(Unaudited) </P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">(In thousands) </P>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="84%"></TD>
<TD VALIGN="bottom" WIDTH="3%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="3%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended<BR>June 30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><B>Operating Activities</B></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net income</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">56,732</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">47,430</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Adjustments to reconcile net income to net cash provided by operating activities:</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Depreciation and amortization</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">7,513</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">7,417</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Stock-based compensation</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,876</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,945</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Loss (gain) on disposal of property, plant and equipment</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,343</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(204</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Other non-cash adjustments</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(405</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(285</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Changes in operating assets and liabilities:</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Accounts receivable</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(81,842</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(48,268</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Inventories</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,604</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">4,348</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Prepaid expenses and other assets</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">3,701</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(67</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Accounts payable</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">4,370</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(161</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Accrued expenses and other liabilities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(5,680</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(7,901</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Income taxes receivable/payable</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">9,907</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">11,188</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net cash provided by operating activities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">119</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">16,442</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><B>Investing Activities</B></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Expenditures for property, plant and equipment</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(7,125</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(5,182</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Proceeds from sales of property, plant and equipment</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">4,349</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net cash used in investing activities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(7,125</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(833</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"><B>Financing Activities</B></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Borrowings under line of credit</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">163,000</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">194,000</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Principal payments under line of credit</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(163,000</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(158,000</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Repurchases of common stock</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(3,271</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(54,703</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Financing costs</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(485</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Proceeds from employee stock purchase and option plans</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">189</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">137</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net cash used in financing activities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(3,082</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(19,051</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net decrease in cash and cash equivalents</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(10,088</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(3,442</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cash and cash equivalents, beginning of period</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">18,664</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">5,995</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cash and cash equivalents, end of period</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">8,576</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">2,553</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Supplemental Disclosure:</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cash paid for interest</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">364</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">696</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cash paid for income taxes, net</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">19,600</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">13,982</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:24pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">See Notes to Condensed Consolidated Financial Statements (Unaudited). </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">4 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B><A NAME="tx405693_6"></A>TREX COMPANY, INC. </B></P>
<P STYLE="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Notes to Condensed Consolidated Financial Statements </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>For the Six Months Ended June&nbsp;30, 2017 and 2016 </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>(Unaudited) </B></P> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>1.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>BUSINESS AND ORGANIZATION </B></TD></TR></TABLE> <P STYLE="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Trex Company, Inc. (Company) is the world&#146;s largest manufacturer of
wood-alternative decking and railing products, which are marketed under the brand name Trex<SUP STYLE="font-size:85%; vertical-align:top">&reg;</SUP>. The Company manufactures and distributes high-performance, low-maintenance wood/plastic composite
outdoor living products and related accessories. A majority of its products are manufactured in a proprietary process that combines reclaimed wood fibers and scrap polyethylene. The Company is incorporated in Delaware. The principal executive
offices are located at 160 Exeter Drive, Winchester, Virginia 22603, and the telephone number at that address is (540)&nbsp;542-6300. The Company operates in a single reportable segment. </P>
<P STYLE="font-size:10pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>2.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>BASIS OF PRESENTATION </B></TD></TR></TABLE> <P STYLE="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The accompanying unaudited condensed consolidated financial statements have been
prepared in accordance with accounting principles generally accepted in the United States for interim financial information and the instructions to Form 10-Q and Article 10 of Regulation S-X. Accordingly, the accompanying condensed consolidated
financial statements do not include all of the information and footnotes required by accounting principles generally accepted in the United States for complete financial statements. In the opinion of management, all adjustments (consisting of normal
and recurring adjustments except as otherwise described herein) considered necessary for a fair presentation have been included in the accompanying condensed consolidated financial statements. Certain prior period amounts have been reclassified to
conform to current period presentation. The consolidated results of operations for the six months ended June&nbsp;30, 2017 are not necessarily indicative of the results that may be expected for the fiscal year ending December&nbsp;31, 2017. These
condensed consolidated financial statements should be read in conjunction with the audited consolidated financial statements as of December&nbsp;31, 2016 and 2015 and for each of the three years in the period ended December&nbsp;31, 2016 included in
the Annual Report of Trex Company, Inc. on Form 10-K, as filed with the U.S. Securities and Exchange Commission. </P> <P STYLE="margin-top:10pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company&#146;s critical accounting
policies are included in the Company&#146;s Annual Report on Form 10-K for the year ended December&nbsp;31, 2016. </P> <P STYLE="font-size:10pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>3.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>RECENTLY ADOPTED ACCOUNTING STANDARD </B></TD></TR></TABLE> <P STYLE="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">In March 2016, the Financial Accounting Standards Board (FASB)
issued Accounting Standards Update (ASU) No.&nbsp;2016-09, &#147;<I>Compensation &#150; Stock Compensation (Topic 718)</I>: <I>Improvements to Employee Share-Based Payment Accounting</I>.&#148; The standard amends certain aspects of accounting for
employee share-based payment transactions, including the accounting for income taxes related to those transactions and forfeitures. The standard requires recognizing excess tax benefits and deficiencies on share-based awards in the tax provision
instead of in equity. Also, the standard requires these amounts to be classified as an operating activity, and shares withheld to satisfy employee taxes to be classified as a financing activity in the statement of cash flows, rather than as
currently classified as financing&nbsp;and operating activities, respectively. The standard was effective for annual reporting periods beginning after December&nbsp;15, 2016 and interim periods within that reporting period, with early adoption
permitted. The Company elected to early adopt the standard in fiscal year 2016. The impact of the early adoption resulted in the following: </P> <P STYLE="font-size:10pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="5%">&nbsp;</TD>
<TD WIDTH="2%" VALIGN="top" ALIGN="left">&#149;</TD>
<TD WIDTH="1%" VALIGN="top">&nbsp;</TD>
<TD ALIGN="left" VALIGN="top">The standard requires that excess tax benefits of the settlement or vesting of time-based restricted stock or time-based restricted stock units and performance-based restricted stock or performance-based restricted
stock units be recorded within income tax expense. Prior to adoption this amount would have been recorded as an increase in additional paid-in capital. Additionally, the standard requires that excess tax benefits are now reported as an operating
activity in the Company&#146;s Consolidated Statements of Cash Flows, rather than as a financing activity as was previously reported. The Company applied this guidance prospectively as of January&nbsp;1, 2016 during the quarterly period ended
December&nbsp;31, 2016, and, accordingly, data previously reported for the three and six months ended June&nbsp;30, 2016 have been adjusted, as follows: </TD></TR></TABLE> <P STYLE="font-size:8pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="68%"></TD>
<TD VALIGN="bottom" WIDTH="10%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="10%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three Months Ended June&nbsp;30, 2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;As&nbsp;Reported&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Adjusted</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:8pt; font-family:Times New Roman" ALIGN="center">(in thousands, except share</P>
<P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:8pt; font-family:Times New Roman" ALIGN="center">and per share data)</P></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Provision for income taxes</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">12,878</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">12,432</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net Income</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">23,279</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">23,725</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Basic net income per share</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.80</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.81</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Diluted net income per share</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.79</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.80</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Diluted weighted average common shares outstanding</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,423,845</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,477,870</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR></TABLE>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">5 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>


<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="68%"></TD>
<TD VALIGN="bottom" WIDTH="9%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="9%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>

<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended June&nbsp;30, 2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;As&nbsp;Reported&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Adjusted</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:8pt; font-family:Times New Roman" ALIGN="center">(in thousands, except share</P>
<P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:8pt; font-family:Times New Roman" ALIGN="center">and per share data)</P></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Provision for income taxes</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">25,919</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">25,170</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net Income</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">46,681</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">47,430</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Basic net income per share</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.58</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.61</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Diluted net income per share</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.57</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.60</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Diluted weighted average common shares outstanding</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,642,287</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,694,081</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cash flows provided by operating activities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">15,632</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">16,442</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cash flows used in financing activities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(18,241</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(19,051</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
</TABLE> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="5%">&nbsp;</TD>
<TD WIDTH="2%" VALIGN="top" ALIGN="left">&#149;</TD>
<TD WIDTH="1%" VALIGN="top">&nbsp;</TD>
<TD ALIGN="left" VALIGN="top">The Company elected to change its policy on accounting for forfeitures and recognize forfeitures as they occur. The Company applied this guidance on a modified retrospective transition method. The Company determined
that the cumulative effect of applying the guidance under the modified retrospective transition method was not material to its Consolidated Financial Statements. </TD></TR></TABLE>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="5%">&nbsp;</TD>
<TD WIDTH="2%" VALIGN="top" ALIGN="left">&#149;</TD>
<TD WIDTH="1%" VALIGN="top">&nbsp;</TD>
<TD ALIGN="left" VALIGN="top">The standard requires the presentation of employee taxes as a financing activity in the Consolidated Statements of Cash Flows. This provision did not impact the Company&#146;s Consolidated Financial Statements as the
Company presented employee taxes as a financing activity in its Consolidated Statements of Cash Flows. </TD></TR></TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company excluded the excess tax
benefits from the assumed proceeds available to repurchase shares in the computation of diluted earnings per share for 2016, which did not materially increase the diluted weighted average common shares outstanding. </P>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>4.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>NEW ACCOUNTING STANDARDS NOT YET ADOPTED </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">In May 2017, the FASB issued ASU No.&nbsp;2017-09,
&#147;<I>Compensation&#151;Stock Compensation (Topic 718), Scope Modification Accounting</I>.&#148; The guidance clarified when to account for a change to the terms or conditions of a share-based payment award as a modification. Under the new
guidance, modification accounting is required only if the fair value (or calculated intrinsic value, if those amounts are being used to measure the award under ASC 718), the vesting conditions, or the classification of the award (as equity or
liability) changes as a result of the change in terms or conditions. The guidance is effective prospectively for annual periods beginning on or after December&nbsp;15, 2017. Early adoption is permitted. The Company intends to adopt the guidance on
the effective date and does not believe adoption will have a material impact on its financial condition or results of operations. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">In January 2017, the
FASB issued ASU No.&nbsp;2017-04, &#147;<I>Intangibles&#151;Goodwill and Other (Topic 350), Simplifying the Test for Goodwill Impairment</I>.&#148; The guidance removes Step 2 of the goodwill impairment test and eliminates the need to determine the
fair value of individual assets and liabilities to measure goodwill impairment. A goodwill impairment will now be the amount by which a reporting unit&#146;s carrying value exceeds its fair value, not to exceed the carrying amount of goodwill.
Entities will continue to have the option to perform a qualitative assessment to determine if a quantitative impairment test is necessary. The guidance is to be applied prospectively, and is effective for annual and interim goodwill impairment tests
in fiscal years beginning after December&nbsp;15, 2019. Early adoption is permitted for any impairment tests performed on testing dates after January&nbsp;1, 2017. The Company intends to adopt the guidance on the effective date and does not believe
adoption will have a material impact on its financial condition or results of operations. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">In August 2016, the FASB issued ASU No.&nbsp;2016-15,
&#147;<I>Statement of Cash flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments</I>.&#148; The guidance is intended to reduce diversity in practice across all industries in how certain transactions are classified in the
statement of cash flows. The guidance is effective for financial statements issued for fiscal years beginning after December&nbsp;15, 2017, and interim periods within those fiscal years. Early adoption is permitted. The guidance requires application
using a retrospective transition method. The Company intends to adopt the guidance on the effective date and does not believe adoption will have a material impact on its consolidated financial statements. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">6 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">In February 2016, the FASB issued ASU No.&nbsp;2016-02, &#147;<I>Leases (Topic 842)</I>.&#148; The standard
requires lessees to recognize leases on the balance sheet as a right-of-use asset and a lease liability, other than leases that meet the definition of a short-term lease. The liability will be equal to the present value of the lease payments. The
asset will be based on the liability, subject to adjustment. Currently, under existing U.S. generally accepted accounting standards, the Company does not recognize on the balance sheet a right-of-use asset or lease liability related to its operating
leases. For income statement purposes, the leases will continue to be classified as either operating or finance. Operating leases will result in straight-line expense (similar to current operating leases) and finance leases will result in a
front-loaded expense pattern (similar to current capital leases). The standard is effective for fiscal years, and interim periods within those fiscal years, beginning after December&nbsp;15, 2018. Early adoption is permitted. The standard must be
adopted using the modified retrospective transition method and provides for the option to elect a package of practical expedients upon adoption. The Company intends to adopt the standard in the first quarter of fiscal 2019 and is assessing the
impact of adoption of the standard on its consolidated financial statements and related note disclosures. The Company has not made any decision on the option to elect adoption of the practical expedients. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">In May 2014, the FASB issued ASU No.&nbsp;2014-09,<I> &#147;Revenue from Contracts with Customers (Topic 606),</I>&#148; and issued subsequent amendments to
the initial guidance in August 2015 within ASU No.&nbsp;2015-14, in March 2016 within ASU No.&nbsp;2016-08, in April 2016 within ASU No.&nbsp;2016-10, in May 2016 within ASU No.&nbsp;2016-12, and in December 2016 within ASU No.&nbsp;2016-20
(collectively, the new standard). The new standard provides a single, comprehensive model for revenue arising from contracts with customers and supersedes most current revenue recognition guidance. The new standard requires an entity to recognize
revenue when it satisfies a performance obligation at an amount that reflects the consideration to which the entity expects to be entitled in exchange for transferring control of goods or services to a customer. The Company intends to adopt the new
standard in the first quarter of fiscal 2018. Currently, the Company intends to use the retrospective application to each reporting period presented, with the option to elect certain practical expedients as defined in the new standard. The Company
does not believe adoption of the new standard will have a material impact on its Consolidated Statements of Comprehensive Income, but expects expanded financial statement footnote disclosure. The Company continues to evaluate the impacts of the
pending adoption. As such, the Company&#146;s preliminary assessments are subject to change. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>5.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>INVENTORIES </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Inventories, at LIFO (last-in, first-out) value, consist of the following (in thousands):
</P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="76%"></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>June&nbsp;30,<BR>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>December&nbsp;31,<BR>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Finished goods</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">29,294</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">29,686</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Raw materials</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">19,018</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">20,231</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total FIFO (first-in, first-out) inventories</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">48,312</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">49,917</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Reserve to adjust inventories to LIFO value</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(21,371</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(21,371</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total LIFO inventories</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">26,941</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">28,546</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company utilizes the LIFO method of accounting for inventory, which generally provides for the matching of current costs
with current revenues. However, under the LIFO method, reductions in annual inventory balances cause a portion of the Company&#146;s cost of sales to be based on historical costs rather than current year costs (LIFO liquidation). Reductions in
interim inventory balances expected to be replenished by year-end do not result in a LIFO liquidation. Accordingly, interim LIFO calculations are based, in part, on management&#146;s estimates of expected year-end inventory levels and costs which
may differ from actual results. Since inventory levels and costs are subject to factors beyond management&#146;s control, interim results are subject to the final year-end LIFO inventory valuation. There were no LIFO inventory liquidations or
related impact on cost of sales in the six months ended June&nbsp;30, 2017 or 2016. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>6.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>PREPAID EXPENSES AND OTHER ASSETS </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Prepaid expenses and other assets consist of the following (in
thousands): </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="77%"></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>June&nbsp;30,</B><br><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>December&nbsp;31,<BR>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Prepaid expenses</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">2,507</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">6,209</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Income tax receivable</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">4,024</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Other</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">168</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">167</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total prepaid expenses and other assets</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">2,675</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">10,400</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">7 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>


<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>7.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>ACCRUED EXPENSES AND OTHER LIABILITIES </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Accrued expenses and other liabilities consist of the following
(in thousands): </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="76%"></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>June&nbsp;30,<BR>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>December&nbsp;31,<BR>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Sales and marketing</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">18,364</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">16,707</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Compensation and benefits</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">7,163</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">13,298</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Income taxes</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">5,882</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Manufacturing costs</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,687</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,799</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Rent obligations</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">700</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">632</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Other</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,475</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,257</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total accrued expenses and other liabilities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">36,271</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">34,693</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>8.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>DEBT </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company&#146;s outstanding debt consists of a revolving credit facility. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Revolving Credit Facility </I></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">On January&nbsp;12, 2016, the
Company entered into a Third Amended and Restated Credit Agreement, as amended, with Bank of America, N.A. as Lender, Administrative Agent, Swing Line Lender and Letter of Credit Issuer, and certain other lenders including Citibank, N.A., Capital
One, N.A., and SunTrust. The Third Amended Credit Agreement, as amended, provides the Company with one or more revolving loans in a collective maximum principal amount of $250 million from January&nbsp;1 through June&nbsp;30 of each year, and a
maximum principal amount of $200 million from July&nbsp;1 through December&nbsp;31 of each year throughout the term, which ends January&nbsp;12, 2021. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company had no outstanding borrowings under its revolving credit facility and remaining available borrowing capacity of $250 million at June&nbsp;30,
2017. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Compliance with Debt Covenants and Restrictions </I></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company&#146;s ability to make scheduled principal and interest payments, borrow and repay amounts under any outstanding revolving credit facility and
continue to comply with any loan covenants depends primarily on the Company&#146;s ability to generate sufficient cash flow from operations. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">As of
June&nbsp;30, 2017, the Company was in compliance with all of the covenants contained in its debt agreements. Failure to comply with the loan covenants might cause lenders to accelerate the repayment obligations under the credit facility, which may
be declared payable immediately based on a default. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>9.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>FINANCIAL INSTRUMENTS </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company considers the recorded value of its financial assets and liabilities,
consisting primarily of cash and cash equivalents, accounts receivable, accounts payable, accrued expenses and other current liabilities to approximate the fair value of the respective assets and liabilities at June&nbsp;30, 2017 and
December&nbsp;31, 2016. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">8 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>


<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>10.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>STOCKHOLDERS&#146; EQUITY </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Earnings Per Share </I></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The following table sets forth the computation of basic and diluted earnings per share (in thousands, except share and per share data): </P>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="60%"></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three Months Ended</B><br><B>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended</B><br><B>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Numerator:</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net income available to common shareholders</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">28,782</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">23,725</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">56,732</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">47,430</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Denominator:</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Basic weighted average shares outstanding</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,389,458</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,264,362</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,376,407</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,481,042</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Effect of dilutive securities:</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Stock appreciation rights and options</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">98,813</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">136,872</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">99,699</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">142,460</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:5.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Restricted stock</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">62,147</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">76,636</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">79,879</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">70,579</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Diluted weighted average shares outstanding</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,550,418</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,477,870</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,555,985</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">29,694,081</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Basic earnings per share</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.98</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.81</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.93</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.61</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Diluted earnings per share</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.97</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">0.80</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.92</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1.60</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Diluted earnings per share is computed using the weighted average number of shares determined for the basic earnings per share
computation plus the dilutive effect of common stock equivalents using the treasury stock method. The computation of diluted earnings per share excludes the following potentially dilutive securities because the effect would be anti-dilutive: </P>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="72%"></TD>
<TD VALIGN="bottom" WIDTH="2%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="2%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="2%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="2%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three&nbsp;Months&nbsp;Ended<BR>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six&nbsp;Months&nbsp;Ended<BR>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Stock appreciation rights</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">16,340</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">12,255</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">&nbsp;&nbsp;9,262</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Stock Repurchase Programs </I></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">On October&nbsp;22, 2015, the Board of Directors adopted a stock repurchase program of up to 3,150,000 shares of the Company&#146;s outstanding common stock
(October 2015 Stock Repurchase Program). This authorization terminated on December&nbsp;31, 2016. The Company repurchased 1,578,952 shares for $53.3 million under the October 2015 Stock Repurchase Program. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">On February&nbsp;16, 2017, the Board of Directors authorized a common stock repurchase program of up to 2,960,000 shares of the Company&#146;s outstanding
common stock (February 2017 Stock Repurchase Program). As of the date of this report, the Company has made no repurchases under the February 2017 Stock Repurchase Program. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>11.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>STOCK-BASED COMPENSATION </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company has one stock-based compensation plan, the 2014 Stock Incentive
Plan (Plan), approved by the Company&#146;s stockholders in April 2014. The Plan amended and restated in its entirety the Trex Company, Inc. 2005 Stock Incentive Plan. The Plan is administered by the Compensation Committee of the Company&#146;s
Board of Directors. Stock-based compensation is granted to officers, directors and certain key employees in accordance with the provisions of the Plan. The Plan provides for grants of stock options, restricted stock, restricted stock units, stock
appreciation rights (SARs), and unrestricted stock. As of June&nbsp;30, 2017, the total aggregate number of shares of the Company&#146;s common stock that may be issued under the Plan is 6,420,000. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">In 2014, the Company began granting performance-based restricted stock in addition to the time-based restricted stock it previously granted. The
performance-based restricted shares have a three-year vesting period, vesting one-third each year based on target earnings before interest, taxes, depreciation and amortization for 1 year, cumulative 2 years and cumulative 3 years, respectively. The
number of shares that vest, with respect to each vesting, will be between 0% and 200% of the target number of shares. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">In 2015, the Company began issuing
restricted stock units in lieu of restricted stock. Accordingly, time-based restricted stock units replaced time-based restricted stock and performance-based restricted stock units replaced performance-based restricted stock. The vesting terms of
the restricted stock units are identical to the vesting provisions of the restricted stock. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">9 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The fair value of each SAR is estimated on the date of grant using a Black-Scholes option-pricing formula. There
were no SARs issued during the six months ended June&nbsp;30, 2016. For SARs issued in the six months ended June&nbsp;30, 2017 the data and assumptions shown in the following table were used: </P>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="68%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="80%"></TD>
<TD VALIGN="bottom" WIDTH="16%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six&nbsp;Months&nbsp;Ended</B><br><B>June&nbsp;30, 2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Weighted-average fair value of grants</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">27.81</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Dividend yield</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">0</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Average risk-free interest rate</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2.01</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Expected term (years)</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">5</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Expected volatility</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">42.4</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The following table summarizes the Company&#146;s stock-based compensation grants for the six months ended June&nbsp;30, 2017:
</P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="61%"></TD>
<TD VALIGN="bottom" WIDTH="14%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="14%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Stock&nbsp;Awards&nbsp;Granted</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B><FONT STYLE="white-space:nowrap">Weighted-Average</FONT><BR>Grant Price</B><br><B>Per Share</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Time-based restricted stock units</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">19,516</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">70.05</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Performance-based restricted stock units (a)</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">40,216</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">56.19</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Stock appreciation rights</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">16,340</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">70.09</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
</TABLE> <P STYLE="line-height:12.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1px solid #000000;width:10%">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(a)</TD>
<TD ALIGN="left" VALIGN="top">Includes 22,895 of target performance-based restricted stock unit awards granted during the six months ended June&nbsp;30, 2017, and adjustments of 1,071, 5,396 and 10,854 grants due to the actual performance level
achieved for restricted stock and restricted stock units awarded in 2014, 2015, and 2016, respectively. </TD></TR></TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company recognizes stock-based
compensation expense ratably over the period from the grant date to the earlier of: (1)&nbsp;the vesting date of the award, or (2)&nbsp;the date the grantee is eligible to retire without forfeiting the award. For performance-based restricted stock
and performance-based restricted stock units, expense is recognized ratably over the performance and vesting period of each tranche based on management&#146;s judgment of the ultimate award that is likely to be paid out based on the achievement of
the predetermined performance measures. The following table summarizes the Company&#146;s stock-based compensation expense (in thousands): </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="73%"></TD>
<TD VALIGN="bottom" WIDTH="3%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="3%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="3%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="3%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three&nbsp;Months&nbsp;Ended<BR>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six&nbsp;Months&nbsp;Ended<BR>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Stock appreciation rights</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">25</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">75</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">192</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">184</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Time-based restricted stock</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">403</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">863</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,139</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,479</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Performance-based restricted stock</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">468</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">720</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,507</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,230</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Employee stock purchase plan</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">16</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">11</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">38</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">52</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Total stock-based compensation</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">912</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1,669</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">2,876</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">2,945</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Total unrecognized compensation cost related to unvested awards as of June&nbsp;30, 2017 was $4.1 million. The cost of these
unvested awards is being recognized over the requisite vesting period of each award. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>12.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>INCOME TAXES </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company&#146;s effective tax rate for the six months ended June&nbsp;30, 2017 and 2016
was 34.2% and 34.7%, respectively, which resulted in expense of $29.5 million and $25.2 million, respectively. The decrease of 0.5% in the effective tax rate was primarily due to an increase in the domestic production activities deduction. In fiscal
year 2016, the Company adopted FASB ASU No.&nbsp;2016-09, &#147;<I>Compensation &#150; Stock Compensation (Topic 718): Improvements to Employee Share-Based Payment Accounting.</I>&#148; The new standard requires excess tax benefits on share-based
awards be recognized in the tax provision instead of in equity. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">During the six months ended June&nbsp;30, 2017 and June&nbsp;30, 2016, the Company
realized $1.0 million and $0.8 million, respectively, of excess tax benefits from stock-based awards and recorded a corresponding benefit to income tax expense. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company analyzes its deferred tax assets each reporting period, considering all available positive and negative evidence in determining the expected
realization of those deferred tax assets. As of June&nbsp;30, 2017, the Company maintains a valuation allowance of $4.1 million against deferred tax assets primarily related to state tax credits it estimates will expire before they are realized.
</P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">10 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company operates in multiple tax jurisdictions and, in the normal course of business, its tax returns are
subject to examination by various taxing authorities. Such examinations may result in future assessments by these taxing authorities, and the Company accrues a liability when it believes that it is more likely than not that benefits of tax positions
will not be realized. The Company believes that adequate provisions have been made for all tax returns subject to examination. As of June&nbsp;30, 2017, Federal tax years 2013 through 2016 remain subject to examination. Sales made to foreign
distributors are not taxable in any foreign jurisdictions as the Company does not have a taxable presence in any foreign jurisdiction. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>13.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>SEASONALITY </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company&#146;s operating results have historically varied from quarter to quarter.
Seasonal, erratic or prolonged adverse weather conditions in certain geographic regions during the first and fourth quarters reduce the level of home improvement and construction activity and can shift demand for Trex products to a later period. As
part of its normal business practice and consistent with industry practice, the Company has historically offered incentive programs to its distributors and dealers to build inventory levels before the start of the prime deck-building season in order
to ensure adequate availability of the Company&#146;s product to meet anticipated seasonal consumer demand. The seasonal effects experienced during the first and fourth quarters are often offset by the positive effect of the incentive programs. </P>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>14.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>COMMITMENTS AND CONTINGENCIES </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Contract Termination Costs </I></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company leases 55,047 square feet of office and storage space that it does not occupy, but has sublet all of the office space for the remainder of the term
of its lease obligation, which ends June&nbsp;30, 2019. The Company estimates that the future sublease receipts will be less than the remaining minimum lease payment obligations under its lease and has recorded a liability for the present value of
the expected shortfall. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">As of June&nbsp;30, 2017, minimum payments remaining under the Company&#146;s lease relating to its reconsidered corporate
relocation over the years ending December&nbsp;31, 2017, 2018, and 2019 are $1.0 million, $2.0&nbsp;million and $1.0 million, respectively. Net minimum receipts remaining under the Company&#146;s existing subleases over the years ending
December&nbsp;31, 2017, 2018 and 2019 are $0.6&nbsp;million, $1.3 million and $0.8 million, respectively. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The following table provides information about
the Company&#146;s liability related to the lease (in thousands): </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="82%"></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Beginning balance, January&nbsp;1</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1,475</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">2,106</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net rental payments</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(272</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(344</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Accretion of discount</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">54</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">78</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Decrease in net estimated contract termination costs</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(23</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Ending balance, June&nbsp;30</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1,234</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1,840</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Product Warranty </I></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The
Company warrants that its products will be free from material defects in workmanship and materials for warranty periods ranging from 10 years to 25 years, depending on the product and its use. If there is a breach of such warranties, the Company has
an obligation either to replace the defective product or refund the purchase price. The Company continues to receive and settle claims for products manufactured at its Nevada facility prior to 2007 that exhibit surface flaking and maintains a
warranty reserve to provide for the settlement of these claims. Estimating the warranty reserve for surface flaking claims requires management to estimate (1)&nbsp;the number of claims to be settled with payment and (2)&nbsp;the average cost to
settle each claim. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">To estimate the number of claims to be settled with payment, the Company utilizes actuarial techniques to quantify both the expected
number of claims to be received and the percentage of those claims that will ultimately require payment (collectively, elements). Estimates for these elements are quantified using a range of assumptions derived from claim count history and the
identification of factors influencing the claim counts. The number of claims received has declined each year since peaking in 2009, although the rate of decline has decelerated in recent years. Additionally, events, such as the 2009 settlement of a
class action lawsuit covering the surface defect and communications by the Company in 2013 informing homeowners of potential hazards associated with products exhibiting surface flaking that are not timely replaced, have obscured observable trends in
historical claims activity. The cost per claim varies due to a number of factors, including the size of affected decks, the availability and type of replacement material used, the cost of production of replacement material and the method of claim
settlement. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">11 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company monitors surface flaking claims activity each quarter for indications that its estimates require
revision. Typically, a majority of surface flaking claims received in a year are received during the summer outdoor season, which spans the second and third quarters. It has been the Company&#146;s practice to utilize the actuarial techniques
discussed above during the third quarter, after a significant portion of all claims has been received for the fiscal year and variances to annual claims expectations are more meaningful. The number of claims received in the six months ended
June&nbsp;30, 2017 was lower than claims received in the six months ended June&nbsp;30, 2016, continuing the historical year-over-year decline in incoming claims, and consistent with the Company&#146;s expectations. The average settlement cost per
claim experienced in the six months ended June&nbsp;30, 2017 was lower than the average settlement cost per claim experienced during the six months ended June&nbsp;30, 2016 but higher than the Company&#146;s expectations for 2017. The Company
believes its reserve at June&nbsp;30, 2017 is sufficient to cover future surface flaking obligations. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company&#146;s analysis is based on currently
known facts and a number of assumptions, as discussed above, and current expectations. Projecting future events such as the number of claims to be received, the number of claims that will require payment and the average cost of claims could cause
the actual warranty liabilities to be higher or lower than those projected, which could materially affect the Company&#146;s financial condition, results of operations or cash flows. The Company estimates that the annual number of claims received
will continue to decline over time and that the average cost per claim will increase slightly, primarily due to inflation. If the level of claims received or average cost per claim differs materially from expectations, it could result in additional
increases or decreases to the warranty reserve and a decrease or increase in earnings and cash flows in future periods. The Company estimates that a 10% change in the expected number of remaining claims to be settled with payment or the expected
cost to settle claims may result in approximately a $3.1 million change in the surface flaking warranty reserve. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The following is a reconciliation of the
Company&#146;s warranty reserve that represents amounts accrued for surface flaking claims (in thousands): </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="80%"></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Beginning balance, January&nbsp;1</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">33,847</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">29,673</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Changes in estimates related to pre-existing warranties</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Settlements made during the period</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(2,683</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(2,611</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Ending balance, June&nbsp;30</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">31,164</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">27,062</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:18pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The remainder of the Company&#146;s warranty reserve represents amounts accrued for non-surface flaking claims. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Legal Matters </I></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company has lawsuits, as well as other
claims, pending against it which are ordinary routine litigation and claims incidental to the business.&nbsp;Management has evaluated the merits of these lawsuits and claims, and believes that their ultimate resolution will not have a material
effect on the Company&#146;s consolidated financial condition, results of operations, liquidity or competitive position. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left"><B>15.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>SUBSEQUENT EVENT </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">On July&nbsp;31, 2017, the Company, through its newly-formed,wholly-owned subsidiary,
Trex Commercial Products, Inc., entered into a definitive agreement with Staging Concepts Acquisition, LLC (SC) and on that date acquired certain assets and liabilities of SC for $71.5 million in cash. The purchase price will be subject to
adjustment pending final determination of working capital at closing. The Company used cash on hand and funding from its existing revolving credit facility to acquire the business. The acquired business designs, engineers and markets modular and
architectural railing systems and solutions for the commercial, some consumer and multifamily markets, and provides staging, acoustical and seating systems for commercial markets, including sports stadiums and performing arts venues. As a result of
the purchase, the Company will gain access to growing commercial markets, expand its custom design and engineering capabilities, and add the contract architect and specifier communities as new channels for Trex products. The Company&#146;s 2017
third quarter consolidated results of operations will include the operating results of the acquired business, following the date of acquisition. The Company&#146;s consolidated balance sheet at September&nbsp;30, 2017 will include the acquired
assets and any liabilities assumed. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">12 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>


<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="10%" VALIGN="top" ALIGN="left"><B><A NAME="tx405693_7"></A>Item&nbsp;2.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>Management&#146;s Discussion and Analysis of Financial Condition and Results of Operations </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>The
following management discussion should be read in conjunction with the Trex Company, Inc. (Company, we or our) Annual Report on Form 10-K for the year ended December&nbsp;31, 2016 filed with the U.S. Securities and Exchange Commission (SEC) and the
condensed consolidated financial statements and notes thereto included in Part I, Item&nbsp;1. &#147;Financial Statements&#148; of this quarterly report. </I></P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B>NOTE ON FORWARD-LOOKING STATEMENTS </B></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">This
management&#146;s discussion and analysis contains forward-looking statements within the meaning of Section&nbsp;27A of the Securities Act of 1933 and Section&nbsp;21E of the Securities Exchange Act of 1934. All statements regarding our expected
financial position and operating results, our business strategy, our financing plans, forecasted demographic and economic trends relating to our industry and similar matters are forward-looking statements. These statements can sometimes be
identified by our use of forward-looking words such as &#147;may,&#148; &#147;will,&#148; &#147;anticipate,&#148; &#147;estimate,&#148; &#147;expect,&#148; &#147;intend&#148; or similar expressions. We cannot promise you that our expectations in
such forward-looking statements will turn out to be correct. Our actual results could be materially different from our expectations because of various factors, including the factors discussed under &#147;Item 1A. Risk Factors&#148; in our Annual
Report on Form 10-K for the year ended December&nbsp;31, 2016 filed with the SEC. These statements are also subject to risks and uncertainties that could cause the Company&#146;s actual operating results to differ materially. Such risks and
uncertainties include, but are not limited to: the extent of market acceptance of the Company&#146;s current and newly developed products; the costs associated with the development and launch of new products and the market acceptance of such new
products; the sensitivity of the Company&#146;s business to general economic conditions; the impact of seasonal and weather-related demand fluctuations on inventory levels in the distribution channel and sales of the Company&#146;s products; the
availability and cost of third-party transportation services for the Company&#146;s products; the Company&#146;s ability to obtain raw materials at acceptable prices; the Company&#146;s ability to maintain product quality and product performance at
an acceptable cost; the level of expenses associated with product replacement and consumer relations expenses related to product quality; and the highly competitive markets in which the Company operates. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B>OVERVIEW </B></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>General.</I> Trex Company, Inc. is the
world&#146;s largest manufacturer of high-performance composite decking and railing products, which are marketed under the brand name Trex<SUP STYLE="font-size:85%; vertical-align:top">&reg;</SUP> and manufactured in the United States. We offer a
comprehensive set of aesthetically durable, low-maintenance product offerings in the decking, railing, porch, fencing, trim, steel deck framing, and outdoor lighting categories. We believe that the range and variety of our product offerings allow
consumers to design much of their outdoor living space using Trex brand products. Our products are provided in a wide selection of sizes and lengths and are available with several finishes and numerous colors. A majority of our products are made in
a proprietary process that combines reclaimed wood fibers and recycled polyethylene film. Trex products offer a number of significant aesthetic advantages over wood while providing a better alternative for many of wood&#146;s major functional
disadvantages, which include warping, splitting and other damage from moisture. Our products require no staining, are resistant to moisture damage, provide a splinter-free surface and do not require chemical treatment against rot or insect
infestation. These qualities result in low-maintenance products when compared to the on-going maintenance requirements for a wood deck and make Trex products less costly than wood over the life of the deck. Trex products are stain resistant and
color fast. Special characteristics (including resistance to splitting, the ability to bend, and ease and consistency of machining and finishing) facilitate deck, railing, porch, fencing and trim installation, reduce contractor call-backs and afford
consumers a wide range of design options. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">13 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">We offer the following products: </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="8%"></TD>
<TD VALIGN="bottom" WIDTH="2%"></TD>
<TD WIDTH="90%"></TD></TR>


<TR STYLE="font-size:1pt" BGCOLOR="#cccccc">
<TD HEIGHT="8" STYLE="BORDER-LEFT:1px solid #000000; BORDER-TOP:1px solid #000000; padding-left:8pt">&nbsp;</TD>
<TD HEIGHT="8" COLSPAN="2" STYLE="BORDER-LEFT:1px solid #000000; BORDER-TOP:1px solid #000000; BORDER-RIGHT:1px solid #000000">&nbsp;</TD></TR>
<TR BGCOLOR="#cccccc" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-left:8pt"><B><I>Decking</I></B></TD>
<TD VALIGN="bottom" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000">&nbsp;&nbsp;</TD>
<TD VALIGN="top" STYLE="BORDER-RIGHT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-right:2pt"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Our principal decking products are Trex Transcend<SUP
STYLE="font-size:85%; vertical-align:top">&reg;</SUP>, Trex Enhance<SUP STYLE="font-size:85%; vertical-align:top">&reg;</SUP> and Trex Select<SUP STYLE="font-size:85%; vertical-align:top">&reg;</SUP>. Our eco-friendly composite decking products are
comprised of a blend of 95 percent recycled wood and recycled plastic film and feature a protective polymer shell for enhanced protection against fading, staining, mold and scratching. We also offer Trex Hideaway<SUP
STYLE="font-size:85%; vertical-align:top">&reg;</SUP>, a hidden fastening system for grooved boards.</P> <P STYLE="font-size:6pt; margin-top:0pt; margin-bottom:1pt">&nbsp;</P></TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8" STYLE="BORDER-LEFT:1px solid #000000; padding-left:8pt">&nbsp;</TD>
<TD HEIGHT="8" COLSPAN="2" STYLE="BORDER-LEFT:1px solid #000000; BORDER-RIGHT:1px solid #000000">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-left:8pt"><B><I>Railing</I></B></TD>
<TD VALIGN="bottom" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000">&nbsp;&nbsp;</TD>
<TD VALIGN="top" STYLE="BORDER-RIGHT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-right:2pt"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Our railing products are Trex Transcend Railing,
Trex Select Railing, and Trex Signature<SUP STYLE="font-size:85%; vertical-align:top">&reg;</SUP> aluminum railing. Trex Transcend Railing is available in the colors of Trex Transcend decking and finishes that make it appropriate for use with Trex
decking products as well as other decking materials, which we believe enhances the sales prospects of our railing products. Trex Select Railing is offered in a white finish and is ideal for consumers who desire a simple clean finished look for their
deck. Trex Signature<SUP STYLE="font-size:85%; vertical-align:top">&reg;</SUP> aluminum railing is available in three colors and designed for consumers who want a sleek, contemporary look.</P>
<P STYLE="font-size:6pt; margin-top:0pt; margin-bottom:1pt">&nbsp;</P></TD></TR>
<TR STYLE="font-size:1pt" BGCOLOR="#cccccc">
<TD HEIGHT="8" STYLE="BORDER-LEFT:1px solid #000000; padding-left:8pt">&nbsp;</TD>
<TD HEIGHT="8" COLSPAN="2" STYLE="BORDER-LEFT:1px solid #000000; BORDER-RIGHT:1px solid #000000">&nbsp;</TD></TR>
<TR BGCOLOR="#cccccc" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-left:8pt"><B><I>Porch</I></B></TD>
<TD VALIGN="bottom" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000">&nbsp;&nbsp;</TD>
<TD VALIGN="top" STYLE="BORDER-RIGHT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-right:2pt"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Our Trex Transcend Porch Flooring and Railing
System is an integrated system of porch components and accessories.</P> <P STYLE="font-size:6pt; margin-top:0pt; margin-bottom:1pt">&nbsp;</P></TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8" STYLE="BORDER-LEFT:1px solid #000000; padding-left:8pt">&nbsp;</TD>
<TD HEIGHT="8" COLSPAN="2" STYLE="BORDER-LEFT:1px solid #000000; BORDER-RIGHT:1px solid #000000">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-left:8pt"><B><I>Fencing</I></B></TD>
<TD VALIGN="bottom" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000">&nbsp;&nbsp;</TD>
<TD VALIGN="top" STYLE="BORDER-RIGHT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-right:2pt"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Our Trex Seclusions<SUP
STYLE="font-size:85%; vertical-align:top">&reg;</SUP> fencing product is offered through two specialty distributors. This product consists of structural posts, bottom rail, pickets, top rail and decorative post caps.</P>
<P STYLE="font-size:6pt; margin-top:0pt; margin-bottom:1pt">&nbsp;</P></TD></TR>
<TR STYLE="font-size:1pt" BGCOLOR="#cccccc">
<TD HEIGHT="8" STYLE="BORDER-LEFT:1px solid #000000; padding-left:8pt">&nbsp;</TD>
<TD HEIGHT="8" COLSPAN="2" STYLE="BORDER-LEFT:1px solid #000000; BORDER-RIGHT:1px solid #000000">&nbsp;</TD></TR>
<TR BGCOLOR="#cccccc" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-left:8pt"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B><I>Steel</I></B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B><I>Deck</I></B></P>
<P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:10pt; font-family:Times New Roman"><B><I>Framing&nbsp;&nbsp;&nbsp;&nbsp;</I></B></P></TD>
<TD VALIGN="bottom" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000">&nbsp;&nbsp;</TD>
<TD VALIGN="top" STYLE="BORDER-RIGHT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-right:2pt"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Our triple-coated steel deck framing system called
Trex Elevations<SUP STYLE="font-size:85%; vertical-align:top">&reg;</SUP> leverages the strength and dimensional stability of steel to create a flat surface for our decking. Trex Elevations provides consistency and reliability that wood does not and
is fire resistant.</P> <P STYLE="font-size:6pt; margin-top:0pt; margin-bottom:1pt">&nbsp;</P></TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8" STYLE="BORDER-LEFT:1px solid #000000; padding-left:8pt">&nbsp;</TD>
<TD HEIGHT="8" COLSPAN="2" STYLE="BORDER-LEFT:1px solid #000000; BORDER-RIGHT:1px solid #000000">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-left:8pt"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B><I>Outdoor</I></B></P>
<P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:10pt; font-family:Times New Roman"><B><I>Lighting</I></B></P></TD>
<TD VALIGN="bottom" STYLE="BORDER-LEFT:1px solid #000000; BORDER-BOTTOM:1px solid #000000">&nbsp;&nbsp;</TD>
<TD VALIGN="top" STYLE="BORDER-RIGHT:1px solid #000000; BORDER-BOTTOM:1px solid #000000; padding-right:2pt"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Our outdoor lighting systems are Trex
DeckLighting&#153; and Trex LandscapeLighting&#153;. Trex DeckLighting is a line of energy-efficient LED dimmable deck lighting, which is designed for use on posts, floors and steps. The line includes a post cap light, deck rail light, riser light
and a recessed deck light. The Trex LandscapeLighting line includes an energy-efficient well light, path light, multifunction light and spotlight.</P> <P STYLE="font-size:6pt; margin-top:0pt; margin-bottom:1pt">&nbsp;</P></TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Highlights for the three months ended June&nbsp;30, 2017: </I></P>
<P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="5%">&nbsp;</TD>
<TD WIDTH="2%" VALIGN="top" ALIGN="left">&#9726;</TD>
<TD WIDTH="1%" VALIGN="top">&nbsp;</TD>
<TD ALIGN="left" VALIGN="top">Net sales of $157.9 million for the three months ended June&nbsp;30, 2017, an increase of 7.8% over net sales of $146.5 million for the three months ended June&nbsp;30, 2016. </TD></TR></TABLE>
<P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="5%">&nbsp;</TD>
<TD WIDTH="2%" VALIGN="top" ALIGN="left">&#9726;</TD>
<TD WIDTH="1%" VALIGN="top">&nbsp;</TD>
<TD ALIGN="left" VALIGN="top">Gross profit as a percentage of net sales, gross margin, of 45.6% for the three months ended June&nbsp;30, 2017, an increase of 370 basis points over the gross margin of 41.9% for the three months ended June&nbsp;30,
2016. </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="5%">&nbsp;</TD>
<TD WIDTH="2%" VALIGN="top" ALIGN="left">&#9726;</TD>
<TD WIDTH="1%" VALIGN="top">&nbsp;</TD>
<TD ALIGN="left" VALIGN="top">Net income of $28.8 million for the three months ended June&nbsp;30, 2017, or $0.97 per diluted share, compared to $23.7 million, or $0.80 per diluted share, for the same period in 2016. </TD></TR></TABLE>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Net Sales. </I>Net sales consist of sales and freight, net of returns and discounts. The level of net sales is principally affected by sales volume and the
prices paid for Trex products. Our branding and product differentiation strategy enables us to command premium prices over wood products. Our operating results have historically varied from quarter to quarter, often due to seasonal trends in the
demand for outdoor living products. We have historically experienced lower net sales during the fourth quarter due to the holiday season. Also, seasonal, erratic or prolonged adverse weather conditions in certain geographic regions reduce the level
of home improvement and construction activity and can shift net sales to a later period. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">As part of our normal business practice and consistent with
industry practices, we have historically provided our distributors and dealers incentives to build inventory levels before the start of the prime deck-building season to ensure adequate availability of our product to meet anticipated seasonal
consumer demand and to enable production planning. These incentives include payment discounts and favorable payment terms. In addition, we offer price discounts or volume rebates on specified products and other incentives based on increases in
purchases as part of specific promotional programs. The timing of sales incentive programs can significantly impact sales, receivables and inventory levels during the offering period. However, the timing and terms of the majority of our programs are
generally consistent from year to year. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">14 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Gross Profit. </I>Gross profit represents the difference between net sales and cost of sales. Cost of sales
consists of raw materials costs, direct labor costs, manufacturing costs and freight. Raw materials costs generally include the costs to purchase and transport reclaimed wood fiber, reclaimed polyethylene and pigmentation for coloring our products.
Direct labor costs include wages and benefits of personnel engaged in the manufacturing process. Manufacturing costs consist of costs of depreciation, utilities, maintenance supplies and repairs, indirect labor, including wages and benefits, and
warehouse and equipment rental activities. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Product Warranty.</I> We warrant that our products will be free from material defects in workmanship and
materials for warranty periods ranging from 10 years to 25 years, depending on the product and its use. If there is a breach of such warranties, we have an obligation either to replace the defective product or refund the purchase price. We continue
to receive and settle claims for products manufactured at our Nevada facility prior to 2007 that exhibit surface flaking and maintain a warranty reserve to provide for the settlement of these claims. The number of claims received has declined each
year since peaking in 2009, although the rate of decline has decelerated in recent years. Additionally, events, such as the 2009 settlement of a class action lawsuit covering the surface defect and 2013 communications made by the Company informing
homeowners of potential hazards associated with products exhibiting surface flaking that are not timely replaced, have obscured any observable trends in historical claims activity. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">We monitor surface flaking claims activity each quarter for indications that our estimates require revision. Typically, a majority of surface flaking claims
received in a fiscal year are received during the summer outdoor season, which spans the second and third fiscal quarters. It has been our practice to utilize actuarial techniques during the third quarter, after a significant portion of all claims
has been received for the fiscal year and variances to annual claims expectations are more meaningful. Our actuarial analysis is based on currently known facts and a number of assumptions. Projecting future events such as the number of claims to be
received, the number of claims that will require payment and the average cost of claims could cause the actual warranty liabilities to be higher or lower than those projected, which could materially affect our financial condition, results of
operations or cash flows. The number of claims received in the six months ended June&nbsp;30, 2017 was lower than the claims received in the six months ended June&nbsp;30, 2016, continuing the historical year-over-year decline in incoming claims,
and consistent with our expectations. The average settlement cost per claim experienced in the six months ended June&nbsp;30, 2017 decreased compared to the average settlement cost per claim experienced during the six months ended June&nbsp;30,
2016, but was higher than expectations for 2017. We believe that our reserve at June&nbsp;30, 2017 is sufficient to cover future surface flaking obligations. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The following table details surface flaking claims activity related to our warranty: </P>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="80%"></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended<BR>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Claims open, beginning of period</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,755</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,500</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Claims received (1)</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,191</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1,465</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Claims resolved (2)</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(1,271</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(1,109</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Claims open, end of period</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,675</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">2,856</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Average cost per claim (3)</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">2,723</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">2,778</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
</TABLE> <P STYLE="line-height:8.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1px solid #000000;width:10%">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(1)</TD>
<TD ALIGN="left" VALIGN="top">Claims received include new claims received or identified during the period. </TD></TR></TABLE>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(2)</TD>
<TD ALIGN="left" VALIGN="top">Claims resolved include all claims settled with or without payment and closed during the period. </TD></TR></TABLE>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(3)</TD>
<TD ALIGN="left" VALIGN="top">Average cost per claim represents the average settlement cost of claims closed with payment during the period. </TD></TR></TABLE>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Selling, General and Administrative Expenses. </I>The largest component of selling, general and administrative expenses is personnel related costs, which
include salaries, commissions, incentive compensation, and benefits of personnel engaged in sales and marketing, accounting, information technology, corporate operations, research and development, and other business functions. Another component of
selling, general and administrative expenses is branding and other sales and marketing costs, which are used to build brand awareness. These costs consist primarily of advertising, merchandising, and other promotional costs. Other general and
administrative expenses include professional fees, office occupancy costs attributable to the business functions previously referenced, and consumer relations expenses. As a percentage of net sales, selling, general and administrative expenses may
vary from quarter to quarter due, in part, to the seasonality of our business. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B>RESULTS OF OPERATIONS </B></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Below is our discussion and analysis of our operating results and material changes in our operating results for the three months ended June&nbsp;30, 2017 (2017
quarter) compared to the three months ended June&nbsp;30, 2016 (2016 quarter), and for the six months ended June&nbsp;30, 2017 (2017 six-month period) compared to the six months ended June&nbsp;30, 2016 (2016 six-month period). </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">15 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B><I>Three Months Ended June&nbsp;30, 2017 Compared To The Three Months Ended June&nbsp;30, 2016 </I></B></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Net Sales </B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="62%"></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three&nbsp;Months&nbsp;Ended&nbsp;June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">157,941</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">146,450</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">11,491</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">7.8</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The 7.8% increase in net sales in the 2017 quarter compared to the 2016 quarter was due primarily to volume growth in our Trex
branded decking and railing products. The volume growth was positively impacted by continued strength in the remodeling sector, our marketing programs aimed at taking market share from wood, and the healthy demand across our full suite of outdoor
living products with decking and railing products as the major growth contributors. This was offset by a $2.7 million reduction in the sale of recycled polyethylene film. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Gross Profit </B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="61%"></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three&nbsp;Months&nbsp;Ended&nbsp;June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$ Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cost of sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">85,927</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">85,040</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">887</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">1.0</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">% of net sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">54.4</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">58.1</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Gross profit</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">72,014</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">61,410</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">10,604</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">17.3</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Gross margin</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">45.6</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">41.9</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Gross profit as a percentage of net sales, gross margin, increased to 45.6% in the 2017 quarter from 41.9% in the 2016
quarter, an improvement of 370 basis points, which was achieved through cost improvement initiatives, lower sales of excess polyethylene film, lower cost raw materials and increased capacity utilization. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Selling, General and Administrative Expenses </B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="63%"></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three&nbsp;Months&nbsp;Ended&nbsp;June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Selling, general and administrative expenses</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">27,221</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">24,795</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">2,426</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">9.8</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">% of net sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">17.2</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">16.9</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The $2.4 million increase in selling, general and administrative expenses in the 2017 quarter compared to the 2016 quarter
resulted primarily from an increase of $1.4 million related to branding and advertising spend in support of our market growth strategies and write off of $1.1 million of research and development assets. As a percentage of net sales, total selling,
general and administrative expenses increased by 30 basis points in the 2017 quarter compared to the 2016 quarter. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Interest Expense
</B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="62%"></TD>
<TD VALIGN="bottom" WIDTH="7%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="7%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="7%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="7%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three&nbsp;Months&nbsp;Ended&nbsp;June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Interest expense</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">251</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">458</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(207</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(45.2</TD>
<TD NOWRAP VALIGN="bottom">)%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">% of net sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">0.2</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">0.3</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The decrease in interest expense was due to a $67.5 million decrease in the average outstanding borrowings during the 2017
quarter compared to the 2016 quarter, partially offset by a 78 basis point increase in the effective interest rate. As a percentage of net sales, interest expense decreased 10 basis points in the 2017 six-month period compared to the 2016 six-month
period. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Provision for Income Taxes </B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="62%"></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Three&nbsp;Months&nbsp;Ended&nbsp;June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Provision for income taxes</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">15,760</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">12,432</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">3,328</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">26.8</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Effective tax rate</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">35.4</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">34.4</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
</TABLE>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">16 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The effective tax rate for the 2017 quarter increased by 100 basis points compared to the effective tax rate for
the 2016 quarter primarily due to higher excess tax benefits related to the settlement or vesting of restricted stock or restricted stock units recognized in income tax expense during the 2016 quarter compared to the 2017 quarter. In 2016, we
adopted Financial Accounting Standards Board Accounting Standards Update No.&nbsp;2016-09, &#147;<I>Compensation &#150; Stock Compensation (Topic 718): Improvements to Employee Share-Based Payment Accounting</I>.&#148; The standard requires that
excess tax benefits of the settlement or vesting of time-based restricted stock or time-based restricted stock units and performance-based restricted stock or performance-based restricted stock units be recorded within income tax expense. Prior to
adoption this amount would have been recorded as an increase in additional paid-in capital. As a result of adoption of the standard, the provision for income taxes for the 2016 quarter was adjusted to $12.4 million from the $12.9 million previously
reported. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B><I>Six Months Ended June&nbsp;30, 2017 Compared To The Six Months Ended June&nbsp;30, 2016 </I></B></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Net Sales </B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="62%"></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$ Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net Sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">302,747</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">278,126</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">24,621</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">8.9</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The 8.9% increase in net sales in the 2017 six-month period compared to the 2016 six-month period was primarily due to volume
growth of our Trex branded decking and railing products. Volume growth was positively impacted by continued strength in the remodeling sector and the healthy demand across our full suite of outdoor living products, which we believe resulted from our
marketing programs aimed at taking market share from wood. The increase in net sales from volume growth of our decking and railing products was offset by the ongoing reduction in the sale of recycled polyethylene film. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Gross Profit </B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="63%"></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="5%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$ Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Cost of sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">165,563</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">159,089</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">6,474</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">4.1</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">% of net sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">54.7</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">57.2</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Gross profit</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">137,184</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">119,037</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">18,147</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">15.2</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Gross margin</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">45.3</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">42.8</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Gross profit as a percentage of net sales, gross margin, increased to 45.3% in the 2017 six-month period compared to 42.8% in
the 2016 six-month period, an improvement of 250 basis points. The benefit was achieved primarily through cost improvement initiatives, reduced sales of excess polyethylene film, lower cost raw materials and increased capacity utilization. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Selling, General and Administrative Expenses </B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="62%"></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Selling, general and administrative expenses</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">50,490</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">45,407</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">5,083</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">11.2</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">% of net sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">16.7</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">16.3</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">As a percentage of net sales, selling, general and administrative expenses during the 2017 six-month period increased by 40
basis points compared to the 2016 six-month period. The $5.1 million increase was primarily attributable to a $2.6 million increase in marketing spend and a $1.0 million increase in research and development as we continue to support growth, and
write off of $1.1 million of research and development assets. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Interest Expense, net </B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="65%"></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Interest expense</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">456</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">1,030</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(574</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">(55.7</TD>
<TD NOWRAP VALIGN="bottom">)%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">% of net sales</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">0.2</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">0.4</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The decrease in interest expense in the 2017 six-month period compared to the 2016 six-month period was due to a decrease of
$59.0 million in average outstanding borrowings and a 27 basis point increase in the related effective interest rate. As a percentage of net sales, interest expense decreased 20 basis points in the 2017 six-month period compared to the 2016
six-month period. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">17 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; margin-left:4%; font-size:10pt; font-family:Times New Roman"><B>Provision for Income Taxes </B></P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="92%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt" ALIGN="center">


<TR>
<TD WIDTH="62%"></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="6%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>$&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ROWSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>%&nbsp;Change</B></TD>
<TD VALIGN="bottom" ROWSPAN="2">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2017&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="14" ALIGN="center"><B>(dollars in thousands)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Provision for income taxes</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">29,506</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">25,170</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">4,336</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">17.2</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Effective tax rate</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">34.2</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">34.7</TD>
<TD NOWRAP VALIGN="bottom">%&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The effective tax rate decreased 50 basis points during the 2017 six-month period compared to the effective tax rate during
the 2016 six-month period primarily due to an increase in the domestic production activities deduction in the 2017 six-month period. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B>LIQUIDITY AND
CAPITAL RESOURCES </B></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">We finance operations and growth primarily with cash flows from operations, borrowings under our revolving credit facility,
operating leases and normal trade credit terms from operating activities. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">At June&nbsp;30, 2017, we had $8.6 million of cash and cash equivalents. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">S<I>ources and Uses of Cash. </I>The following table summarizes our cash flows from operating, investing and financing activities (in thousands): </P>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="76%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="78%"></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="6" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>Six Months Ended<BR>June&nbsp;30,</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2017</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>2016</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net cash provided by operating activities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">119</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">16,442</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net cash used in investing activities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(7,125</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(833</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net cash used in financing activities</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(3,082</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(19,051</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Net decrease in cash and cash equivalents</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(10,088</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">(3,442</TD>
<TD NOWRAP VALIGN="bottom">)&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
</TABLE> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B>Operating Activities </B></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Net
cash provided by operating activities was $0.1 million in the 2017 six-month period compared to net cash provided by operating activities of $16.4 million in the 2016 six-month period. The net decrease in cash provided by operating activities in the
2017 six-month period compared to the 2016 six-month period was primarily due to an increase in accounts receivable balances for the 2017 six-month period which was $33.6 million greater than the increase for the 2016 six-month period, primarily as
a result of the increase in net sales. This increase was offset by a $9.3 million increase in net income and a $6.0 million decrease in working capital, excluding accounts receivable. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B>Investing Activities </B></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Capital expenditures in the 2017
six-month period were $7.1 million, consisting primarily of $5.0 million for general plant cost reduction initiatives, and $1.4 million for equipment and new product development. Capital expenditures in the 2016 six-month period were $5.2 million
primarily consisting of $2.0 million for process and productivity improvement, $1.9 million for Trex University (our state-of-the-art training facility) and purchase of land adjacent to our Winchester, Virginia manufacturing facility, and $1.3
million for general cost reduction initiatives. Also, in January 2016, the Company sold a portion of the Olive Branch, Mississippi, facility that contained the buildings for $4.2 million. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><B>Financing Activities </B></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Net cash used in financing
activities was $3.1 million in the 2017 six-month period compared to net cash used in financing activities of $19.1 million in the 2016 six-month period. The $16.0 million decrease was primarily due to an increase in net outstanding borrowings of
$36.0 million under our line of credit during the 2016 six-month period when compared to the 2017 six-month period, offset by $54.7 million in stock repurchase activity in the 2016 six-month period. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Stock Repurchase Programs. </I></P> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">On October&nbsp;22, 2015, the
Board of Directors adopted a new stock repurchase program of up to 3.15&nbsp;million shares of the Company&#146;s outstanding common stock (October 2015 Stock Repurchase Program). This authorization terminated on December&nbsp;31, 2016. The Company
repurchased 1,578,952 shares for $53.3 million under the October 2015 Stock Repurchase Program. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">18 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">On February&nbsp;16, 2017, the Board of Directors authorized a common stock repurchase program of up to
2.96&nbsp;million shares of the Company&#146;s outstanding common stock (February 2017 Stock Repurchase Program). As of the date of this report, the Company has made no repurchases under the February 2017 Stock Repurchase Program. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Indebtedness.</I> Our Third Amended and Restated Credit Agreement, as amended, provides us with revolving loan capacity in a collective maximum principal
amount of $250 million from January&nbsp;1 through June&nbsp;30 of each year, and a maximum principal amount of $200 million from July&nbsp;1 through December&nbsp;31 of each year throughout the term, which ends January&nbsp;12, 2021. At
June&nbsp;30, 2017, we had no outstanding indebtedness under the revolving credit facility and borrowing capacity under the facility of $250 million. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Debt Covenants.</I> To remain in compliance with covenants contained within our debt agreements, we must maintain specified financial ratios based on
levels of debt, fixed charges, and earnings (excluding extraordinary gains and extraordinary non-cash losses) before interest, taxes, depreciation and amortization. At June&nbsp;30, 2017, we were in compliance with these covenants. Failure to comply
with our loan covenants might cause our lenders to accelerate our repayment obligations under our credit facility, which may be declared payable immediately based on a default. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">We believe that cash on hand, cash from operations and borrowings expected to be available under our revolving credit facility will provide sufficient funds
to fund planned capital expenditures, make scheduled principal and interest payments, fund warranty payments, and meet other cash requirements. We currently expect to fund future capital expenditures from operations and financing activities. The
actual amount and timing of future capital requirements may differ materially from our estimate depending on the demand for Trex products and new market developments and opportunities. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Capital Requirements.</I> We currently estimate that our capital expenditures in 2017 will be $15 to $20 million. Our capital allocation priorities include
expenditures for internal growth opportunities, manufacturing cost reductions, acquisitions which fit out long-term outdoor products growth strategy as we continue to evaluate opportunities that would be a good strategic fit for Trex, and return of
capital to shareholders. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Inventory in Distribution Channels. </I>We sell our products through a tiered distribution system. We have over 50
distributors worldwide and two national retail merchandisers to which we sell our products. The distributors in turn sell the products to dealers and retail locations who in turn sell the products to end users. Significant increases in inventory
levels in the distribution channel without a corresponding change in end-use demand could have an adverse effect on future sales. We cannot definitively determine the level of inventory in the distribution channels at any time. We are not aware of
significant changes in the levels of inventory in the distribution channels at June&nbsp;30, 2017 compared to inventory levels at June&nbsp;30, 2016. </P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Product Warranty.</I> We continue to receive and settle claims related to products manufactured at our Nevada facility prior to 2007 that exhibit surface
flaking, which has had a material adverse effect on cash flow from operations, and regularly monitor the adequacy of the warranty reserve. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">In the 2017
six-month period and the 2016 six-month period we paid $2.7 million and $2.6 million, respectively, to settle surface flaking claims. We estimate that the number of claims received will continue to decline over time and that the average settlement
cost per claim will increase slightly, primarily due to inflation. If the level of claims received or average settlement cost per claim differs materially from our expectations, it could result in additional increases or decreases to the warranty
reserve and a decrease or increase in earnings and cash flow in future periods. </P> <P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Business Acquisition. </I>On July&nbsp;31, 2017, through our
wholly-owned subsidiary, Trex Commercial Products, Inc., we entered into a definitive agreement with Staging Concepts Acquisition, LLC (SC) and on that date acquired certain assets and liabilities of SC for $71.5 million in cash. The purchase price
will be subject to adjustment pending final determination of working capital at closing. We used cash on hand and funding from its existing revolving credit facility to acquire the business. The acquired business designs, engineers and markets
modular and architectural railing systems and solutions for the commercial, some consumer and multifamily markets, and provides staging, acoustical and seating systems for commercial markets, including sports stadiums and performing arts venues. As
a result of the purchase, we will gain access to growing commercial markets, expand its custom design and engineering capabilities, and add the contract architect and specifier communities as new channels for Trex products. Our 2017 third quarter
consolidated results of operations will include the operating results of the acquired business, following the date of acquisition. The Company&#146;s consolidated balance sheet at September&nbsp;30, 2017 will include the acquired assets and any
liabilities assumed. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">19 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"><I>Seasonality</I>. Our operating results have historically varied from quarter to quarter. Seasonal, erratic or
prolonged adverse weather conditions in certain geographic regions during the first and fourth quarters reduce the level of home improvement and construction activity and can shift demand for our products to a later period. As part of our normal
business practice and consistent with industry practice, we have historically offered incentive programs to our distributors and dealers to build inventory levels before the start of the prime deck-building season in order to ensure adequate
availability of our product to meet anticipated seasonal consumer demand. The seasonal effects experienced during the first and fourth quarters are often offset by the positive effect of the incentive programs. </P>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="10%" VALIGN="top" ALIGN="left"><B><A NAME="tx405693_8"></A>Item&nbsp;3.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>Quantitative and Qualitative Disclosures About Market Risk </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">For information regarding our exposure to
certain market risks, see &#147;Quantitative and Qualitative Disclosures about Market Risk,&#148; in Part II, Item&nbsp;7A of the Company&#146;s Annual Report on Form 10-K for the year ended December&nbsp;31, 2016. There were no material changes to
the Company&#146;s market risk exposure during the six months ended June&nbsp;30, 2017. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="10%" VALIGN="top" ALIGN="left"><B><A NAME="tx405693_9"></A>Item&nbsp;4.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>Controls and Procedures </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company&#146;s management, with the participation of its President and
Chief Executive Officer, who is the Company&#146;s principal executive officer, and its Vice President and Chief Financial Officer, who is the Company&#146;s principal financial officer, has evaluated the effectiveness of the Company&#146;s
disclosure controls and procedures as of June&nbsp;30, 2017. Based on this evaluation, the President and Chief Executive Officer and the Vice President and Chief Financial Officer have concluded that the Company&#146;s disclosure controls and
procedures are effective. In addition, there have been no changes in the Company&#146;s internal control over financial reporting during the six-month period ended June&nbsp;30, 2017 that have materially affected, or are reasonably likely to
materially affect, the Company&#146;s internal control over financial reporting. </P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">20 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B><A NAME="tx405693_10"></A>PART II </B></P>
<P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>OTHER INFORMATION </B></P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="10%" VALIGN="top" ALIGN="left"><B><A NAME="tx405693_11"></A>Item&nbsp;1.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>Legal Proceedings </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The Company has lawsuits, as well as other claims, pending against it which are
ordinary routine litigation and claims incidental to the business.&nbsp;Management has evaluated the merits of these lawsuits and claims, and believes that their ultimate resolution will not have a material effect on the Company&#146;s consolidated
financial condition, results of operations, liquidity or competitive position. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="10%" VALIGN="top" ALIGN="left"><B><A NAME="tx405693_12"></A>Item&nbsp;2.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>Unregistered Sales of Equity Securities and Use of Proceeds </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">(c) The following table provides
information relating to the purchases of our common stock during the quarter ended June&nbsp;30, 2017 in accordance with Item&nbsp;703 of Regulation S-K: </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="46%"></TD>
<TD VALIGN="bottom" WIDTH="7%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="7%"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="7%"></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="7%"></TD>
<TD></TD>
<TD></TD>
<TD></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-bottom:1.00pt solid #000000; width:22.65pt; font-size:8pt; font-family:Times New Roman"><B>Period</B></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>(a)</B><br><B>Total&nbsp;Number&nbsp;of<BR>Shares&nbsp;(or&nbsp;Units)<BR>Purchased (1)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>(b)</B><br><B>Average&nbsp;Price&nbsp;Paid<BR>per&nbsp;Share&nbsp;(or&nbsp;Unit)</B><br><B>($)</B></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>(c)</B><br><B>Total&nbsp;Number&nbsp;of<BR>Shares&nbsp;(or&nbsp;Units)<BR>Purchased&nbsp;as&nbsp;Part&nbsp;of<BR>Publicly Announced<BR>Plans or Programs</B></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" COLSPAN="2" ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"><B>(d)</B><br><B>Maximum number of<BR>Shares&nbsp;(or&nbsp;Units)&nbsp;that<BR>May Yet Be<BR>Purchased&nbsp;Under&nbsp;the<BR>Plan or Program</B></TD>
<TD VALIGN="bottom">&nbsp;</TD></TR>


<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">April&nbsp;1, 2017 &#150; April&nbsp;30, 2017</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">35</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">69.39</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">Not&nbsp;applicable</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">Not&nbsp;applicable</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">May&nbsp;1, 2017 &#150; May&nbsp;31, 2017</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD NOWRAP VALIGN="bottom" ALIGN="right">&#151;</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">Not applicable</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">Not applicable</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR BGCOLOR="#cceeff" STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">June&nbsp;1, 2017 &#150; June&nbsp;30, 2017</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">380</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">$</TD>
<TD VALIGN="bottom" ALIGN="right">65.22</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">Not applicable</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">Not applicable</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">Quarter ended June&nbsp;30, 2017</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom" ALIGN="right">415</TD>
<TD NOWRAP VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom">Not applicable</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
<TR STYLE="font-size:1px; ">
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD>&nbsp;</TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">&nbsp;</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom"></TD></TR>
</TABLE> <P STYLE="line-height:8.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1px solid #000000;width:10%">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(1)</TD>
<TD ALIGN="left" VALIGN="top">Shares withheld by, or delivered to, the Company pursuant to provisions in agreements with recipients of restricted stock granted under the Company&#146;s 2014 Stock Incentive Plan allowing the Company to withhold, or
the recipient to deliver to the Company, the number of shares having the fair value equal to tax withholding due. </TD></TR></TABLE> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">21 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>


<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="10%" VALIGN="top" ALIGN="left"><B><A NAME="tx405693_14"></A>Item&nbsp;6.</B></TD>
<TD ALIGN="left" VALIGN="top"><B>Exhibits </B></TD></TR></TABLE> <P STYLE="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The number and description of the following exhibits coincide with Item&nbsp;601 of Regulation
S-K: </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="6%"></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD WIDTH="90%"></TD></TR>


<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">3.1</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Restated Certificate of Incorporation of Trex Company, Inc. (Company). Filed as Exhibit 3.1 to the Company&#146;s Registration Statement on Form S-1 (No. 333-63287) and incorporated herein by reference.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">3.2</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Certificate of Amendment to the Restated Certificate of Incorporation of Trex Company, Inc. dated April&nbsp;30, 2014. Filed as Exhibit 3.2 to the Company&#146;s Quarterly Report on Form 10-Q for the quarterly period ended
March&nbsp;31, 2014 and incorporated herein by reference.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">3.3</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Amended and Restated By-Laws of the Company. Filed as Exhibit 3.2 to the Company&#146;s Current Report on Form 8-K filed May&nbsp;7, 2008 and incorporated herein by reference.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">31.1</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Certification of Chief Executive Officer of Trex Company, Inc. pursuant to Rule 13a-14(a) under the Securities Exchange Act of 1934. Filed herewith.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">31.2</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Certification of Chief Financial Officer of Trex Company, Inc. pursuant to Rule 13a-14(a) under the Securities Exchange Act of 1934. Filed herewith.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">32</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Certifications of Chief Executive Officer and Chief Financial Officer pursuant to Section 906 of the Sarbanes-Oxley Act of 2002 (18 U.S.C. Section 1350). Furnished herewith.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.INS</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Instance Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.SCH</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Schema Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.CAL</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Calculation Linkbase Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.DEF</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Definition Linkbase Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.LAB</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Label Linkbase Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.PRE</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Presentation Linkbase Document. Filed.</TD></TR>
</TABLE>
 <p STYLE="margin-top:0pt;margin-bottom:0pt ; font-size:8pt">&nbsp;</P> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center">22 </P>


<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>SIGNATURE </B></P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Pursuant to the requirements of the Securities Exchange Act of 1934, the registrant has duly caused this report to be signed on its behalf by the undersigned
thereunto duly authorized. </P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt">


<TR>
<TD WIDTH="45%"></TD>
<TD VALIGN="bottom" WIDTH="1%"></TD>
<TD WIDTH="4%"></TD>
<TD VALIGN="bottom"></TD>
<TD WIDTH="3%"></TD>
<TD VALIGN="bottom" WIDTH="1%"></TD>
<TD WIDTH="45%"></TD></TR>


<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top" COLSPAN="3"><B>TREX COMPANY, INC.</B></TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16"></TD>
<TD HEIGHT="16" COLSPAN="2"></TD>
<TD HEIGHT="16" COLSPAN="2"></TD>
<TD HEIGHT="16" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top">Date: July 31, 2017</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top">By:&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" STYLE="BORDER-BOTTOM:1px solid #000000">&nbsp;</TD>
<TD VALIGN="top" STYLE="BORDER-BOTTOM:1px solid #000000">/s/ Bryan H. Fairbanks</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">Bryan H. Fairbanks</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">Vice President and Chief Financial Officer</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">(Duly Authorized Officer and Principal Financial Officer)</TD></TR>
</TABLE>

<p Style='page-break-before:always'>
<HR  SIZE="3" style="COLOR:#999999" WIDTH="100%" ALIGN="CENTER">
<h5 align="left"><a href="#toc">Table of Contents</a></h5>

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>EXHIBIT INDEX </B></P> <P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" ALIGN="center">


<TR>
<TD WIDTH="6%"></TD>
<TD VALIGN="bottom" WIDTH="4%"></TD>
<TD WIDTH="90%"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
<TD VALIGN="bottom" NOWRAP ALIGN="center" STYLE="border-bottom:1.00pt solid #000000"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:8pt; font-family:Times New Roman" ALIGN="center"><B>Exhibit</B></P>
<P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:8pt; font-family:Times New Roman" ALIGN="center"><B>&nbsp;&nbsp;Number&nbsp;&nbsp;</B></P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="bottom" STYLE="border-bottom:1.00pt solid #000000"> <P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:8pt; font-family:Times New Roman"><B>Exhibit Description</B></P></TD></TR>


<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">3.1</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Restated Certificate of Incorporation of Trex Company, Inc. (Company). Filed as Exhibit 3.1 to the Company&#146;s Registration Statement on Form S-1 (No. 333-63287) and incorporated herein by reference.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">3.2</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Certificate of Amendment to the Restated Certificate of Incorporation of Trex Company, Inc. dated April&nbsp;30, 2014. Filed as Exhibit 3.2 to the Company&#146;s Quarterly Report on Form 10-Q for the quarterly period ended
March&nbsp;31, 2014 and incorporated herein by reference.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">3.3</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Amended and Restated By-Laws of the Company. Filed as Exhibit 3.2 to the Company&#146;s Current Report on Form 8-K filed May&nbsp;7, 2008 and incorporated herein by reference.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">31.1</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Certification of Chief Executive Officer of Trex Company, Inc. pursuant to Rule 13a-14(a) under the Securities Exchange Act of 1934. Filed herewith.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">31.2</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Certification of Chief Financial Officer of Trex Company, Inc. pursuant to Rule 13a-14(a) under the Securities Exchange Act of 1934. Filed herewith.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">32</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">Certifications of Chief Executive Officer and Chief Financial Officer pursuant to Section 906 of the Sarbanes-Oxley Act of 2002 (18 U.S.C. Section 1350). Furnished herewith.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.INS</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Instance Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.SCH</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Schema Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.CAL</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Calculation Linkbase Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.DEF</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Definition Linkbase Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.LAB</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Label Linkbase Document. Filed.</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="8"></TD>
<TD HEIGHT="8" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" NOWRAP> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">101.PRE</P></TD>
<TD VALIGN="bottom">&nbsp;&nbsp;</TD>
<TD VALIGN="top">XBRL Taxonomy Extension Presentation Linkbase Document. Filed.</TD></TR>
</TABLE>
</BODY></HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-31.1
<SEQUENCE>2
<FILENAME>d405693dex311.htm
<DESCRIPTION>EX-31.1
<TEXT>
<HTML><HEAD>
<TITLE>EX-31.1</TITLE>
</HEAD>
 <BODY BGCOLOR="WHITE">

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="right"><B>Exhibit 31.1 </B></P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>CERTIFICATION </B></P> <P STYLE="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman">I, James
E. Cline, certify that: </P> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">1.</TD>
<TD ALIGN="left" VALIGN="top">I have reviewed this quarterly report on Form 10-Q of Trex Company, Inc.; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">2.</TD>
<TD ALIGN="left" VALIGN="top">Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in light of the circumstances under which such
statements were made, not misleading with respect to the period covered by this report; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">3.</TD>
<TD ALIGN="left" VALIGN="top">Based on my knowledge, the financial statements, and other financial information included in this report, fairly present in all material respects the financial condition, results of operations and cash flows of the
registrant as of, and for, the periods presented in this report; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">4.</TD>
<TD ALIGN="left" VALIGN="top">The registrant&#146;s other certifying officer(s) and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)) and internal control
over financial reporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f)) for the registrant and have: </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(a)</TD>
<TD ALIGN="left" VALIGN="top">Designed such disclosure controls and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material information relating to the registrant, including its
consolidated subsidiaries, is made known to us by others within those entities, particularly during the period in which this report is being prepared; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(b)</TD>
<TD ALIGN="left" VALIGN="top">Designed such internal control over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide reasonable assurance regarding the reliability of
financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(c)</TD>
<TD ALIGN="left" VALIGN="top">Evaluated the effectiveness of the registrant&#146;s disclosure controls and procedures and presented in this report our conclusions about the effectiveness of the disclosure controls and procedures, as of the end of
the period covered by this report based on such evaluation; and </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(d)</TD>
<TD ALIGN="left" VALIGN="top">Disclosed in this report any change in the registrant&#146;s internal control over financial reporting that occurred during the registrant&#146;s most recent fiscal quarter (the registrant&#146;s fourth fiscal quarter
in the case of an annual report) that has materially affected, or is reasonably likely to materially affect, the registrant&#146;s internal control over financial reporting; and </TD></TR></TABLE>
<P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">5.</TD>
<TD ALIGN="left" VALIGN="top">The registrant&#146;s other certifying officer(s) and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the registrant&#146;s auditors and the audit committee of the
registrant&#146;s board of directors (or persons performing the equivalent function(s)): </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(a)</TD>
<TD ALIGN="left" VALIGN="top">All significant deficiencies and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to adversely affect the registrant&#146;s ability to record,
process, summarize and report financial information; and </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(b)</TD>
<TD ALIGN="left" VALIGN="top">Any fraud, whether or not material, that involves management or other employees who have a significant role in the registrant&#146;s internal control over financial reporting. </TD></TR></TABLE>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Date: July&nbsp;31, 2017 </P><DIV ALIGN="right">
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="40%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt">


<TR>
<TD WIDTH="100%"></TD></TR>


<TR STYLE="font-size:1pt">
<TD HEIGHT="16"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" STYLE="BORDER-BOTTOM:1px solid #000000">/s/ James E. Cline</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">James E. Cline</P></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">President and Chief Executive Officer</P></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">(Principal Executive Officer)</P></TD></TR>
</TABLE></DIV>
</BODY></HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-31.2
<SEQUENCE>3
<FILENAME>d405693dex312.htm
<DESCRIPTION>EX-31.2
<TEXT>
<HTML><HEAD>
<TITLE>EX-31.2</TITLE>
</HEAD>
 <BODY BGCOLOR="WHITE">

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="right"><B>Exhibit 31.2 </B></P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>CERTIFICATION </B></P> <P STYLE="margin-top:12pt; margin-bottom:0pt; text-indent:4%; font-size:10pt; font-family:Times New Roman">I, Bryan
H. Fairbanks, certify that: </P> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">1.</TD>
<TD ALIGN="left" VALIGN="top">I have reviewed this quarterly report on Form 10-Q of Trex Company, Inc.; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">2.</TD>
<TD ALIGN="left" VALIGN="top">Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in light of the circumstances under which such
statements were made, not misleading with respect to the period covered by this report; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">3.</TD>
<TD ALIGN="left" VALIGN="top">Based on my knowledge, the financial statements, and other financial information included in this report, fairly present in all material respects the financial condition, results of operations and cash flows of the
registrant as of, and for, the periods presented in this report; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">4.</TD>
<TD ALIGN="left" VALIGN="top">The registrant&#146;s other certifying officer(s) and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)) and internal control
over financial reporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f)) for the registrant and have: </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(a)</TD>
<TD ALIGN="left" VALIGN="top">Designed such disclosure controls and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material information relating to the registrant, including its
consolidated subsidiaries, is made known to us by others within those entities, particularly during the period in which this report is being prepared; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(b)</TD>
<TD ALIGN="left" VALIGN="top">Designed such internal control over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide reasonable assurance regarding the reliability of
financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles; </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(c)</TD>
<TD ALIGN="left" VALIGN="top">Evaluated the effectiveness of the registrant&#146;s disclosure controls and procedures and presented in this report our conclusions about the effectiveness of the disclosure controls and procedures, as of the end of
the period covered by this report based on such evaluation; and </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(d)</TD>
<TD ALIGN="left" VALIGN="top">Disclosed in this report any change in the registrant&#146;s internal control over financial reporting that occurred during the registrant&#146;s most recent fiscal quarter (the registrant&#146;s fourth fiscal quarter
in the case of an annual report) that has materially affected, or is reasonably likely to materially affect, the registrant&#146;s internal control over financial reporting; and </TD></TR></TABLE>
<P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%" VALIGN="top" ALIGN="left">5.</TD>
<TD ALIGN="left" VALIGN="top">The registrant&#146;s other certifying officer(s) and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the registrant&#146;s auditors and the audit committee of the
registrant&#146;s board of directors (or persons performing the equivalent function(s)): </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(a)</TD>
<TD ALIGN="left" VALIGN="top">All significant deficiencies and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to adversely affect the registrant&#146;s ability to record,
process, summarize and report financial information; and </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="4%">&nbsp;</TD>
<TD WIDTH="4%" VALIGN="top" ALIGN="left">(b)</TD>
<TD ALIGN="left" VALIGN="top">Any fraud, whether or not material, that involves management or other employees who have a significant role in the registrant&#146;s internal control over financial reporting. </TD></TR></TABLE>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Date: July&nbsp;31, 2017 </P><DIV ALIGN="right">
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="40%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt">


<TR>
<TD WIDTH="100%"></TD></TR>


<TR STYLE="font-size:1pt">
<TD HEIGHT="16"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top" STYLE="BORDER-BOTTOM:1px solid #000000">/s/ Bryan H. Fairbanks</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top">Bryan H. Fairbanks</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"> <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">Vice President and Chief Financial Officer</P>
<P STYLE="margin-top:0pt; margin-bottom:1pt; font-size:10pt; font-family:Times New Roman">(Principal Financial Officer)</P></TD></TR>
</TABLE></DIV>
</BODY></HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-32
<SEQUENCE>4
<FILENAME>d405693dex32.htm
<DESCRIPTION>EX-32
<TEXT>
<HTML><HEAD>
<TITLE>EX-32</TITLE>
</HEAD>
 <BODY BGCOLOR="WHITE">

 <P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="right"><B>Exhibit 32 </B></P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Certifications of Chief Executive Officer and Chief Financial Officer </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>Pursuant to Section&nbsp;906 </B></P>
<P STYLE="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman" ALIGN="center"><B>of the Sarbanes-Oxley Act of 2002 (18 U.S.C. Section&nbsp;1350) </B></P>
<P STYLE="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">The undersigned, the President and Chief Executive Officer and the Vice President and Chief Financial Officer of Trex Company, Inc. (the &#147;Company&#148;),
each hereby certifies that, on the date hereof: </P> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="5%" VALIGN="top" ALIGN="left">(a)</TD>
<TD ALIGN="left" VALIGN="top">the Quarterly Report on Form 10-Q of the Company for the quarterly period ended June&nbsp;30, 2017 filed on the date hereof with the U.S. Securities and Exchange Commission (the &#147;Report&#148;) fully complies with
the requirements of Section&nbsp;13(a) or 15(d) of the Securities Exchange Act of 1934; and </TD></TR></TABLE> <P STYLE="font-size:6pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR style = "page-break-inside:avoid">
<TD WIDTH="5%" VALIGN="top" ALIGN="left">(b)</TD>
<TD ALIGN="left" VALIGN="top">information contained in the Report fairly presents, in all material respects, the financial condition and results of operations of the Company. </TD></TR></TABLE>
<P STYLE="font-size:12pt;margin-top:0pt;margin-bottom:0pt">&nbsp;</P>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" STYLE="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt">


<TR>
<TD WIDTH="47%"></TD>
<TD VALIGN="bottom" WIDTH="1%"></TD>
<TD WIDTH="4%"></TD>
<TD VALIGN="bottom"></TD>
<TD></TD>
<TD VALIGN="bottom" WIDTH="1%"></TD>
<TD WIDTH="46%"></TD></TR>


<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top">Date: July&nbsp;31, 2017</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom" STYLE="BORDER-BOTTOM:1px solid #000000">&nbsp;</TD>
<TD VALIGN="top" STYLE="BORDER-BOTTOM:1px solid #000000">/s/ James E. Cline</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">James E. Cline</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">President and Chief Executive Officer</TD></TR>
<TR STYLE="font-size:1pt">
<TD HEIGHT="16"></TD>
<TD HEIGHT="16" COLSPAN="2"></TD>
<TD HEIGHT="16" COLSPAN="2"></TD>
<TD HEIGHT="16" COLSPAN="2"></TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top">Date: July 31, 2017</TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom" STYLE="BORDER-BOTTOM:1px solid #000000">&nbsp;</TD>
<TD VALIGN="top" STYLE="BORDER-BOTTOM:1px solid #000000">/s/ Bryan H. Fairbanks</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">Bryan H. Fairbanks</TD></TR>
<TR STYLE="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="top"></TD>
<TD VALIGN="bottom">&nbsp;</TD>
<TD VALIGN="bottom">Vice President and Chief Financial Officer</TD></TR>
</TABLE>
</BODY></HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.INS
<SEQUENCE>5
<FILENAME>trex-20170630.xml
<DESCRIPTION>XBRL INSTANCE DOCUMENT
<TEXT>
<XBRL>
<?xml version="1.0" encoding="us-ascii" standalone="yes"?>
<!-- DFS Xcelerate Instance Document - http://www.dfsco.com/financial-services/ -->
<!-- Version:  6.23.6 -->
<!-- Round: 5 -->
<!-- Creation date: 2017-07-24T20:48:35Z -->
<!-- Copyright (c) 2017 Donnelley Financial, LLC. All Rights Reserved. -->
<xbrl xmlns="http://www.xbrl.org/2003/instance" xmlns:xbrll="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:us-gaap="http://fasb.org/us-gaap/2017-01-31" xmlns:dei="http://xbrl.sec.gov/dei/2014-01-31" xmlns:trex="http://www.trex.com/20170630" xmlns:us-types="http://fasb.org/us-types/2017-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:stpr="http://xbrl.sec.gov/stpr/2011-01-31" xmlns:country="http://xbrl.sec.gov/country/2017-01-31" xmlns:currency="http://xbrl.sec.gov/currency/2017-01-31" xmlns:exch="http://xbrl.sec.gov/exch/2017-01-31" xmlns:naics="http://xbrl.sec.gov/naics/2017-01-31" xmlns:invest="http://xbrl.sec.gov/invest/2013-01-31" xmlns:sic="http://xbrl.sec.gov/sic/2011-01-31" xmlns:negated="http://www.xbrl.org/2009/role/negated" xmlns:num="http://www.xbrl.org/dtr/type/numeric" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:utr="http://www.xbrl.org/2009/utr">
  <xbrll:schemaRef xlink:type="simple" xlink:arcrole="http://www.xbrl.org/2003/linkbase" xlink:href="trex-20170630.xsd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xbrll="http://www.xbrl.org/2003/linkbase" />
  <us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased contextRef="eol_PE9111----1710-Q0008_STD_0_20170216_0_2449097x2699116" unitRef="shares" decimals="INF" id="id_12197217_24A160DF-1BC5-4A76-BD49-445D0CE57002_2001_0">2960000</us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased>
  <us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet contextRef="eol_PE9111----1710-Q0008_STD_0_20170731_0_2433694x2865178_2449888x2449609" unitRef="iso4217_USD" decimals="-5" id="id_12197217_3389D70E-3748-4DB8-A2F4-BF85193906D4_1001_0">71500000</us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet>
  <dei:EntityCommonStockSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_0_20170718_0" unitRef="shares" decimals="INF" id="id_12197217_010F7102-0600-46DD-8516-82C21DBF5C26_2_5">29406092</dei:EntityCommonStockSharesOutstanding>
  <us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased contextRef="eol_PE9111----1710-Q0008_STD_0_20151022_0_2449097x2699110" unitRef="shares" decimals="INF" id="id_12197217_3B73A3F1-1620-4616-9805-95F3DABB1804_2001_0">3150000</us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="eol_PE9111----1710-Q0008_STD_0_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1002_28">2553000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestructuringReserve contextRef="eol_PE9111----1710-Q0008_STD_0_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_86999123-84F4-4948-B879-860F48AA2E51_1002_4">1840000</us-gaap:RestructuringReserve>
  <us-gaap:StandardProductWarrantyAccrual contextRef="eol_PE9111----1710-Q0008_STD_0_20160630_0_2450417x2706954" unitRef="iso4217_USD" decimals="-3" id="id_12197217_871195FA-A828-428B-A304-0ECF3C24D8B2_2002_3">27062000</us-gaap:StandardProductWarrantyAccrual>
  <us-gaap:AccruedIncomeTaxesCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_1_2">5882000</us-gaap:AccruedIncomeTaxesCurrent>
  <us-gaap:AssetsCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_6">168073000</us-gaap:AssetsCurrent>
  <us-gaap:AccountsReceivableNetCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_3">129881000</us-gaap:AccountsReceivableNetCurrent>
  <us-gaap:AdditionalPaidInCapitalCommonStock contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_34">119876000</us-gaap:AdditionalPaidInCapitalCommonStock>
  <us-gaap:AccountsPayableCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_13">15137000</us-gaap:AccountsPayableCurrent>
  <us-gaap:AccruedMarketingCostsCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_1_0">18364000</us-gaap:AccruedMarketingCostsCurrent>
  <us-gaap:Assets contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_10">282529000</us-gaap:Assets>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_2">8576000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:CommitmentsAndContingencies contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" xsi:nil="true" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_22" />
  <us-gaap:CommonStockSharesAuthorized contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_31">80000000</us-gaap:CommonStockSharesAuthorized>
  <us-gaap:CommonStockSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_33">29405905</us-gaap:CommonStockSharesOutstanding>
  <us-gaap:CommonStockParOrStatedValuePerShare contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD_per_shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_30">0.01</us-gaap:CommonStockParOrStatedValuePerShare>
  <us-gaap:CommonStockSharesIssued contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_32">34899586</us-gaap:CommonStockSharesIssued>
  <us-gaap:CommonStockValue contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_29">349000</us-gaap:CommonStockValue>
  <us-gaap:DeferredTaxLiabilitiesNoncurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_18">894000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
  <us-gaap:DeferredRentCreditCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_1_4">700000</us-gaap:DeferredRentCreditCurrent>
  <us-gaap:DeferredTaxAssetsValuationAllowance contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-5" id="id_12197217_6DCFEB2C-BB4A-489E-A763-5B60664F1DBC_1_0">4100000</us-gaap:DeferredTaxAssetsValuationAllowance>
  <us-gaap:EmployeeRelatedLiabilitiesCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_1_1">7163000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-5" id="id_12197217_6C23DD1E-EDC5-4216-9418-485D9B587322_1_0">4100000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
  <us-gaap:IntangibleAssetsNetIncludingGoodwill contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_8">10523000</us-gaap:IntangibleAssetsNetIncludingGoodwill>
  <us-gaap:InventoryFinishedGoods contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A13C804C-A8C5-4F9B-9009-4AE3B0151B79_1_0">29294000</us-gaap:InventoryFinishedGoods>
  <us-gaap:InventoryNet contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_4">26941000</us-gaap:InventoryNet>
  <us-gaap:InventoryGross contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A13C804C-A8C5-4F9B-9009-4AE3B0151B79_1_2">48312000</us-gaap:InventoryGross>
  <us-gaap:InventoryLIFOReserve contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A13C804C-A8C5-4F9B-9009-4AE3B0151B79_1_3">21371000</us-gaap:InventoryLIFOReserve>
  <us-gaap:InventoryRawMaterials contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A13C804C-A8C5-4F9B-9009-4AE3B0151B79_1_1">19018000</us-gaap:InventoryRawMaterials>
  <us-gaap:Liabilities contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_21">91842000</us-gaap:Liabilities>
  <us-gaap:LiabilitiesAndStockholdersEquity contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_39">282529000</us-gaap:LiabilitiesAndStockholdersEquity>
  <us-gaap:LiabilitiesCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_17">57333000</us-gaap:LiabilitiesCurrent>
  <us-gaap:LineOfCreditFacilityRemainingBorrowingCapacity contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-6" id="id_12197217_0A7AF5B7-CF4C-42DF-8441-223142ED2157_1001_1">250000000</us-gaap:LineOfCreditFacilityRemainingBorrowingCapacity>
  <us-gaap:LinesOfCreditCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_16">0</us-gaap:LinesOfCreditCurrent>
  <us-gaap:OtherAccruedLiabilitiesCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_1_5">2475000</us-gaap:OtherAccruedLiabilitiesCurrent>
  <us-gaap:OtherAssetsCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_ED632702-A5C8-4959-90F8-FC70BEF2CEC9_1_2">168000</us-gaap:OtherAssetsCurrent>
  <us-gaap:OtherAssetsNoncurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_9">2313000</us-gaap:OtherAssetsNoncurrent>
  <us-gaap:OtherLiabilitiesNoncurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_20">2880000</us-gaap:OtherLiabilitiesNoncurrent>
  <us-gaap:PreferredStockParOrStatedValuePerShare contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD_per_shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_25">0.01</us-gaap:PreferredStockParOrStatedValuePerShare>
  <us-gaap:PreferredStockSharesAuthorized contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_26">3000000</us-gaap:PreferredStockSharesAuthorized>
  <us-gaap:PreferredStockValue contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" xsi:nil="true" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_24" />
  <us-gaap:PrepaidExpenseAndOtherAssetsCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_5">2675000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
  <us-gaap:PreferredStockSharesIssued contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_27">0</us-gaap:PreferredStockSharesIssued>
  <us-gaap:PreferredStockSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_28">0</us-gaap:PreferredStockSharesOutstanding>
  <us-gaap:PrepaidExpenseCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_ED632702-A5C8-4959-90F8-FC70BEF2CEC9_1_0">2507000</us-gaap:PrepaidExpenseCurrent>
  <us-gaap:PropertyPlantAndEquipmentNet contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_7">101620000</us-gaap:PropertyPlantAndEquipmentNet>
  <us-gaap:RestructuringReserve contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_86999123-84F4-4948-B879-860F48AA2E51_1001_4">1234000</us-gaap:RestructuringReserve>
  <us-gaap:RetainedEarningsAccumulatedDeficit contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_35">243974000</us-gaap:RetainedEarningsAccumulatedDeficit>
  <us-gaap:StandardProductWarrantyAccrualCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_15">5925000</us-gaap:StandardProductWarrantyAccrualCurrent>
  <us-gaap:StandardProductWarrantyAccrualNoncurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_19">30735000</us-gaap:StandardProductWarrantyAccrualNoncurrent>
  <us-gaap:StockholdersEquity contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_38">190687000</us-gaap:StockholdersEquity>
  <us-gaap:TreasuryStockShares contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_37">5493681</us-gaap:TreasuryStockShares>
  <us-gaap:TreasuryStockValue contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_36">173512000</us-gaap:TreasuryStockValue>
  <trex:AccruedManufacturingExpensesCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_1_3">1687000</trex:AccruedManufacturingExpensesCurrent>
  <trex:SensitivityChangeInSurfaceFlakingWarrantyReserve contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-5" id="id_12197217_C6D878D0-C031-4C37-B894-90162422BBF4_2001_1">3100000</trex:SensitivityChangeInSurfaceFlakingWarrantyReserve>
  <trex:AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_1_14">36271000</trex:AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty>
  <us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2435419x2671890_2435465x2734865" unitRef="iso4217_USD" decimals="INF" id="id_12197217_5FD0AC72-B607-428F-A747-DD96DA3B6EB3_1002_0">200000000</us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity>
  <us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2435419x2749048_2435465x2734865" unitRef="iso4217_USD" decimals="INF" id="id_12197217_5FD0AC72-B607-428F-A747-DD96DA3B6EB3_1001_0">250000000</us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2445234x2710521" unitRef="shares" decimals="INF" id="id_12197217_AB3F7379-8475-4EDB-BBAA-40B389266C67_1001_0">6420000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized>
  <us-gaap:AreaOfRealEstateProperty contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2447372x2434904" unitRef="sqft" decimals="INF" id="id_12197217_2D5CF1D2-9341-4560-8AE3-77D90687547E_1001_0">55047</us-gaap:AreaOfRealEstateProperty>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2447372x2434904" unitRef="iso4217_USD" decimals="-5" id="id_12197217_80AADE13-0AB9-4BC2-AB5A-EA246860D186_1001_2">1000000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2447372x2434904" unitRef="iso4217_USD" decimals="-5" id="id_12197217_80AADE13-0AB9-4BC2-AB5A-EA246860D186_1001_1">2000000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2447372x2434904" unitRef="iso4217_USD" decimals="-5" id="id_12197217_80AADE13-0AB9-4BC2-AB5A-EA246860D186_1001_0">1000000</us-gaap:OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2447372x2689734" unitRef="iso4217_USD" decimals="-5" id="id_12197217_80AADE13-0AB9-4BC2-AB5A-EA246860D186_2001_5">800000</us-gaap:OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2447372x2689734" unitRef="iso4217_USD" decimals="-5" id="id_12197217_80AADE13-0AB9-4BC2-AB5A-EA246860D186_2001_3">600000</us-gaap:OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2447372x2689734" unitRef="iso4217_USD" decimals="-5" id="id_12197217_80AADE13-0AB9-4BC2-AB5A-EA246860D186_2001_4">1300000</us-gaap:OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears>
  <us-gaap:StandardProductWarrantyAccrual contextRef="eol_PE9111----1710-Q0008_STD_0_20170630_0_2450417x2706954" unitRef="iso4217_USD" decimals="-3" id="id_12197217_871195FA-A828-428B-A304-0ECF3C24D8B2_2001_3">31164000</us-gaap:StandardProductWarrantyAccrual>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="eol_PE9111----1710-Q0008_STD_0_20151231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2001_27">5995000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestructuringReserve contextRef="eol_PE9111----1710-Q0008_STD_0_20151231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_86999123-84F4-4948-B879-860F48AA2E51_2001_0">2106000</us-gaap:RestructuringReserve>
  <us-gaap:StandardProductWarrantyAccrual contextRef="eol_PE9111----1710-Q0008_STD_0_20151231_0_2450417x2706954" unitRef="iso4217_USD" decimals="-3" id="id_12197217_871195FA-A828-428B-A304-0ECF3C24D8B2_3001_0">29673000</us-gaap:StandardProductWarrantyAccrual>
  <us-gaap:AssetsCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_6">105649000</us-gaap:AssetsCurrent>
  <us-gaap:AccountsReceivableNetCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_3">48039000</us-gaap:AccountsReceivableNetCurrent>
  <us-gaap:AdditionalPaidInCapitalCommonStock contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_34">120082000</us-gaap:AdditionalPaidInCapitalCommonStock>
  <us-gaap:AccountsPayableCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_13">10767000</us-gaap:AccountsPayableCurrent>
  <us-gaap:AccruedMarketingCostsCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_2_0">16707000</us-gaap:AccruedMarketingCostsCurrent>
  <us-gaap:Assets contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_10">221430000</us-gaap:Assets>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_2">18664000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:CommitmentsAndContingencies contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" xsi:nil="true" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_22" />
  <us-gaap:CommonStockSharesAuthorized contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_31">80000000</us-gaap:CommonStockSharesAuthorized>
  <us-gaap:CommonStockSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_33">29400552</us-gaap:CommonStockSharesOutstanding>
  <us-gaap:CommonStockParOrStatedValuePerShare contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD_per_shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_30">0.01</us-gaap:CommonStockParOrStatedValuePerShare>
  <us-gaap:CommonStockSharesIssued contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_32">34894233</us-gaap:CommonStockSharesIssued>
  <us-gaap:CommonStockValue contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_29">349000</us-gaap:CommonStockValue>
  <us-gaap:DeferredTaxLiabilitiesNoncurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_18">894000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
  <us-gaap:DeferredRentCreditCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_2_4">632000</us-gaap:DeferredRentCreditCurrent>
  <us-gaap:EmployeeRelatedLiabilitiesCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_2_1">13298000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
  <us-gaap:IncomeTaxesReceivable contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_ED632702-A5C8-4959-90F8-FC70BEF2CEC9_2_1">4024000</us-gaap:IncomeTaxesReceivable>
  <us-gaap:IntangibleAssetsNetIncludingGoodwill contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_8">10523000</us-gaap:IntangibleAssetsNetIncludingGoodwill>
  <us-gaap:InventoryFinishedGoods contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A13C804C-A8C5-4F9B-9009-4AE3B0151B79_2_0">29686000</us-gaap:InventoryFinishedGoods>
  <us-gaap:InventoryNet contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_4">28546000</us-gaap:InventoryNet>
  <us-gaap:InventoryGross contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A13C804C-A8C5-4F9B-9009-4AE3B0151B79_2_2">49917000</us-gaap:InventoryGross>
  <us-gaap:InventoryLIFOReserve contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A13C804C-A8C5-4F9B-9009-4AE3B0151B79_2_3">21371000</us-gaap:InventoryLIFOReserve>
  <us-gaap:InventoryRawMaterials contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A13C804C-A8C5-4F9B-9009-4AE3B0151B79_2_1">20231000</us-gaap:InventoryRawMaterials>
  <us-gaap:Liabilities contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_21">87269000</us-gaap:Liabilities>
  <us-gaap:LiabilitiesAndStockholdersEquity contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_39">221430000</us-gaap:LiabilitiesAndStockholdersEquity>
  <us-gaap:LiabilitiesCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_17">51385000</us-gaap:LiabilitiesCurrent>
  <us-gaap:LinesOfCreditCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_16">0</us-gaap:LinesOfCreditCurrent>
  <us-gaap:OtherAccruedLiabilitiesCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_2_5">2257000</us-gaap:OtherAccruedLiabilitiesCurrent>
  <us-gaap:OtherAssetsCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_ED632702-A5C8-4959-90F8-FC70BEF2CEC9_2_2">167000</us-gaap:OtherAssetsCurrent>
  <us-gaap:OtherAssetsNoncurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_9">1972000</us-gaap:OtherAssetsNoncurrent>
  <us-gaap:OtherLiabilitiesNoncurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_20">3223000</us-gaap:OtherLiabilitiesNoncurrent>
  <us-gaap:PreferredStockParOrStatedValuePerShare contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD_per_shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_25">0.01</us-gaap:PreferredStockParOrStatedValuePerShare>
  <us-gaap:PreferredStockSharesAuthorized contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_26">3000000</us-gaap:PreferredStockSharesAuthorized>
  <us-gaap:PreferredStockValue contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" xsi:nil="true" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_24" />
  <us-gaap:PrepaidExpenseAndOtherAssetsCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_5">10400000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
  <us-gaap:PreferredStockSharesIssued contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_27">0</us-gaap:PreferredStockSharesIssued>
  <us-gaap:PreferredStockSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_28">0</us-gaap:PreferredStockSharesOutstanding>
  <us-gaap:PrepaidExpenseCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_ED632702-A5C8-4959-90F8-FC70BEF2CEC9_2_0">6209000</us-gaap:PrepaidExpenseCurrent>
  <us-gaap:PropertyPlantAndEquipmentNet contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_7">103286000</us-gaap:PropertyPlantAndEquipmentNet>
  <us-gaap:RestructuringReserve contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_86999123-84F4-4948-B879-860F48AA2E51_3001_0">1475000</us-gaap:RestructuringReserve>
  <us-gaap:RetainedEarningsAccumulatedDeficit contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_35">187242000</us-gaap:RetainedEarningsAccumulatedDeficit>
  <us-gaap:StandardProductWarrantyAccrualCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_15">5925000</us-gaap:StandardProductWarrantyAccrualCurrent>
  <us-gaap:StandardProductWarrantyAccrualNoncurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_19">31767000</us-gaap:StandardProductWarrantyAccrualNoncurrent>
  <us-gaap:StockholdersEquity contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_38">134161000</us-gaap:StockholdersEquity>
  <us-gaap:TreasuryStockShares contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="shares" decimals="INF" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_37">5493681</us-gaap:TreasuryStockShares>
  <us-gaap:TreasuryStockValue contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_36">173512000</us-gaap:TreasuryStockValue>
  <trex:AccruedManufacturingExpensesCurrent contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C1C6A64E-CA28-457A-BF2D-8725C1236DA9_2_3">1799000</trex:AccruedManufacturingExpensesCurrent>
  <trex:AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_3A517A82-8000-459D-BE89-7736C0A49A79_2_14">34693000</trex:AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty>
  <us-gaap:StandardProductWarrantyAccrual contextRef="eol_PE9111----1710-Q0008_STD_0_20161231_0_2450417x2706954" unitRef="iso4217_USD" decimals="-3" id="id_12197217_871195FA-A828-428B-A304-0ECF3C24D8B2_4001_0">33847000</us-gaap:StandardProductWarrantyAccrual>
  <dei:AmendmentFlag contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_1FD2E697-A62A-4972-9637-98E47C116BA4_1_1">false</dei:AmendmentFlag>
  <us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_06C92B4C-ABAD-4E08-AD9D-39293E57783E_1_0">&lt;div&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top" width="4%" align="left"&gt;&lt;b&gt;7.&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;&lt;b&gt;ACCRUED EXPENSES AND OTHER
 LIABILITIES&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 Accrued expenses and other liabilities consist of the following (in
 thousands):&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="76%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;June&amp;#xA0;30,&lt;br /&gt;
 2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;December&amp;#xA0;31,&lt;br /&gt;
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Sales and marketing&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;18,364&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16,707&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Compensation and benefits&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;7,163&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;13,298&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Income taxes&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;5,882&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Manufacturing costs&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,687&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,799&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Rent obligations&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;700&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;632&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Other&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,475&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,257&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Total accrued expenses and other liabilities&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;36,271&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;34,693&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_3_4">2876000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AccretionExpense contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_86999123-84F4-4948-B879-860F48AA2E51_1_2">54000</us-gaap:AccretionExpense>
  <us-gaap:AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-5" id="id_12197217_F778B91E-ED75-4CFB-A7C0-B20F64DFE947_1_0">1000000</us-gaap:AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet>
  <us-gaap:CommitmentsAndContingenciesDisclosureTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_2DB60384-36AD-4E81-BA12-7931C112B555_1_0">&lt;div&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top" width="4%" align="left"&gt;&lt;b&gt;14.&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;&lt;b&gt;COMMITMENTS AND
 CONTINGENCIES&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 &lt;i&gt;Contract Termination Costs&lt;/i&gt;&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 The Company leases 55,047 square feet of office and storage space
 that it does not occupy, but has sublet all of the office space for
 the remainder of the term of its lease obligation, which ends
 June&amp;#xA0;30, 2019. The Company estimates that the future sublease
 receipts will be less than the remaining minimum lease payment
 obligations under its lease and has recorded a liability for the
 present value of the expected shortfall.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 As of June&amp;#xA0;30, 2017, minimum payments remaining under the
 Company&amp;#x2019;s lease relating to its reconsidered corporate
 relocation over the years ending December&amp;#xA0;31, 2017, 2018, and
 2019 are $1.0 million, $2.0&amp;#xA0;million and $1.0 million,
 respectively. Net minimum receipts remaining under the
 Company&amp;#x2019;s existing subleases over the years ending
 December&amp;#xA0;31, 2017, 2018 and 2019 are $0.6&amp;#xA0;million, $1.3
 million and $0.8 million, respectively.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 The following table provides information about the Company&amp;#x2019;s
 liability related to the lease (in thousands):&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="82%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="4%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="4%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Beginning balance, January&amp;#xA0;1&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,475&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,106&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Net rental payments&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(272&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(344&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Accretion of discount&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;54&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;78&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Decrease in net estimated contract termination costs&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(23&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Ending balance, June&amp;#xA0;30&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,234&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,840&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 &lt;i&gt;Product Warranty&lt;/i&gt;&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 The Company warrants that its products will be free from material
 defects in workmanship and materials for warranty periods ranging
 from 10 years to 25 years, depending on the product and its use. If
 there is a breach of such warranties, the Company has an obligation
 either to replace the defective product or refund the purchase
 price. The Company continues to receive and settle claims for
 products manufactured at its Nevada facility prior to 2007 that
 exhibit surface flaking and maintains a warranty reserve to provide
 for the settlement of these claims. Estimating the warranty reserve
 for surface flaking claims requires management to estimate
 (1)&amp;#xA0;the number of claims to be settled with payment and
 (2)&amp;#xA0;the average cost to settle each claim.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 To estimate the number of claims to be settled with payment, the
 Company utilizes actuarial techniques to quantify both the expected
 number of claims to be received and the percentage of those claims
 that will ultimately require payment (collectively, elements).
 Estimates for these elements are quantified using a range of
 assumptions derived from claim count history and the identification
 of factors influencing the claim counts. The number of claims
 received has declined each year since peaking in 2009, although the
 rate of decline has decelerated in recent years. Additionally,
 events, such as the 2009 settlement of a class action lawsuit
 covering the surface defect and communications by the Company in
 2013 informing homeowners of potential hazards associated with
 products exhibiting surface flaking that are not timely replaced,
 have obscured observable trends in historical claims activity. The
 cost per claim varies due to a number of factors, including the
 size of affected decks, the availability and type of replacement
 material used, the cost of production of replacement material and
 the method of claim settlement.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt"&gt;
 The Company monitors surface flaking claims activity each quarter
 for indications that its estimates require revision. Typically, a
 majority of surface flaking claims received in a year are received
 during the summer outdoor season, which spans the second and third
 quarters. It has been the Company&amp;#x2019;s practice to utilize the
 actuarial techniques discussed above during the third quarter,
 after a significant portion of all claims has been received for the
 fiscal year and variances to annual claims expectations are more
 meaningful. The number of claims received in the six months ended
 June&amp;#xA0;30, 2017 was lower than claims received in the six months
 ended June&amp;#xA0;30, 2016, continuing the historical year-over-year
 decline in incoming claims, and consistent with the Company&amp;#x2019;s
 expectations. The average settlement cost per claim experienced in
 the six months ended June&amp;#xA0;30, 2017 was lower than the average
 settlement cost per claim experienced during the six months ended
 June&amp;#xA0;30, 2016 but higher than the Company&amp;#x2019;s expectations
 for 2017. The Company believes its reserve at June&amp;#xA0;30, 2017 is
 sufficient to cover future surface flaking obligations.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 The Company&amp;#x2019;s analysis is based on currently known facts and
 a number of assumptions, as discussed above, and current
 expectations. Projecting future events such as the number of claims
 to be received, the number of claims that will require payment and
 the average cost of claims could cause the actual warranty
 liabilities to be higher or lower than those projected, which could
 materially affect the Company&amp;#x2019;s financial condition, results
 of operations or cash flows. The Company estimates that the annual
 number of claims received will continue to decline over time and
 that the average cost per claim will increase slightly, primarily
 due to inflation. If the level of claims received or average cost
 per claim differs materially from expectations, it could result in
 additional increases or decreases to the warranty reserve and a
 decrease or increase in earnings and cash flows in future periods.
 The Company estimates that a 10% change in the expected number of
 remaining claims to be settled with payment or the expected cost to
 settle claims may result in approximately a $3.1 million change in
 the surface flaking warranty reserve.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 The following is a reconciliation of the Company&amp;#x2019;s warranty
 reserve that represents amounts accrued for surface flaking claims
 (in thousands):&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="80%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="4%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="4%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Beginning balance, January&amp;#xA0;1&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;33,847&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,673&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Changes in estimates related to pre-existing warranties&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Settlements made during the period&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(2,683&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(2,611&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Ending balance, June&amp;#xA0;30&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;31,164&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;27,062&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 18pt"&gt;
 The remainder of the Company&amp;#x2019;s warranty reserve represents
 amounts accrued for non-surface flaking claims.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 &lt;i&gt;Legal Matters&lt;/i&gt;&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 The Company has lawsuits, as well as other claims, pending against
 it which are ordinary routine litigation and claims incidental to
 the business.&amp;#xA0;Management has evaluated the merits of these
 lawsuits and claims, and believes that their ultimate resolution
 will not have a material effect on the Company&amp;#x2019;s consolidated
 financial condition, results of operations, liquidity or
 competitive position.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:CommitmentsAndContingenciesDisclosureTextBlock>
  <us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_26">-10088000</us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease>
  <us-gaap:ComprehensiveIncomeNetOfTax contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_13">56732000</us-gaap:ComprehensiveIncomeNetOfTax>
  <us-gaap:CostOfGoodsAndServicesSold contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_1">165563000</us-gaap:CostOfGoodsAndServicesSold>
  <dei:CurrentFiscalYearEndDate contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_010F7102-0600-46DD-8516-82C21DBF5C26_1_3">--12-31</dei:CurrentFiscalYearEndDate>
  <us-gaap:DebtDisclosureTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_E7BBE80A-695B-47CB-87F4-ED5DC7B597ED_1_0">&lt;div&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;&lt;b&gt;8.&lt;/b&gt;&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;&lt;b&gt;DEBT&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company&amp;#x2019;s outstanding debt consists of a revolving credit
 facility.&lt;/p&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 &lt;i&gt;Revolving Credit Facility&lt;/i&gt;&lt;/p&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 On January&amp;#xA0;12, 2016, the Company entered into a Third Amended
 and Restated Credit Agreement, as amended, with Bank of America,
 N.A. as Lender, Administrative Agent, Swing Line Lender and Letter
 of Credit Issuer, and certain other lenders including Citibank,
 N.A., Capital One, N.A., and SunTrust. The Third Amended Credit
 Agreement, as amended, provides the Company with one or more
 revolving loans in a collective maximum principal amount of $250
 million from January&amp;#xA0;1 through June&amp;#xA0;30 of each year, and
 a maximum principal amount of $200 million from July&amp;#xA0;1 through
 December&amp;#xA0;31 of each year throughout the term, which ends
 January&amp;#xA0;12, 2021.&lt;/p&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company had no outstanding borrowings under its revolving
 credit facility and remaining available borrowing capacity of $250
 million at June&amp;#xA0;30, 2017.&lt;/p&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 &lt;i&gt;Compliance with Debt Covenants and Restrictions&lt;/i&gt;&lt;/p&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company&amp;#x2019;s ability to make scheduled principal and
 interest payments, borrow and repay amounts under any outstanding
 revolving credit facility and continue to comply with any loan
 covenants depends primarily on the Company&amp;#x2019;s ability to
 generate sufficient cash flow from operations.&lt;/p&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 As of June&amp;#xA0;30, 2017, the Company was in compliance with all of
 the covenants contained in its debt agreements. Failure to comply
 with the loan covenants might cause lenders to accelerate the
 repayment obligations under the credit facility, which may be
 declared payable immediately based on a default.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:DebtDisclosureTextBlock>
  <us-gaap:DepreciationDepletionAndAmortization contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_3">7513000</us-gaap:DepreciationDepletionAndAmortization>
  <us-gaap:EffectiveIncomeTaxRateContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="pure" decimals="3" id="id_12197217_51517137-B2CF-4656-B82A-7CDD59F94078_1_0">0.342</us-gaap:EffectiveIncomeTaxRateContinuingOperations>
  <us-gaap:DescriptionOfNewAccountingPronouncementsNotYetAdopted contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_38EF8F18-A1D9-4961-BC84-2C761D53F557_1_0">&lt;div&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top" width="4%" align="left"&gt;&lt;b&gt;4.&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;&lt;b&gt;NEW ACCOUNTING STANDARDS NOT YET
 ADOPTED&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 In May 2017, the FASB issued ASU No.&amp;#xA0;2017-09,
 &amp;#x201C;&lt;i&gt;Compensation&amp;#x2014;Stock Compensation (Topic 718), Scope
 Modification Accounting&lt;/i&gt;.&amp;#x201D; The guidance clarified when to
 account for a change to the terms or conditions of a share-based
 payment award as a modification. Under the new guidance,
 modification accounting is required only if the fair value (or
 calculated intrinsic value, if those amounts are being used to
 measure the award under ASC 718), the vesting conditions, or the
 classification of the award (as equity or liability) changes as a
 result of the change in terms or conditions. The guidance is
 effective prospectively for annual periods beginning on or after
 December&amp;#xA0;15, 2017. Early adoption is permitted. The Company
 intends to adopt the guidance on the effective date and does not
 believe adoption will have a material impact on its financial
 condition or results of operations.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 In January 2017, the FASB issued ASU No.&amp;#xA0;2017-04,
 &amp;#x201C;&lt;i&gt;Intangibles&amp;#x2014;Goodwill and Other (Topic 350),
 Simplifying the Test for Goodwill Impairment&lt;/i&gt;.&amp;#x201D; The
 guidance removes Step 2 of the goodwill impairment test and
 eliminates the need to determine the fair value of individual
 assets and liabilities to measure goodwill impairment. A goodwill
 impairment will now be the amount by which a reporting unit&amp;#x2019;s
 carrying value exceeds its fair value, not to exceed the carrying
 amount of goodwill. Entities will continue to have the option to
 perform a qualitative assessment to determine if a quantitative
 impairment test is necessary. The guidance is to be applied
 prospectively, and is effective for annual and interim goodwill
 impairment tests in fiscal years beginning after December&amp;#xA0;15,
 2019. Early adoption is permitted for any impairment tests
 performed on testing dates after January&amp;#xA0;1, 2017. The Company
 intends to adopt the guidance on the effective date and does not
 believe adoption will have a material impact on its financial
 condition or results of operations.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 In August 2016, the FASB issued ASU No.&amp;#xA0;2016-15,
 &amp;#x201C;&lt;i&gt;Statement of Cash flows (Topic 230): Classification of
 Certain Cash Receipts and Cash Payments&lt;/i&gt;.&amp;#x201D; The guidance is
 intended to reduce diversity in practice across all industries in
 how certain transactions are classified in the statement of cash
 flows. The guidance is effective for financial statements issued
 for fiscal years beginning after December&amp;#xA0;15, 2017, and
 interim periods within those fiscal years. Early adoption is
 permitted. The guidance requires application using a retrospective
 transition method. The Company intends to adopt the guidance on the
 effective date and does not believe adoption will have a material
 impact on its consolidated financial statements.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt"&gt;
 In February 2016, the FASB issued ASU No.&amp;#xA0;2016-02,
 &amp;#x201C;&lt;i&gt;Leases (Topic 842)&lt;/i&gt;.&amp;#x201D; The standard requires
 lessees to recognize leases on the balance sheet as a right-of-use
 asset and a lease liability, other than leases that meet the
 definition of a short-term lease. The liability will be equal to
 the present value of the lease payments. The asset will be based on
 the liability, subject to adjustment. Currently, under existing
 U.S. generally accepted accounting standards, the Company does not
 recognize on the balance sheet a right-of-use asset or lease
 liability related to its operating leases. For income statement
 purposes, the leases will continue to be classified as either
 operating or finance. Operating leases will result in straight-line
 expense (similar to current operating leases) and finance leases
 will result in a front-loaded expense pattern (similar to current
 capital leases). The standard is effective for fiscal years, and
 interim periods within those fiscal years, beginning after
 December&amp;#xA0;15, 2018. Early adoption is permitted. The standard
 must be adopted using the modified retrospective transition method
 and provides for the option to elect a package of practical
 expedients upon adoption. The Company intends to adopt the standard
 in the first quarter of fiscal 2019 and is assessing the impact of
 adoption of the standard on its consolidated financial statements
 and related note disclosures. The Company has not made any decision
 on the option to elect adoption of the practical expedients.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 In May 2014, the FASB issued ASU No.&amp;#xA0;2014-09,
 &lt;i&gt;&amp;#x201C;Revenue from Contracts with Customers (Topic
 606),&lt;/i&gt;&amp;#x201D; and issued subsequent amendments to the initial
 guidance in August 2015 within ASU No.&amp;#xA0;2015-14, in March 2016
 within ASU No.&amp;#xA0;2016-08, in April 2016 within ASU
 No.&amp;#xA0;2016-10, in May 2016 within ASU No.&amp;#xA0;2016-12, and in
 December 2016 within ASU No.&amp;#xA0;2016-20 (collectively, the new
 standard). The new standard provides a single, comprehensive model
 for revenue arising from contracts with customers and supersedes
 most current revenue recognition guidance. The new standard
 requires an entity to recognize revenue when it satisfies a
 performance obligation at an amount that reflects the consideration
 to which the entity expects to be entitled in exchange for
 transferring control of goods or services to a customer. The
 Company intends to adopt the new standard in the first quarter of
 fiscal 2018. Currently, the Company intends to use the
 retrospective application to each reporting period presented, with
 the option to elect certain practical expedients as defined in the
 new standard. The Company does not believe adoption of the new
 standard will have a material impact on its Consolidated Statements
 of Comprehensive Income, but expects expanded financial statement
 footnote disclosure. The Company continues to evaluate the impacts
 of the pending adoption. As such, the Company&amp;#x2019;s preliminary
 assessments are subject to change.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:DescriptionOfNewAccountingPronouncementsNotYetAdopted>
  <us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_0CC09424-F275-4A92-857D-7376AFC7AA6F_1_0">&lt;div&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;&lt;b&gt;11.&lt;/b&gt;&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;&lt;b&gt;STOCK-BASED COMPENSATION&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company has one stock-based compensation plan, the 2014 Stock
 Incentive Plan (Plan), approved by the Company&amp;#x2019;s stockholders
 in April 2014. The Plan amended and restated in its entirety the
 Trex Company, Inc. 2005 Stock Incentive Plan. The Plan is
 administered by the Compensation Committee of the Company&amp;#x2019;s
 Board of Directors. Stock-based compensation is granted to
 officers, directors and certain key employees in accordance with
 the provisions of the Plan. The Plan provides for grants of stock
 options, restricted stock, restricted stock units, stock
 appreciation rights (SARs), and unrestricted stock. As of
 June&amp;#xA0;30, 2017, the total aggregate number of shares of the
 Company&amp;#x2019;s common stock that may be issued under the Plan is
 6,420,000.&lt;/p&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 In 2014, the Company began granting performance-based restricted
 stock in addition to the time-based restricted stock it previously
 granted. The performance-based restricted shares have a three-year
 vesting period, vesting one-third each year based on target
 earnings before interest, taxes, depreciation and amortization for
 1 year, cumulative 2 years and cumulative 3 years, respectively.
 The number of shares that vest, with respect to each vesting, will
 be between 0% and 200% of the target number of shares.&lt;/p&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 In 2015, the Company began issuing restricted stock units in lieu
 of restricted stock. Accordingly, time-based restricted stock units
 replaced time-based restricted stock and performance-based
 restricted stock units replaced performance-based restricted stock.
 The vesting terms of the restricted stock units are identical to
 the vesting provisions of the restricted stock.&lt;/p&gt;
 &lt;p style="font-size:1px;margin-top:12px;margin-bottom:0px"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;p style="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The fair value of each SAR is estimated on the date of grant using
 a Black-Scholes option-pricing formula. There were no SARs issued
 during the six months ended June&amp;#xA0;30, 2016. For SARs issued in
 the six months ended June&amp;#xA0;30, 2017 the data and assumptions
 shown in the following table were used:&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="68%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="80%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="16%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;
 &lt;b&gt;Six&amp;#xA0;Months&amp;#xA0;Ended&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;June&amp;#xA0;30, 2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Weighted-average fair value of grants&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;27.81&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Dividend yield&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;%&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Average risk-free interest rate&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2.01&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;%&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Expected term (years)&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;5&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Expected volatility&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;42.4&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;%&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The following table summarizes the Company&amp;#x2019;s stock-based
 compensation grants for the six months ended June&amp;#xA0;30,
 2017:&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="61%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="14%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="14%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;
 &lt;b&gt;Stock&amp;#xA0;Awards&amp;#xA0;Granted&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;&lt;font style="white-space:nowrap"&gt;Weighted-Average&lt;/font&gt;&lt;br /&gt;
 Grant Price&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;Per Share&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Time-based restricted stock units&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;19,516&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;70.05&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Performance-based restricted stock units (a)&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;40,216&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;56.19&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Stock appreciation rights&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16,340&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;70.09&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="line-height:12.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1px solid #000000;width:10%"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;(a)&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;Includes 22,895 of target
 performance-based restricted stock unit awards granted during the
 six months ended June&amp;#xA0;30, 2017, and adjustments of 1,071,
 5,396 and 10,854 grants due to the actual performance level
 achieved for restricted stock and restricted stock units awarded in
 2014, 2015, and 2016, respectively.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company recognizes stock-based compensation expense ratably
 over the period from the grant date to the earlier of: (1)&amp;#xA0;the
 vesting date of the award, or (2)&amp;#xA0;the date the grantee is
 eligible to retire without forfeiting the award. For
 performance-based restricted stock and performance-based restricted
 stock units, expense is recognized ratably over the performance and
 vesting period of each tranche based on management&amp;#x2019;s judgment
 of the ultimate award that is likely to be paid out based on the
 achievement of the predetermined performance measures. The
 following table summarizes the Company&amp;#x2019;s stock-based
 compensation expense (in thousands):&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="92%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="73%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="3%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="3%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="3%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="3%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="6" align="center" style="border-bottom:1.00pt solid #000000"&gt;
 &lt;b&gt;Three&amp;#xA0;Months&amp;#xA0;Ended&lt;br /&gt;
 June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="6" align="center" style="border-bottom:1.00pt solid #000000"&gt;
 &lt;b&gt;Six&amp;#xA0;Months&amp;#xA0;Ended&lt;br /&gt;
 June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Stock appreciation rights&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;25&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;75&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;192&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;184&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Time-based restricted stock&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;403&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;863&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,139&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,479&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Performance-based restricted stock&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;468&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;720&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,507&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,230&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Employee stock purchase plan&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;11&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;38&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;52&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Total stock-based compensation&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;912&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,669&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,876&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,945&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 Total unrecognized compensation cost related to unvested awards as
 of June&amp;#xA0;30, 2017 was $4.1 million. The cost of these unvested
 awards is being recognized over the requisite vesting period of
 each award.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock>
  <dei:DocumentFiscalPeriodFocus contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_1FD2E697-A62A-4972-9637-98E47C116BA4_1_4">Q2</dei:DocumentFiscalPeriodFocus>
  <dei:DocumentFiscalYearFocus contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_1FD2E697-A62A-4972-9637-98E47C116BA4_1_3">2017</dei:DocumentFiscalYearFocus>
  <dei:DocumentType contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_1FD2E697-A62A-4972-9637-98E47C116BA4_1_0">10-Q</dei:DocumentType>
  <us-gaap:EarningsPerShareDiluted contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_11">1.92</us-gaap:EarningsPerShareDiluted>
  <dei:DocumentPeriodEndDate contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_1FD2E697-A62A-4972-9637-98E47C116BA4_1_2">2017-06-30</dei:DocumentPeriodEndDate>
  <us-gaap:EarningsPerShareBasic contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_9">1.93</us-gaap:EarningsPerShareBasic>
  <dei:EntityRegistrantName contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_010F7102-0600-46DD-8516-82C21DBF5C26_1_1">TREX CO INC</dei:EntityRegistrantName>
  <dei:EntityCentralIndexKey contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_010F7102-0600-46DD-8516-82C21DBF5C26_1_2">0001069878</dei:EntityCentralIndexKey>
  <us-gaap:FairValueOfFinancialInstrumentsPolicy contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_893778AE-AEDC-4C52-BB65-CEB84965434D_1_0">&lt;div&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company considers the recorded value of its financial assets
 and liabilities, consisting primarily of cash and cash equivalents,
 accounts receivable, accounts payable, accrued expenses and other
 current liabilities to approximate the fair value of the respective
 assets and liabilities at June&amp;#xA0;30, 2017 and December&amp;#xA0;31,
 2016.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:FairValueOfFinancialInstrumentsPolicy>
  <us-gaap:EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="pure" decimals="3" id="id_12197217_51517137-B2CF-4656-B82A-7CDD59F94078_1_2">0.005</us-gaap:EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities>
  <us-gaap:EffectOfLIFOInventoryLiquidationOnIncome contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="INF" id="id_12197217_61E3F17B-DA1A-408D-AD0E-22FC6188FFE2_1_0">0</us-gaap:EffectOfLIFOInventoryLiquidationOnIncome>
  <dei:EntityFilerCategory contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_010F7102-0600-46DD-8516-82C21DBF5C26_1_4">Large Accelerated Filer</dei:EntityFilerCategory>
  <us-gaap:FinancialInstrumentsDisclosureTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_49CB553A-BDA8-4256-AC57-877668C72CCC_1_0">&lt;div&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;&lt;b&gt;9.&lt;/b&gt;&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;&lt;b&gt;FINANCIAL INSTRUMENTS&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company considers the recorded value of its financial assets
 and liabilities, consisting primarily of cash and cash equivalents,
 accounts receivable, accounts payable, accrued expenses and other
 current liabilities to approximate the fair value of the respective
 assets and liabilities at June&amp;#xA0;30, 2017 and December&amp;#xA0;31,
 2016.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:FinancialInstrumentsDisclosureTextBlock>
  <us-gaap:GrossProfit contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_2">137184000</us-gaap:GrossProfit>
  <us-gaap:GainLossOnSaleOfPropertyPlantEquipment contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_5">-1343000</us-gaap:GainLossOnSaleOfPropertyPlantEquipment>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_6">86238000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeTaxDisclosureTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_4752ACDA-D4EA-491B-BBDF-725A9FF5B6DF_1_0">&lt;div&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top" width="4%" align="left"&gt;&lt;b&gt;12.&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;&lt;b&gt;INCOME TAXES&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 The Company&amp;#x2019;s effective tax rate for the six months ended
 June&amp;#xA0;30, 2017 and 2016 was 34.2% and 34.7%, respectively,
 which resulted in expense of $29.5 million and $25.2 million,
 respectively. The decrease of 0.5% in the effective tax rate was
 primarily due to an increase in the domestic production activities
 deduction. In fiscal year 2016, the Company adopted FASB ASU
 No.&amp;#xA0;2016-09, &amp;#x201C;&lt;i&gt;Compensation &amp;#x2013; Stock Compensation
 (Topic 718): Improvements to Employee Share-Based Payment
 Accounting.&lt;/i&gt;&amp;#x201D; The new standard requires excess tax
 benefits on share-based awards be recognized in the tax provision
 instead of in equity.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 During the six months ended June&amp;#xA0;30, 2017 and June&amp;#xA0;30,
 2016, the Company realized $1.0 million and $0.8 million,
 respectively, of excess tax benefits from stock-based awards and
 recorded a corresponding benefit to income tax expense.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 The Company analyzes its deferred tax assets each reporting period,
 considering all available positive and negative evidence in
 determining the expected realization of those deferred tax assets.
 As of June&amp;#xA0;30, 2017, the Company maintains a valuation
 allowance of $4.1 million against deferred tax assets primarily
 related to state tax credits it estimates will expire before they
 are realized.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt"&gt;
 The Company operates in multiple tax jurisdictions and, in the
 normal course of business, its tax returns are subject to
 examination by various taxing authorities. Such examinations may
 result in future assessments by these taxing authorities, and the
 Company accrues a liability when it believes that it is more likely
 than not that benefits of tax positions will not be realized. The
 Company believes that adequate provisions have been made for all
 tax returns subject to examination. As of June&amp;#xA0;30, 2017,
 Federal tax years 2013 through 2016 remain subject to examination.
 Sales made to foreign distributors are not taxable in any foreign
 jurisdictions as the Company does not have a taxable presence in
 any foreign jurisdiction.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:IncomeTaxDisclosureTextBlock>
  <us-gaap:IncomeTaxesPaidNet contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_31">19600000</us-gaap:IncomeTaxesPaidNet>
  <us-gaap:IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_13">9907000</us-gaap:IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable>
  <us-gaap:IncreaseDecreaseInAccountsReceivable contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_8">81842000</us-gaap:IncreaseDecreaseInAccountsReceivable>
  <us-gaap:IncreaseDecreaseInInventories contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_9">-1604000</us-gaap:IncreaseDecreaseInInventories>
  <us-gaap:IncomeTaxExpenseBenefit contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_7">29506000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncreaseDecreaseInAccountsPayable contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_11">4370000</us-gaap:IncreaseDecreaseInAccountsPayable>
  <us-gaap:IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_12">-5680000</us-gaap:IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities>
  <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_10">-3701000</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
  <us-gaap:InterestExpense contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_5">456000</us-gaap:InterestExpense>
  <us-gaap:InterestPaidNet contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_30">364000</us-gaap:InterestPaidNet>
  <us-gaap:InventoryDisclosureTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_B62C2293-4621-4ABC-BF47-B6296D378ADE_1_0">&lt;div&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;&lt;b&gt;5.&lt;/b&gt;&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;&lt;b&gt;INVENTORIES&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 Inventories, at LIFO (last-in, first-out) value, consist of the
 following (in thousands):&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="76%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;June&amp;#xA0;30,&lt;br /&gt;
 2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;December&amp;#xA0;31,&lt;br /&gt;
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Finished goods&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,294&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,686&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Raw materials&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;19,018&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;20,231&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Total FIFO (first-in, first-out) inventories&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;48,312&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;49,917&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Reserve to adjust inventories to LIFO value&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(21,371&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(21,371&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Total LIFO inventories&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;26,941&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;28,546&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company utilizes the LIFO method of accounting for inventory,
 which generally provides for the matching of current costs with
 current revenues. However, under the LIFO method, reductions in
 annual inventory balances cause a portion of the Company&amp;#x2019;s
 cost of sales to be based on historical costs rather than current
 year costs (LIFO liquidation). Reductions in interim inventory
 balances expected to be replenished by year-end do not result in a
 LIFO liquidation. Accordingly, interim LIFO calculations are based,
 in part, on management&amp;#x2019;s estimates of expected year-end
 inventory levels and costs which may differ from actual results.
 Since inventory levels and costs are subject to factors beyond
 management&amp;#x2019;s control, interim results are subject to the
 final year-end LIFO inventory valuation. There were no LIFO
 inventory liquidations or related impact on cost of sales in the
 six months ended June&amp;#xA0;30, 2017 or 2016.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:InventoryDisclosureTextBlock>
  <us-gaap:NatureOfOperations contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_BBA5AD50-556B-47C7-B87A-4CD58D24196E_1_0">&lt;div&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;&lt;b&gt;1.&lt;/b&gt;&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;&lt;b&gt;BUSINESS AND ORGANIZATION&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 Trex Company, Inc. (Company) is the world&amp;#x2019;s largest
 manufacturer of wood-alternative decking and railing products,
 which are marketed under the brand name Trex&lt;sup style="font-size:85%; vertical-align:top"&gt;&amp;#xAE;&lt;/sup&gt;. The Company
 manufactures and distributes high-performance, low-maintenance
 wood/plastic composite outdoor living products and related
 accessories. A majority of its products are manufactured in a
 proprietary process that combines reclaimed wood fibers and scrap
 polyethylene. The Company is incorporated in Delaware. The
 principal executive offices are located at 160 Exeter Drive,
 Winchester, Virginia 22603, and the telephone number at that
 address is (540)&amp;#xA0;542-6300. The Company operates in a single
 reportable segment.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:NatureOfOperations>
  <us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_18">-7125000</us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations>
  <us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_14">119000</us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations>
  <us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_DB08468F-1486-4D96-A569-79B458CF2B6A_1_0">&lt;div&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top" width="4%" align="left"&gt;&lt;b&gt;3.&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;&lt;b&gt;RECENTLY ADOPTED ACCOUNTING
 STANDARD&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 4pt"&gt;
 In March 2016, the Financial Accounting Standards Board (FASB)
 issued Accounting Standards Update (ASU) No.&amp;#xA0;2016-09,
 &amp;#x201C;&lt;i&gt;Compensation &amp;#x2013; Stock Compensation (Topic 718)&lt;/i&gt;:
 &lt;i&gt;Improvements to Employee Share-Based Payment
 Accounting&lt;/i&gt;.&amp;#x201D; The standard amends certain aspects of
 accounting for employee share-based payment transactions, including
 the accounting for income taxes related to those transactions and
 forfeitures. The standard requires recognizing excess tax benefits
 and deficiencies on share-based awards in the tax provision instead
 of in equity. Also, the standard requires these amounts to be
 classified as an operating activity, and shares withheld to satisfy
 employee taxes to be classified as a financing activity in the
 statement of cash flows, rather than as currently classified as
 financing&amp;#xA0;and operating activities, respectively. The standard
 was effective for annual reporting periods beginning after
 December&amp;#xA0;15, 2016 and interim periods within that reporting
 period, with early adoption permitted. The Company elected to early
 adopt the standard in fiscal year 2016. The impact of the early
 adoption resulted in the following:&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td width="5%"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="top" width="2%" align="left"&gt;&amp;#x2022;&lt;/td&gt;
 &lt;td valign="top" width="1%"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;The standard requires that excess tax
 benefits of the settlement or vesting of time-based restricted
 stock or time-based restricted stock units and performance-based
 restricted stock or performance-based restricted stock units be
 recorded within income tax expense. Prior to adoption this amount
 would have been recorded as an increase in additional paid-in
 capital. Additionally, the standard requires that excess tax
 benefits are now reported as an operating activity in the
 Company&amp;#x2019;s Consolidated Statements of Cash Flows, rather than
 as a financing activity as was previously reported. The Company
 applied this guidance prospectively as of January&amp;#xA0;1, 2016
 during the quarterly period ended December&amp;#xA0;31, 2016, and,
 accordingly, data previously reported for the three and six months
 ended June&amp;#xA0;30, 2016 have been adjusted, as follows:&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="68%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="10%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="10%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Three Months Ended June&amp;#xA0;30,
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;
 &lt;b&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;As&amp;#xA0;Reported&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;Adjusted&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="6" align="center"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center"&gt;(in thousands, except share&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 1pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center"&gt;and per share data)&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Provision for income taxes&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;12,878&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;12,432&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Net Income&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;23,279&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;23,725&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Basic net income per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.80&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.81&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted net income per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.79&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.80&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted weighted average common shares outstanding&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,423,845&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,477,870&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="68%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="9%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="9%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Six Months Ended June&amp;#xA0;30,
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;
 &lt;b&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;As&amp;#xA0;Reported&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;Adjusted&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="6" align="center"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center"&gt;(in thousands, except share&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 1pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center"&gt;and per share data)&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Provision for income taxes&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;25,919&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;25,170&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Net Income&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;46,681&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;47,430&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Basic net income per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.58&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.61&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted net income per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.57&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.60&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted weighted average common shares outstanding&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,642,287&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,694,081&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Cash flows provided by operating activities&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;15,632&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16,442&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Cash flows used in financing activities&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(18,241&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(19,051&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td width="5%"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="top" width="2%" align="left"&gt;&amp;#x2022;&lt;/td&gt;
 &lt;td valign="top" width="1%"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;The Company elected to change its
 policy on accounting for forfeitures and recognize forfeitures as
 they occur. The Company applied this guidance on a modified
 retrospective transition method. The Company determined that the
 cumulative effect of applying the guidance under the modified
 retrospective transition method was not material to its
 Consolidated Financial Statements.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td width="5%"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="top" width="2%" align="left"&gt;&amp;#x2022;&lt;/td&gt;
 &lt;td valign="top" width="1%"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;The standard requires the
 presentation of employee taxes as a financing activity in the
 Consolidated Statements of Cash Flows. This provision did not
 impact the Company&amp;#x2019;s Consolidated Financial Statements as the
 Company presented employee taxes as a financing activity in its
 Consolidated Statements of Cash Flows.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 The Company excluded the excess tax benefits from the assumed
 proceeds available to repurchase shares in the computation of
 diluted earnings per share for 2016, which did not materially
 increase the diluted weighted average common shares
 outstanding.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock>
  <us-gaap:NumberOfReportableSegments contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="Segment" decimals="INF" id="id_12197217_13DEEC37-32E6-45FA-8420-B9953FD018EF_1_0">1</us-gaap:NumberOfReportableSegments>
  <us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_25">-3082000</us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations>
  <us-gaap:NetIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_1">56732000</us-gaap:NetIncomeLoss>
  <us-gaap:OperatingIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_4">86694000</us-gaap:OperatingIncomeLoss>
  <us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_F875C7B3-60ED-4B8F-AFDE-871056870E81_1_0">&lt;div&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;&lt;b&gt;2.&lt;/b&gt;&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;&lt;b&gt;BASIS OF PRESENTATION&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The accompanying unaudited condensed consolidated financial
 statements have been prepared in accordance with accounting
 principles generally accepted in the United States for interim
 financial information and the instructions to Form 10-Q and Article
 10 of Regulation S-X. Accordingly, the accompanying condensed
 consolidated financial statements do not include all of the
 information and footnotes required by accounting principles
 generally accepted in the United States for complete financial
 statements. In the opinion of management, all adjustments
 (consisting of normal and recurring adjustments except as otherwise
 described herein) considered necessary for a fair presentation have
 been included in the accompanying condensed consolidated financial
 statements. Certain prior period amounts have been reclassified to
 conform to current period presentation. The consolidated results of
 operations for the six months ended June&amp;#xA0;30, 2017 are not
 necessarily indicative of the results that may be expected for the
 fiscal year ending December&amp;#xA0;31, 2017. These condensed
 consolidated financial statements should be read in conjunction
 with the audited consolidated financial statements as of
 December&amp;#xA0;31, 2016 and 2015 and for each of the three years in
 the period ended December&amp;#xA0;31, 2016 included in the Annual
 Report of Trex Company, Inc. on Form 10-K, as filed with the U.S.
 Securities and Exchange Commission.&lt;/p&gt;
 &lt;p style="margin-top:10pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company&amp;#x2019;s critical accounting policies are included in
 the Company&amp;#x2019;s Annual Report on Form 10-K for the year ended
 December&amp;#xA0;31, 2016.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock>
  <us-gaap:OtherNoncashIncomeExpense contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_6">405000</us-gaap:OtherNoncashIncomeExpense>
  <us-gaap:PaymentsForRestructuring contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_86999123-84F4-4948-B879-860F48AA2E51_1_1">272000</us-gaap:PaymentsForRestructuring>
  <us-gaap:PaymentsForRepurchaseOfCommonStock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_22">3271000</us-gaap:PaymentsForRepurchaseOfCommonStock>
  <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_16">7125000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
  <us-gaap:ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_24">189000</us-gaap:ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions>
  <us-gaap:ProceedsFromLinesOfCredit contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_20">163000000</us-gaap:ProceedsFromLinesOfCredit>
  <us-gaap:RepaymentsOfLinesOfCredit contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_21">163000000</us-gaap:RepaymentsOfLinesOfCredit>
  <us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_E42DF1F4-5927-4C3E-B8D8-513CA1D3DCF2_1_0">&lt;div&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 The computation of diluted earnings per share excludes the
 following potentially dilutive securities because the effect would
 be anti-dilutive:&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="92%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="72%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="2%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="2%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="2%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="2%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Three&amp;#xA0;Months&amp;#xA0;Ended&lt;br /&gt;
 June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Six&amp;#xA0;Months&amp;#xA0;Ended&lt;br /&gt;
 June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Stock appreciation rights&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16,340&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;12,255&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;&amp;#xA0;&amp;#xA0;9,262&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock>
  <us-gaap:RestructuringReserveAccrualAdjustment1 contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_86999123-84F4-4948-B879-860F48AA2E51_1_3">-23000</us-gaap:RestructuringReserveAccrualAdjustment1>
  <us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_246C83FA-AB3A-4C62-9763-E00D337CFA4A_1_0">&lt;div&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 The following table sets forth the computation of basic and diluted
 earnings per share (in thousands, except share and per share
 data):&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="60%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Three Months Ended&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Six Months Ended&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Numerator:&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Net income available to common shareholders&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;28,782&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;23,725&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;56,732&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;47,430&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Denominator:&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Basic weighted average shares outstanding&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,389,458&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,264,362&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,376,407&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,481,042&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Effect of dilutive securities:&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 5em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Stock appreciation rights and options&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;98,813&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;136,872&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;99,699&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;142,460&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 5em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Restricted stock&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;62,147&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;76,636&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;79,879&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;70,579&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted weighted average shares outstanding&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,550,418&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,477,870&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,555,985&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,694,081&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Basic earnings per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.98&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.81&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.93&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.61&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted earnings per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.97&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.80&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.92&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.60&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock>
  <us-gaap:ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_4628C04D-4AFF-48C0-A51C-49DCB0ADC736_1_0">&lt;div&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td width="5%"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="top" width="2%" align="left"&gt;&amp;#x2022;&lt;/td&gt;
 &lt;td valign="top" width="1%"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;The standard requires that excess tax
 benefits of the settlement or vesting of time-based restricted
 stock or time-based restricted stock units and performance-based
 restricted stock or performance-based restricted stock units be
 recorded within income tax expense. Prior to adoption this amount
 would have been recorded as an increase in additional paid-in
 capital. Additionally, the standard requires that excess tax
 benefits are now reported as an operating activity in the
 Company&amp;#x2019;s Consolidated Statements of Cash Flows, rather than
 as a financing activity as was previously reported. The Company
 applied this guidance prospectively as of January&amp;#xA0;1, 2016
 during the quarterly period ended December&amp;#xA0;31, 2016, and,
 accordingly, data previously reported for the three and six months
 ended June&amp;#xA0;30, 2016 have been adjusted, as follows:&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="68%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="10%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="10%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Three Months Ended June&amp;#xA0;30,
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;
 &lt;b&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;As&amp;#xA0;Reported&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;Adjusted&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="6" align="center"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center"&gt;(in thousands, except share&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 1pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center"&gt;and per share data)&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Provision for income taxes&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;12,878&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;12,432&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Net Income&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;23,279&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;23,725&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Basic net income per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.80&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.81&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted net income per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.79&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.80&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted weighted average common shares outstanding&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,423,845&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,477,870&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="68%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="9%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="9%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Six Months Ended June&amp;#xA0;30,
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;
 &lt;b&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;As&amp;#xA0;Reported&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;Adjusted&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="6" align="center"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center"&gt;(in thousands, except share&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 1pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center"&gt;and per share data)&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Provision for income taxes&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;25,919&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;25,170&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Net Income&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;46,681&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;47,430&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Basic net income per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.58&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.61&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted net income per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.57&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.60&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted weighted average common shares outstanding&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,642,287&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,694,081&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Cash flows provided by operating activities&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;15,632&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16,442&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Cash flows used in financing activities&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(18,241&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(19,051&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock>
  <us-gaap:ScheduleOfInventoryCurrentTableTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_CF87FBBF-A1AE-4B77-A4B7-D4AF4691571A_1_0">&lt;div&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 Inventories, at LIFO (last-in, first-out) value, consist of the
 following (in thousands):&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="76%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;June&amp;#xA0;30,&lt;br /&gt;
 2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;December&amp;#xA0;31,&lt;br /&gt;
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Finished goods&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,294&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,686&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Raw materials&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;19,018&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;20,231&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Total FIFO (first-in, first-out) inventories&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;48,312&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;49,917&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Reserve to adjust inventories to LIFO value&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(21,371&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(21,371&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Total LIFO inventories&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;26,941&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;28,546&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:ScheduleOfInventoryCurrentTableTextBlock>
  <us-gaap:SalesRevenueNet contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_0">302747000</us-gaap:SalesRevenueNet>
  <us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_B4F91D2D-04DE-4321-B49D-1660A71321D1_1_0">&lt;div&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The following table summarizes the Company&amp;#x2019;s stock-based
 compensation expense (in thousands):&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="92%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="73%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="3%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="3%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="3%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="3%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="6" align="center" style="border-bottom:1.00pt solid #000000"&gt;
 &lt;b&gt;Three&amp;#xA0;Months&amp;#xA0;Ended&lt;br /&gt;
 June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="6" align="center" style="border-bottom:1.00pt solid #000000"&gt;
 &lt;b&gt;Six&amp;#xA0;Months&amp;#xA0;Ended&lt;br /&gt;
 June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Stock appreciation rights&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;25&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;75&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;192&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;184&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Time-based restricted stock&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;403&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;863&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,139&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,479&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Performance-based restricted stock&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;468&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;720&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,507&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,230&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Employee stock purchase plan&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;11&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;38&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;52&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Total stock-based compensation&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;912&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,669&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,876&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,945&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock>
  <us-gaap:ScheduleOfRestructuringReserveByTypeOfCostTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_5B31529B-420D-49B4-81DE-7666724D167A_1_0">&lt;div&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 The following table provides information about the Company&amp;#x2019;s
 liability related to the lease (in thousands):&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="82%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="4%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="4%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Beginning balance, January&amp;#xA0;1&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,475&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,106&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Net rental payments&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(272&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(344&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Accretion of discount&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;54&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;78&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Decrease in net estimated contract termination costs&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(23&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Ending balance, June&amp;#xA0;30&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,234&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,840&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:ScheduleOfRestructuringReserveByTypeOfCostTextBlock>
  <us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_DC9C391E-1A7B-42CD-8E10-4C26F88BDEC9_1_0">&lt;div&gt;
 &lt;p style="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The fair value of each SAR is estimated on the date of grant using
 a Black-Scholes option-pricing formula. There were no SARs issued
 during the six months ended June&amp;#xA0;30, 2016. For SARs issued in
 the six months ended June&amp;#xA0;30, 2017 the data and assumptions
 shown in the following table were used:&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="68%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="80%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="16%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;
 &lt;b&gt;Six&amp;#xA0;Months&amp;#xA0;Ended&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;June&amp;#xA0;30, 2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Weighted-average fair value of grants&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;27.81&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Dividend yield&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;%&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Average risk-free interest rate&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2.01&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;%&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Expected term (years)&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;5&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Expected volatility&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;42.4&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;%&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock>
  <us-gaap:ScheduleOfProductWarrantyLiabilityTableTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_2B825C1B-0E27-459C-97ED-0F4E00A5E130_1_0">&lt;div&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 The following is a reconciliation of the Company&amp;#x2019;s warranty
 reserve that represents amounts accrued for surface flaking claims
 (in thousands):&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="80%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="4%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="4%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Beginning balance, January&amp;#xA0;1&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;33,847&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,673&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Changes in estimates related to pre-existing warranties&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Settlements made during the period&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(2,683&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;(2,611&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;)&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Ending balance, June&amp;#xA0;30&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;31,164&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;27,062&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:ScheduleOfProductWarrantyLiabilityTableTextBlock>
  <us-gaap:ShareBasedCompensation contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_1_4">2876000</us-gaap:ShareBasedCompensation>
  <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_3">50490000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:ShareBasedCompensationOptionAndIncentivePlansPolicy contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_15DBC247-3009-46C3-9538-1A5FE8267979_1_0">&lt;div&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company has one stock-based compensation plan, the 2014 Stock
 Incentive Plan (Plan), approved by the Company&amp;#x2019;s stockholders
 in April 2014. The Plan amended and restated in its entirety the
 Trex Company, Inc. 2005 Stock Incentive Plan. The Plan is
 administered by the Compensation Committee of the Company&amp;#x2019;s
 Board of Directors. Stock-based compensation is granted to
 officers, directors and certain key employees in accordance with
 the provisions of the Plan. The Plan provides for grants of stock
 options, restricted stock, restricted stock units, stock
 appreciation rights (SARs), and unrestricted stock. As of
 June&amp;#xA0;30, 2017, the total aggregate number of shares of the
 Company&amp;#x2019;s common stock that may be issued under the Plan is
 6,420,000.&lt;/p&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 In 2014, the Company began granting performance-based restricted
 stock in addition to the time-based restricted stock it previously
 granted. The performance-based restricted shares have a three-year
 vesting period, vesting one-third each year based on target
 earnings before interest, taxes, depreciation and amortization for
 1 year, cumulative 2 years and cumulative 3 years, respectively.
 The number of shares that vest, with respect to each vesting, will
 be between 0% and 200% of the target number of shares.&lt;/p&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 In 2015, the Company began issuing restricted stock units in lieu
 of restricted stock. Accordingly, time-based restricted stock units
 replaced time-based restricted stock and performance-based
 restricted stock units replaced performance-based restricted stock.
 The vesting terms of the restricted stock units are identical to
 the vesting provisions of the restricted stock.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:ShareBasedCompensationOptionAndIncentivePlansPolicy>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_2973A652-9DEE-4075-B86D-D82E0B0815D2_1_0">&lt;div&gt;
 &lt;p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The following table summarizes the Company&amp;#x2019;s stock-based
 compensation grants for the six months ended June&amp;#xA0;30,
 2017:&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="61%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="14%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="14%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;
 &lt;b&gt;Stock&amp;#xA0;Awards&amp;#xA0;Granted&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;&lt;font style="white-space:nowrap"&gt;Weighted-Average&lt;/font&gt;&lt;br /&gt;
 Grant Price&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;Per Share&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Time-based restricted stock units&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;19,516&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;70.05&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Performance-based restricted stock units (a)&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;40,216&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;56.19&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Stock appreciation rights&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16,340&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;70.09&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="line-height:12.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1px solid #000000;width:10%"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;(a)&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;Includes 22,895 of target
 performance-based restricted stock unit awards granted during the
 six months ended June&amp;#xA0;30, 2017, and adjustments of 1,071,
 5,396 and 10,854 grants due to the actual performance level
 achieved for restricted stock and restricted stock units awarded in
 2014, 2015, and 2016, respectively.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock>
  <us-gaap:StockholdersEquityNoteDisclosureTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_C387FFCB-782F-4DBD-BD38-F93FFD3519D0_1_0">&lt;div&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top" width="4%" align="left"&gt;&lt;b&gt;10.&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;&lt;b&gt;STOCKHOLDERS&amp;#x2019;
 EQUITY&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 &lt;i&gt;Earnings Per Share&lt;/i&gt;&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 The following table sets forth the computation of basic and diluted
 earnings per share (in thousands, except share and per share
 data):&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="60%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="5%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Three Months Ended&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Six Months Ended&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Numerator:&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Net income available to common shareholders&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;28,782&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;23,725&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;56,732&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;47,430&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Denominator:&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Basic weighted average shares outstanding&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,389,458&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,264,362&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,376,407&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,481,042&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Effect of dilutive securities:&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 5em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Stock appreciation rights and options&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;98,813&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;136,872&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;99,699&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;142,460&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 5em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Restricted stock&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;62,147&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;76,636&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;79,879&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;70,579&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted weighted average shares outstanding&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,550,418&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,477,870&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,555,985&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;29,694,081&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Basic earnings per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.98&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.81&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.93&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.61&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Diluted earnings per share&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.97&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;0.80&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.92&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1.60&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 Diluted earnings per share is computed using the weighted average
 number of shares determined for the basic earnings per share
 computation plus the dilutive effect of common stock equivalents
 using the treasury stock method. The computation of diluted
 earnings per share excludes the following potentially dilutive
 securities because the effect would be anti-dilutive:&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="92%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="72%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="2%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="2%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="2%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="2%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Three&amp;#xA0;Months&amp;#xA0;Ended&lt;br /&gt;
 June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"&gt;&lt;b&gt;Six&amp;#xA0;Months&amp;#xA0;Ended&lt;br /&gt;
 June&amp;#xA0;30,&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Stock appreciation rights&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16,340&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;12,255&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;&amp;#xA0;&amp;#xA0;9,262&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 &lt;i&gt;Stock Repurchase Programs&lt;/i&gt;&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 On October&amp;#xA0;22, 2015, the Board of Directors adopted a stock
 repurchase program of up to 3,150,000 shares of the Company&amp;#x2019;s
 outstanding common stock (October 2015 Stock Repurchase Program).
 This authorization terminated on December&amp;#xA0;31, 2016. The
 Company repurchased 1,578,952 shares for $53.3 million under the
 October 2015 Stock Repurchase Program.&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt"&gt;
 On February&amp;#xA0;16, 2017, the Board of Directors authorized a
 common stock repurchase program of up to 2,960,000 shares of the
 Company&amp;#x2019;s outstanding common stock (February 2017 Stock
 Repurchase Program). As of the date of this report, the Company has
 made no repurchases under the February 2017 Stock Repurchase
 Program.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:StockholdersEquityNoteDisclosureTextBlock>
  <us-gaap:SubsequentEventsTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_EFB38E5A-CFE6-4A32-A236-09CF84C776CC_1_0">&lt;div&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0"&gt;
 &lt;tr style="PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top" width="4%" align="left"&gt;&lt;b&gt;15.&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="top" align="left"&gt;&lt;b&gt;SUBSEQUENT EVENT&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 On July&amp;#xA0;31, 2017, the Company, through its
 newly-formed,wholly-owned subsidiary, Trex Commercial Products,
 Inc., entered into a definitive agreement with Staging Concepts
 Acquisition, LLC (SC) and on that date acquired certain assets and
 liabilities of SC for $71.5 million in cash. The purchase price
 will be subject to adjustment pending final determination of
 working capital at closing. The Company used cash on hand and
 funding from its existing revolving credit facility to acquire the
 business. The acquired business designs, engineers and markets
 modular and architectural railing systems and solutions for the
 commercial, some consumer and multifamily markets, and provides
 staging, acoustical and seating systems for commercial markets,
 including sports stadiums and performing arts venues. As a result
 of the purchase, the Company will gain access to growing commercial
 markets, expand its custom design and engineering capabilities, and
 add the contract architect and specifier communities as new
 channels for Trex products. The Company&amp;#x2019;s 2017 third quarter
 consolidated results of operations will include the operating
 results of the acquired business, following the date of
 acquisition. The Company&amp;#x2019;s consolidated balance sheet at
 September&amp;#xA0;30, 2017 will include the acquired assets and any
 liabilities assumed.&lt;/p&gt;
 &lt;/div&gt;</us-gaap:SubsequentEventsTextBlock>
  <dei:TradingSymbol contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_010F7102-0600-46DD-8516-82C21DBF5C26_1_0">TREX</dei:TradingSymbol>
  <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="shares" decimals="0" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_12">29555985</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
  <us-gaap:WeightedAverageNumberOfSharesOutstandingBasic contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="shares" decimals="0" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_3_10">29376407</us-gaap:WeightedAverageNumberOfSharesOutstandingBasic>
  <trex:NumberOfStockBasedCompensationPlan contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" unitRef="Plan" decimals="INF" id="id_12197217_AB3F7379-8475-4EDB-BBAA-40B389266C67_2_1">1</trex:NumberOfStockBasedCompensationPlan>
  <trex:SeasonalityDisclosureTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_E8B6505E-D60F-4CB0-9CF2-249198EF4200_1_0">&lt;div&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;&lt;b&gt;13.&lt;/b&gt;&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;&lt;b&gt;SEASONALITY&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 The Company&amp;#x2019;s operating results have historically varied from
 quarter to quarter. Seasonal, erratic or prolonged adverse weather
 conditions in certain geographic regions during the first and
 fourth quarters reduce the level of home improvement and
 construction activity and can shift demand for Trex products to a
 later period. As part of its normal business practice and
 consistent with industry practice, the Company has historically
 offered incentive programs to its distributors and dealers to build
 inventory levels before the start of the prime deck-building season
 in order to ensure adequate availability of the Company&amp;#x2019;s
 product to meet anticipated seasonal consumer demand. The seasonal
 effects experienced during the first and fourth quarters are often
 offset by the positive effect of the incentive programs.&lt;/p&gt;
 &lt;/div&gt;</trex:SeasonalityDisclosureTextBlock>
  <trex:ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_732C05A0-46CF-452E-9451-F73869123B09_1_0">&lt;div&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt"&gt;
 Accrued expenses and other liabilities consist of the following (in
 thousands):&lt;/p&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0"&gt;
 &lt;tr&gt;
 &lt;td width="76%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;June&amp;#xA0;30,&lt;br /&gt;
 2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"&gt;&lt;b&gt;December&amp;#xA0;31,&lt;br /&gt;
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Sales and marketing&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;18,364&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;16,707&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Compensation and benefits&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;7,163&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;13,298&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Income taxes&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;5,882&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Manufacturing costs&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,687&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;1,799&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Rent obligations&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;700&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;632&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Other&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,475&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,257&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF"&gt;
 &lt;td valign="top"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em"&gt;
 Total accrued expenses and other liabilities&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;36,271&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;34,693&lt;/td&gt;
 &lt;td valign="bottom" nowrap="nowrap"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="FONT-SIZE: 1px"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</trex:ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock>
  <trex:PrepaidAndOtherCurrentAssetsDisclosureTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_E8EBD353-CAFC-41D0-A104-E8B715F104E0_1_0">&lt;div&gt;
 &lt;table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
 &lt;tr style="page-break-inside:avoid"&gt;
 &lt;td width="4%" valign="top" align="left"&gt;&lt;b&gt;6.&lt;/b&gt;&lt;/td&gt;
 &lt;td align="left" valign="top"&gt;&lt;b&gt;PREPAID EXPENSES AND OTHER
 ASSETS&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 Prepaid expenses and other assets consist of the following (in
 thousands):&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="77%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;June&amp;#xA0;30,&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;December&amp;#xA0;31,&lt;br /&gt;
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Prepaid expenses&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,507&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;6,209&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Income tax receivable&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;4,024&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Other&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;168&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;167&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Total prepaid expenses and other assets&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,675&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;10,400&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</trex:PrepaidAndOtherCurrentAssetsDisclosureTextBlock>
  <trex:PrepaidExpenseAndOtherAssetsCurrentTableTextBlock contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0" id="id_12197217_49FFA89E-39F8-4737-AAB4-B9011B8425E5_1_0">&lt;div&gt;
 &lt;p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;
 Prepaid expenses and other assets consist of the following (in
 thousands):&lt;/p&gt;
 &lt;p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center"&gt;
 &lt;tr&gt;
 &lt;td width="77%"&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td valign="bottom" width="6%"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt"&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;June&amp;#xA0;30,&lt;/b&gt;&lt;br /&gt;
 &lt;b&gt;2017&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"&gt;&lt;b&gt;December&amp;#xA0;31,&lt;br /&gt;
 2016&lt;/b&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Prepaid expenses&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,507&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;6,209&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Income tax receivable&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom" align="right"&gt;&amp;#x2014;&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;4,024&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Other&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;168&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;167&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt"&gt;
 &lt;td valign="top"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman"&gt;
 Total prepaid expenses and other assets&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;2,675&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;$&lt;/td&gt;
 &lt;td valign="bottom" align="right"&gt;10,400&lt;/td&gt;
 &lt;td nowrap="nowrap" valign="bottom"&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="font-size:1px;"&gt;
 &lt;td valign="bottom"&gt;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;&amp;#xA0;&amp;#xA0;&lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td valign="bottom"&gt;
 &lt;p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000"&gt;
 &amp;#xA0;&lt;/p&gt;
 &lt;/td&gt;
 &lt;td&gt;&amp;#xA0;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
 &lt;/div&gt;</trex:PrepaidExpenseAndOtherAssetsCurrentTableTextBlock>
  <us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433098x2448925" unitRef="shares" decimals="0" id="id_12197217_CC4C363F-16FE-4C9E-BA6E-43FC9BC12F3D_1003_0">12255</us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount>
  <us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2447533" unitRef="shares" decimals="INF" id="id_12197217_59A712E6-2032-427E-9FF7-1A70FA8A8FA9_1003_6">79879</us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_1003_0">192000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1 contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925" id="id_12197217_6429ACB3-2B13-4EE5-A110-0A57F58878FE_1_3">P5Y0M0D</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925" unitRef="pure" decimals="2" id="id_12197217_6429ACB3-2B13-4EE5-A110-0A57F58878FE_1_1">0.00</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925" unitRef="pure" decimals="4" id="id_12197217_6429ACB3-2B13-4EE5-A110-0A57F58878FE_1_2">0.0201</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925" unitRef="shares" decimals="INF" id="id_12197217_0DB5648B-889B-4C73-9D0F-3F2FA0B4559D_1001_2">16340</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925" unitRef="pure" decimals="3" id="id_12197217_6429ACB3-2B13-4EE5-A110-0A57F58878FE_1_4">0.424</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925" id="id_12197217_186FA864-226F-45D7-877C-73DC5D742181_1001_0">Black-Scholes option-pricing formula</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_6429ACB3-2B13-4EE5-A110-0A57F58878FE_1_0">27.81</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue>
  <trex:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A2956E4F-6783-411E-A82C-4F53F7AAE6EE_1001_2">70.09</trex:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2666068" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_2003_3">38000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2683753" unitRef="shares" decimals="INF" id="id_12197217_278B9500-74BD-4EFF-90F2-9F4C068274F4_2001_0">22895</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2694538" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_3003_1">1139000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2694539" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_4003_2">1507000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1 contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955" id="id_12197217_068575FE-CE43-4A7C-A86D-278C57CECA5C_1001_0">P3Y0M0D</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1>
  <trex:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2447194x2442860" unitRef="pure" decimals="INF" id="id_12197217_068575FE-CE43-4A7C-A86D-278C57CECA5C_1003_1">2.00</trex:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares>
  <trex:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2447194x2443301" unitRef="pure" decimals="INF" id="id_12197217_068575FE-CE43-4A7C-A86D-278C57CECA5C_1002_1">0.00</trex:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2450814x2448820" unitRef="pure" decimals="4" id="id_12197217_068575FE-CE43-4A7C-A86D-278C57CECA5C_2001_4">0.3333</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2450814x2449085" unitRef="pure" decimals="4" id="id_12197217_068575FE-CE43-4A7C-A86D-278C57CECA5C_3001_3">0.3333</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2450814x2449220" unitRef="pure" decimals="4" id="id_12197217_068575FE-CE43-4A7C-A86D-278C57CECA5C_4001_2">0.3333</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2705009" unitRef="shares" decimals="INF" id="id_12197217_0DB5648B-889B-4C73-9D0F-3F2FA0B4559D_2001_0">19516</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod>
  <trex:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2705009" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A2956E4F-6783-411E-A82C-4F53F7AAE6EE_2001_0">70.05</trex:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2705927" unitRef="shares" decimals="INF" id="id_12197217_0DB5648B-889B-4C73-9D0F-3F2FA0B4559D_3001_1">40216</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod>
  <trex:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2705927" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A2956E4F-6783-411E-A82C-4F53F7AAE6EE_3001_1">56.19</trex:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice>
  <us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2746841" unitRef="shares" decimals="INF" id="id_12197217_59A712E6-2032-427E-9FF7-1A70FA8A8FA9_2003_5">99699</us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements>
  <us-gaap:LineOfCreditFacilityExpirationDate1 contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2435465x2734865" id="id_12197217_5FD0AC72-B607-428F-A747-DD96DA3B6EB3_1003_1">2021-01-12</us-gaap:LineOfCreditFacilityExpirationDate1>
  <us-gaap:OpenTaxYear contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2440602x2441593_2449668x2436943" id="id_12197217_3742502E-0FF0-4E5D-AB50-34AA62AED1CC_1001_0">2013</us-gaap:OpenTaxYear>
  <us-gaap:OpenTaxYear contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2440602x2441593_2449668x2441819" id="id_12197217_3742502E-0FF0-4E5D-AB50-34AA62AED1CC_1002_0">2016</us-gaap:OpenTaxYear>
  <trex:WarrantyPeriod contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2447194x2442860" id="id_12197217_EA9C2238-299F-42A4-92A5-A3F9F0D166F3_1001_1">P25Y0M0D</trex:WarrantyPeriod>
  <trex:WarrantyPeriod contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2447194x2443301" id="id_12197217_EA9C2238-299F-42A4-92A5-A3F9F0D166F3_2001_0">P10Y0M0D</trex:WarrantyPeriod>
  <us-gaap:TreasuryStockSharesAcquired contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2449097x2699110" unitRef="shares" decimals="INF" id="id_12197217_3B73A3F1-1620-4616-9805-95F3DABB1804_1002_2">1578952</us-gaap:TreasuryStockSharesAcquired>
  <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2449097x2699110" unitRef="iso4217_USD" decimals="-5" id="id_12197217_3B73A3F1-1620-4616-9805-95F3DABB1804_1002_3">53300000</us-gaap:TreasuryStockValueAcquiredCostMethod>
  <trex:StockRepurchaseProgramTerminationDate contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2449097x2699110" id="id_12197217_3B73A3F1-1620-4616-9805-95F3DABB1804_1002_1">2016-12-31</trex:StockRepurchaseProgramTerminationDate>
  <us-gaap:TreasuryStockSharesAcquired contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2449097x2699116" unitRef="shares" decimals="INF" id="id_12197217_24A160DF-1BC5-4A76-BD49-445D0CE57002_1002_1">0</us-gaap:TreasuryStockSharesAcquired>
  <us-gaap:StandardProductWarrantyAccrualPayments contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2450417x2706954" unitRef="iso4217_USD" decimals="-3" id="id_12197217_871195FA-A828-428B-A304-0ECF3C24D8B2_1001_2">2683000</us-gaap:StandardProductWarrantyAccrualPayments>
  <us-gaap:StandardProductWarrantyAccrualPreexistingIncreaseDecrease contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2450417x2706954" unitRef="iso4217_USD" decimals="-3" id="id_12197217_871195FA-A828-428B-A304-0ECF3C24D8B2_1001_1">0</us-gaap:StandardProductWarrantyAccrualPreexistingIncreaseDecrease>
  <trex:PercentSensitivityChangeInExpectedSurfaceFlakingClaims contextRef="eol_PE9111----1710-Q0008_STD_181_20170630_0_2450417x2706954" unitRef="pure" decimals="2" id="id_12197217_C6D878D0-C031-4C37-B894-90162422BBF4_1001_0">0.10</trex:PercentSensitivityChangeInExpectedSurfaceFlakingClaims>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_4_4">2945000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AccretionExpense contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_86999123-84F4-4948-B879-860F48AA2E51_2_2">78000</us-gaap:AccretionExpense>
  <us-gaap:AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-5" id="id_12197217_F778B91E-ED75-4CFB-A7C0-B20F64DFE947_2_0">800000</us-gaap:AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet>
  <us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_26">-3442000</us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease>
  <us-gaap:ComprehensiveIncomeNetOfTax contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_13">47430000</us-gaap:ComprehensiveIncomeNetOfTax>
  <us-gaap:CostOfGoodsAndServicesSold contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_1">159089000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:DepreciationDepletionAndAmortization contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_3">7417000</us-gaap:DepreciationDepletionAndAmortization>
  <us-gaap:EffectiveIncomeTaxRateContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="pure" decimals="3" id="id_12197217_51517137-B2CF-4656-B82A-7CDD59F94078_2_0">0.347</us-gaap:EffectiveIncomeTaxRateContinuingOperations>
  <us-gaap:EarningsPerShareDiluted contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_11">1.60</us-gaap:EarningsPerShareDiluted>
  <us-gaap:EarningsPerShareBasic contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_9">1.61</us-gaap:EarningsPerShareBasic>
  <us-gaap:EffectOfLIFOInventoryLiquidationOnIncome contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="INF" id="id_12197217_61E3F17B-DA1A-408D-AD0E-22FC6188FFE2_2_0">0</us-gaap:EffectOfLIFOInventoryLiquidationOnIncome>
  <us-gaap:GrossProfit contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_2">119037000</us-gaap:GrossProfit>
  <us-gaap:GainLossOnSaleOfPropertyPlantEquipment contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_5">204000</us-gaap:GainLossOnSaleOfPropertyPlantEquipment>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_6">72600000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeTaxesPaidNet contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_31">13982000</us-gaap:IncomeTaxesPaidNet>
  <us-gaap:IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_13">11188000</us-gaap:IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable>
  <us-gaap:IncreaseDecreaseInAccountsReceivable contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_8">48268000</us-gaap:IncreaseDecreaseInAccountsReceivable>
  <us-gaap:IncreaseDecreaseInInventories contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_9">-4348000</us-gaap:IncreaseDecreaseInInventories>
  <us-gaap:IncomeTaxExpenseBenefit contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_7">25170000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncreaseDecreaseInAccountsPayable contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_11">-161000</us-gaap:IncreaseDecreaseInAccountsPayable>
  <us-gaap:IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_12">-7901000</us-gaap:IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities>
  <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_10">67000</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
  <us-gaap:InterestExpense contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_5">1030000</us-gaap:InterestExpense>
  <us-gaap:InterestPaidNet contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_30">696000</us-gaap:InterestPaidNet>
  <us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_18">-833000</us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations>
  <us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_14">16442000</us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations>
  <us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_25">-19051000</us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations>
  <us-gaap:NetIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_1">47430000</us-gaap:NetIncomeLoss>
  <us-gaap:OperatingIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_4">73630000</us-gaap:OperatingIncomeLoss>
  <us-gaap:OtherNoncashIncomeExpense contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_6">285000</us-gaap:OtherNoncashIncomeExpense>
  <us-gaap:PaymentsOfFinancingCosts contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_23">485000</us-gaap:PaymentsOfFinancingCosts>
  <us-gaap:PaymentsForRestructuring contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_86999123-84F4-4948-B879-860F48AA2E51_2_1">344000</us-gaap:PaymentsForRestructuring>
  <us-gaap:PaymentsForRepurchaseOfCommonStock contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_22">54703000</us-gaap:PaymentsForRepurchaseOfCommonStock>
  <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_16">5182000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
  <us-gaap:ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_24">137000</us-gaap:ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions>
  <us-gaap:ProceedsFromSaleOfPropertyPlantAndEquipment contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_17">4349000</us-gaap:ProceedsFromSaleOfPropertyPlantAndEquipment>
  <us-gaap:ProceedsFromLinesOfCredit contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_20">194000000</us-gaap:ProceedsFromLinesOfCredit>
  <us-gaap:RepaymentsOfLinesOfCredit contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_21">158000000</us-gaap:RepaymentsOfLinesOfCredit>
  <us-gaap:SalesRevenueNet contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_0">278126000</us-gaap:SalesRevenueNet>
  <us-gaap:ShareBasedCompensation contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_B58C5E75-23E9-45A8-A392-F27135B26D77_2_4">2945000</us-gaap:ShareBasedCompensation>
  <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_3">45407000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="shares" decimals="0" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_12">29694081</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
  <us-gaap:WeightedAverageNumberOfSharesOutstandingBasic contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0" unitRef="shares" decimals="0" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_4_10">29481042</us-gaap:WeightedAverageNumberOfSharesOutstandingBasic>
  <us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433098x2448925" unitRef="shares" decimals="0" id="id_12197217_CC4C363F-16FE-4C9E-BA6E-43FC9BC12F3D_1004_0">9262</us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount>
  <us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2447533" unitRef="shares" decimals="INF" id="id_12197217_59A712E6-2032-427E-9FF7-1A70FA8A8FA9_1004_6">70579</us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2448925" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_1004_0">184000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2448925" unitRef="shares" decimals="INF" id="id_12197217_186FA864-226F-45D7-877C-73DC5D742181_1002_1">0</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2666068" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_2004_3">52000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2694538" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_3004_1">1479000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2694539" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_4004_2">1230000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2746841" unitRef="shares" decimals="INF" id="id_12197217_59A712E6-2032-427E-9FF7-1A70FA8A8FA9_2004_5">142460</us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements>
  <us-gaap:EarningsPerShareDiluted contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2449305x2448174" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_C553A655-CE6E-43D6-8E2C-482A741415CF_1_3">1.57</us-gaap:EarningsPerShareDiluted>
  <us-gaap:EarningsPerShareBasic contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2449305x2448174" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_C553A655-CE6E-43D6-8E2C-482A741415CF_1_2">1.58</us-gaap:EarningsPerShareBasic>
  <us-gaap:IncomeTaxExpenseBenefit contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2449305x2448174" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C553A655-CE6E-43D6-8E2C-482A741415CF_1_0">25919000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2449305x2448174" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C553A655-CE6E-43D6-8E2C-482A741415CF_1_5">15632000</us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations>
  <us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2449305x2448174" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C553A655-CE6E-43D6-8E2C-482A741415CF_1_6">-18241000</us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations>
  <us-gaap:NetIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2449305x2448174" unitRef="iso4217_USD" decimals="-3" id="id_12197217_C553A655-CE6E-43D6-8E2C-482A741415CF_1_1">46681000</us-gaap:NetIncomeLoss>
  <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2449305x2448174" unitRef="shares" decimals="0" id="id_12197217_C553A655-CE6E-43D6-8E2C-482A741415CF_1_4">29642287</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
  <us-gaap:StandardProductWarrantyAccrualPayments contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2450417x2706954" unitRef="iso4217_USD" decimals="-3" id="id_12197217_871195FA-A828-428B-A304-0ECF3C24D8B2_1002_2">2611000</us-gaap:StandardProductWarrantyAccrualPayments>
  <us-gaap:StandardProductWarrantyAccrualPreexistingIncreaseDecrease contextRef="eol_PE9111----1710-Q0008_STD_182_20160630_0_2450417x2706954" unitRef="iso4217_USD" decimals="-3" id="id_12197217_871195FA-A828-428B-A304-0ECF3C24D8B2_1002_1">0</us-gaap:StandardProductWarrantyAccrualPreexistingIncreaseDecrease>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod contextRef="eol_PE9111----1710-Q0008_STD_365_20141231_0_2433414x2678567" unitRef="shares" decimals="INF" id="id_12197217_278B9500-74BD-4EFF-90F2-9F4C068274F4_1002_1">1071</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod contextRef="eol_PE9111----1710-Q0008_STD_365_20151231_0_2433414x2678567" unitRef="shares" decimals="INF" id="id_12197217_278B9500-74BD-4EFF-90F2-9F4C068274F4_1003_1">5396</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod contextRef="eol_PE9111----1710-Q0008_STD_366_20161231_0_2433414x2678567" unitRef="shares" decimals="INF" id="id_12197217_278B9500-74BD-4EFF-90F2-9F4C068274F4_1004_1">10854</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_2_4">1669000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:ComprehensiveIncomeNetOfTax contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_13">23725000</us-gaap:ComprehensiveIncomeNetOfTax>
  <us-gaap:CostOfGoodsAndServicesSold contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_1">85040000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:EarningsPerShareDiluted contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_11">0.80</us-gaap:EarningsPerShareDiluted>
  <us-gaap:EarningsPerShareBasic contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_9">0.81</us-gaap:EarningsPerShareBasic>
  <us-gaap:GrossProfit contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_2">61410000</us-gaap:GrossProfit>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_6">36157000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeTaxExpenseBenefit contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_7">12432000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:InterestExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_5">458000</us-gaap:InterestExpense>
  <us-gaap:NetIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_8">23725000</us-gaap:NetIncomeLoss>
  <us-gaap:OperatingIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_4">36615000</us-gaap:OperatingIncomeLoss>
  <us-gaap:SalesRevenueNet contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_0">146450000</us-gaap:SalesRevenueNet>
  <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_3">24795000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="shares" decimals="0" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_12">29477870</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
  <us-gaap:WeightedAverageNumberOfSharesOutstandingBasic contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0" unitRef="shares" decimals="0" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_2_10">29264362</us-gaap:WeightedAverageNumberOfSharesOutstandingBasic>
  <us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2447533" unitRef="shares" decimals="INF" id="id_12197217_59A712E6-2032-427E-9FF7-1A70FA8A8FA9_1002_6">76636</us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2448925" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_1002_0">75000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2666068" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_2002_3">11000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2694538" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_3002_1">863000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2694539" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_4002_2">720000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2746841" unitRef="shares" decimals="INF" id="id_12197217_59A712E6-2032-427E-9FF7-1A70FA8A8FA9_2002_5">136872</us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements>
  <us-gaap:EarningsPerShareDiluted contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2449305x2448174" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_279745C6-F695-428E-82E3-E1FEAAFC00F8_1_3">0.79</us-gaap:EarningsPerShareDiluted>
  <us-gaap:EarningsPerShareBasic contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2449305x2448174" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_279745C6-F695-428E-82E3-E1FEAAFC00F8_1_2">0.80</us-gaap:EarningsPerShareBasic>
  <us-gaap:IncomeTaxExpenseBenefit contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2449305x2448174" unitRef="iso4217_USD" decimals="-3" id="id_12197217_279745C6-F695-428E-82E3-E1FEAAFC00F8_1_0">12878000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:NetIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2449305x2448174" unitRef="iso4217_USD" decimals="-3" id="id_12197217_279745C6-F695-428E-82E3-E1FEAAFC00F8_1_1">23279000</us-gaap:NetIncomeLoss>
  <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_91_20160630_0_2449305x2448174" unitRef="shares" decimals="0" id="id_12197217_279745C6-F695-428E-82E3-E1FEAAFC00F8_1_4">29423845</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_1_4">912000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:ComprehensiveIncomeNetOfTax contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_13">28782000</us-gaap:ComprehensiveIncomeNetOfTax>
  <us-gaap:CostOfGoodsAndServicesSold contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_1">85927000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:EarningsPerShareDiluted contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_11">0.97</us-gaap:EarningsPerShareDiluted>
  <us-gaap:EarningsPerShareBasic contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD_per_shares" decimals="2" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_9">0.98</us-gaap:EarningsPerShareBasic>
  <us-gaap:GrossProfit contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_2">72014000</us-gaap:GrossProfit>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_6">44542000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeTaxExpenseBenefit contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_7">15760000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:InterestExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_5">251000</us-gaap:InterestExpense>
  <us-gaap:NetIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_8">28782000</us-gaap:NetIncomeLoss>
  <us-gaap:OperatingIncomeLoss contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_4">44793000</us-gaap:OperatingIncomeLoss>
  <us-gaap:SalesRevenueNet contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_0">157941000</us-gaap:SalesRevenueNet>
  <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="iso4217_USD" decimals="-3" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_3">27221000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="shares" decimals="0" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_12">29550418</us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding>
  <us-gaap:WeightedAverageNumberOfSharesOutstandingBasic contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0" unitRef="shares" decimals="0" id="id_12197217_A8FB65AB-CAF0-4272-B4B4-7E901B8E60F3_1_10">29389458</us-gaap:WeightedAverageNumberOfSharesOutstandingBasic>
  <us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433098x2448925" unitRef="shares" decimals="0" id="id_12197217_CC4C363F-16FE-4C9E-BA6E-43FC9BC12F3D_1001_0">16340</us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount>
  <us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2447533" unitRef="shares" decimals="INF" id="id_12197217_59A712E6-2032-427E-9FF7-1A70FA8A8FA9_1001_6">62147</us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2448925" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_1001_0">25000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2666068" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_2001_3">16000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2694538" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_3001_1">403000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2694539" unitRef="iso4217_USD" decimals="-3" id="id_12197217_4A53A84D-14D8-46F2-924E-A3146468DEB0_4001_2">468000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements contextRef="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2746841" unitRef="shares" decimals="INF" id="id_12197217_59A712E6-2032-427E-9FF7-1A70FA8A8FA9_2001_5">98813</us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements>
  <context id="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2746841">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:StockAppreciationRightsAndOptionsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-04-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2694539">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-04-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2694538">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-04-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2666068">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:EmployeeStockPurchasePlanMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-04-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2448925">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:StockAppreciationRightsSARSMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-04-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433414x2447533">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:RestrictedStockMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-04-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20170630_0_2433098x2448925">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis">us-gaap:StockAppreciationRightsSARSMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-04-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20170630_0">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
    </entity>
    <period>
      <startDate>2017-04-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20160630_0_2449305x2448174">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:StatementScenarioAxis">us-gaap:ScenarioPreviouslyReportedMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-04-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2746841">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:StockAppreciationRightsAndOptionsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-04-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2694539">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-04-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2694538">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-04-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2666068">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:EmployeeStockPurchasePlanMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-04-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2448925">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:StockAppreciationRightsSARSMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-04-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20160630_0_2433414x2447533">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:RestrictedStockMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-04-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_91_20160630_0">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
    </entity>
    <period>
      <startDate>2016-04-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_366_20161231_0_2433414x2678567">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockAdjustmentMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-12-31</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_365_20151231_0_2433414x2678567">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockAdjustmentMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2015-01-01</startDate>
      <endDate>2015-12-31</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_365_20141231_0_2433414x2678567">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockAdjustmentMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2014-01-01</startDate>
      <endDate>2014-12-31</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0_2450417x2706954">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ValuationAllowancesAndReservesTypeAxis">trex:SurfaceFlakingWarrantyReserveMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0_2449305x2448174">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:StatementScenarioAxis">us-gaap:ScenarioPreviouslyReportedMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2746841">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:StockAppreciationRightsAndOptionsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2694539">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2694538">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2666068">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:EmployeeStockPurchasePlanMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2448925">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:StockAppreciationRightsSARSMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433414x2447533">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:RestrictedStockMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0_2433098x2448925">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis">us-gaap:StockAppreciationRightsSARSMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_182_20160630_0">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
    </entity>
    <period>
      <startDate>2016-01-01</startDate>
      <endDate>2016-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2450417x2706954">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ValuationAllowancesAndReservesTypeAxis">trex:SurfaceFlakingWarrantyReserveMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2449097x2699116">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ShareRepurchaseProgramAxis">trex:FebruaryTwoThousandSeventeenStockRepurchaseProgramMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2449097x2699110">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ShareRepurchaseProgramAxis">trex:OctoberTwoThousandFifteenStockRepurchaseProgramMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2447194x2443301">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MinimumMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2447194x2442860">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MaximumMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2440602x2441593_2449668x2441819">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:IncomeTaxAuthorityNameAxis">us-gaap:InternalRevenueServiceIRSMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:TaxPeriodAxis">us-gaap:LatestTaxYearMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2440602x2441593_2449668x2436943">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:IncomeTaxAuthorityNameAxis">us-gaap:InternalRevenueServiceIRSMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:TaxPeriodAxis">us-gaap:EarliestTaxYearMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2435465x2734865">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">trex:ThirdAmendedAndRestatedCreditAgreementMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2746841">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:StockAppreciationRightsAndOptionsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2705927">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2705009">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:TimeBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2450814x2449220">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:VestingAxis">us-gaap:ShareBasedCompensationAwardTrancheOneMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2450814x2449085">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:VestingAxis">us-gaap:ShareBasedCompensationAwardTrancheTwoMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2450814x2448820">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:VestingAxis">us-gaap:ShareBasedCompensationAwardTrancheThreeMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2447194x2443301">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MinimumMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955_2447194x2442860">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MaximumMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2702955">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2694539">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2694538">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2683753">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:PerformanceBasedRestrictedStockTargetMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2666068">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">trex:EmployeeStockPurchasePlanMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2448925">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:StockAppreciationRightsSARSMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433414x2447533">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:RestrictedStockMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0_2433098x2448925">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis">us-gaap:StockAppreciationRightsSARSMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_181_20170630_0">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
    </entity>
    <period>
      <startDate>2017-01-01</startDate>
      <endDate>2017-06-30</endDate>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20161231_0_2450417x2706954">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ValuationAllowancesAndReservesTypeAxis">trex:SurfaceFlakingWarrantyReserveMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2016-12-31</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20161231_0">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
    </entity>
    <period>
      <instant>2016-12-31</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20151231_0_2450417x2706954">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ValuationAllowancesAndReservesTypeAxis">trex:SurfaceFlakingWarrantyReserveMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2015-12-31</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20151231_0">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
    </entity>
    <period>
      <instant>2015-12-31</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170630_0_2450417x2706954">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ValuationAllowancesAndReservesTypeAxis">trex:SurfaceFlakingWarrantyReserveMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2017-06-30</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170630_0_2447372x2689734">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:RestructuringCostAndReserveAxis">trex:SubleaseMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2017-06-30</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170630_0_2447372x2434904">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:RestructuringCostAndReserveAxis">us-gaap:ContractTerminationMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2017-06-30</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170630_0_2445234x2710521">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:PlanNameAxis">trex:TwoThousandFourteenStockIncentivePlanMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2017-06-30</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170630_0_2435419x2749048_2435465x2734865">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">trex:RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">trex:ThirdAmendedAndRestatedCreditAgreementMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2017-06-30</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170630_0_2435419x2671890_2435465x2734865">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">trex:RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">trex:ThirdAmendedAndRestatedCreditAgreementMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2017-06-30</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170630_0">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
    </entity>
    <period>
      <instant>2017-06-30</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20160630_0_2450417x2706954">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ValuationAllowancesAndReservesTypeAxis">trex:SurfaceFlakingWarrantyReserveMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2016-06-30</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20160630_0">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
    </entity>
    <period>
      <instant>2016-06-30</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20151022_0_2449097x2699110">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ShareRepurchaseProgramAxis">trex:OctoberTwoThousandFifteenStockRepurchaseProgramMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2015-10-22</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170718_0">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
    </entity>
    <period>
      <instant>2017-07-18</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170731_0_2433694x2865178_2449888x2449609">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:BusinessAcquisitionAxis">trex:StagingConceptsAcquisitionLLCMember</xbrldi:explicitMember><xbrldi:explicitMember dimension="us-gaap:SubsequentEventTypeAxis">us-gaap:SubsequentEventMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2017-07-31</instant>
    </period>
  </context>
  <context id="eol_PE9111----1710-Q0008_STD_0_20170216_0_2449097x2699116">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0001069878</identifier>
      <segment><xbrldi:explicitMember dimension="us-gaap:ShareRepurchaseProgramAxis">trex:FebruaryTwoThousandSeventeenStockRepurchaseProgramMember</xbrldi:explicitMember></segment>
    </entity>
    <period>
      <instant>2017-02-16</instant>
    </period>
  </context>
  <unit id="shares">
    <measure>shares</measure>
  </unit>
  <unit id="iso4217_USD">
    <measure>iso4217:USD</measure>
  </unit>
  <unit id="iso4217_USD_per_shares">
    <divide>
      <unitNumerator>
        <measure>iso4217:USD</measure>
      </unitNumerator>
      <unitDenominator>
        <measure>shares</measure>
      </unitDenominator>
    </divide>
  </unit>
  <unit id="sqft">
    <measure>utr:sqft</measure>
  </unit>
  <unit id="pure">
    <measure>pure</measure>
  </unit>
  <unit id="Segment">
    <measure>trex:Segment</measure>
  </unit>
  <unit id="Plan">
    <measure>trex:Plan</measure>
  </unit>
</xbrl>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.SCH
<SEQUENCE>6
<FILENAME>trex-20170630.xsd
<DESCRIPTION>XBRL TAXONOMY EXTENSION SCHEMA
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFS Xcelerate Taxonomy Schema - http://www.dfsco.com/financial-services/ -->
<!-- Version: 6.23.6 -->
<!-- Round: 5 -->
<!-- Creation date: 2017-07-24T20:48:35Z -->
<!-- Copyright (c) 2017 Donnelley Financial, LLC. All Rights Reserved. -->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
  xmlns:xbrli="http://www.xbrl.org/2003/instance"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:us-gaap="http://fasb.org/us-gaap/2017-01-31"
  xmlns:us-types="http://fasb.org/us-types/2017-01-31"
  xmlns:trex="http://www.trex.com/20170630"
  xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric"
  xmlns:num="http://www.xbrl.org/dtr/type/numeric"
  xmlns:xbrldt="http://xbrl.org/2005/xbrldt"
  xmlns:country="http://xbrl.sec.gov/country/2017-01-31"
  xmlns:currency="http://xbrl.sec.gov/currency/2017-01-31"
  xmlns:dei="http://xbrl.sec.gov/dei/2014-01-31"
  xmlns:exch="http://xbrl.sec.gov/exch/2017-01-31"
  xmlns:invest="http://xbrl.sec.gov/invest/2013-01-31"
  xmlns:naics="http://xbrl.sec.gov/naics/2017-01-31"
  xmlns:sic="http://xbrl.sec.gov/sic/2011-01-31"
  xmlns:stpr="http://xbrl.sec.gov/stpr/2011-01-31"
  targetNamespace="http://www.trex.com/20170630"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <annotation>
    <appinfo>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DocumentandEntityInformation" id="DocumentandEntityInformation">
        <link:definition>101 - Document - Document and Entity Information</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/StatementOfIncome" id="Role_StatementOfIncome">
        <link:definition>103 - Statement - Condensed Consolidated Statements of Comprehensive Income</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassified" id="Role_StatementOfFinancialPositionClassified">
        <link:definition>104 - Statement - Condensed Consolidated Balance Sheets</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical" id="Role_StatementOfFinancialPositionClassifiedParen">
        <link:definition>105 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/StatementOfCashFlowsIndirect" id="Role_StatementOfCashFlowsIndirect">
        <link:definition>106 - Statement - Condensed Consolidated Statements of Cash Flows</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNatureOfOperations" id="Role_NotesToFinancialStatementsNatureOfOperations">
        <link:definition>107 - Disclosure - Business and Organization</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" id="Role_NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock">
        <link:definition>108 - Disclosure - Basis of Presentation</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" id="Role_NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock">
        <link:definition>109 - Disclosure - Recently Adopted Accounting Standard</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted" id="Role_NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted">
        <link:definition>110 - Disclosure - New Accounting Standards Not Yet Adopted</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock" id="Role_NotesToFinancialStatementsInventoryDisclosureTextBlock">
        <link:definition>111 - Disclosure - Inventories</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock" id="Role_NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock">
        <link:definition>112 - Disclosure - Prepaid Expenses and Other Assets</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" id="Role_NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock">
        <link:definition>113 - Disclosure - Accrued Expenses and Other Liabilities</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock" id="Role_NotesToFinancialStatementsDebtDisclosureTextBlock">
        <link:definition>114 - Disclosure - Debt</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock" id="Role_NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock">
        <link:definition>115 - Disclosure - Financial Instruments</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock" id="Role_NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock">
        <link:definition>116 - Disclosure - Stockholders' Equity</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" id="Role_NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock">
        <link:definition>117 - Disclosure - Stock-Based Compensation</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock" id="Role_NotesToFinancialStatementsIncomeTaxDisclosureTextBlock">
        <link:definition>118 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSeasonalityDisclosureTextBlock" id="Role_NotesToFinancialStatementsSeasonalityDisclosureTextBlock">
        <link:definition>119 - Disclosure - Seasonality</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock" id="Role_NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock">
        <link:definition>120 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock" id="Role_NotesToFinancialStatementsSubsequentEventsTextBlock">
        <link:definition>121 - Disclosure - Subsequent Event</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies" id="Role_NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies">
        <link:definition>122 - Disclosure - Financial Instruments (Policies)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables" id="Role_NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables">
        <link:definition>123 - Disclosure - Recently Adopted Accounting Standard (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables" id="Role_NotesToFinancialStatementsInventoryDisclosureTextBlockTables">
        <link:definition>124 - Disclosure - Inventories (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables" id="Role_NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables">
        <link:definition>125 - Disclosure - Prepaid Expenses and Other Assets (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables" id="Role_NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables">
        <link:definition>126 - Disclosure - Accrued Expenses and Other Liabilities (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables" id="Role_NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables">
        <link:definition>127 - Disclosure - Stockholders' Equity (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables" id="Role_NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables">
        <link:definition>128 - Disclosure - Stock-Based Compensation (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables" id="Role_NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables">
        <link:definition>129 - Disclosure - Commitments and Contingencies (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureBusinessAndOrganizationAdditionalInformation" id="DisclosureBusinessAndOrganizationAdditionalInformation">
        <link:definition>130 - Disclosure - Business and Organization - Additional Information (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData" id="DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData">
        <link:definition>131 - Disclosure - Recently Adopted Accounting Standard - Schedule of Previously Reported Quarterly Data (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureInventoriesSummaryOfInventoriesAtLIFOValue" id="DisclosureInventoriesSummaryOfInventoriesAtLIFOValue">
        <link:definition>132 - Disclosure - Inventories - Summary of Inventories, at LIFO Value (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureInventoriesAdditionalInformation" id="DisclosureInventoriesAdditionalInformation">
        <link:definition>133 - Disclosure - Inventories - Additional Information (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets" id="DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets">
        <link:definition>134 - Disclosure - Prepaid Expenses and Other Assets - Summary of Prepaid Expenses and Other Assets (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities" id="DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities">
        <link:definition>135 - Disclosure - Accrued Expenses and Other Liabilities - Summary of Accrued Expenses and Other Liabilities (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureDebtAdditionalInformation" id="DisclosureDebtAdditionalInformation">
        <link:definition>136 - Disclosure - Debt - Additional Information (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare" id="DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare">
        <link:definition>137 - Disclosure - Stockholders' Equity - Computation of Basic and Diluted Earnings Per Share (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare" id="DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare">
        <link:definition>138 - Disclosure - Stockholders' Equity - Antidilutive Securities Excluded from Computation of Earnings Per Share (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation" id="DisclosureStockholdersEquityAdditionalInformation">
        <link:definition>139 - Disclosure - Stockholders' Equity - Additional Information (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation" id="DisclosureStockBasedCompensationAdditionalInformation">
        <link:definition>140 - Disclosure - Stock-Based Compensation - Additional Information (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR" id="DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR">
        <link:definition>141 - Disclosure - Stock-Based Compensation - Summary of Assumptions Used to Estimate Fair Value of Each SAR (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants" id="DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants">
        <link:definition>142 - Disclosure - Stock-Based Compensation - Summary of Stock-Based Compensation Grants (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical" id="DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical">
        <link:definition>143 - Disclosure - Stock-Based Compensation - Summary of Stock-Based Compensation Grants (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense" id="DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense">
        <link:definition>144 - Disclosure - Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation" id="DisclosureIncomeTaxesAdditionalInformation">
        <link:definition>145 - Disclosure - Income Taxes - Additional Information (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation" id="DisclosureCommitmentsAndContingenciesAdditionalInformation">
        <link:definition>146 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease" id="DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease">
        <link:definition>147 - Disclosure - Commitments and Contingencies - Summary of Liability Related to Lease (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims" id="DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims">
        <link:definition>148 - Disclosure - Commitments and Contingencies - Summary of Reconciliation of Company's Warranty Reserve that Represents Amounts Accrued for Surface Flaking Claims (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.trex.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation" id="DisclosureSubsequentEventAdditionalInformation">
        <link:definition>149 - Disclosure - Subsequent Event - Additional Information (Detail)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:linkbaseRef xlink:type="simple" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:href="trex-20170630_cal.xml" xlink:title="Calculation Links, all"/>
      <link:linkbaseRef xlink:type="simple" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:href="trex-20170630_def.xml" xlink:title="Definition Links, all"/>
      <link:linkbaseRef xlink:type="simple" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:href="trex-20170630_lab.xml" xlink:title="Label Links, all"/>
      <link:linkbaseRef xlink:type="simple" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:href="trex-20170630_pre.xml" xlink:title="Presentation Links, all"/>
    </appinfo>
  </annotation>
  <import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <import namespace="http://fasb.org/us-types/2017-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2017/elts/us-types-2017-01-31.xsd"/>
  <import namespace="http://www.xbrl.org/dtr/type/non-numeric" schemaLocation="http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd"/>
  <import namespace="http://www.xbrl.org/dtr/type/numeric" schemaLocation="http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd"/>
  <import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <import namespace="http://fasb.org/us-gaap/2017-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd"/>
  <import namespace="http://xbrl.sec.gov/country/2017-01-31" schemaLocation="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd"/>
  <import namespace="http://xbrl.sec.gov/currency/2017-01-31" schemaLocation="http://xbrl.sec.gov/currency/2017/currency-2017-01-31.xsd"/>
  <import namespace="http://xbrl.sec.gov/dei/2014-01-31" schemaLocation="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd"/>
  <import namespace="http://xbrl.sec.gov/exch/2017-01-31" schemaLocation="http://xbrl.sec.gov/exch/2017/exch-2017-01-31.xsd"/>
  <import namespace="http://xbrl.sec.gov/invest/2013-01-31" schemaLocation="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd"/>
  <import namespace="http://xbrl.sec.gov/naics/2017-01-31" schemaLocation="http://xbrl.sec.gov/naics/2017/naics-2017-01-31.xsd"/>
  <import namespace="http://xbrl.sec.gov/sic/2011-01-31" schemaLocation="http://xbrl.sec.gov/sic/2011/sic-2011-01-31.xsd"/>
  <import namespace="http://xbrl.sec.gov/stpr/2011-01-31" schemaLocation="http://xbrl.sec.gov/stpr/2011/stpr-2011-01-31.xsd"/>
  <element name="AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" id="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="AccruedManufacturingExpensesCurrent" id="trex_AccruedManufacturingExpensesCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="ComponentsOfBasicAndDilutedEarningPerShareLineItems" id="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="ComponentsOfBasicAndDilutedEarningPerShareTable" id="trex_ComponentsOfBasicAndDilutedEarningPerShareTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem"/>
  <element name="DocumentAndEntityInformationAbstract" id="trex_DocumentAndEntityInformationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="EmployeeStockPurchasePlanMember" id="trex_EmployeeStockPurchasePlanMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="FebruaryTwoThousandSeventeenStockRepurchaseProgramMember" id="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="NumberOfStockBasedCompensationPlan" id="trex_NumberOfStockBasedCompensationPlan" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="OctoberTwoThousandFifteenStockRepurchaseProgramMember" id="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="PercentSensitivityChangeInExpectedSurfaceFlakingClaims" id="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="PerformanceBasedRestrictedStockAdjustmentMember" id="trex_PerformanceBasedRestrictedStockAdjustmentMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember" id="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="PerformanceBasedRestrictedStockMember" id="trex_PerformanceBasedRestrictedStockMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="PerformanceBasedRestrictedStockTargetMember" id="trex_PerformanceBasedRestrictedStockTargetMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="PerformanceBasedRestrictedStockUnitsMember" id="trex_PerformanceBasedRestrictedStockUnitsMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="PrepaidAndOtherCurrentAssetsDisclosureTextBlock" id="trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="PrepaidExpenseAndOtherAssetsCurrentTableTextBlock" id="trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember" id="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember" id="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock" id="trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="ScheduleOfCommitmentsAndContingenciesLineItems" id="trex_ScheduleOfCommitmentsAndContingenciesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="ScheduleOfCommitmentsAndContingenciesTable" id="trex_ScheduleOfCommitmentsAndContingenciesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem"/>
  <element name="SeasonalityDisclosureTextBlock" id="trex_SeasonalityDisclosureTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="SensitivityChangeInSurfaceFlakingWarrantyReserve" id="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares" id="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" id="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" id="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem"/>
  <element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice" id="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice" type="num:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="StagingConceptsAcquisitionLLCMember" id="trex_StagingConceptsAcquisitionLLCMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="StockAppreciationRightsAndOptionsMember" id="trex_StockAppreciationRightsAndOptionsMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="StockRepurchaseProgramTerminationDate" id="trex_StockRepurchaseProgramTerminationDate" type="xbrli:dateItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="SubleaseMember" id="trex_SubleaseMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="SurfaceFlakingWarrantyReserveMember" id="trex_SurfaceFlakingWarrantyReserveMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="ThirdAmendedAndRestatedCreditAgreementMember" id="trex_ThirdAmendedAndRestatedCreditAgreementMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember" id="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="TimeBasedRestrictedStockUnitsMember" id="trex_TimeBasedRestrictedStockUnitsMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="TwoThousandFourteenStockIncentivePlanMember" id="trex_TwoThousandFourteenStockIncentivePlanMember" type="nonnum:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
  <element name="WarrantyPeriod" id="trex_WarrantyPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item"/>
</schema>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.CAL
<SEQUENCE>7
<FILENAME>trex-20170630_cal.xml
<DESCRIPTION>XBRL TAXONOMY EXTENSION CALCULATION LINKBASE
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFS Xcelerate Taxonomy Calculation Linkbase - http://www.dfsco.com/financial-services/ -->
<!-- Version: 6.23.6 -->
<!-- Round: 5 -->
<!-- Creation date: 2017-07-24T20:48:35Z -->
<!-- Copyright (c) 2017 Donnelley Financial, LLC. All Rights Reserved. -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DocumentandEntityInformation" roleURI="http://www.trex.com/taxonomy/role/DocumentandEntityInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfIncome" roleURI="http://www.trex.com/taxonomy/role/StatementOfIncome"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfFinancialPositionClassified" roleURI="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassified"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfFinancialPositionClassifiedParen" roleURI="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfCashFlowsIndirect" roleURI="http://www.trex.com/taxonomy/role/StatementOfCashFlowsIndirect"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureBusinessAndOrganizationAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureBusinessAndOrganizationAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData" roleURI="http://www.trex.com/taxonomy/role/DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureInventoriesSummaryOfInventoriesAtLIFOValue" roleURI="http://www.trex.com/taxonomy/role/DisclosureInventoriesSummaryOfInventoriesAtLIFOValue"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureInventoriesAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureInventoriesAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets" roleURI="http://www.trex.com/taxonomy/role/DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities" roleURI="http://www.trex.com/taxonomy/role/DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureDebtAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureDebtAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockholdersEquityAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureIncomeTaxesAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureCommitmentsAndContingenciesAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease" roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims" roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureSubsequentEventAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsNatureOfOperations" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNatureOfOperations"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsInventoryDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsInventoryDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDebtDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsIncomeTaxDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsSeasonalityDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSeasonalityDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsSubsequentEventsTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock"/>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DocumentandEntityInformation">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfIncome">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="us-gaap_CostOfGoodsAndServicesSold"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit" xlink:label="us-gaap_GrossProfit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="us-gaap_InterestExpense"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="us-gaap_OperatingIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="us-gaap_SalesRevenueNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_SalesRevenueNet" order="1.0100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="1.0200" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_OperatingIncomeLoss" order="1.0500" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_InterestExpense" order="1.0600" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="1.0700" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="1.0800" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingIncomeLoss" xlink:to="us-gaap_GrossProfit" order="1.0300" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingIncomeLoss" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="1.0400" weight="-1.00" priority="2" use="optional"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassified">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="us-gaap_AccountsPayableCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="us-gaap_AccountsReceivableNetCurrent"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:label="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="us-gaap_AssetsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:label="us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="us-gaap_InventoryNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="us-gaap_LiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent" xlink:label="us-gaap_LinesOfCreditCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="us-gaap_OtherAssetsNoncurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="us-gaap_OtherLiabilitiesNoncurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="us-gaap_PreferredStockValue"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="us-gaap_PropertyPlantAndEquipmentNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualCurrent" xlink:label="us-gaap_StandardProductWarrantyAccrualCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="us-gaap_StandardProductWarrantyAccrualNoncurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="us-gaap_StockholdersEquity"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="us-gaap_TreasuryStockValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_AssetsCurrent" order="1.0500" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="1.0600" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_IntangibleAssetsNetIncludingGoodwill" order="1.0700" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_OtherAssetsNoncurrent" order="1.0800" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="1.0100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AccountsReceivableNetCurrent" order="1.0200" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_InventoryNet" order="1.0300" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" order="1.0400" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_LiabilitiesCurrent" order="1.1300" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent" order="1.1400" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_StandardProductWarrantyAccrualNoncurrent" order="1.1500" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_OtherLiabilitiesNoncurrent" order="1.1600" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_Liabilities" order="1.1700" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_StockholdersEquity" order="1.2300" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_AccountsPayableCurrent" order="1.0900" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" order="1.1000" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_StandardProductWarrantyAccrualCurrent" order="1.1100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_LinesOfCreditCurrent" order="1.1200" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_PreferredStockValue" order="1.1800" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_CommonStockValue" order="1.1900" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="1.2000" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="1.2100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_TreasuryStockValue" order="1.2200" weight="-1.00" priority="2" use="optional"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfCashFlowsIndirect">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="us-gaap_DepreciationDepletionAndAmortization"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="us-gaap_IncreaseDecreaseInInventories"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="us-gaap_OtherNoncashIncomeExpense"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfFinancingCosts" xlink:label="us-gaap_PaymentsOfFinancingCosts"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" xlink:label="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="us-gaap_ProceedsFromLinesOfCredit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="us-gaap_RepaymentsOfLinesOfCredit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="us-gaap_ShareBasedCompensation"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" order="1.1200" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" order="1.1500" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" order="1.2100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_ProceedsFromLinesOfCredit" order="1.1600" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_RepaymentsOfLinesOfCredit" order="1.1700" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock" order="1.1800" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_PaymentsOfFinancingCosts" order="1.1900" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" order="1.2000" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" order="1.1300" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" order="1.1400" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_NetIncomeLoss" order="1.0100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="1.0200" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_ShareBasedCompensation" order="1.0300" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="1.0400" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_OtherNoncashIncomeExpense" order="1.0500" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="1.0600" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="1.0700" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="1.0800" weight="-1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayable" order="1.0900" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" order="1.1000" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable" order="1.1100" weight="1.00" priority="2" use="optional"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureBusinessAndOrganizationAdditionalInformation">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureInventoriesSummaryOfInventoriesAtLIFOValue">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryFinishedGoods" xlink:label="us-gaap_InventoryFinishedGoods"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryGross" xlink:label="us-gaap_InventoryGross"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryLIFOReserve" xlink:label="us-gaap_InventoryLIFOReserve"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="us-gaap_InventoryNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryRawMaterials" xlink:label="us-gaap_InventoryRawMaterials"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryGross" xlink:to="us-gaap_InventoryFinishedGoods" order="1.0100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryGross" xlink:to="us-gaap_InventoryRawMaterials" order="1.0200" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryGross" order="1.0300" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryLIFOReserve" order="1.0400" weight="-1.00" priority="2" use="optional"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureInventoriesAdditionalInformation">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="us-gaap_IncomeTaxesReceivable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="us-gaap_OtherAssetsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="us-gaap_PrepaidExpenseCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_PrepaidExpenseCurrent" order="1.0100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_IncomeTaxesReceivable" order="1.0200" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_OtherAssetsCurrent" order="1.0300" weight="1.00" priority="2" use="optional"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="us-gaap_AccruedIncomeTaxesCurrent"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:label="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_AccruedManufacturingExpensesCurrent" xlink:label="trex_AccruedManufacturingExpensesCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedMarketingCostsCurrent" xlink:label="us-gaap_AccruedMarketingCostsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRentCreditCurrent" xlink:label="us-gaap_DeferredRentCreditCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:to="us-gaap_AccruedMarketingCostsCurrent" order="1.0100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent" order="1.0200" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:to="us-gaap_AccruedIncomeTaxesCurrent" order="1.0300" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:to="trex_AccruedManufacturingExpensesCurrent" order="1.0400" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:to="us-gaap_DeferredRentCreditCurrent" order="1.0500" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent" order="1.0600" weight="1.00" priority="2" use="optional"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureDebtAdditionalInformation">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" order="1.0100" weight="1.00" priority="2" use="optional"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" order="1.0200" weight="1.00" priority="2" use="optional"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNatureOfOperations">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSeasonalityDisclosureTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables">
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock">
  </calculationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.DEF
<SEQUENCE>8
<FILENAME>trex-20170630_def.xml
<DESCRIPTION>XBRL TAXONOMY EXTENSION DEFINITION LINKBASE
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFS Xcelerate Taxonomy Definition Linkbase - http://www.dfsco.com/financial-services/ -->
<!-- Version: 6.23.6 -->
<!-- Round: 5 -->
<!-- Creation date: 2017-07-24T20:48:35Z -->
<!-- Copyright (c) 2017 Donnelley Financial, LLC. All Rights Reserved. -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xbrldt="http://xbrl.org/2005/xbrldt"
  xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DocumentandEntityInformation" roleURI="http://www.trex.com/taxonomy/role/DocumentandEntityInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfIncome" roleURI="http://www.trex.com/taxonomy/role/StatementOfIncome"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfFinancialPositionClassified" roleURI="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassified"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfFinancialPositionClassifiedParen" roleURI="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfCashFlowsIndirect" roleURI="http://www.trex.com/taxonomy/role/StatementOfCashFlowsIndirect"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureBusinessAndOrganizationAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureBusinessAndOrganizationAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData" roleURI="http://www.trex.com/taxonomy/role/DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureInventoriesSummaryOfInventoriesAtLIFOValue" roleURI="http://www.trex.com/taxonomy/role/DisclosureInventoriesSummaryOfInventoriesAtLIFOValue"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureInventoriesAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureInventoriesAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets" roleURI="http://www.trex.com/taxonomy/role/DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities" roleURI="http://www.trex.com/taxonomy/role/DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureDebtAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureDebtAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockholdersEquityAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureIncomeTaxesAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureCommitmentsAndContingenciesAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease" roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims" roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureSubsequentEventAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsNatureOfOperations" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNatureOfOperations"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsInventoryDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsInventoryDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDebtDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsIncomeTaxDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsSeasonalityDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSeasonalityDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsSubsequentEventsTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension"/>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DocumentandEntityInformation">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfIncome">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassified">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfCashFlowsIndirect">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureBusinessAndOrganizationAdditionalInformation">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="us-gaap_EarningsPerShareBasic"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="us-gaap_EarningsPerShareDiluted"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioPreviouslyReportedMember" xlink:label="us-gaap_ScenarioPreviouslyReportedMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="us-gaap_ScenarioUnspecifiedDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="us-gaap_ScenarioUnspecifiedDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="us-gaap_StatementScenarioAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_NetIncomeLoss" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_EarningsPerShareBasic" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_EarningsPerShareDiluted" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" order="1.0500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" order="1.0600" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" order="1.0700" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:to="us-gaap_StatementScenarioAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScenarioUnspecifiedDomain" xlink:to="us-gaap_ScenarioPreviouslyReportedMember" order="1.0800" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_2" order="1.0000" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureInventoriesSummaryOfInventoriesAtLIFOValue">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureInventoriesAdditionalInformation">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureDebtAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="us-gaap_CreditFacilityAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="us-gaap_CreditFacilityDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="us-gaap_CreditFacilityDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="us-gaap_DebtInstrumentAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="us-gaap_DebtInstrumentNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="us-gaap_DebtInstrumentNameDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityExpirationDate1" xlink:label="us-gaap_LineOfCreditFacilityExpirationDate1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="us-gaap_LineOfCreditFacilityLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="us-gaap_LineOfCreditFacilityTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent" xlink:label="us-gaap_LinesOfCreditCurrent"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember" xlink:label="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember" xlink:label="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ThirdAmendedAndRestatedCreditAgreementMember" xlink:label="trex_ThirdAmendedAndRestatedCreditAgreementMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember" order="1.0600" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember" order="1.0700" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_DebtInstrumentAxis" xlink:to="us-gaap_DebtInstrumentNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_DebtInstrumentAxis" xlink:to="us-gaap_DebtInstrumentNameDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DebtInstrumentNameDomain" xlink:to="trex_ThirdAmendedAndRestatedCreditAgreementMember" order="1.0500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LineOfCreditFacilityTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LineOfCreditFacilityExpirationDate1" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LinesOfCreditCurrent" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_LineOfCreditFacilityTable" xlink:to="us-gaap_CreditFacilityAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_LineOfCreditFacilityTable" xlink:to="us-gaap_DebtInstrumentAxis" order="2.0000" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ComponentsOfBasicAndDilutedEarningPerShareTable" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="us-gaap_EarningsPerShareBasic"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="us-gaap_EarningsPerShareDiluted"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAbstract" xlink:label="us-gaap_NetIncomeLossAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="us-gaap_RestrictedStockMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_StockAppreciationRightsAndOptionsMember" xlink:label="trex_StockAppreciationRightsAndOptionsMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="trex_ComponentsOfBasicAndDilutedEarningPerShareTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="us-gaap_NetIncomeLossAbstract" order="1.0800" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" order="1.0900" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="us-gaap_EarningsPerShareBasic" order="1.1000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="us-gaap_EarningsPerShareDiluted" order="1.1100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareTable" xlink:to="us-gaap_AwardTypeAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NetIncomeLossAbstract" xlink:to="us-gaap_NetIncomeLoss" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_StockAppreciationRightsAndOptionsMember" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_RestrictedStockMember" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:to="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" order="1.0500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:to="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" order="1.0600" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" order="1.0700" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="us-gaap_AntidilutiveSecuritiesNameDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:to="us-gaap_AntidilutiveSecuritiesNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:to="us-gaap_AntidilutiveSecuritiesNameDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:to="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AntidilutiveSecuritiesNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" order="1.0000" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="us-gaap_ClassOfTreasuryStockTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="us-gaap_EquityClassOfTreasuryStockLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember" xlink:label="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember" xlink:label="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="us-gaap_ShareRepurchaseProgramAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="us-gaap_ShareRepurchaseProgramDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="us-gaap_ShareRepurchaseProgramDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:label="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_StockRepurchaseProgramTerminationDate" xlink:label="trex_StockRepurchaseProgramTerminationDate"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="us-gaap_TreasuryStockSharesAcquired"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ClassOfTreasuryStockTable" xlink:to="us-gaap_ShareRepurchaseProgramAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="us-gaap_ClassOfTreasuryStockTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="trex_StockRepurchaseProgramTerminationDate" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="us-gaap_TreasuryStockSharesAcquired" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ShareRepurchaseProgramAxis" xlink:to="us-gaap_ShareRepurchaseProgramDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ShareRepurchaseProgramAxis" xlink:to="us-gaap_ShareRepurchaseProgramDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareRepurchaseProgramDomain" xlink:to="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember" order="1.0500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareRepurchaseProgramDomain" xlink:to="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember" order="1.0600" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="us-gaap_MaximumMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="us-gaap_MinimumMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_NumberOfStockBasedCompensationPlan" xlink:label="trex_NumberOfStockBasedCompensationPlan"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockMember" xlink:label="trex_PerformanceBasedRestrictedStockMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="us-gaap_PlanNameAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="us-gaap_PlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="us-gaap_PlanNameDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="us-gaap_RangeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares" xlink:label="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheThreeMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_TwoThousandFourteenStockIncentivePlanMember" xlink:label="trex_TwoThousandFourteenStockIncentivePlanMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="us-gaap_VestingAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="us-gaap_VestingDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="us-gaap_VestingDomain_2"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PlanNameDomain" xlink:to="trex_TwoThousandFourteenStockIncentivePlanMember" order="1.0900" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MinimumMember" order="1.1200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MaximumMember" order="1.1400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_RangeAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_AwardTypeAxis" order="2.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_VestingAxis" order="3.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_PlanNameAxis" order="4.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="trex_NumberOfStockBasedCompensationPlan" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" order="1.0500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed" order="1.0600" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" order="1.0700" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" order="1.0800" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockMember" order="1.1000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.1500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_VestingAxis" xlink:to="us-gaap_VestingDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_VestingAxis" xlink:to="us-gaap_VestingDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_VestingDomain" xlink:to="us-gaap_ShareBasedCompensationAwardTrancheOneMember" order="1.1100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_VestingDomain" xlink:to="us-gaap_ShareBasedCompensationAwardTrancheTwoMember" order="1.1300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_VestingDomain" xlink:to="us-gaap_ShareBasedCompensationAwardTrancheThreeMember" order="1.1600" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" order="1.0500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" order="1.0600" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" xlink:to="us-gaap_AwardTypeAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.0100" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockUnitsMember" xlink:label="trex_PerformanceBasedRestrictedStockUnitsMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_TimeBasedRestrictedStockUnitsMember" xlink:label="trex_TimeBasedRestrictedStockUnitsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_AwardTypeAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_TimeBasedRestrictedStockUnitsMember" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockUnitsMember" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.0500" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockAdjustmentMember" xlink:label="trex_PerformanceBasedRestrictedStockAdjustmentMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockTargetMember" xlink:label="trex_PerformanceBasedRestrictedStockTargetMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_AwardTypeAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockTargetMember" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockAdjustmentMember" order="1.0300" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_EmployeeStockPurchasePlanMember" xlink:label="trex_EmployeeStockPurchasePlanMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember" xlink:label="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember" xlink:label="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_AwardTypeAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_EmployeeStockPurchasePlanMember" order="1.0500" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" xlink:label="us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarliestTaxYearMember" xlink:label="us-gaap_EarliestTaxYearMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="us-gaap_IncomeTaxAuthorityNameAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="us-gaap_IncomeTaxAuthorityNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="us-gaap_IncomeTaxAuthorityNameDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxContingencyLineItems" xlink:label="us-gaap_IncomeTaxContingencyLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxContingencyTable" xlink:label="us-gaap_IncomeTaxContingencyTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="us-gaap_InternalRevenueServiceIRSMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LatestTaxYearMember" xlink:label="us-gaap_LatestTaxYearMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OpenTaxYear" xlink:label="us-gaap_OpenTaxYear"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodAxis" xlink:label="us-gaap_TaxPeriodAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="us-gaap_TaxPeriodDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="us-gaap_TaxPeriodDomain_2"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_IncomeTaxAuthorityNameAxis" xlink:to="us-gaap_IncomeTaxAuthorityNameDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_IncomeTaxAuthorityNameAxis" xlink:to="us-gaap_IncomeTaxAuthorityNameDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxAuthorityNameDomain" xlink:to="us-gaap_InternalRevenueServiceIRSMember" order="1.0700" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_IncomeTaxContingencyTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_DeferredTaxAssetsValuationAllowance" order="1.0500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_OpenTaxYear" order="1.0600" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_IncomeTaxContingencyTable" xlink:to="us-gaap_TaxPeriodAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_IncomeTaxContingencyTable" xlink:to="us-gaap_IncomeTaxAuthorityNameAxis" order="2.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_TaxPeriodAxis" xlink:to="us-gaap_TaxPeriodDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_TaxPeriodAxis" xlink:to="us-gaap_TaxPeriodDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TaxPeriodDomain" xlink:to="us-gaap_EarliestTaxYearMember" order="1.0800" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TaxPeriodDomain" xlink:to="us-gaap_LatestTaxYearMember" order="1.0900" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AreaOfRealEstateProperty" xlink:label="us-gaap_AreaOfRealEstateProperty"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="us-gaap_ContractTerminationMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="us-gaap_MaximumMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="us-gaap_MinimumMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims" xlink:label="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="us-gaap_RangeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="us-gaap_RestructuringCostAndReserveAxis"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesTable"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SensitivityChangeInSurfaceFlakingWarrantyReserve" xlink:label="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SubleaseMember" xlink:label="trex_SubleaseMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SurfaceFlakingWarrantyReserveMember" xlink:label="trex_SurfaceFlakingWarrantyReserveMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="us-gaap_TypeOfRestructuringDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="us-gaap_TypeOfRestructuringDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="us-gaap_ValuationAllowancesAndReservesTypeAxis"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_WarrantyPeriod" xlink:label="trex_WarrantyPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MinimumMember" order="1.1200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MaximumMember" order="1.1500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RestructuringCostAndReserveAxis" xlink:to="us-gaap_TypeOfRestructuringDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RestructuringCostAndReserveAxis" xlink:to="us-gaap_TypeOfRestructuringDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="trex_ScheduleOfCommitmentsAndContingenciesTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_AreaOfRealEstateProperty" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear" order="1.0500" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears" order="1.0600" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears" order="1.0700" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="trex_WarrantyPeriod" order="1.0800" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims" order="1.0900" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve" order="1.1000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:to="us-gaap_RestructuringCostAndReserveAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:to="us-gaap_ValuationAllowancesAndReservesTypeAxis" order="2.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:to="us-gaap_RangeAxis" order="3.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TypeOfRestructuringDomain" xlink:to="trex_SubleaseMember" order="1.1100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TypeOfRestructuringDomain" xlink:to="us-gaap_ContractTerminationMember" order="1.1400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ValuationAllowancesAndReservesDomain" xlink:to="trex_SurfaceFlakingWarrantyReserveMember" order="1.1300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:to="us-gaap_ValuationAllowancesAndReservesDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:to="us-gaap_ValuationAllowancesAndReservesDomain_2" order="1.0000" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductWarrantyLiabilityLineItems" xlink:label="us-gaap_ProductWarrantyLiabilityLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductWarrantyLiabilityTable" xlink:label="us-gaap_ProductWarrantyLiabilityTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="us-gaap_StandardProductWarrantyAccrual"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPayments" xlink:label="us-gaap_StandardProductWarrantyAccrualPayments"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:label="us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SurfaceFlakingWarrantyReserveMember" xlink:label="trex_SurfaceFlakingWarrantyReserveMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="us-gaap_ValuationAllowancesAndReservesTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_ProductWarrantyLiabilityLineItems" xlink:to="us-gaap_ProductWarrantyLiabilityTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductWarrantyLiabilityLineItems" xlink:to="us-gaap_StandardProductWarrantyAccrual" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductWarrantyLiabilityLineItems" xlink:to="us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" order="1.0300" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductWarrantyLiabilityLineItems" xlink:to="us-gaap_StandardProductWarrantyAccrualPayments" order="1.0400" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ProductWarrantyLiabilityTable" xlink:to="us-gaap_ValuationAllowancesAndReservesTypeAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ValuationAllowancesAndReservesDomain" xlink:to="trex_SurfaceFlakingWarrantyReserveMember" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:to="us-gaap_ValuationAllowancesAndReservesDomain" order="1.0000" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="us-gaap_BusinessAcquisitionAcquireeDomain_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="us-gaap_BusinessAcquisitionAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_StagingConceptsAcquisitionLLCMember" xlink:label="trex_StagingConceptsAcquisitionLLCMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="us-gaap_SubsequentEventLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="us-gaap_SubsequentEventMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="us-gaap_SubsequentEventTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="us-gaap_SubsequentEventTypeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="us-gaap_SubsequentEventTypeDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="us-gaap_SubsequentEventTypeDomain_2"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="trex_StagingConceptsAcquisitionLLCMember" order="1.0200" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_BusinessAcquisitionAxis" xlink:to="us-gaap_BusinessAcquisitionAcquireeDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_BusinessAcquisitionAxis" xlink:to="us-gaap_BusinessAcquisitionAcquireeDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_SubsequentEventLineItems" xlink:to="us-gaap_SubsequentEventTable" order="100.0000" xbrldt:closed="true" xbrldt:contextElement="segment" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SubsequentEventLineItems" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" order="1.0100" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_SubsequentEventTable" xlink:to="us-gaap_SubsequentEventTypeAxis" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_SubsequentEventTable" xlink:to="us-gaap_BusinessAcquisitionAxis" order="2.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_SubsequentEventTypeAxis" xlink:to="us-gaap_SubsequentEventTypeDomain" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_SubsequentEventTypeAxis" xlink:to="us-gaap_SubsequentEventTypeDomain_2" order="1.0000" priority="2" use="optional"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SubsequentEventTypeDomain" xlink:to="us-gaap_SubsequentEventMember" order="1.0300" priority="2" use="optional"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNatureOfOperations">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSeasonalityDisclosureTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables">
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock">
  </definitionLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.LAB
<SEQUENCE>9
<FILENAME>trex-20170630_lab.xml
<DESCRIPTION>XBRL TAXONOMY EXTENSION LABEL LINKBASE
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFS Xcelerate Taxonomy Labels Linkbase - http://www.dfsco.com/financial-services/ -->
<!-- Version: 6.23.6 -->
<!-- Round: 5 -->
<!-- Creation date: 2017-07-24T20:48:35Z -->
<!-- Copyright (c) 2017 Donnelley Financial, LLC. All Rights Reserved. -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" roleURI="http://www.xbrl.org/2009/role/negatedLabel"/>
  <labelLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/role/link">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:label="us-gaap_AccountingChangesAndErrorCorrectionsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountingChangesAndErrorCorrectionsAbstract_lbl" xml:lang="en-US" id="id_12197217_2432502_1_1">Accounting Changes and Error Corrections [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountingChangesAndErrorCorrectionsAbstract_lbl" xml:lang="en-US" id="id_12197217_2432502_2_1">Accounting Changes and Error Corrections [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:to="us-gaap_AccountingChangesAndErrorCorrectionsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="us-gaap_AccountingPoliciesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountingPoliciesAbstract_lbl" xml:lang="en-US" id="id_12197217_2432506_1_1">Accounting Policies [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountingPoliciesAbstract_lbl" xml:lang="en-US" id="id_12197217_2432506_2_1">Accounting Policies [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_AccountingPoliciesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_lbl" xml:lang="en-US" id="id_12197217_2432525_1_1">Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_lbl" xml:lang="en-US" id="id_12197217_2432525_2_1">Accrued Expenses and Other Liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:to="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="us-gaap_AccountsPayableCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableCurrent_lbl" xml:lang="en-US" id="id_12197217_2432952_1_1">Accounts Payable, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountsPayableCurrent_lbl" xml:lang="en-US" id="id_12197217_2432952_2_1">Accounts payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableCurrent" xlink:to="us-gaap_AccountsPayableCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="us-gaap_AccountsReceivableNetCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xml:lang="en-US" id="id_12197217_2432742_1_1">Accounts Receivable, Net, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xml:lang="en-US" id="id_12197217_2432742_2_1">Accounts receivable, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsReceivableNetCurrent" xlink:to="us-gaap_AccountsReceivableNetCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccretionExpense" xlink:label="us-gaap_AccretionExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccretionExpense_lbl" xml:lang="en-US" id="id_12197217_2432744_1_1">Accretion Expense</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccretionExpense_lbl" xml:lang="en-US" id="id_12197217_2432744_2_1">Accretion of discount</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccretionExpense" xlink:to="us-gaap_AccretionExpense_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="us-gaap_AccruedIncomeTaxesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedIncomeTaxesCurrent_lbl" xml:lang="en-US" id="id_12197217_2432325_1_1">Accrued Income Taxes, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccruedIncomeTaxesCurrent_lbl" xml:lang="en-US" id="id_12197217_2432325_2_1">Income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedIncomeTaxesCurrent" xlink:to="us-gaap_AccruedIncomeTaxesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:label="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty_lbl" xml:lang="en-US" id="id_12197217_2599882_3_1">Accrued liabilities and other liabilities current excluding warranty.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty_lbl" xml:lang="en-US" id="id_12197217_2599882_1_1">Accrued Liabilities And Other Liabilities Current Excluding Warranty</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty_lbl" xml:lang="en-US" id="id_12197217_2599882_2_1">Accrued expenses and other liabilities</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty_lbl" xml:lang="en-US" id="id_12197217_2599882_6_1">Total accrued expenses and other liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:to="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_AccruedManufacturingExpensesCurrent" xlink:label="trex_AccruedManufacturingExpensesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_AccruedManufacturingExpensesCurrent_lbl" xml:lang="en-US" id="id_12197217_2563921_3_1">Accrued expenses related to manufacturing facilities primarily consisting of accrued utilities, equipment rentals and temporary labor expenses.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_AccruedManufacturingExpensesCurrent_lbl" xml:lang="en-US" id="id_12197217_2563921_1_1">Accrued Manufacturing Expenses Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_AccruedManufacturingExpensesCurrent_lbl" xml:lang="en-US" id="id_12197217_2563921_2_1">Manufacturing costs</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_AccruedManufacturingExpensesCurrent" xlink:to="trex_AccruedManufacturingExpensesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedMarketingCostsCurrent" xlink:label="us-gaap_AccruedMarketingCostsCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedMarketingCostsCurrent_lbl" xml:lang="en-US" id="id_12197217_2432983_1_1">Accrued Marketing Costs, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccruedMarketingCostsCurrent_lbl" xml:lang="en-US" id="id_12197217_2432983_2_1">Sales and marketing</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedMarketingCostsCurrent" xlink:to="us-gaap_AccruedMarketingCostsCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" xml:lang="en-US" id="id_12197217_2432790_1_1">Additional Paid in Capital, Common Stock</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" xml:lang="en-US" id="id_12197217_2432790_2_1">Additional paid-in capital</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xml:lang="en-US" id="id_12197217_2432797_1_1">Adjustments, Noncash Items, to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xml:lang="en-US" id="id_12197217_2432797_2_1">Adjustments to reconcile net income to net cash provided by operating activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" xlink:label="us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_lbl" xml:lang="en-US" id="id_12197217_2433032_1_1">Adjustment to Additional Paid in Capital, Income Tax Effect from Share-based Compensation, Net</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_lbl" xml:lang="en-US" id="id_12197217_2433032_2_1">Excess tax benefits from stock based awards</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" xlink:to="us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl" xml:lang="en-US" id="id_12197217_2432632_1_1">Allocated Share-based Compensation Expense</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl" xml:lang="en-US" id="id_12197217_2432632_2_1">Stock-based compensation expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllocatedShareBasedCompensationExpense" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag" xlink:label="dei_AmendmentFlag"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_AmendmentFlag_lbl" xml:lang="en-US" id="id_12197217_2432431_1_1">Amendment Flag</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_AmendmentFlag_lbl" xml:lang="en-US" id="id_12197217_2432431_2_1">Amendment Flag</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentFlag" xlink:to="dei_AmendmentFlag_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_lbl" xml:lang="en-US" id="id_12197217_2432677_1_1">Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_lbl" xml:lang="en-US" id="id_12197217_2432677_2_1">Anti-dilutive securities excluded from the computation of diluted earnings per share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_lbl" xml:lang="en-US" id="id_12197217_2433098_1_1">Antidilutive Securities [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_lbl" xml:lang="en-US" id="id_12197217_2433098_2_1">Antidilutive Securities [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_lbl" xml:lang="en-US" id="id_12197217_2432447_1_1">Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_lbl" xml:lang="en-US" id="id_12197217_2432447_2_1">Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AntidilutiveSecuritiesNameDomain_lbl" xml:lang="en-US" id="id_12197217_2433099_1_1">Antidilutive Securities, Name [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AntidilutiveSecuritiesNameDomain_lbl" xml:lang="en-US" id="id_12197217_2433099_2_1">Antidilutive Securities, Name [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AntidilutiveSecuritiesNameDomain" xlink:to="us-gaap_AntidilutiveSecuritiesNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AreaOfRealEstateProperty" xlink:label="us-gaap_AreaOfRealEstateProperty"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AreaOfRealEstateProperty_lbl" xml:lang="en-US" id="id_12197217_2432459_1_1">Area of Real Estate Property</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AreaOfRealEstateProperty_lbl" xml:lang="en-US" id="id_12197217_2432459_2_1">Lease square feet</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AreaOfRealEstateProperty" xlink:to="us-gaap_AreaOfRealEstateProperty_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Assets_lbl" xml:lang="en-US" id="id_12197217_2433119_1_1">Assets</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_Assets_lbl" xml:lang="en-US" id="id_12197217_2433119_6_1">Total assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Assets" xlink:to="us-gaap_Assets_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="us-gaap_AssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsAbstract_lbl" xml:lang="en-US" id="id_12197217_2432695_1_1">Assets [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssetsAbstract_lbl" xml:lang="en-US" id="id_12197217_2432695_2_1">Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_AssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="us-gaap_AssetsCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsCurrent_lbl" xml:lang="en-US" id="id_12197217_2432697_1_1">Assets, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AssetsCurrent_lbl" xml:lang="en-US" id="id_12197217_2432697_6_1">Total current assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AssetsCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="us-gaap_AssetsCurrentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsCurrentAbstract_lbl" xml:lang="en-US" id="id_12197217_2433122_1_1">Assets, Current [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssetsCurrentAbstract_lbl" xml:lang="en-US" id="id_12197217_2433122_2_1">Current assets:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsCurrentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AwardTypeAxis_lbl" xml:lang="en-US" id="id_12197217_2433414_1_1">Award Type [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AwardTypeAxis_lbl" xml:lang="en-US" id="id_12197217_2433414_2_1">Award Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_AwardTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionAcquireeDomain_lbl" xml:lang="en-US" id="id_12197217_2433916_1_1">Business Acquisition, Acquiree [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_BusinessAcquisitionAcquireeDomain_lbl" xml:lang="en-US" id="id_12197217_2433916_2_1">Business Acquisition, Acquiree [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="us-gaap_BusinessAcquisitionAcquireeDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="us-gaap_BusinessAcquisitionAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionAxis_lbl" xml:lang="en-US" id="id_12197217_2433694_1_1">Business Acquisition [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_BusinessAcquisitionAxis_lbl" xml:lang="en-US" id="id_12197217_2433694_2_1">Business Acquisition [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionAxis" xlink:to="us-gaap_BusinessAcquisitionAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_lbl" xml:lang="en-US" id="id_12197217_2433956_1_1">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_lbl" xml:lang="en-US" id="id_12197217_2433956_2_1">Certain assets and liabilities acquired in cash</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US" id="id_12197217_2434030_1_1">Cash and Cash Equivalents, at Carrying Value</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US" id="id_12197217_2434030_4_1">Cash and cash equivalents, end of period</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US" id="id_12197217_2434030_5_1">Cash and cash equivalents, beginning of period</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US" id="id_12197217_2434030_2_1">Cash and cash equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl" xml:lang="en-US" id="id_12197217_2434458_1_1">Cash and Cash Equivalents, Period Increase (Decrease)</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl" xml:lang="en-US" id="id_12197217_2434458_6_1">Net decrease in cash and cash equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="us-gaap_ClassOfTreasuryStockTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ClassOfTreasuryStockTable_lbl" xml:lang="en-US" id="id_12197217_2434789_1_1">Class of Treasury Stock [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ClassOfTreasuryStockTable_lbl" xml:lang="en-US" id="id_12197217_2434789_2_1">Class of Treasury Stock [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ClassOfTreasuryStockTable" xlink:to="us-gaap_ClassOfTreasuryStockTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommitmentsAndContingencies_lbl" xml:lang="en-US" id="id_12197217_2434162_1_1">Commitments and Contingencies</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommitmentsAndContingencies_lbl" xml:lang="en-US" id="id_12197217_2434162_2_1">Commitments and contingencies</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingencies" xlink:to="us-gaap_CommitmentsAndContingencies_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl" xml:lang="en-US" id="id_12197217_2434560_1_1">Commitments and Contingencies Disclosure [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl" xml:lang="en-US" id="id_12197217_2434560_2_1">Commitments and Contingencies Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2434393_1_1">Commitments and Contingencies Disclosure [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2434393_2_1">Commitments and Contingencies</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare_lbl" xml:lang="en-US" id="id_12197217_2434835_1_1">Common Stock, Par or Stated Value Per Share</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare_lbl" xml:lang="en-US" id="id_12197217_2434835_2_1">Common stock, par value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockParOrStatedValuePerShare" xlink:to="us-gaap_CommonStockParOrStatedValuePerShare_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="us-gaap_CommonStockSharesAuthorized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockSharesAuthorized_lbl" xml:lang="en-US" id="id_12197217_2434172_1_1">Common Stock, Shares Authorized</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockSharesAuthorized_lbl" xml:lang="en-US" id="id_12197217_2434172_2_1">Common stock, shares authorized</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesAuthorized" xlink:to="us-gaap_CommonStockSharesAuthorized_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="us-gaap_CommonStockSharesIssued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockSharesIssued_lbl" xml:lang="en-US" id="id_12197217_2434837_1_1">Common Stock, Shares, Issued</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockSharesIssued_lbl" xml:lang="en-US" id="id_12197217_2434837_2_1">Common stock, shares issued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesIssued" xlink:to="us-gaap_CommonStockSharesIssued_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="us-gaap_CommonStockSharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockSharesOutstanding_lbl" xml:lang="en-US" id="id_12197217_2434173_1_1">Common Stock, Shares, Outstanding</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockSharesOutstanding_lbl" xml:lang="en-US" id="id_12197217_2434173_2_1">Common stock, shares outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesOutstanding" xlink:to="us-gaap_CommonStockSharesOutstanding_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockValue_lbl" xml:lang="en-US" id="id_12197217_2434840_1_1">Common Stock, Value, Issued</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockValue_lbl" xml:lang="en-US" id="id_12197217_2434840_2_1">Common stock, $0.01 par value, 80,000,000 shares authorized; 34,899,586 and 34,894,233 shares issued and 29,405,905 and 29,400,552 shares outstanding at June 30, 2017 and December 31, 2016, respectively</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockValue" xlink:to="us-gaap_CommonStockValue_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems_lbl" xml:lang="en-US" id="id_12197217_2472482_3_1">Components Of Basic And Diluted Earning Per Share [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems_lbl" xml:lang="en-US" id="id_12197217_2472482_1_1">Components Of Basic And Diluted Earning Per Share [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems_lbl" xml:lang="en-US" id="id_12197217_2472482_2_1">Components Of Basic And Diluted Earning Per Share [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ComponentsOfBasicAndDilutedEarningPerShareTable" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareTable_lbl" xml:lang="en-US" id="id_12197217_2647169_3_1">Components Of Basic And Diluted Earning Per Share [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareTable_lbl" xml:lang="en-US" id="id_12197217_2647169_1_1">Components Of Basic And Diluted Earning Per Share [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareTable_lbl" xml:lang="en-US" id="id_12197217_2647169_2_1">Components Of Basic And Diluted Earning Per Share [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareTable" xlink:to="trex_ComponentsOfBasicAndDilutedEarningPerShareTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax_lbl" xml:lang="en-US" id="id_12197217_2434850_1_1">Comprehensive Income (Loss), Net of Tax, Attributable to Parent</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax_lbl" xml:lang="en-US" id="id_12197217_2434850_2_1">Comprehensive income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="us-gaap_ComprehensiveIncomeNetOfTax_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="us-gaap_ContractTerminationMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ContractTerminationMember_lbl" xml:lang="en-US" id="id_12197217_2434904_1_1">Contract Termination [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ContractTerminationMember_lbl" xml:lang="en-US" id="id_12197217_2434904_2_1">Contract Termination [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ContractTerminationMember" xlink:to="us-gaap_ContractTerminationMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="us-gaap_CostOfGoodsAndServicesSold"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostOfGoodsAndServicesSold_lbl" xml:lang="en-US" id="id_12197217_2435586_1_1">Cost of Goods and Services Sold</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CostOfGoodsAndServicesSold_lbl" xml:lang="en-US" id="id_12197217_2435586_2_1">Cost of sales</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfGoodsAndServicesSold" xlink:to="us-gaap_CostOfGoodsAndServicesSold_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="us-gaap_CreditFacilityAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CreditFacilityAxis_lbl" xml:lang="en-US" id="id_12197217_2435419_1_1">Credit Facility [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CreditFacilityAxis_lbl" xml:lang="en-US" id="id_12197217_2435419_2_1">Credit Facility [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="us-gaap_CreditFacilityDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CreditFacilityDomain_lbl" xml:lang="en-US" id="id_12197217_2435420_1_1">Credit Facility [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CreditFacilityDomain_lbl" xml:lang="en-US" id="id_12197217_2435420_2_1">Credit Facility [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="us-gaap_CreditFacilityDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="dei_CurrentFiscalYearEndDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xml:lang="en-US" id="id_12197217_2435642_1_1">Current Fiscal Year End Date</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xml:lang="en-US" id="id_12197217_2435642_2_1">Current Fiscal Year End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CurrentFiscalYearEndDate" xlink:to="dei_CurrentFiscalYearEndDate_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="us-gaap_DebtDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtDisclosureAbstract_lbl" xml:lang="en-US" id="id_12197217_2435671_1_1">Debt Disclosure [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtDisclosureAbstract_lbl" xml:lang="en-US" id="id_12197217_2435671_2_1">Debt Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureTextBlock" xlink:label="us-gaap_DebtDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2435672_1_1">Debt Disclosure [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2435672_2_1">Debt</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureTextBlock" xlink:to="us-gaap_DebtDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="us-gaap_DebtInstrumentAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentAxis_lbl" xml:lang="en-US" id="id_12197217_2435465_1_1">Debt Instrument [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtInstrumentAxis_lbl" xml:lang="en-US" id="id_12197217_2435465_2_1">Debt Instrument [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentAxis" xlink:to="us-gaap_DebtInstrumentAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="us-gaap_DebtInstrumentNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentNameDomain_lbl" xml:lang="en-US" id="id_12197217_2435683_1_1">Debt Instrument, Name [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtInstrumentNameDomain_lbl" xml:lang="en-US" id="id_12197217_2435683_2_1">Debt Instrument, Name [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentNameDomain" xlink:to="us-gaap_DebtInstrumentNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRentCreditCurrent" xlink:label="us-gaap_DeferredRentCreditCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredRentCreditCurrent_lbl" xml:lang="en-US" id="id_12197217_2436205_1_1">Deferred Rent Credit, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredRentCreditCurrent_lbl" xml:lang="en-US" id="id_12197217_2436205_2_1">Rent obligations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredRentCreditCurrent" xlink:to="us-gaap_DeferredRentCreditCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsValuationAllowance_lbl" xml:lang="en-US" id="id_12197217_2436236_1_1">Deferred Tax Assets, Valuation Allowance</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxAssetsValuationAllowance_lbl" xml:lang="en-US" id="id_12197217_2436236_2_1">Valuation allowance</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsValuationAllowance" xlink:to="us-gaap_DeferredTaxAssetsValuationAllowance_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent_lbl" xml:lang="en-US" id="id_12197217_2435826_1_1">Deferred Tax Liabilities, Net, Noncurrent</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent_lbl" xml:lang="en-US" id="id_12197217_2435826_2_1">Deferred income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="us-gaap_DepreciationDepletionAndAmortization"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DepreciationDepletionAndAmortization_lbl" xml:lang="en-US" id="id_12197217_2436331_1_1">Depreciation, Depletion and Amortization</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DepreciationDepletionAndAmortization_lbl" xml:lang="en-US" id="id_12197217_2436331_2_1">Depreciation and amortization</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DepreciationDepletionAndAmortization" xlink:to="us-gaap_DepreciationDepletionAndAmortization_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted" xlink:label="us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted_lbl" xml:lang="en-US" id="id_12197217_2437074_1_1">Description of New Accounting Pronouncements Not yet Adopted [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted_lbl" xml:lang="en-US" id="id_12197217_2437074_2_1">New Accounting Standards Not Yet Adopted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted" xlink:to="us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_lbl" xml:lang="en-US" id="id_12197217_2437359_1_1">Disclosure of Compensation Related Costs, Share-based Payments [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_lbl" xml:lang="en-US" id="id_12197217_2437359_2_1">Disclosure of Compensation Related Costs, Share-based Payments [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_lbl" xml:lang="en-US" id="id_12197217_2437103_1_1">Disclosure of Compensation Related Costs, Share-based Payments [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_lbl" xml:lang="en-US" id="id_12197217_2437103_2_1">Stock-Based Compensation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:to="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_DocumentAndEntityInformationAbstract" xlink:label="trex_DocumentAndEntityInformationAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_DocumentAndEntityInformationAbstract_lbl" xml:lang="en-US" id="id_12197217_2455411_3_1">Document and entity information.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_DocumentAndEntityInformationAbstract_lbl" xml:lang="en-US" id="id_12197217_2455411_1_1">Document And Entity Information [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_DocumentAndEntityInformationAbstract_lbl" xml:lang="en-US" id="id_12197217_2455411_2_1">Document And Entity Information [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="trex_DocumentAndEntityInformationAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="dei_DocumentFiscalPeriodFocus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xml:lang="en-US" id="id_12197217_2437192_1_1">Document Fiscal Period Focus</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xml:lang="en-US" id="id_12197217_2437192_2_1">Document Fiscal Period Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalPeriodFocus" xlink:to="dei_DocumentFiscalPeriodFocus_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="dei_DocumentFiscalYearFocus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentFiscalYearFocus_lbl" xml:lang="en-US" id="id_12197217_2437193_1_1">Document Fiscal Year Focus</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentFiscalYearFocus_lbl" xml:lang="en-US" id="id_12197217_2437193_2_1">Document Fiscal Year Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalYearFocus" xlink:to="dei_DocumentFiscalYearFocus_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="dei_DocumentPeriodEndDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentPeriodEndDate_lbl" xml:lang="en-US" id="id_12197217_2437438_1_1">Document Period End Date</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentPeriodEndDate_lbl" xml:lang="en-US" id="id_12197217_2437438_2_1">Document Period End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentPeriodEndDate" xlink:to="dei_DocumentPeriodEndDate_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType" xlink:label="dei_DocumentType"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentType_lbl" xml:lang="en-US" id="id_12197217_2437197_1_1">Document Type</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentType_lbl" xml:lang="en-US" id="id_12197217_2437197_2_1">Document Type</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentType" xlink:to="dei_DocumentType_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarliestTaxYearMember" xlink:label="us-gaap_EarliestTaxYearMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarliestTaxYearMember_lbl" xml:lang="en-US" id="id_12197217_2436943_1_1">Earliest Tax Year [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarliestTaxYearMember_lbl" xml:lang="en-US" id="id_12197217_2436943_2_1">Earliest Tax Year [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarliestTaxYearMember" xlink:to="us-gaap_EarliestTaxYearMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="us-gaap_EarningsPerShareBasic"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xml:lang="en-US" id="id_12197217_2437465_1_1">Earnings Per Share, Basic</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveLabel" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xml:lang="en-US" id="id_12197217_2437465_32_1">Basic net income per share</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xml:lang="en-US" id="id_12197217_2437465_2_1">Basic earnings per common share</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xml:lang="en-US" id="id_12197217_2437465_12_1">Basic earnings per share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareBasic" xlink:to="us-gaap_EarningsPerShareBasic_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="us-gaap_EarningsPerShareDiluted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xml:lang="en-US" id="id_12197217_2437214_1_1">Earnings Per Share, Diluted</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveLabel" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xml:lang="en-US" id="id_12197217_2437214_32_1">Diluted net income per share</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xml:lang="en-US" id="id_12197217_2437214_2_1">Diluted earnings per common share</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xml:lang="en-US" id="id_12197217_2437214_12_1">Diluted earnings per share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareDiluted" xlink:to="us-gaap_EarningsPerShareDiluted_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2436962_1_1">Effective Income Tax Rate Reconciliation, Percent</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2436962_2_1">Effective tax rate</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities_lbl" xml:lang="en-US" id="id_12197217_2438133_1_1">Effective Income Tax Rate Reconciliation, Deduction, Qualified Production Activity, Percent</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities_lbl" xml:lang="en-US" id="id_12197217_2438133_2_1">Decrease in effective tax rate due to increase in domestic production activities deduction</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectOfLIFOInventoryLiquidationOnIncome" xlink:label="us-gaap_EffectOfLIFOInventoryLiquidationOnIncome"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectOfLIFOInventoryLiquidationOnIncome_lbl" xml:lang="en-US" id="id_12197217_2438156_1_1">Effect of LIFO Inventory Liquidation on Income</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectOfLIFOInventoryLiquidationOnIncome_lbl" xml:lang="en-US" id="id_12197217_2438156_2_1">LIFO inventory liquidations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectOfLIFOInventoryLiquidationOnIncome" xlink:to="us-gaap_EffectOfLIFOInventoryLiquidationOnIncome_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent_lbl" xml:lang="en-US" id="id_12197217_2437004_1_1">Employee-related Liabilities, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent_lbl" xml:lang="en-US" id="id_12197217_2437004_2_1">Compensation and benefits</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl" xml:lang="en-US" id="id_12197217_2437510_1_1">Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl" xml:lang="en-US" id="id_12197217_2437510_2_1">Unrecognized compensation cost related to unvested awards</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_EmployeeStockPurchasePlanMember" xlink:label="trex_EmployeeStockPurchasePlanMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_EmployeeStockPurchasePlanMember_lbl" xml:lang="en-US" id="id_12197217_2666068_3_1">Employee stock purchase plan.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_EmployeeStockPurchasePlanMember_lbl" xml:lang="en-US" id="id_12197217_2666068_1_1">Employee Stock Purchase Plan [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_EmployeeStockPurchasePlanMember_lbl" xml:lang="en-US" id="id_12197217_2666068_2_1">Employee Stock Purchase Plan [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_EmployeeStockPurchasePlanMember" xlink:to="trex_EmployeeStockPurchasePlanMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="dei_EntityCentralIndexKey"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCentralIndexKey_lbl" xml:lang="en-US" id="id_12197217_2437941_1_1">Entity Central Index Key</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityCentralIndexKey_lbl" xml:lang="en-US" id="id_12197217_2437941_2_1">Entity Central Index Key</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCentralIndexKey" xlink:to="dei_EntityCentralIndexKey_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="dei_EntityCommonStockSharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl" xml:lang="en-US" id="id_12197217_2438208_1_1">Entity Common Stock, Shares Outstanding</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl" xml:lang="en-US" id="id_12197217_2438208_2_1">Entity Common Stock, Shares Outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCommonStockSharesOutstanding" xlink:to="dei_EntityCommonStockSharesOutstanding_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory" xlink:label="dei_EntityFilerCategory"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityFilerCategory_lbl" xml:lang="en-US" id="id_12197217_2438213_1_1">Entity Filer Category</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityFilerCategory_lbl" xml:lang="en-US" id="id_12197217_2438213_2_1">Entity Filer Category</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFilerCategory" xlink:to="dei_EntityFilerCategory_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName" xlink:label="dei_EntityRegistrantName"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityRegistrantName_lbl" xml:lang="en-US" id="id_12197217_2437699_1_1">Entity Registrant Name</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityRegistrantName_lbl" xml:lang="en-US" id="id_12197217_2437699_2_1">Entity Registrant Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityRegistrantName" xlink:to="dei_EntityRegistrantName_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract" xlink:label="us-gaap_EquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityAbstract_lbl" xml:lang="en-US" id="id_12197217_2437558_1_1">Equity [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityAbstract_lbl" xml:lang="en-US" id="id_12197217_2437558_2_1">Equity [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_EquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="us-gaap_EquityClassOfTreasuryStockLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityClassOfTreasuryStockLineItems_lbl" xml:lang="en-US" id="id_12197217_2437969_1_1">Equity, Class of Treasury Stock [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityClassOfTreasuryStockLineItems_lbl" xml:lang="en-US" id="id_12197217_2437969_2_1">Equity, Class of Treasury Stock [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="us-gaap_EquityClassOfTreasuryStockLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl" xml:lang="en-US" id="id_12197217_2438116_1_1">Fair Value of Financial Instruments, Policy [Policy Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl" xml:lang="en-US" id="id_12197217_2438116_2_1">Financial Instruments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember" xlink:label="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember_lbl" xml:lang="en-US" id="id_12197217_2699116_3_1">February 2017 stock repurchase program.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember_lbl" xml:lang="en-US" id="id_12197217_2699116_1_1">February Two Thousand Seventeen Stock Repurchase Program [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember_lbl" xml:lang="en-US" id="id_12197217_2699116_2_1">February 2017 Stock Repurchase Program [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember" xlink:to="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2439168_1_1">Financial Instruments Disclosure [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2439168_2_1">Financial Instruments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:to="us-gaap_FinancialInstrumentsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment_lbl" xml:lang="en-US" id="id_12197217_2439496_1_1">Gain (Loss) on Disposition of Property Plant Equipment</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment_lbl" xml:lang="en-US" id="id_12197217_2439496_14_1">Loss (gain) on disposal of property, plant and equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit" xlink:label="us-gaap_GrossProfit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GrossProfit_lbl" xml:lang="en-US" id="id_12197217_2439362_1_1">Gross Profit</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_GrossProfit_lbl" xml:lang="en-US" id="id_12197217_2439362_6_1">Gross profit</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_GrossProfit_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xml:lang="en-US" id="id_12197217_2440071_1_1">Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xml:lang="en-US" id="id_12197217_2440071_6_1">Income before income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementAbstract" xlink:label="us-gaap_IncomeStatementAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeStatementAbstract_lbl" xml:lang="en-US" id="id_12197217_2440732_1_1">Income Statement [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeStatementAbstract_lbl" xml:lang="en-US" id="id_12197217_2440732_2_1">Income Statement [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeStatementAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="us-gaap_IncomeTaxAuthorityNameAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxAuthorityNameAxis_lbl" xml:lang="en-US" id="id_12197217_2440602_1_1">Income Tax Authority, Name [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxAuthorityNameAxis_lbl" xml:lang="en-US" id="id_12197217_2440602_2_1">Income Tax Authority, Name [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxAuthorityNameAxis" xlink:to="us-gaap_IncomeTaxAuthorityNameAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="us-gaap_IncomeTaxAuthorityNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxAuthorityNameDomain_lbl" xml:lang="en-US" id="id_12197217_2440734_1_1">Income Tax Authority, Name [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxAuthorityNameDomain_lbl" xml:lang="en-US" id="id_12197217_2440734_2_1">Income Tax Authority, Name [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxAuthorityNameDomain" xlink:to="us-gaap_IncomeTaxAuthorityNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxContingencyLineItems" xlink:label="us-gaap_IncomeTaxContingencyLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxContingencyLineItems_lbl" xml:lang="en-US" id="id_12197217_2440735_1_1">Income Tax Contingency [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxContingencyLineItems_lbl" xml:lang="en-US" id="id_12197217_2440735_2_1">Income Tax Contingency [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_IncomeTaxContingencyLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxContingencyTable" xlink:label="us-gaap_IncomeTaxContingencyTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxContingencyTable_lbl" xml:lang="en-US" id="id_12197217_2440349_1_1">Income Tax Contingency [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxContingencyTable_lbl" xml:lang="en-US" id="id_12197217_2440349_2_1">Income Tax Contingency [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxContingencyTable" xlink:to="us-gaap_IncomeTaxContingencyTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="us-gaap_IncomeTaxDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxDisclosureAbstract_lbl" xml:lang="en-US" id="id_12197217_2440737_1_1">Income Tax Disclosure [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxDisclosureAbstract_lbl" xml:lang="en-US" id="id_12197217_2440737_2_1">Income Tax Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2440154_1_1">Income Tax Disclosure [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2440154_2_1">Income Taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="us-gaap_IncomeTaxesPaidNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxesPaidNet_lbl" xml:lang="en-US" id="id_12197217_2440158_1_1">Income Taxes Paid, Net</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxesPaidNet_lbl" xml:lang="en-US" id="id_12197217_2440158_2_1">Cash paid for income taxes, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesPaidNet" xlink:to="us-gaap_IncomeTaxesPaidNet_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="us-gaap_IncomeTaxesReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxesReceivable_lbl" xml:lang="en-US" id="id_12197217_2440353_1_1">Income Taxes Receivable, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxesReceivable_lbl" xml:lang="en-US" id="id_12197217_2440353_2_1">Income tax receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesReceivable" xlink:to="us-gaap_IncomeTaxesReceivable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US" id="id_12197217_2440740_1_1">Income Tax Expense (Benefit)</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US" id="id_12197217_2440740_2_1">Income tax expense (benefit)</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US" id="id_12197217_2440740_12_1">Provision for income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable_lbl" xml:lang="en-US" id="id_12197217_2440761_1_1">Increase (Decrease) in Accounts Payable</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable_lbl" xml:lang="en-US" id="id_12197217_2440761_2_1">Accounts payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsPayable" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl" xml:lang="en-US" id="id_12197217_2440630_1_1">Increase (Decrease) in Accounts Receivable</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl" xml:lang="en-US" id="id_12197217_2440630_14_1">Accounts receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_lbl" xml:lang="en-US" id="id_12197217_2440766_1_1">Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_lbl" xml:lang="en-US" id="id_12197217_2440766_2_1">Accrued expenses and other liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:to="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable_lbl" xml:lang="en-US" id="id_12197217_2440417_1_1">Increase (Decrease) in Income Taxes Payable, Net of Income Taxes Receivable</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable_lbl" xml:lang="en-US" id="id_12197217_2440417_2_1">Income taxes receivable/payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="us-gaap_IncreaseDecreaseInInventories"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInInventories_lbl" xml:lang="en-US" id="id_12197217_2440664_1_1">Increase (Decrease) in Inventories</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInInventories_lbl" xml:lang="en-US" id="id_12197217_2440664_14_1">Inventories</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInInventories" xlink:to="us-gaap_IncreaseDecreaseInInventories_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" xlink:label="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract_lbl" xml:lang="en-US" id="id_12197217_2440801_1_1">Increase (Decrease) in Operating Assets [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract_lbl" xml:lang="en-US" id="id_12197217_2440801_2_1">Changes in operating assets and liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" xlink:to="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl" xml:lang="en-US" id="id_12197217_2440814_1_1">Increase (Decrease) in Prepaid Expense and Other Assets</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl" xml:lang="en-US" id="id_12197217_2440814_14_1">Prepaid expenses and other assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" xml:lang="en-US" id="id_12197217_2440706_1_1">Incremental Common Shares Attributable to Dilutive Effect of Share-based Payment Arrangements</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" xml:lang="en-US" id="id_12197217_2440706_2_1">Dilutive securities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:to="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:label="us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IntangibleAssetsNetIncludingGoodwill_lbl" xml:lang="en-US" id="id_12197217_2440945_1_1">Intangible Assets, Net (Including Goodwill)</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IntangibleAssetsNetIncludingGoodwill_lbl" xml:lang="en-US" id="id_12197217_2440945_2_1">Goodwill and other intangibles</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:to="us-gaap_IntangibleAssetsNetIncludingGoodwill_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="us-gaap_InterestExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InterestExpense_lbl" xml:lang="en-US" id="id_12197217_2440889_1_1">Interest Expense</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InterestExpense_lbl" xml:lang="en-US" id="id_12197217_2440889_2_1">Interest expense, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestExpense" xlink:to="us-gaap_InterestExpense_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestPaidNet" xlink:label="us-gaap_InterestPaidNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InterestPaidNet_lbl" xml:lang="en-US" id="id_12197217_2441447_1_1">Interest Paid, Net</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InterestPaidNet_lbl" xml:lang="en-US" id="id_12197217_2441447_2_1">Cash paid for interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestPaidNet" xlink:to="us-gaap_InterestPaidNet_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="us-gaap_InternalRevenueServiceIRSMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InternalRevenueServiceIRSMember_lbl" xml:lang="en-US" id="id_12197217_2441593_1_1">Internal Revenue Service (IRS) [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InternalRevenueServiceIRSMember_lbl" xml:lang="en-US" id="id_12197217_2441593_2_1">Federal Tax Jurisdiction [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InternalRevenueServiceIRSMember" xlink:to="us-gaap_InternalRevenueServiceIRSMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="us-gaap_InventoryDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryDisclosureAbstract_lbl" xml:lang="en-US" id="id_12197217_2441474_1_1">Inventory Disclosure [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InventoryDisclosureAbstract_lbl" xml:lang="en-US" id="id_12197217_2441474_2_1">Inventory Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryDisclosureAbstract" xlink:to="us-gaap_InventoryDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryDisclosureTextBlock" xlink:label="us-gaap_InventoryDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2441599_1_1">Inventory Disclosure [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InventoryDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2441599_2_1">Inventories</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryDisclosureTextBlock" xlink:to="us-gaap_InventoryDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryFinishedGoods" xlink:label="us-gaap_InventoryFinishedGoods"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryFinishedGoods_lbl" xml:lang="en-US" id="id_12197217_2441025_1_1">Inventory, Finished Goods, Gross</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InventoryFinishedGoods_lbl" xml:lang="en-US" id="id_12197217_2441025_2_1">Finished goods</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryFinishedGoods" xlink:to="us-gaap_InventoryFinishedGoods_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryGross" xlink:label="us-gaap_InventoryGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryGross_lbl" xml:lang="en-US" id="id_12197217_2441605_1_1">Inventory, Gross</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_InventoryGross_lbl" xml:lang="en-US" id="id_12197217_2441605_6_1">Total FIFO (first-in, first-out) inventories</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryGross" xlink:to="us-gaap_InventoryGross_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryLIFOReserve" xlink:label="us-gaap_InventoryLIFOReserve"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryLIFOReserve_lbl" xml:lang="en-US" id="id_12197217_2441609_1_1">Inventory, LIFO Reserve</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_InventoryLIFOReserve_lbl" xml:lang="en-US" id="id_12197217_2441609_14_1">Reserve to adjust inventories to LIFO value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryLIFOReserve" xlink:to="us-gaap_InventoryLIFOReserve_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="us-gaap_InventoryNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryNet_lbl" xml:lang="en-US" id="id_12197217_2441030_1_1">Inventory, Net</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InventoryNet_lbl" xml:lang="en-US" id="id_12197217_2441030_2_1">Inventories</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_InventoryNet_lbl" xml:lang="en-US" id="id_12197217_2441030_6_1">Total LIFO inventories</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryNet_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryRawMaterials" xlink:label="us-gaap_InventoryRawMaterials"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryRawMaterials_lbl" xml:lang="en-US" id="id_12197217_2441617_1_1">Inventory, Raw Materials, Gross</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InventoryRawMaterials_lbl" xml:lang="en-US" id="id_12197217_2441617_2_1">Raw materials</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryRawMaterials" xlink:to="us-gaap_InventoryRawMaterials_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsAllOtherInvestmentsAbstract" xlink:label="us-gaap_InvestmentsAllOtherInvestmentsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentsAllOtherInvestmentsAbstract_lbl" xml:lang="en-US" id="id_12197217_2441321_1_1">Investments, All Other Investments [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentsAllOtherInvestmentsAbstract_lbl" xml:lang="en-US" id="id_12197217_2441321_2_1">Investments, All Other Investments [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentsAllOtherInvestmentsAbstract" xlink:to="us-gaap_InvestmentsAllOtherInvestmentsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LatestTaxYearMember" xlink:label="us-gaap_LatestTaxYearMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LatestTaxYearMember_lbl" xml:lang="en-US" id="id_12197217_2441819_1_1">Latest Tax Year [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LatestTaxYearMember_lbl" xml:lang="en-US" id="id_12197217_2441819_2_1">Latest Tax Year [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LatestTaxYearMember" xlink:to="us-gaap_LatestTaxYearMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Liabilities_lbl" xml:lang="en-US" id="id_12197217_2442110_1_1">Liabilities</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_Liabilities_lbl" xml:lang="en-US" id="id_12197217_2442110_6_1">Total liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_Liabilities_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xml:lang="en-US" id="id_12197217_2442111_1_1">Liabilities and Equity</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xml:lang="en-US" id="id_12197217_2442111_6_1">Total liabilities and stockholders' equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xml:lang="en-US" id="id_12197217_2441888_1_1">Liabilities and Equity [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xml:lang="en-US" id="id_12197217_2441888_2_1">Liabilities and Stockholders' Equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="us-gaap_LiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesCurrent_lbl" xml:lang="en-US" id="id_12197217_2442451_1_1">Liabilities, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesCurrent_lbl" xml:lang="en-US" id="id_12197217_2442451_6_1">Total current liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="us-gaap_LiabilitiesCurrentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesCurrentAbstract_lbl" xml:lang="en-US" id="id_12197217_2442113_1_1">Liabilities, Current [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilitiesCurrentAbstract_lbl" xml:lang="en-US" id="id_12197217_2442113_2_1">Current liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LiabilitiesCurrentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityExpirationDate1" xlink:label="us-gaap_LineOfCreditFacilityExpirationDate1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LineOfCreditFacilityExpirationDate1_lbl" xml:lang="en-US" id="id_12197217_2442438_1_1">Line of Credit Facility, Expiration Date</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LineOfCreditFacilityExpirationDate1_lbl" xml:lang="en-US" id="id_12197217_2442438_2_1">Termination date of the Credit Agreement</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityExpirationDate1" xlink:to="us-gaap_LineOfCreditFacilityExpirationDate1_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="us-gaap_LineOfCreditFacilityLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LineOfCreditFacilityLineItems_lbl" xml:lang="en-US" id="id_12197217_2442006_1_1">Line of Credit Facility [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LineOfCreditFacilityLineItems_lbl" xml:lang="en-US" id="id_12197217_2442006_2_1">Line of Credit Facility [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LineOfCreditFacilityLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_lbl" xml:lang="en-US" id="id_12197217_2442441_1_1">Line of Credit Facility, Maximum Borrowing Capacity</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_lbl" xml:lang="en-US" id="id_12197217_2442441_2_1">Revolving loans in a collective maximum principal amount</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:to="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_lbl" xml:lang="en-US" id="id_12197217_2442540_1_1">Line of Credit Facility, Remaining Borrowing Capacity</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_lbl" xml:lang="en-US" id="id_12197217_2442540_2_1">Remaining available borrowing capacity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:to="us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="us-gaap_LineOfCreditFacilityTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LineOfCreditFacilityTable_lbl" xml:lang="en-US" id="id_12197217_2442443_1_1">Line of Credit Facility [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LineOfCreditFacilityTable_lbl" xml:lang="en-US" id="id_12197217_2442443_2_1">Line of Credit Facility [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityTable" xlink:to="us-gaap_LineOfCreditFacilityTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent" xlink:label="us-gaap_LinesOfCreditCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LinesOfCreditCurrent_lbl" xml:lang="en-US" id="id_12197217_2442663_1_1">Line of Credit, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LinesOfCreditCurrent_lbl" xml:lang="en-US" id="id_12197217_2442663_2_1">Line of credit</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_LinesOfCreditCurrent_lbl" xml:lang="en-US" id="id_12197217_2442663_12_1">Outstanding borrowings under the revolver loans</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LinesOfCreditCurrent" xlink:to="us-gaap_LinesOfCreditCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="us-gaap_MaximumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MaximumMember_lbl" xml:lang="en-US" id="id_12197217_2442860_1_1">Maximum [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MaximumMember_lbl" xml:lang="en-US" id="id_12197217_2442860_2_1">Maximum [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MaximumMember" xlink:to="us-gaap_MaximumMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="us-gaap_MinimumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MinimumMember_lbl" xml:lang="en-US" id="id_12197217_2443301_1_1">Minimum [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MinimumMember_lbl" xml:lang="en-US" id="id_12197217_2443301_2_1">Minimum [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinimumMember" xlink:to="us-gaap_MinimumMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NatureOfOperations" xlink:label="us-gaap_NatureOfOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NatureOfOperations_lbl" xml:lang="en-US" id="id_12197217_2443490_1_1">Nature of Operations [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NatureOfOperations_lbl" xml:lang="en-US" id="id_12197217_2443490_2_1">Business and Organization</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NatureOfOperations" xlink:to="us-gaap_NatureOfOperations_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2444055_1_1">Net Cash Provided by (Used in) Financing Activities, Continuing Operations</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2444055_2_1">Cash flows used in financing activities</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2444055_6_1">Net cash used in financing activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" id="id_12197217_2443641_1_1">Net Cash Provided by (Used in) Financing Activities, Continuing Operations [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" id="id_12197217_2443641_2_1">Financing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2443502_1_1">Net Cash Provided by (Used in) Investing Activities, Continuing Operations</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2443502_6_1">Net cash used in investing activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" id="id_12197217_2443643_1_1">Net Cash Provided by (Used in) Investing Activities, Continuing Operations [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" id="id_12197217_2443643_2_1">Investing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2443503_1_1">Net Cash Provided by (Used in) Operating Activities, Continuing Operations</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2443503_2_1">Cash flows provided by operating activities</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_lbl" xml:lang="en-US" id="id_12197217_2443503_6_1">Net cash provided by operating activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" id="id_12197217_2443504_1_1">Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" id="id_12197217_2443504_2_1">Operating Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLoss_lbl" xml:lang="en-US" id="id_12197217_2444061_1_1">Net Income (Loss) Attributable to Parent</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetIncomeLoss_lbl" xml:lang="en-US" id="id_12197217_2444061_2_1">Net income</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetIncomeLoss_lbl" xml:lang="en-US" id="id_12197217_2444061_6_1">Net income</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_NetIncomeLoss_lbl" xml:lang="en-US" id="id_12197217_2444061_12_1">Net income available to common shareholders</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAbstract" xlink:label="us-gaap_NetIncomeLossAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLossAbstract_lbl" xml:lang="en-US" id="id_12197217_2443512_1_1">Net Income (Loss) Attributable to Parent [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetIncomeLossAbstract_lbl" xml:lang="en-US" id="id_12197217_2443512_2_1">Numerator:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAbstract" xlink:to="us-gaap_NetIncomeLossAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:label="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_lbl" xml:lang="en-US" id="id_12197217_2443531_1_1">New Accounting Pronouncements and Changes in Accounting Principles [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_lbl" xml:lang="en-US" id="id_12197217_2443531_2_1">Recently Adopted Accounting Standard</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:to="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_lbl" xml:lang="en-US" id="id_12197217_2444190_1_1">New Accounting Pronouncements or Change in Accounting Principle [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_lbl" xml:lang="en-US" id="id_12197217_2444190_2_1">New Accounting Pronouncements or Change in Accounting Principle [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_lbl" xml:lang="en-US" id="id_12197217_2443864_1_1">New Accounting Pronouncements or Change in Accounting Principle [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_lbl" xml:lang="en-US" id="id_12197217_2443864_2_1">New Accounting Pronouncements or Change in Accounting Principle [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:to="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfReportableSegments" xlink:label="us-gaap_NumberOfReportableSegments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NumberOfReportableSegments_lbl" xml:lang="en-US" id="id_12197217_2443933_1_1">Number of Reportable Segments</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NumberOfReportableSegments_lbl" xml:lang="en-US" id="id_12197217_2443933_2_1">Number of reportable segments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfReportableSegments" xlink:to="us-gaap_NumberOfReportableSegments_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_NumberOfStockBasedCompensationPlan" xlink:label="trex_NumberOfStockBasedCompensationPlan"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_NumberOfStockBasedCompensationPlan_lbl" xml:lang="en-US" id="id_12197217_2629022_3_1">Stock-based compensation plans approved by the Company's stockholders.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_NumberOfStockBasedCompensationPlan_lbl" xml:lang="en-US" id="id_12197217_2629022_1_1">Number Of Stock Based Compensation Plan</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_NumberOfStockBasedCompensationPlan_lbl" xml:lang="en-US" id="id_12197217_2629022_2_1">Number of stock based compensation plans</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_NumberOfStockBasedCompensationPlan" xlink:to="trex_NumberOfStockBasedCompensationPlan_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember" xlink:label="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember_lbl" xml:lang="en-US" id="id_12197217_2699110_3_1">October 2015 stock repurchase program.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember_lbl" xml:lang="en-US" id="id_12197217_2699110_1_1">October Two Thousand Fifteen Stock Repurchase Program [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember_lbl" xml:lang="en-US" id="id_12197217_2699110_2_1">October 2015 Stock Repurchase Program [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember" xlink:to="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OpenTaxYear" xlink:label="us-gaap_OpenTaxYear"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OpenTaxYear_lbl" xml:lang="en-US" id="id_12197217_2443961_1_1">Open Tax Year</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OpenTaxYear_lbl" xml:lang="en-US" id="id_12197217_2443961_2_1">Tax years subject to examination</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OpenTaxYear" xlink:to="us-gaap_OpenTaxYear_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="us-gaap_OperatingIncomeLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingIncomeLoss_lbl" xml:lang="en-US" id="id_12197217_2444189_1_1">Operating Income (Loss)</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OperatingIncomeLoss_lbl" xml:lang="en-US" id="id_12197217_2444189_6_1">Income from operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingIncomeLoss" xlink:to="us-gaap_OperatingIncomeLoss_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xml:lang="en-US" id="id_12197217_2444444_1_1">Operating Leases, Future Minimum Payments, Due in Three Years</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xml:lang="en-US" id="id_12197217_2444444_2_1">Minimum payments, 2019</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xml:lang="en-US" id="id_12197217_2444624_1_1">Operating Leases, Future Minimum Payments, Due in Two Years</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xml:lang="en-US" id="id_12197217_2444624_2_1">Minimum payments, 2018</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears_lbl" xml:lang="en-US" id="id_12197217_2444625_1_1">Operating Leases, Future Minimum Payments Receivable, in Three Years</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears_lbl" xml:lang="en-US" id="id_12197217_2444625_2_1">Net minimum receipts remaining under the Company's existing subleases for 2019</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears_lbl" xml:lang="en-US" id="id_12197217_2444848_1_1">Operating Leases, Future Minimum Payments Receivable, in Two Years</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears_lbl" xml:lang="en-US" id="id_12197217_2444848_2_1">Net minimum receipts remaining under the Company's existing subleases for 2018</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear_lbl" xml:lang="en-US" id="id_12197217_2444626_1_1">Operating Leases, Future Minimum Payments Receivable, Remainder of Fiscal Year</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear_lbl" xml:lang="en-US" id="id_12197217_2444626_2_1">Net minimum receipts remaining under the Company's existing subleases for 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_lbl" xml:lang="en-US" id="id_12197217_2444849_1_1">Operating Leases, Future Minimum Payments, Remainder of Fiscal Year</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_lbl" xml:lang="en-US" id="id_12197217_2444849_2_1">Minimum payments, 2017</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_lbl" xml:lang="en-US" id="id_12197217_2444466_1_1">Organization, Consolidation and Presentation of Financial Statements [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_lbl" xml:lang="en-US" id="id_12197217_2444466_2_1">Organization, Consolidation and Presentation of Financial Statements [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2444467_1_1">Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2444467_2_1">Basis of Presentation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent_lbl" xml:lang="en-US" id="id_12197217_2444315_1_1">Other Accrued Liabilities, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent_lbl" xml:lang="en-US" id="id_12197217_2444315_2_1">Other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="us-gaap_OtherAssetsCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsCurrent_lbl" xml:lang="en-US" id="id_12197217_2444319_1_1">Other Assets, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherAssetsCurrent_lbl" xml:lang="en-US" id="id_12197217_2444319_2_1">Other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsCurrent" xlink:to="us-gaap_OtherAssetsCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="us-gaap_OtherAssetsNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl" xml:lang="en-US" id="id_12197217_2444650_1_1">Other Assets, Noncurrent</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl" xml:lang="en-US" id="id_12197217_2444650_2_1">Other assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="us-gaap_OtherLiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl" xml:lang="en-US" id="id_12197217_2444753_1_1">Other Liabilities, Noncurrent</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl" xml:lang="en-US" id="id_12197217_2444753_2_1">Other long-term liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_OtherLiabilitiesNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="us-gaap_OtherNoncashIncomeExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherNoncashIncomeExpense_lbl" xml:lang="en-US" id="id_12197217_2445064_1_1">Other Noncash Income (Expense)</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_OtherNoncashIncomeExpense_lbl" xml:lang="en-US" id="id_12197217_2445064_14_1">Other non-cash adjustments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherNoncashIncomeExpense" xlink:to="us-gaap_OtherNoncashIncomeExpense_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PayablesAndAccrualsAbstract" xlink:label="us-gaap_PayablesAndAccrualsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PayablesAndAccrualsAbstract_lbl" xml:lang="en-US" id="id_12197217_2445297_1_1">Payables and Accruals [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PayablesAndAccrualsAbstract_lbl" xml:lang="en-US" id="id_12197217_2445297_2_1">Payables and Accruals [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="us-gaap_PayablesAndAccrualsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl" xml:lang="en-US" id="id_12197217_2445519_1_1">Payments for Repurchase of Common Stock</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl" xml:lang="en-US" id="id_12197217_2445519_14_1">Repurchases of common stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="us-gaap_PaymentsForRestructuring"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsForRestructuring_lbl" xml:lang="en-US" id="id_12197217_2445331_1_1">Payments for Restructuring</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsForRestructuring_lbl" xml:lang="en-US" id="id_12197217_2445331_14_1">Net rental payments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForRestructuring" xlink:to="us-gaap_PaymentsForRestructuring_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfFinancingCosts" xlink:label="us-gaap_PaymentsOfFinancingCosts"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsOfFinancingCosts_lbl" xml:lang="en-US" id="id_12197217_2445174_1_1">Payments of Financing Costs</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsOfFinancingCosts_lbl" xml:lang="en-US" id="id_12197217_2445174_14_1">Financing costs</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsOfFinancingCosts" xlink:to="us-gaap_PaymentsOfFinancingCosts_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xml:lang="en-US" id="id_12197217_2445544_1_1">Payments to Acquire Property, Plant, and Equipment</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xml:lang="en-US" id="id_12197217_2445544_14_1">Expenditures for property, plant and equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims" xlink:label="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims_lbl" xml:lang="en-US" id="id_12197217_2799830_3_1">Percentage change in the expected number of remaining claims to be settled with payment or the expected cost to settle claims used as a threshold for disclosure.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims_lbl" xml:lang="en-US" id="id_12197217_2799830_1_1">Percent Sensitivity Change In Expected Surface Flaking Claims</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims_lbl" xml:lang="en-US" id="id_12197217_2799830_2_1">Percentage change in warranty claims used as a threshold for disclosure</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims" xlink:to="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockAdjustmentMember" xlink:label="trex_PerformanceBasedRestrictedStockAdjustmentMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_PerformanceBasedRestrictedStockAdjustmentMember_lbl" xml:lang="en-US" id="id_12197217_2678567_3_1">Performance Based Restricted Stock Adjustment [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_PerformanceBasedRestrictedStockAdjustmentMember_lbl" xml:lang="en-US" id="id_12197217_2678567_1_1">Performance Based Restricted Stock Adjustment [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_PerformanceBasedRestrictedStockAdjustmentMember_lbl" xml:lang="en-US" id="id_12197217_2678567_2_1">Performance Based Restricted Stock Unit Adjustment [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_PerformanceBasedRestrictedStockAdjustmentMember" xlink:to="trex_PerformanceBasedRestrictedStockAdjustmentMember_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember" xlink:label="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2694539_3_1">Performance-based restricted stock and performance-based restricted stock units.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2694539_1_1">Performance Based Restricted Stock and Performance Based Restricted Stock Units [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2694539_2_1">Performance-Based Restricted Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember" xlink:to="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockMember" xlink:label="trex_PerformanceBasedRestrictedStockMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_PerformanceBasedRestrictedStockMember_lbl" xml:lang="en-US" id="id_12197217_2702955_3_1">Stock including a provision that prohibits sale or substantive sale of an equity instrument until specified performance conditions are met.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_PerformanceBasedRestrictedStockMember_lbl" xml:lang="en-US" id="id_12197217_2702955_1_1">Performance Based Restricted Stock [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_PerformanceBasedRestrictedStockMember_lbl" xml:lang="en-US" id="id_12197217_2702955_2_1">Performance-Based Restricted Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_PerformanceBasedRestrictedStockMember" xlink:to="trex_PerformanceBasedRestrictedStockMember_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockTargetMember" xlink:label="trex_PerformanceBasedRestrictedStockTargetMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_PerformanceBasedRestrictedStockTargetMember_lbl" xml:lang="en-US" id="id_12197217_2683753_3_1">Performance Based Restricted Stock Target [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_PerformanceBasedRestrictedStockTargetMember_lbl" xml:lang="en-US" id="id_12197217_2683753_1_1">Performance Based Restricted Stock Target [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_PerformanceBasedRestrictedStockTargetMember_lbl" xml:lang="en-US" id="id_12197217_2683753_2_1">Performance Based Restricted Stock Unit Target [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_PerformanceBasedRestrictedStockTargetMember" xlink:to="trex_PerformanceBasedRestrictedStockTargetMember_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockUnitsMember" xlink:label="trex_PerformanceBasedRestrictedStockUnitsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_PerformanceBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2705927_3_1">Performance Based Restricted Stock Units [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_PerformanceBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2705927_1_1">Performance Based Restricted Stock Units [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_PerformanceBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2705927_2_1">Performance Based Restricted Stock Units [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_PerformanceBasedRestrictedStockUnitsMember" xlink:to="trex_PerformanceBasedRestrictedStockUnitsMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="us-gaap_PlanNameAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PlanNameAxis_lbl" xml:lang="en-US" id="id_12197217_2445234_1_1">Plan Name [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PlanNameAxis_lbl" xml:lang="en-US" id="id_12197217_2445234_2_1">Plan Name [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="us-gaap_PlanNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PlanNameDomain_lbl" xml:lang="en-US" id="id_12197217_2445571_1_1">Plan Name [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PlanNameDomain_lbl" xml:lang="en-US" id="id_12197217_2445571_2_1">Plan Name [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameDomain" xlink:to="us-gaap_PlanNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare_lbl" xml:lang="en-US" id="id_12197217_2445650_1_1">Preferred Stock, Par or Stated Value Per Share</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare_lbl" xml:lang="en-US" id="id_12197217_2445650_2_1">Preferred stock, par value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockParOrStatedValuePerShare" xlink:to="us-gaap_PreferredStockParOrStatedValuePerShare_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="us-gaap_PreferredStockSharesAuthorized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PreferredStockSharesAuthorized_lbl" xml:lang="en-US" id="id_12197217_2445652_1_1">Preferred Stock, Shares Authorized</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PreferredStockSharesAuthorized_lbl" xml:lang="en-US" id="id_12197217_2445652_2_1">Preferred stock, shares authorized</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockSharesAuthorized" xlink:to="us-gaap_PreferredStockSharesAuthorized_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="us-gaap_PreferredStockSharesIssued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PreferredStockSharesIssued_lbl" xml:lang="en-US" id="id_12197217_2445856_1_1">Preferred Stock, Shares Issued</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PreferredStockSharesIssued_lbl" xml:lang="en-US" id="id_12197217_2445856_2_1">Preferred stock, shares issued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockSharesIssued" xlink:to="us-gaap_PreferredStockSharesIssued_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="us-gaap_PreferredStockSharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PreferredStockSharesOutstanding_lbl" xml:lang="en-US" id="id_12197217_2445934_1_1">Preferred Stock, Shares Outstanding</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PreferredStockSharesOutstanding_lbl" xml:lang="en-US" id="id_12197217_2445934_2_1">Preferred stock, shares outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockSharesOutstanding" xlink:to="us-gaap_PreferredStockSharesOutstanding_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="us-gaap_PreferredStockValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PreferredStockValue_lbl" xml:lang="en-US" id="id_12197217_2445656_1_1">Preferred Stock, Value, Issued</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PreferredStockValue_lbl" xml:lang="en-US" id="id_12197217_2445656_2_1">Preferred stock, $0.01 par value, 3,000,000 shares authorized; none issued and outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PreferredStockValue" xlink:to="us-gaap_PreferredStockValue_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock" xlink:label="trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2771282_3_1">The entire disclosure pertaining to prepaid and other current assets.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2771282_1_1">Prepaid And Other Current Assets Disclosure [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2771282_2_1">Prepaid Expenses and Other Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock" xlink:to="trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsAbstract" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsAbstract_lbl" xml:lang="en-US" id="id_12197217_2445952_1_1">Prepaid Expense and Other Assets [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsAbstract_lbl" xml:lang="en-US" id="id_12197217_2445952_2_1">Prepaid Expense and Other Assets [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsAbstract" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" xml:lang="en-US" id="id_12197217_2445671_1_1">Prepaid Expense and Other Assets, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" xml:lang="en-US" id="id_12197217_2445671_2_1">Prepaid expenses and other assets</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" xml:lang="en-US" id="id_12197217_2445671_6_1">Total prepaid expenses and other assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock" xlink:label="trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2773002_3_1">Tabular disclosure pertaining to prepaid expense and other assets current.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2773002_1_1">Prepaid Expense And Other Assets Current [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2773002_2_1">Summary of Prepaid Expenses and Other Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock" xlink:to="trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="us-gaap_PrepaidExpenseCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PrepaidExpenseCurrent_lbl" xml:lang="en-US" id="id_12197217_2445954_1_1">Prepaid Expense, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PrepaidExpenseCurrent_lbl" xml:lang="en-US" id="id_12197217_2445954_2_1">Prepaid expenses</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PrepaidExpenseCurrent" xlink:to="us-gaap_PrepaidExpenseCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PriorPeriodAdjustmentAbstract" xlink:label="us-gaap_PriorPeriodAdjustmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PriorPeriodAdjustmentAbstract_lbl" xml:lang="en-US" id="id_12197217_2446162_1_1">Prior Period Adjustment [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PriorPeriodAdjustmentAbstract_lbl" xml:lang="en-US" id="id_12197217_2446162_2_1">Prior Period Adjustment [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PriorPeriodAdjustmentAbstract" xlink:to="us-gaap_PriorPeriodAdjustmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" xlink:label="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_lbl" xml:lang="en-US" id="id_12197217_2446020_1_1">Proceeds from Issuance of Shares under Incentive and Share-based Compensation Plans, Including Stock Options</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_lbl" xml:lang="en-US" id="id_12197217_2446020_2_1">Proceeds from employee stock purchase and option plans</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" xlink:to="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="us-gaap_ProceedsFromLinesOfCredit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromLinesOfCredit_lbl" xml:lang="en-US" id="id_12197217_2446560_1_1">Proceeds from Lines of Credit</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromLinesOfCredit_lbl" xml:lang="en-US" id="id_12197217_2446560_2_1">Borrowings under line of credit</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromLinesOfCredit" xlink:to="us-gaap_ProceedsFromLinesOfCredit_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl" xml:lang="en-US" id="id_12197217_2446067_1_1">Proceeds from Sale of Property, Plant, and Equipment</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl" xml:lang="en-US" id="id_12197217_2446067_2_1">Proceeds from sales of property, plant and equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductWarrantyLiabilityLineItems" xlink:label="us-gaap_ProductWarrantyLiabilityLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProductWarrantyLiabilityLineItems_lbl" xml:lang="en-US" id="id_12197217_2446272_1_1">Product Warranty Liability [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProductWarrantyLiabilityLineItems_lbl" xml:lang="en-US" id="id_12197217_2446272_2_1">Product Warranty Liability [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProductWarrantyLiabilityLineItems" xlink:to="us-gaap_ProductWarrantyLiabilityLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductWarrantyLiabilityTable" xlink:label="us-gaap_ProductWarrantyLiabilityTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProductWarrantyLiabilityTable_lbl" xml:lang="en-US" id="id_12197217_2446089_1_1">Product Warranty Liability [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProductWarrantyLiabilityTable_lbl" xml:lang="en-US" id="id_12197217_2446089_2_1">Product Warranty Liability [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProductWarrantyLiabilityTable" xlink:to="us-gaap_ProductWarrantyLiabilityTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="us-gaap_PropertyPlantAndEquipmentNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xml:lang="en-US" id="id_12197217_2446103_1_1">Property, Plant and Equipment, Net</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xml:lang="en-US" id="id_12197217_2446103_2_1">Property, plant and equipment, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentNet_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="us-gaap_RangeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RangeAxis_lbl" xml:lang="en-US" id="id_12197217_2447194_1_1">Range [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RangeAxis_lbl" xml:lang="en-US" id="id_12197217_2447194_2_1">Range [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RangeMember_lbl" xml:lang="en-US" id="id_12197217_2446806_1_1">Range [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RangeMember_lbl" xml:lang="en-US" id="id_12197217_2446806_2_1">Range [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_RangeMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="us-gaap_RepaymentsOfLinesOfCredit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RepaymentsOfLinesOfCredit_lbl" xml:lang="en-US" id="id_12197217_2446940_1_1">Repayments of Lines of Credit</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_RepaymentsOfLinesOfCredit_lbl" xml:lang="en-US" id="id_12197217_2446940_14_1">Principal payments under line of credit</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RepaymentsOfLinesOfCredit" xlink:to="us-gaap_RepaymentsOfLinesOfCredit_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="us-gaap_RestrictedStockMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestrictedStockMember_lbl" xml:lang="en-US" id="id_12197217_2447533_1_1">Restricted Stock [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RestrictedStockMember_lbl" xml:lang="en-US" id="id_12197217_2447533_2_1">Restricted Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestrictedStockMember" xlink:to="us-gaap_RestrictedStockMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="us-gaap_RestructuringCostAndReserveAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestructuringCostAndReserveAxis_lbl" xml:lang="en-US" id="id_12197217_2447372_1_1">Restructuring Type [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RestructuringCostAndReserveAxis_lbl" xml:lang="en-US" id="id_12197217_2447372_2_1">Restructuring Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringCostAndReserveAxis" xlink:to="us-gaap_RestructuringCostAndReserveAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="us-gaap_RestructuringReserve"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestructuringReserve_lbl" xml:lang="en-US" id="id_12197217_2447546_1_1">Restructuring Reserve</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_RestructuringReserve_lbl" xml:lang="en-US" id="id_12197217_2447546_4_1">Ending balance</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_RestructuringReserve_lbl" xml:lang="en-US" id="id_12197217_2447546_5_1">Beginning balance</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringReserve" xlink:to="us-gaap_RestructuringReserve_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveAccrualAdjustment1" xlink:label="us-gaap_RestructuringReserveAccrualAdjustment1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestructuringReserveAccrualAdjustment1_lbl" xml:lang="en-US" id="id_12197217_2447839_1_1">Restructuring Reserve, Accrual Adjustment</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RestructuringReserveAccrualAdjustment1_lbl" xml:lang="en-US" id="id_12197217_2447839_2_1">Decrease in net estimated contract termination costs</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestructuringReserveAccrualAdjustment1" xlink:to="us-gaap_RestructuringReserveAccrualAdjustment1_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xml:lang="en-US" id="id_12197217_2448061_1_1">Retained Earnings (Accumulated Deficit)</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xml:lang="en-US" id="id_12197217_2448061_2_1">Retained earnings</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember" xlink:label="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember_lbl" xml:lang="en-US" id="id_12197217_2749048_3_1">Revolver Loans Portion Effective January 1 through June 30 [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember_lbl" xml:lang="en-US" id="id_12197217_2749048_1_1">Revolver Loans Portion Effective One January Through Thirty June [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember_lbl" xml:lang="en-US" id="id_12197217_2749048_2_1">Revolver Loans Portion Effective January 1 through June 30 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember" xlink:to="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember" xlink:label="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember_lbl" xml:lang="en-US" id="id_12197217_2671890_3_1">Revolver Loans Portion Effective July 1 through December 31 [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember_lbl" xml:lang="en-US" id="id_12197217_2671890_1_1">Revolver Loans Portion Effective One July Through Thirty First December [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember_lbl" xml:lang="en-US" id="id_12197217_2671890_2_1">Revolver Loans Portion Effective July 1 through December 31 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember" xlink:to="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="us-gaap_SalesRevenueNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SalesRevenueNet_lbl" xml:lang="en-US" id="id_12197217_2448151_1_1">Revenue, Net</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SalesRevenueNet_lbl" xml:lang="en-US" id="id_12197217_2448151_2_1">Net sales</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SalesRevenueNet" xlink:to="us-gaap_SalesRevenueNet_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioPreviouslyReportedMember" xlink:label="us-gaap_ScenarioPreviouslyReportedMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScenarioPreviouslyReportedMember_lbl" xml:lang="en-US" id="id_12197217_2448174_1_1">Scenario, Previously Reported [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScenarioPreviouslyReportedMember_lbl" xml:lang="en-US" id="id_12197217_2448174_2_1">As Reported [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScenarioPreviouslyReportedMember" xlink:to="us-gaap_ScenarioPreviouslyReportedMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="us-gaap_ScenarioUnspecifiedDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScenarioUnspecifiedDomain_lbl" xml:lang="en-US" id="id_12197217_2447936_1_1">Scenario, Unspecified [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScenarioUnspecifiedDomain_lbl" xml:lang="en-US" id="id_12197217_2447936_2_1">Scenario, Unspecified [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScenarioUnspecifiedDomain" xlink:to="us-gaap_ScenarioUnspecifiedDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock" xlink:label="trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2762298_3_1">Tabular disclosure of the components of accrued liabilities and other current liabilities.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2762298_1_1">Schedule of Accrued Liabilities and Other Current Liabilities [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2762298_2_1">Summary of Accrued Expenses and Other Liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock" xlink:to="trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_lbl" xml:lang="en-US" id="id_12197217_2448340_1_1">Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_lbl" xml:lang="en-US" id="id_12197217_2448340_2_1">Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:to="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock" xlink:label="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_lbl" xml:lang="en-US" id="id_12197217_2447807_1_1">Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_lbl" xml:lang="en-US" id="id_12197217_2447807_2_1">Antidilutive Securities Excluded from Computation of Earnings Per Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock" xlink:to="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesLineItems_lbl" xml:lang="en-US" id="id_12197217_2485314_3_1">Schedule of commitments and contingencies.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesLineItems_lbl" xml:lang="en-US" id="id_12197217_2485314_1_1">Schedule Of Commitments And Contingencies [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesLineItems_lbl" xml:lang="en-US" id="id_12197217_2485314_2_1">Schedule Of Commitments And Contingencies [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="trex_ScheduleOfCommitmentsAndContingenciesLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesTable_lbl" xml:lang="en-US" id="id_12197217_2647017_3_1">Schedule Of Commitments And Contingencies [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesTable_lbl" xml:lang="en-US" id="id_12197217_2647017_1_1">Schedule Of Commitments And Contingencies [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesTable_lbl" xml:lang="en-US" id="id_12197217_2647017_2_1">Schedule Of Commitments And Contingencies [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:to="trex_ScheduleOfCommitmentsAndContingenciesTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock" xlink:label="us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2448356_1_1">Schedule of Compensation Cost for Share-based Payment Arrangements, Allocation of Share-based Compensation Costs by Plan [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2448356_2_1">Summary of Stock-Based Compensation Expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock" xlink:to="us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2447969_1_1">Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2447969_2_1">Computation of Basic and Diluted Earnings Per Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:to="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock" xlink:label="us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock_lbl" xml:lang="en-US" id="id_12197217_2447973_1_1">Schedule of Error Corrections and Prior Period Adjustments [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock_lbl" xml:lang="en-US" id="id_12197217_2447973_2_1">Schedule of Previously Reported Quarterly Data</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock" xlink:to="us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2447994_1_1">Schedule of Inventory, Current [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2447994_2_1">Summary of Inventories, at LIFO Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" xlink:label="us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2448528_1_1">Schedule of Product Warranty Liability [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2448528_2_1">Summary of Reconciliation of Company's Warranty Reserve that Represents Amounts Accrued for Surface Flaking Claims</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" xlink:to="us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock" xlink:label="us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_lbl" xml:lang="en-US" id="id_12197217_2448428_1_1">Schedule of Restructuring Reserve by Type of Cost [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_lbl" xml:lang="en-US" id="id_12197217_2448428_2_1">Summary of Liability Related to Lease</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock" xlink:to="us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl" xml:lang="en-US" id="id_12197217_2448548_1_1">Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl" xml:lang="en-US" id="id_12197217_2448548_2_1">Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock" xlink:label="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2448443_1_1">Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2448443_2_1">Summary of Assumptions Used to Estimate Fair Value of Each SAR</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock" xlink:to="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SeasonalityDisclosureTextBlock" xlink:label="trex_SeasonalityDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_SeasonalityDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2761243_3_1">Identifies seasonal trends affecting the demand for Trex products and quarterly net sales.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_SeasonalityDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2761243_1_1">Seasonality Disclosure [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_SeasonalityDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2761243_2_1">Seasonality</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_SeasonalityDisclosureTextBlock" xlink:to="trex_SeasonalityDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xml:lang="en-US" id="id_12197217_2448754_1_1">Selling, General and Administrative Expense</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xml:lang="en-US" id="id_12197217_2448754_2_1">Selling, general and administrative expenses</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SensitivityChangeInSurfaceFlakingWarrantyReserve" xlink:label="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve_lbl" xml:lang="en-US" id="id_12197217_2578167_3_1">Estimated change in the warranty reserve resulting from a 10% change in the expected number of remaining claims to be settled with payment or the expected cost to settle claims for disclosure purposes only.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve_lbl" xml:lang="en-US" id="id_12197217_2578167_1_1">Sensitivity Change In Surface Flaking Warranty Reserve</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve_lbl" xml:lang="en-US" id="id_12197217_2578167_2_1">Change in warranty reserve for disclosure purposes only</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve" xlink:to="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="us-gaap_ShareBasedCompensation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensation_lbl" xml:lang="en-US" id="id_12197217_2448661_1_1">Share-based Compensation</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensation_lbl" xml:lang="en-US" id="id_12197217_2448661_2_1">Stock-based compensation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensation" xlink:to="us-gaap_ShareBasedCompensation_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_lbl" xml:lang="en-US" id="id_12197217_2449047_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_lbl" xml:lang="en-US" id="id_12197217_2449047_2_1">Vesting period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_lbl" xml:lang="en-US" id="id_12197217_2449191_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_lbl" xml:lang="en-US" id="id_12197217_2449191_2_1">Stock-based Compensation vesting percentage</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares" xlink:label="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares_lbl" xml:lang="en-US" id="id_12197217_2788053_3_1">With respect to each vesting, the number of shares that will vest stated as a percentage of the target number of shares.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares_lbl" xml:lang="en-US" id="id_12197217_2788053_1_1">Share-based Compensation Arrangement By Share-based Payment Award Award Vesting Rights Percentage To Target Number Of Shares</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares_lbl" xml:lang="en-US" id="id_12197217_2788053_2_1">Percentage of target number of shares that will vest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares" xlink:to="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" xml:lang="en-US" id="id_12197217_2449051_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" xml:lang="en-US" id="id_12197217_2449051_2_1">Number of shares or rights issued</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" xml:lang="en-US" id="id_12197217_2449051_12_1">Stock Awards Granted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US" id="id_12197217_2449196_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US" id="id_12197217_2449196_2_1">Weighted-average fair value of grants</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems_lbl" xml:lang="en-US" id="id_12197217_2469523_3_1">Share Based Compensation Arrangement by Share Based Payment Award Fair Value Assumptions and Methodology [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems_lbl" xml:lang="en-US" id="id_12197217_2469523_1_1">Share Based Compensation Arrangement by Share Based Payment Award Fair Value Assumptions and Methodology [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems_lbl" xml:lang="en-US" id="id_12197217_2469523_2_1">Share Based Compensation Arrangement by Share Based Payment Award Fair Value Assumptions and Methodology [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable_lbl" xml:lang="en-US" id="id_12197217_2647481_3_1">Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable_lbl" xml:lang="en-US" id="id_12197217_2647481_1_1">Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable_lbl" xml:lang="en-US" id="id_12197217_2647481_2_1">Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" xlink:to="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_lbl" xml:lang="en-US" id="id_12197217_2448798_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Rate</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_lbl" xml:lang="en-US" id="id_12197217_2448798_2_1">Dividend yield</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_lbl" xml:lang="en-US" id="id_12197217_2448671_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_lbl" xml:lang="en-US" id="id_12197217_2448671_2_1">Expected term (years)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_lbl" xml:lang="en-US" id="id_12197217_2449060_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_lbl" xml:lang="en-US" id="id_12197217_2449060_2_1">Expected volatility</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed_lbl" xml:lang="en-US" id="id_12197217_2449061_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Method Used</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed_lbl" xml:lang="en-US" id="id_12197217_2449061_2_1">Fair value assumptions method used</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_lbl" xml:lang="en-US" id="id_12197217_2448801_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_lbl" xml:lang="en-US" id="id_12197217_2448801_2_1">Average risk-free interest rate</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl" xml:lang="en-US" id="id_12197217_2449201_1_1">Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl" xml:lang="en-US" id="id_12197217_2449201_2_1">Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice_lbl" xml:lang="en-US" id="id_12197217_2777511_3_1">Share based compensation arrangement by share based payment award non options equity instruments granted weighted average grant price.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice_lbl" xml:lang="en-US" id="id_12197217_2777511_1_1">Share Based Compensation Arrangement By Share Based Payment Award Non Options Equity Instruments Granted Weighted Average Grant Price</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice_lbl" xml:lang="en-US" id="id_12197217_2777511_2_1">Weighted-Average Grant Price Per Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice" xlink:to="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl" xml:lang="en-US" id="id_12197217_2448675_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl" xml:lang="en-US" id="id_12197217_2448675_2_1">Total aggregate number of shares of common stock that may be issued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2449075_1_1">Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value [Table Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock_lbl" xml:lang="en-US" id="id_12197217_2449075_2_1">Summary of Stock-Based Compensation Grants</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xml:lang="en-US" id="id_12197217_2448698_1_1">Equity Award [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xml:lang="en-US" id="id_12197217_2448698_2_1">Equity Award [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheOneMember_lbl" xml:lang="en-US" id="id_12197217_2449220_1_1">Share-based Compensation Award, Tranche One [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheOneMember_lbl" xml:lang="en-US" id="id_12197217_2449220_2_1">Share-Based Compensation Award, Tranche One [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:to="us-gaap_ShareBasedCompensationAwardTrancheOneMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheThreeMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheThreeMember_lbl" xml:lang="en-US" id="id_12197217_2448820_1_1">Share-based Compensation Award, Tranche Three [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheThreeMember_lbl" xml:lang="en-US" id="id_12197217_2448820_2_1">Share-Based Compensation Award, Tranche Three [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:to="us-gaap_ShareBasedCompensationAwardTrancheThreeMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheTwoMember_lbl" xml:lang="en-US" id="id_12197217_2449085_1_1">Share-based Compensation Award, Tranche Two [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheTwoMember_lbl" xml:lang="en-US" id="id_12197217_2449085_2_1">Share-Based Compensation Award, Tranche Two [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:to="us-gaap_ShareBasedCompensationAwardTrancheTwoMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xlink:label="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_lbl" xml:lang="en-US" id="id_12197217_2448821_1_1">Share-based Compensation, Option and Incentive Plans Policy [Policy Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_lbl" xml:lang="en-US" id="id_12197217_2448821_2_1">Share-based Compensation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xlink:to="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="us-gaap_ShareRepurchaseProgramAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareRepurchaseProgramAxis_lbl" xml:lang="en-US" id="id_12197217_2449097_1_1">Share Repurchase Program [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareRepurchaseProgramAxis_lbl" xml:lang="en-US" id="id_12197217_2449097_2_1">Share Repurchase Program [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareRepurchaseProgramAxis" xlink:to="us-gaap_ShareRepurchaseProgramAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="us-gaap_ShareRepurchaseProgramDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareRepurchaseProgramDomain_lbl" xml:lang="en-US" id="id_12197217_2449232_1_1">Share Repurchase Program [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareRepurchaseProgramDomain_lbl" xml:lang="en-US" id="id_12197217_2449232_2_1">Share Repurchase Program [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareRepurchaseProgramDomain" xlink:to="us-gaap_ShareRepurchaseProgramDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_StagingConceptsAcquisitionLLCMember" xlink:label="trex_StagingConceptsAcquisitionLLCMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_StagingConceptsAcquisitionLLCMember_lbl" xml:lang="en-US" id="id_12197217_2865178_3_1">Staging Concepts Acquisition, LLC.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_StagingConceptsAcquisitionLLCMember_lbl" xml:lang="en-US" id="id_12197217_2865178_1_1">Staging Concepts Acquisition, LLC [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_StagingConceptsAcquisitionLLCMember_lbl" xml:lang="en-US" id="id_12197217_2865178_2_1">Staging Concepts Acquisition, LLC [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_StagingConceptsAcquisitionLLCMember" xlink:to="trex_StagingConceptsAcquisitionLLCMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="us-gaap_StandardProductWarrantyAccrual"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StandardProductWarrantyAccrual_lbl" xml:lang="en-US" id="id_12197217_2449448_1_1">Standard Product Warranty Accrual</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_StandardProductWarrantyAccrual_lbl" xml:lang="en-US" id="id_12197217_2449448_4_1">Ending balance</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_StandardProductWarrantyAccrual_lbl" xml:lang="en-US" id="id_12197217_2449448_5_1">Beginning balance</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StandardProductWarrantyAccrual" xlink:to="us-gaap_StandardProductWarrantyAccrual_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualCurrent" xlink:label="us-gaap_StandardProductWarrantyAccrualCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StandardProductWarrantyAccrualCurrent_lbl" xml:lang="en-US" id="id_12197217_2448908_1_1">Standard Product Warranty Accrual, Current</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StandardProductWarrantyAccrualCurrent_lbl" xml:lang="en-US" id="id_12197217_2448908_2_1">Accrued warranty</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StandardProductWarrantyAccrualCurrent" xlink:to="us-gaap_StandardProductWarrantyAccrualCurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="us-gaap_StandardProductWarrantyAccrualNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StandardProductWarrantyAccrualNoncurrent_lbl" xml:lang="en-US" id="id_12197217_2448909_1_1">Standard Product Warranty Accrual, Noncurrent</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StandardProductWarrantyAccrualNoncurrent_lbl" xml:lang="en-US" id="id_12197217_2448909_2_1">Non-current accrued warranty</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:to="us-gaap_StandardProductWarrantyAccrualNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPayments" xlink:label="us-gaap_StandardProductWarrantyAccrualPayments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StandardProductWarrantyAccrualPayments_lbl" xml:lang="en-US" id="id_12197217_2448910_1_1">Standard Product Warranty Accrual, Decrease for Payments</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_StandardProductWarrantyAccrualPayments_lbl" xml:lang="en-US" id="id_12197217_2448910_14_1">Settlements made during the period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StandardProductWarrantyAccrualPayments" xlink:to="us-gaap_StandardProductWarrantyAccrualPayments_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:label="us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_lbl" xml:lang="en-US" id="id_12197217_2449825_1_1">Standard Product Warranty Accrual, Increase (Decrease) for Preexisting Warranties</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_lbl" xml:lang="en-US" id="id_12197217_2449825_2_1">Changes in estimates related to pre-existing warranties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:to="us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="us-gaap_StatementOfCashFlowsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfCashFlowsAbstract_lbl" xml:lang="en-US" id="id_12197217_2449453_1_1">Statement of Cash Flows [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StatementOfCashFlowsAbstract_lbl" xml:lang="en-US" id="id_12197217_2449453_2_1">Statement of Cash Flows [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_StatementOfCashFlowsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="us-gaap_StatementOfFinancialPositionAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfFinancialPositionAbstract_lbl" xml:lang="en-US" id="id_12197217_2449303_1_1">Statement of Financial Position [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StatementOfFinancialPositionAbstract_lbl" xml:lang="en-US" id="id_12197217_2449303_2_1">Statement of Financial Position [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_StatementOfFinancialPositionAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="us-gaap_StatementScenarioAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementScenarioAxis_lbl" xml:lang="en-US" id="id_12197217_2449305_1_1">Scenario [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StatementScenarioAxis_lbl" xml:lang="en-US" id="id_12197217_2449305_2_1">Scenario [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_StatementScenarioAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_StockAppreciationRightsAndOptionsMember" xlink:label="trex_StockAppreciationRightsAndOptionsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_StockAppreciationRightsAndOptionsMember_lbl" xml:lang="en-US" id="id_12197217_2746841_3_1">Stock Appreciation Rights And Options [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_StockAppreciationRightsAndOptionsMember_lbl" xml:lang="en-US" id="id_12197217_2746841_1_1">Stock Appreciation Rights And Options [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_StockAppreciationRightsAndOptionsMember_lbl" xml:lang="en-US" id="id_12197217_2746841_2_1">Stock Appreciation Rights and Options [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_StockAppreciationRightsAndOptionsMember" xlink:to="trex_StockAppreciationRightsAndOptionsMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockAppreciationRightsSARSMember_lbl" xml:lang="en-US" id="id_12197217_2448925_1_1">Stock Appreciation Rights (SARs) [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockAppreciationRightsSARSMember_lbl" xml:lang="en-US" id="id_12197217_2448925_2_1">Stock Appreciation Rights [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockAppreciationRightsSARSMember" xlink:to="us-gaap_StockAppreciationRightsSARSMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="us-gaap_StockholdersEquity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquity_lbl" xml:lang="en-US" id="id_12197217_2449320_1_1">Stockholders' Equity Attributable to Parent</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_StockholdersEquity_lbl" xml:lang="en-US" id="id_12197217_2449320_6_1">Total stockholders' equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_StockholdersEquity_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="us-gaap_StockholdersEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquityAbstract_lbl" xml:lang="en-US" id="id_12197217_2449321_1_1">Stockholders' Equity Attributable to Parent [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockholdersEquityAbstract_lbl" xml:lang="en-US" id="id_12197217_2449321_2_1">Stockholders' equity:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_StockholdersEquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityNoteAbstract" xlink:label="us-gaap_StockholdersEquityNoteAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquityNoteAbstract_lbl" xml:lang="en-US" id="id_12197217_2449323_1_1">Stockholders' Equity Note [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockholdersEquityNoteAbstract_lbl" xml:lang="en-US" id="id_12197217_2449323_2_1">Stockholders' Equity Note [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityNoteAbstract" xlink:to="us-gaap_StockholdersEquityNoteAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:label="us-gaap_StockholdersEquityNoteDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquityNoteDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2449326_1_1">Stockholders' Equity Note Disclosure [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockholdersEquityNoteDisclosureTextBlock_lbl" xml:lang="en-US" id="id_12197217_2449326_2_1">Stockholders' Equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:to="us-gaap_StockholdersEquityNoteDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:label="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_lbl" xml:lang="en-US" id="id_12197217_2449869_1_1">Stock Repurchase Program, Number of Shares Authorized to be Repurchased</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_lbl" xml:lang="en-US" id="id_12197217_2449869_2_1">Common stock repurchase program, authorized shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:to="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_StockRepurchaseProgramTerminationDate" xlink:label="trex_StockRepurchaseProgramTerminationDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_StockRepurchaseProgramTerminationDate_lbl" xml:lang="en-US" id="id_12197217_2620789_3_1">Stock repurchase program termination date.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_StockRepurchaseProgramTerminationDate_lbl" xml:lang="en-US" id="id_12197217_2620789_1_1">Stock Repurchase Program Termination Date</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_StockRepurchaseProgramTerminationDate_lbl" xml:lang="en-US" id="id_12197217_2620789_2_1">Common stock repurchase program, termination date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_StockRepurchaseProgramTerminationDate" xlink:to="trex_StockRepurchaseProgramTerminationDate_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SubleaseMember" xlink:label="trex_SubleaseMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_SubleaseMember_lbl" xml:lang="en-US" id="id_12197217_2689734_3_1">Sublease.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_SubleaseMember_lbl" xml:lang="en-US" id="id_12197217_2689734_1_1">Sublease [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_SubleaseMember_lbl" xml:lang="en-US" id="id_12197217_2689734_2_1">Sublease [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_SubleaseMember" xlink:to="trex_SubleaseMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="us-gaap_SubsequentEventLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventLineItems_lbl" xml:lang="en-US" id="id_12197217_2449506_1_1">Subsequent Event [Line Items]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SubsequentEventLineItems_lbl" xml:lang="en-US" id="id_12197217_2449506_2_1">Subsequent Event [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventLineItems" xlink:to="us-gaap_SubsequentEventLineItems_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="us-gaap_SubsequentEventMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventMember_lbl" xml:lang="en-US" id="id_12197217_2449609_1_1">Subsequent Event [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SubsequentEventMember_lbl" xml:lang="en-US" id="id_12197217_2449609_2_1">Subsequent Event [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventMember" xlink:to="us-gaap_SubsequentEventMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsAbstract" xlink:label="us-gaap_SubsequentEventsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventsAbstract_lbl" xml:lang="en-US" id="id_12197217_2449610_1_1">Subsequent Events [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SubsequentEventsAbstract_lbl" xml:lang="en-US" id="id_12197217_2449610_2_1">Subsequent Events [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsTextBlock" xlink:label="us-gaap_SubsequentEventsTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventsTextBlock_lbl" xml:lang="en-US" id="id_12197217_2449887_1_1">Subsequent Events [Text Block]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SubsequentEventsTextBlock_lbl" xml:lang="en-US" id="id_12197217_2449887_2_1">Subsequent Event</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventsTextBlock" xlink:to="us-gaap_SubsequentEventsTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="us-gaap_SubsequentEventTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventTable_lbl" xml:lang="en-US" id="id_12197217_2449507_1_1">Subsequent Event [Table]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SubsequentEventTable_lbl" xml:lang="en-US" id="id_12197217_2449507_2_1">Subsequent Event [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventTable" xlink:to="us-gaap_SubsequentEventTable_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="us-gaap_SubsequentEventTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventTypeAxis_lbl" xml:lang="en-US" id="id_12197217_2449888_1_1">Subsequent Event Type [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SubsequentEventTypeAxis_lbl" xml:lang="en-US" id="id_12197217_2449888_2_1">Subsequent Event Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventTypeAxis" xlink:to="us-gaap_SubsequentEventTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="us-gaap_SubsequentEventTypeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventTypeDomain_lbl" xml:lang="en-US" id="id_12197217_2449611_1_1">Subsequent Event Type [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SubsequentEventTypeDomain_lbl" xml:lang="en-US" id="id_12197217_2449611_2_1">Subsequent Event Type [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventTypeDomain" xlink:to="us-gaap_SubsequentEventTypeDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="us-gaap_SupplementalCashFlowInformationAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalCashFlowInformationAbstract_lbl" xml:lang="en-US" id="id_12197217_2450036_1_1">Supplemental Cash Flow Information [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementalCashFlowInformationAbstract_lbl" xml:lang="en-US" id="id_12197217_2450036_2_1">Supplemental Disclosure:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalCashFlowInformationAbstract" xlink:to="us-gaap_SupplementalCashFlowInformationAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SurfaceFlakingWarrantyReserveMember" xlink:label="trex_SurfaceFlakingWarrantyReserveMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_SurfaceFlakingWarrantyReserveMember_lbl" xml:lang="en-US" id="id_12197217_2706954_3_1">Surface Flaking Warranty Reserve [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_SurfaceFlakingWarrantyReserveMember_lbl" xml:lang="en-US" id="id_12197217_2706954_1_1">Surface Flaking Warranty Reserve [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_SurfaceFlakingWarrantyReserveMember_lbl" xml:lang="en-US" id="id_12197217_2706954_2_1">Surface Flaking Warranty Reserve [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_SurfaceFlakingWarrantyReserveMember" xlink:to="trex_SurfaceFlakingWarrantyReserveMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodAxis" xlink:label="us-gaap_TaxPeriodAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TaxPeriodAxis_lbl" xml:lang="en-US" id="id_12197217_2449668_1_1">Tax Period [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TaxPeriodAxis_lbl" xml:lang="en-US" id="id_12197217_2449668_2_1">Tax Period [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TaxPeriodAxis" xlink:to="us-gaap_TaxPeriodAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="us-gaap_TaxPeriodDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TaxPeriodDomain_lbl" xml:lang="en-US" id="id_12197217_2449560_1_1">Tax Period [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TaxPeriodDomain_lbl" xml:lang="en-US" id="id_12197217_2449560_2_1">Tax Period [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TaxPeriodDomain" xlink:to="us-gaap_TaxPeriodDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TextBlockAbstract" xlink:label="us-gaap_TextBlockAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TextBlockAbstract_lbl" xml:lang="en-US" id="id_12197217_2449956_1_1">Text Block [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TextBlockAbstract_lbl" xml:lang="en-US" id="id_12197217_2449956_2_1">Text Block [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TextBlockAbstract" xlink:to="us-gaap_TextBlockAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ThirdAmendedAndRestatedCreditAgreementMember" xlink:label="trex_ThirdAmendedAndRestatedCreditAgreementMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_ThirdAmendedAndRestatedCreditAgreementMember_lbl" xml:lang="en-US" id="id_12197217_2734865_3_1">Third amended and restated credit agreement.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_ThirdAmendedAndRestatedCreditAgreementMember_lbl" xml:lang="en-US" id="id_12197217_2734865_1_1">Third Amended And Restated Credit Agreement [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_ThirdAmendedAndRestatedCreditAgreementMember_lbl" xml:lang="en-US" id="id_12197217_2734865_2_1">Third Amended and Restated Credit Agreement [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_ThirdAmendedAndRestatedCreditAgreementMember" xlink:to="trex_ThirdAmendedAndRestatedCreditAgreementMember_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember" xlink:label="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2694538_3_1">Time-based restricted stock and time-based restricted stock units.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2694538_1_1">Time Based Restricted Stock and Time Based Restricted Stock Units[Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2694538_2_1">Time-Based Restricted Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember" xlink:to="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_TimeBasedRestrictedStockUnitsMember" xlink:label="trex_TimeBasedRestrictedStockUnitsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_TimeBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2705009_3_1">Time Based Restricted Stock Units [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_TimeBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2705009_1_1">Time Based Restricted Stock Units [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_TimeBasedRestrictedStockUnitsMember_lbl" xml:lang="en-US" id="id_12197217_2705009_2_1">Time Based Restricted Stock Units [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_TimeBasedRestrictedStockUnitsMember" xlink:to="trex_TimeBasedRestrictedStockUnitsMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_TradingSymbol" xlink:label="dei_TradingSymbol"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_TradingSymbol_lbl" xml:lang="en-US" id="id_12197217_2450288_1_1">Trading Symbol</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_TradingSymbol_lbl" xml:lang="en-US" id="id_12197217_2450288_2_1">Trading Symbol</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_TradingSymbol" xlink:to="dei_TradingSymbol_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="us-gaap_TreasuryStockShares"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockShares_lbl" xml:lang="en-US" id="id_12197217_2450307_1_1">Treasury Stock, Shares</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TreasuryStockShares_lbl" xml:lang="en-US" id="id_12197217_2450307_2_1">Treasury stock, shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockShares" xlink:to="us-gaap_TreasuryStockShares_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="us-gaap_TreasuryStockSharesAcquired"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockSharesAcquired_lbl" xml:lang="en-US" id="id_12197217_2449756_1_1">Treasury Stock, Shares, Acquired</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TreasuryStockSharesAcquired_lbl" xml:lang="en-US" id="id_12197217_2449756_2_1">Number of shares repurchased by the Company</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockSharesAcquired" xlink:to="us-gaap_TreasuryStockSharesAcquired_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="us-gaap_TreasuryStockValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockValue_lbl" xml:lang="en-US" id="id_12197217_2450695_1_1">Treasury Stock, Value</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_TreasuryStockValue_lbl" xml:lang="en-US" id="id_12197217_2450695_14_1">Treasury stock, at cost, 5,493,681 shares at June 30, 2017 and December 31, 2016</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_TreasuryStockValue_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl" xml:lang="en-US" id="id_12197217_2450171_1_1">Treasury Stock, Value, Acquired, Cost Method</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl" xml:lang="en-US" id="id_12197217_2450171_2_1">Value of shares repurchased by the Company</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_TwoThousandFourteenStockIncentivePlanMember" xlink:label="trex_TwoThousandFourteenStockIncentivePlanMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_TwoThousandFourteenStockIncentivePlanMember_lbl" xml:lang="en-US" id="id_12197217_2710521_3_1">Two Thousand Fourteen Stock Incentive Plan [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_TwoThousandFourteenStockIncentivePlanMember_lbl" xml:lang="en-US" id="id_12197217_2710521_1_1">Two Thousand Fourteen Stock Incentive Plan [Member]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_TwoThousandFourteenStockIncentivePlanMember_lbl" xml:lang="en-US" id="id_12197217_2710521_2_1">2014 Stock Incentive Plan [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_TwoThousandFourteenStockIncentivePlanMember" xlink:to="trex_TwoThousandFourteenStockIncentivePlanMember_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="us-gaap_TypeOfRestructuringDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TypeOfRestructuringDomain_lbl" xml:lang="en-US" id="id_12197217_2450186_1_1">Type of Restructuring [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TypeOfRestructuringDomain_lbl" xml:lang="en-US" id="id_12197217_2450186_2_1">Type of Restructuring [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TypeOfRestructuringDomain" xlink:to="us-gaap_TypeOfRestructuringDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain_lbl" xml:lang="en-US" id="id_12197217_2450515_1_1">Valuation Allowances and Reserves [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain_lbl" xml:lang="en-US" id="id_12197217_2450515_2_1">Valuation Allowances and Reserves [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ValuationAllowancesAndReservesDomain" xlink:to="us-gaap_ValuationAllowancesAndReservesDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="us-gaap_ValuationAllowancesAndReservesTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ValuationAllowancesAndReservesTypeAxis_lbl" xml:lang="en-US" id="id_12197217_2450417_1_1">Valuation Allowances and Reserves Type [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ValuationAllowancesAndReservesTypeAxis_lbl" xml:lang="en-US" id="id_12197217_2450417_2_1">Valuation Allowances and Reserves Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:to="us-gaap_ValuationAllowancesAndReservesTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="us-gaap_VestingAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_VestingAxis_lbl" xml:lang="en-US" id="id_12197217_2450814_1_1">Vesting [Axis]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_VestingAxis_lbl" xml:lang="en-US" id="id_12197217_2450814_2_1">Vesting [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_VestingAxis" xlink:to="us-gaap_VestingAxis_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="us-gaap_VestingDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_VestingDomain_lbl" xml:lang="en-US" id="id_12197217_2450815_1_1">Vesting [Domain]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_VestingDomain_lbl" xml:lang="en-US" id="id_12197217_2450815_2_1">Vesting [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_VestingDomain" xlink:to="us-gaap_VestingDomain_lbl"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_WarrantyPeriod" xlink:label="trex_WarrantyPeriod"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="trex_WarrantyPeriod_lbl" xml:lang="en-US" id="id_12197217_2633634_3_1">The number of years the Company warrants that its products will be free from material defects in workmanship and materials.</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="trex_WarrantyPeriod_lbl" xml:lang="en-US" id="id_12197217_2633634_1_1">Warranty Period</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="trex_WarrantyPeriod_lbl" xml:lang="en-US" id="id_12197217_2633634_2_1">Warranty period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="trex_WarrantyPeriod" xlink:to="trex_WarrantyPeriod_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" xml:lang="en-US" id="id_12197217_2450988_1_1">Incremental Weighted Average Shares Attributable to Dilutive Effect [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" xml:lang="en-US" id="id_12197217_2450988_2_1">Effect of dilutive securities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:to="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xml:lang="en-US" id="id_12197217_2450464_1_1">Weighted Average Number of Shares Outstanding, Diluted</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xml:lang="en-US" id="id_12197217_2450464_2_1">Diluted weighted average common shares outstanding</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xml:lang="en-US" id="id_12197217_2450464_6_1">Diluted weighted average shares outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xml:lang="en-US" id="id_12197217_2451135_1_1">Weighted Average Number of Shares Outstanding, Basic</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xml:lang="en-US" id="id_12197217_2451135_2_1">Basic weighted average common shares outstanding</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xml:lang="en-US" id="id_12197217_2451135_12_1">Basic weighted average shares outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract_lbl" xml:lang="en-US" id="id_12197217_2450991_1_1">Weighted Average Number of Shares Outstanding, Basic [Abstract]</label>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract_lbl" xml:lang="en-US" id="id_12197217_2450991_2_1">Denominator:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract_lbl"/>
  </labelLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.PRE
<SEQUENCE>10
<FILENAME>trex-20170630_pre.xml
<DESCRIPTION>XBRL TAXONOMY EXTENSION PRESENTATION LINKBASE
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFS Xcelerate Taxonomy Presentation Linkbase - http://www.dfsco.com/financial-services/ -->
<!-- Version: 6.23.6 -->
<!-- Round: 5 -->
<!-- Creation date: 2017-07-24T20:48:35Z -->
<!-- Copyright (c) 2017 Donnelley Financial, LLC. All Rights Reserved. -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DocumentandEntityInformation" roleURI="http://www.trex.com/taxonomy/role/DocumentandEntityInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfIncome" roleURI="http://www.trex.com/taxonomy/role/StatementOfIncome"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfFinancialPositionClassified" roleURI="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassified"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfFinancialPositionClassifiedParen" roleURI="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_StatementOfCashFlowsIndirect" roleURI="http://www.trex.com/taxonomy/role/StatementOfCashFlowsIndirect"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureBusinessAndOrganizationAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureBusinessAndOrganizationAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData" roleURI="http://www.trex.com/taxonomy/role/DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureInventoriesSummaryOfInventoriesAtLIFOValue" roleURI="http://www.trex.com/taxonomy/role/DisclosureInventoriesSummaryOfInventoriesAtLIFOValue"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureInventoriesAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureInventoriesAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets" roleURI="http://www.trex.com/taxonomy/role/DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities" roleURI="http://www.trex.com/taxonomy/role/DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureDebtAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureDebtAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockholdersEquityAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense" roleURI="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureIncomeTaxesAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureCommitmentsAndContingenciesAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease" roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims" roleURI="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#DisclosureSubsequentEventAdditionalInformation" roleURI="http://www.trex.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsNatureOfOperations" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNatureOfOperations"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsInventoryDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsInventoryDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDebtDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsIncomeTaxDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsSeasonalityDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSeasonalityDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables"/>
  <roleRef xlink:type="simple" xlink:href="trex-20170630.xsd#Role_NotesToFinancialStatementsSubsequentEventsTextBlock" roleURI="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock"/>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DocumentandEntityInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag" xlink:label="dei_AmendmentFlag"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="dei_CurrentFiscalYearEndDate"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_DocumentAndEntityInformationAbstract" xlink:label="trex_DocumentAndEntityInformationAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="dei_DocumentFiscalPeriodFocus"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="dei_DocumentFiscalYearFocus"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="dei_DocumentPeriodEndDate"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType" xlink:label="dei_DocumentType"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="dei_EntityCentralIndexKey"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="dei_EntityCommonStockSharesOutstanding"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory" xlink:label="dei_EntityFilerCategory"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName" xlink:label="dei_EntityRegistrantName"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_TradingSymbol" xlink:label="dei_TradingSymbol"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentType" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_AmendmentFlag" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentPeriodEndDate" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentFiscalYearFocus" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentFiscalPeriodFocus" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_TradingSymbol" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_EntityRegistrantName" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_EntityCentralIndexKey" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_CurrentFiscalYearEndDate" order="1.0900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_EntityFilerCategory" order="1.1000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_DocumentAndEntityInformationAbstract" xlink:to="dei_EntityCommonStockSharesOutstanding" order="1.1100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfIncome">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="us-gaap_CostOfGoodsAndServicesSold"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="us-gaap_EarningsPerShareBasic"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="us-gaap_EarningsPerShareDiluted"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit" xlink:label="us-gaap_GrossProfit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementAbstract" xlink:label="us-gaap_IncomeStatementAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="us-gaap_InterestExpense"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="us-gaap_OperatingIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="us-gaap_SalesRevenueNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_SalesRevenueNet" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_GrossProfit" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_OperatingIncomeLoss" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_InterestExpense" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_NetIncomeLoss" order="1.0900" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_EarningsPerShareBasic" order="1.1000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" order="1.1100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_EarningsPerShareDiluted" order="1.1200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" order="1.1300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_ComprehensiveIncomeNetOfTax" order="1.1400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassified">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="us-gaap_AccountsPayableCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="us-gaap_AccountsReceivableNetCurrent"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:label="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="us-gaap_AssetsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="us-gaap_AssetsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="us-gaap_AssetsCurrentAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:label="us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="us-gaap_InventoryNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="us-gaap_LiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="us-gaap_LiabilitiesCurrentAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent" xlink:label="us-gaap_LinesOfCreditCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="us-gaap_OtherAssetsNoncurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="us-gaap_OtherLiabilitiesNoncurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="us-gaap_PreferredStockValue"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="us-gaap_PropertyPlantAndEquipmentNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualCurrent" xlink:label="us-gaap_StandardProductWarrantyAccrualCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="us-gaap_StandardProductWarrantyAccrualNoncurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="us-gaap_StatementOfFinancialPositionAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="us-gaap_StockholdersEquity"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="us-gaap_StockholdersEquityAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="us-gaap_TreasuryStockValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_AssetsCurrentAbstract" order="1.1300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="1.1400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_IntangibleAssetsNetIncludingGoodwill" order="1.1500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_OtherAssetsNoncurrent" order="1.1600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_Assets" order="1.1700" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AccountsReceivableNetCurrent" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_InventoryNet" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsCurrent" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_LiabilitiesCurrentAbstract" order="1.1800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent" order="1.1900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_StandardProductWarrantyAccrualNoncurrent" order="1.2000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_OtherLiabilitiesNoncurrent" order="1.2100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_Liabilities" order="1.2200" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_CommitmentsAndContingencies" order="1.2300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_StockholdersEquityAbstract" order="1.2400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity" order="1.2500" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_AccountsPayableCurrent" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_StandardProductWarrantyAccrualCurrent" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LinesOfCreditCurrent" order="1.0900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LiabilitiesCurrent" order="1.1000" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_AssetsAbstract" order="1.1100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquityAbstract" order="1.1200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_PreferredStockValue" order="1.2600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_CommonStockValue" order="1.2700" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="1.2800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="1.2900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_TreasuryStockValue" order="1.3000" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_StockholdersEquity" order="1.3100" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="us-gaap_CommonStockSharesAuthorized"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="us-gaap_CommonStockSharesIssued"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="us-gaap_CommonStockSharesOutstanding"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="us-gaap_PreferredStockSharesAuthorized"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="us-gaap_PreferredStockSharesIssued"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="us-gaap_PreferredStockSharesOutstanding"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="us-gaap_StatementOfFinancialPositionAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="us-gaap_TreasuryStockShares"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_PreferredStockParOrStatedValuePerShare" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_PreferredStockSharesAuthorized" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_PreferredStockSharesIssued" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_PreferredStockSharesOutstanding" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_CommonStockParOrStatedValuePerShare" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_CommonStockSharesAuthorized" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_CommonStockSharesIssued" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_CommonStockSharesOutstanding" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_TreasuryStockShares" order="1.0900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/StatementOfCashFlowsIndirect">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="us-gaap_DepreciationDepletionAndAmortization"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="us-gaap_IncomeTaxesPaidNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="us-gaap_IncreaseDecreaseInInventories"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" xlink:label="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestPaidNet" xlink:label="us-gaap_InterestPaidNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="us-gaap_OtherNoncashIncomeExpense"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfFinancingCosts" xlink:label="us-gaap_PaymentsOfFinancingCosts"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" xlink:label="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="us-gaap_ProceedsFromLinesOfCredit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="us-gaap_RepaymentsOfLinesOfCredit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="us-gaap_ShareBasedCompensation"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="us-gaap_StatementOfCashFlowsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="us-gaap_SupplementalCashFlowInformationAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_ShareBasedCompensation" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="1.0300" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_OtherNoncashIncomeExpense" order="1.0400" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="1.0500" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="1.0600" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="1.0700" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayable" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" order="1.0900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable" order="1.1000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_ProceedsFromLinesOfCredit" order="1.1100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_RepaymentsOfLinesOfCredit" order="1.1200" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock" order="1.1300" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_PaymentsOfFinancingCosts" order="1.1400" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" order="1.1500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" order="1.1600" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" order="1.1700" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" order="1.1800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" order="1.1900" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetIncomeLoss" order="1.2000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" order="1.2100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_IncreaseDecreaseInOperatingAssetsAbstract" order="1.2200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" order="1.2300" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" order="1.2400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" order="1.2500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" order="1.2600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" order="1.2700" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="1.2800" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_2" order="1.2900" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_SupplementalCashFlowInformationAbstract" order="1.3000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SupplementalCashFlowInformationAbstract" xlink:to="us-gaap_InterestPaidNet" order="1.3100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SupplementalCashFlowInformationAbstract" xlink:to="us-gaap_IncomeTaxesPaidNet" order="1.3200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureBusinessAndOrganizationAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfReportableSegments" xlink:label="us-gaap_NumberOfReportableSegments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_NumberOfReportableSegments" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="us-gaap_EarningsPerShareBasic"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="us-gaap_EarningsPerShareDiluted"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PriorPeriodAdjustmentAbstract" xlink:label="us-gaap_PriorPeriodAdjustmentAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioPreviouslyReportedMember" xlink:label="us-gaap_ScenarioPreviouslyReportedMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="us-gaap_ScenarioUnspecifiedDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="us-gaap_StatementScenarioAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_NetIncomeLoss" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_EarningsPerShareBasic" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/positiveLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_EarningsPerShareDiluted" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/positiveLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:to="us-gaap_StatementScenarioAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:to="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PriorPeriodAdjustmentAbstract" xlink:to="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScenarioUnspecifiedDomain" xlink:to="us-gaap_ScenarioPreviouslyReportedMember" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureInventoriesSummaryOfInventoriesAtLIFOValue">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="us-gaap_InventoryDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryFinishedGoods" xlink:label="us-gaap_InventoryFinishedGoods"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryGross" xlink:label="us-gaap_InventoryGross"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryLIFOReserve" xlink:label="us-gaap_InventoryLIFOReserve"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="us-gaap_InventoryNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryRawMaterials" xlink:label="us-gaap_InventoryRawMaterials"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InventoryDisclosureAbstract" xlink:to="us-gaap_InventoryFinishedGoods" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InventoryDisclosureAbstract" xlink:to="us-gaap_InventoryRawMaterials" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InventoryDisclosureAbstract" xlink:to="us-gaap_InventoryGross" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InventoryDisclosureAbstract" xlink:to="us-gaap_InventoryLIFOReserve" order="1.0400" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InventoryDisclosureAbstract" xlink:to="us-gaap_InventoryNet" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureInventoriesAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectOfLIFOInventoryLiquidationOnIncome" xlink:label="us-gaap_EffectOfLIFOInventoryLiquidationOnIncome"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="us-gaap_InventoryDisclosureAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InventoryDisclosureAbstract" xlink:to="us-gaap_EffectOfLIFOInventoryLiquidationOnIncome" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="us-gaap_IncomeTaxesReceivable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="us-gaap_OtherAssetsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsAbstract" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="us-gaap_PrepaidExpenseCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsAbstract" xlink:to="us-gaap_PrepaidExpenseCurrent" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsAbstract" xlink:to="us-gaap_IncomeTaxesReceivable" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsCurrent" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsAbstract" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="us-gaap_AccruedIncomeTaxesCurrent"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" xlink:label="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_AccruedManufacturingExpensesCurrent" xlink:label="trex_AccruedManufacturingExpensesCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedMarketingCostsCurrent" xlink:label="us-gaap_AccruedMarketingCostsCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRentCreditCurrent" xlink:label="us-gaap_DeferredRentCreditCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PayablesAndAccrualsAbstract" xlink:label="us-gaap_PayablesAndAccrualsAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="us-gaap_AccruedMarketingCostsCurrent" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="us-gaap_AccruedIncomeTaxesCurrent" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="trex_AccruedManufacturingExpensesCurrent" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="us-gaap_DeferredRentCreditCurrent" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureDebtAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="us-gaap_CreditFacilityAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="us-gaap_CreditFacilityDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="us-gaap_DebtInstrumentAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="us-gaap_DebtInstrumentNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityExpirationDate1" xlink:label="us-gaap_LineOfCreditFacilityExpirationDate1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="us-gaap_LineOfCreditFacilityLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="us-gaap_LineOfCreditFacilityTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent" xlink:label="us-gaap_LinesOfCreditCurrent"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember" xlink:label="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember" xlink:label="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ThirdAmendedAndRestatedCreditAgreementMember" xlink:label="trex_ThirdAmendedAndRestatedCreditAgreementMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_LineOfCreditFacilityTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtInstrumentAxis" xlink:to="us-gaap_DebtInstrumentNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtInstrumentNameDomain" xlink:to="trex_ThirdAmendedAndRestatedCreditAgreementMember" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LineOfCreditFacilityExpirationDate1" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LinesOfCreditCurrent" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LineOfCreditFacilityLineItems" xlink:to="us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LineOfCreditFacilityTable" xlink:to="us-gaap_CreditFacilityAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LineOfCreditFacilityTable" xlink:to="us-gaap_DebtInstrumentAxis" order="11.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LineOfCreditFacilityTable" xlink:to="us-gaap_LineOfCreditFacilityLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ComponentsOfBasicAndDilutedEarningPerShareTable" xlink:label="trex_ComponentsOfBasicAndDilutedEarningPerShareTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="us-gaap_EarningsPerShareBasic"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="us-gaap_EarningsPerShareDiluted"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAbstract" xlink:label="us-gaap_NetIncomeLossAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="us-gaap_RestrictedStockMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_StockAppreciationRightsAndOptionsMember" xlink:label="trex_StockAppreciationRightsAndOptionsMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityNoteAbstract" xlink:label="us-gaap_StockholdersEquityNoteAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="us-gaap_NetIncomeLossAbstract" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" order="1.0900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="us-gaap_EarningsPerShareBasic" order="1.1000" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" xlink:to="us-gaap_EarningsPerShareDiluted" order="1.1100" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareTable" xlink:to="us-gaap_AwardTypeAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ComponentsOfBasicAndDilutedEarningPerShareTable" xlink:to="trex_ComponentsOfBasicAndDilutedEarningPerShareLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetIncomeLossAbstract" xlink:to="us-gaap_NetIncomeLoss" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_StockAppreciationRightsAndOptionsMember" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_RestrictedStockMember" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StockholdersEquityNoteAbstract" xlink:to="trex_ComponentsOfBasicAndDilutedEarningPerShareTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:to="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:to="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract" xlink:label="us-gaap_EquityAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:to="us-gaap_AntidilutiveSecuritiesNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AntidilutiveSecuritiesNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:to="us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="us-gaap_ClassOfTreasuryStockTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract" xlink:label="us-gaap_EquityAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="us-gaap_EquityClassOfTreasuryStockLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember" xlink:label="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember" xlink:label="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="us-gaap_ShareRepurchaseProgramAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="us-gaap_ShareRepurchaseProgramDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:label="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_StockRepurchaseProgramTerminationDate" xlink:label="trex_StockRepurchaseProgramTerminationDate"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="us-gaap_TreasuryStockSharesAcquired"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ClassOfTreasuryStockTable" xlink:to="us-gaap_ShareRepurchaseProgramAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ClassOfTreasuryStockTable" xlink:to="us-gaap_EquityClassOfTreasuryStockLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_ClassOfTreasuryStockTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="trex_StockRepurchaseProgramTerminationDate" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="us-gaap_TreasuryStockSharesAcquired" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityClassOfTreasuryStockLineItems" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareRepurchaseProgramAxis" xlink:to="us-gaap_ShareRepurchaseProgramDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareRepurchaseProgramDomain" xlink:to="trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareRepurchaseProgramDomain" xlink:to="trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="us-gaap_MaximumMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="us-gaap_MinimumMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_NumberOfStockBasedCompensationPlan" xlink:label="trex_NumberOfStockBasedCompensationPlan"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockMember" xlink:label="trex_PerformanceBasedRestrictedStockMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="us-gaap_PlanNameAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="us-gaap_PlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="us-gaap_RangeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares" xlink:label="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheThreeMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_TwoThousandFourteenStockIncentivePlanMember" xlink:label="trex_TwoThousandFourteenStockIncentivePlanMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingAxis" xlink:label="us-gaap_VestingAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_VestingDomain" xlink:label="us-gaap_VestingDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PlanNameDomain" xlink:to="trex_TwoThousandFourteenStockIncentivePlanMember" order="1.0900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MinimumMember" order="1.1200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MaximumMember" order="1.1400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_RangeAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_AwardTypeAxis" order="11.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_VestingAxis" order="12.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_PlanNameAxis" order="13.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="trex_NumberOfStockBasedCompensationPlan" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockMember" order="1.1000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.1500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_VestingAxis" xlink:to="us-gaap_VestingDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_VestingDomain" xlink:to="us-gaap_ShareBasedCompensationAwardTrancheOneMember" order="1.1100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_VestingDomain" xlink:to="us-gaap_ShareBasedCompensationAwardTrancheTwoMember" order="1.1300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_VestingDomain" xlink:to="us-gaap_ShareBasedCompensationAwardTrancheThreeMember" order="1.1600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" xlink:to="us-gaap_AwardTypeAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyTable" xlink:to="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockUnitsMember" xlink:label="trex_PerformanceBasedRestrictedStockUnitsMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice" xlink:label="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_TimeBasedRestrictedStockUnitsMember" xlink:label="trex_TimeBasedRestrictedStockUnitsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_AwardTypeAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_TimeBasedRestrictedStockUnitsMember" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockUnitsMember" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockAdjustmentMember" xlink:label="trex_PerformanceBasedRestrictedStockAdjustmentMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockTargetMember" xlink:label="trex_PerformanceBasedRestrictedStockTargetMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_AwardTypeAxis" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockTargetMember" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockAdjustmentMember" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_EmployeeStockPurchasePlanMember" xlink:label="trex_EmployeeStockPurchasePlanMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember" xlink:label="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockAppreciationRightsSARSMember" xlink:label="us-gaap_StockAppreciationRightsSARSMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember" xlink:label="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_AwardTypeAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_StockAppreciationRightsSARSMember" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="trex_EmployeeStockPurchasePlanMember" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" xlink:label="us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarliestTaxYearMember" xlink:label="us-gaap_EarliestTaxYearMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="us-gaap_IncomeTaxAuthorityNameAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="us-gaap_IncomeTaxAuthorityNameDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxContingencyLineItems" xlink:label="us-gaap_IncomeTaxContingencyLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxContingencyTable" xlink:label="us-gaap_IncomeTaxContingencyTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="us-gaap_InternalRevenueServiceIRSMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LatestTaxYearMember" xlink:label="us-gaap_LatestTaxYearMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OpenTaxYear" xlink:label="us-gaap_OpenTaxYear"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodAxis" xlink:label="us-gaap_TaxPeriodAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TaxPeriodDomain" xlink:label="us-gaap_TaxPeriodDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxAuthorityNameAxis" xlink:to="us-gaap_IncomeTaxAuthorityNameDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxAuthorityNameDomain" xlink:to="us-gaap_InternalRevenueServiceIRSMember" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_DeferredTaxAssetsValuationAllowance" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxContingencyLineItems" xlink:to="us-gaap_OpenTaxYear" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxContingencyTable" xlink:to="us-gaap_TaxPeriodAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxContingencyTable" xlink:to="us-gaap_IncomeTaxAuthorityNameAxis" order="11.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxContingencyTable" xlink:to="us-gaap_IncomeTaxContingencyLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxContingencyTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TaxPeriodAxis" xlink:to="us-gaap_TaxPeriodDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TaxPeriodDomain" xlink:to="us-gaap_EarliestTaxYearMember" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TaxPeriodDomain" xlink:to="us-gaap_LatestTaxYearMember" order="1.0900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AreaOfRealEstateProperty" xlink:label="us-gaap_AreaOfRealEstateProperty"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractTerminationMember" xlink:label="us-gaap_ContractTerminationMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember" xlink:label="us-gaap_MaximumMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember" xlink:label="us-gaap_MinimumMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims" xlink:label="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis" xlink:label="us-gaap_RangeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="us-gaap_RestructuringCostAndReserveAxis"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesLineItems"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:label="trex_ScheduleOfCommitmentsAndContingenciesTable"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SensitivityChangeInSurfaceFlakingWarrantyReserve" xlink:label="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SubleaseMember" xlink:label="trex_SubleaseMember"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SurfaceFlakingWarrantyReserveMember" xlink:label="trex_SurfaceFlakingWarrantyReserveMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="us-gaap_TypeOfRestructuringDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="us-gaap_ValuationAllowancesAndReservesTypeAxis"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_WarrantyPeriod" xlink:label="trex_WarrantyPeriod"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="trex_ScheduleOfCommitmentsAndContingenciesTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MinimumMember" order="1.1200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MaximumMember" order="1.1500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RestructuringCostAndReserveAxis" xlink:to="us-gaap_TypeOfRestructuringDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_AreaOfRealEstateProperty" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears" order="1.0600" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears" order="1.0700" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="trex_WarrantyPeriod" order="1.0800" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims" order="1.0900" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesLineItems" xlink:to="trex_SensitivityChangeInSurfaceFlakingWarrantyReserve" order="1.1000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:to="us-gaap_RestructuringCostAndReserveAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:to="us-gaap_ValuationAllowancesAndReservesTypeAxis" order="11.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:to="us-gaap_RangeAxis" order="12.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="trex_ScheduleOfCommitmentsAndContingenciesTable" xlink:to="trex_ScheduleOfCommitmentsAndContingenciesLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TypeOfRestructuringDomain" xlink:to="trex_SubleaseMember" order="1.1100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TypeOfRestructuringDomain" xlink:to="us-gaap_ContractTerminationMember" order="1.1400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ValuationAllowancesAndReservesDomain" xlink:to="trex_SurfaceFlakingWarrantyReserveMember" order="1.1300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:to="us-gaap_ValuationAllowancesAndReservesDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccretionExpense" xlink:label="us-gaap_AccretionExpense"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="us-gaap_PaymentsForRestructuring"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="us-gaap_RestructuringReserve"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="us-gaap_RestructuringReserve_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestructuringReserveAccrualAdjustment1" xlink:label="us-gaap_RestructuringReserveAccrualAdjustment1"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_RestructuringReserve" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_PaymentsForRestructuring" order="1.0200" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_AccretionExpense" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_RestructuringReserveAccrualAdjustment1" order="1.0400" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_RestructuringReserve_2" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductWarrantyLiabilityLineItems" xlink:label="us-gaap_ProductWarrantyLiabilityLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductWarrantyLiabilityTable" xlink:label="us-gaap_ProductWarrantyLiabilityTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="us-gaap_StandardProductWarrantyAccrual"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="us-gaap_StandardProductWarrantyAccrual_2"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPayments" xlink:label="us-gaap_StandardProductWarrantyAccrualPayments"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:label="us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SurfaceFlakingWarrantyReserveMember" xlink:label="trex_SurfaceFlakingWarrantyReserveMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="us-gaap_ValuationAllowancesAndReservesTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_ProductWarrantyLiabilityTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductWarrantyLiabilityLineItems" xlink:to="us-gaap_StandardProductWarrantyAccrual" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductWarrantyLiabilityLineItems" xlink:to="us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductWarrantyLiabilityLineItems" xlink:to="us-gaap_StandardProductWarrantyAccrualPayments" order="1.0400" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductWarrantyLiabilityLineItems" xlink:to="us-gaap_StandardProductWarrantyAccrual_2" order="1.0500" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductWarrantyLiabilityTable" xlink:to="us-gaap_ValuationAllowancesAndReservesTypeAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductWarrantyLiabilityTable" xlink:to="us-gaap_ProductWarrantyLiabilityLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ValuationAllowancesAndReservesDomain" xlink:to="trex_SurfaceFlakingWarrantyReserveMember" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:to="us-gaap_ValuationAllowancesAndReservesDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="us-gaap_BusinessAcquisitionAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_StagingConceptsAcquisitionLLCMember" xlink:label="trex_StagingConceptsAcquisitionLLCMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="us-gaap_SubsequentEventLineItems"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="us-gaap_SubsequentEventMember"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsAbstract" xlink:label="us-gaap_SubsequentEventsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="us-gaap_SubsequentEventTable"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="us-gaap_SubsequentEventTypeAxis"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="us-gaap_SubsequentEventTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="trex_StagingConceptsAcquisitionLLCMember" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_BusinessAcquisitionAxis" xlink:to="us-gaap_BusinessAcquisitionAcquireeDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventLineItems" xlink:to="us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventTable" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventTable" xlink:to="us-gaap_SubsequentEventTypeAxis" order="10.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventTable" xlink:to="us-gaap_BusinessAcquisitionAxis" order="11.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventTable" xlink:to="us-gaap_SubsequentEventLineItems" order="100.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventTypeAxis" xlink:to="us-gaap_SubsequentEventTypeDomain" order="1.0000" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventTypeDomain" xlink:to="us-gaap_SubsequentEventMember" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNatureOfOperations">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NatureOfOperations" xlink:label="us-gaap_NatureOfOperations"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:to="us-gaap_NatureOfOperations" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:label="us-gaap_AccountingChangesAndErrorCorrectionsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:label="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:to="us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:label="us-gaap_AccountingChangesAndErrorCorrectionsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock" xlink:label="us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:to="us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:label="us-gaap_AccountingChangesAndErrorCorrectionsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted" xlink:label="us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingChangesAndErrorCorrectionsAbstract" xlink:to="us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="us-gaap_InventoryDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryDisclosureTextBlock" xlink:label="us-gaap_InventoryDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InventoryDisclosureAbstract" xlink:to="us-gaap_InventoryDisclosureTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="us-gaap_InventoryDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InventoryDisclosureAbstract" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock">
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock" xlink:label="trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TextBlockAbstract" xlink:label="us-gaap_TextBlockAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TextBlockAbstract" xlink:to="trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables">
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock" xlink:label="trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TextBlockAbstract" xlink:label="us-gaap_TextBlockAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TextBlockAbstract" xlink:to="trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PayablesAndAccrualsAbstract" xlink:label="us-gaap_PayablesAndAccrualsAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PayablesAndAccrualsAbstract" xlink:label="us-gaap_PayablesAndAccrualsAbstract"/>
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock" xlink:label="trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PayablesAndAccrualsAbstract" xlink:to="trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureTextBlock" xlink:label="us-gaap_DebtDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsAllOtherInvestmentsAbstract" xlink:label="us-gaap_InvestmentsAllOtherInvestmentsAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InvestmentsAllOtherInvestmentsAbstract" xlink:to="us-gaap_FinancialInstrumentsDisclosureTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsAllOtherInvestmentsAbstract" xlink:label="us-gaap_InvestmentsAllOtherInvestmentsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xlink:label="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InvestmentsAllOtherInvestmentsAbstract" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_InvestmentsAllOtherInvestmentsAbstract" xlink:to="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract" xlink:label="us-gaap_EquityAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:label="us-gaap_StockholdersEquityNoteDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_StockholdersEquityNoteDisclosureTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract" xlink:label="us-gaap_EquityAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock" xlink:label="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock" xlink:label="us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock" xlink:label="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock" order="1.0300" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSeasonalityDisclosureTextBlock">
    <loc xlink:type="locator" xlink:href="trex-20170630.xsd#trex_SeasonalityDisclosureTextBlock" xlink:label="trex_SeasonalityDisclosureTextBlock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TextBlockAbstract" xlink:label="us-gaap_TextBlockAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TextBlockAbstract" xlink:to="trex_SeasonalityDisclosureTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" xlink:label="us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock" xlink:label="us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" order="1.0200" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock">
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsAbstract" xlink:label="us-gaap_SubsequentEventsAbstract"/>
    <loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsTextBlock" xlink:label="us-gaap_SubsequentEventsTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventsTextBlock" order="1.0100" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" priority="2" use="optional"/>
  </presentationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>GRAPHIC
<SEQUENCE>11
<FILENAME>g405693g80f11.jpg
<DESCRIPTION>GRAPHIC
<TEXT>
begin 644 g405693g80f11.jpg
M_]C_X  02D9)1@ !  $ 8 !@  #__@ ?3$5!1"!496-H;F]L;V=I97,@26YC
M+B!6,2XP,0#_VP"$  @&!@<&!0@'!P<*"0@*#18.#0P,#1L3%! 6(!PB(1\<
M'QXC*#,K(R8P)AX?+#TM,#4V.3HY(BL_0SXX0S,X.3<!"0H*#0L-&@X.&C<D
M'R0W-S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^ZO7
M\30![-I'AJ#3[1+>"%;:W7^!?O-[D]S0!T$<:Q1JB+M5> *0AU !0 4 % !0
M 4 ,EACF7;(@8>] '/ZYX,TS7(]MQ$&8=&/##\:8SS/7/@U<1K)+IDP;'(1^
M/UZ?GB@#S_4?"6M:43]JL)D7^]MX/X]* ,@Q,IP5(/O0 !#ZT!87R_>@!?+/
MK0 GE^] !Y?O^E "^70 HA+<*&/TH UM-\*ZQJQ_T.QF=?4+P/QZ"@#OM!^#
MMU(RR:I(L:_W$.X_GT_G0!Z7HO@K2]&4>1 @?&"^,L?Q/3\* .ACACA7;&@4
M>U A]( H * "@ H * "@ H * "@ H :T:.I5D!'<$4P,:]\'^'K_ /X^-)MV
M/JJ[3^E '.7?P@\+W#,T:W5N3_SSEX'Y@T#,>;X'V#,3!K-P@[!XE;^6*!%1
M_@<V?DUU0/1K?/\ [-0,%^!S@C?KBD>UN1_[-0!;B^"%BI!EUF=AW"Q*/YDT
M :]M\'_#$&/,-W.1_?E _D!0!T=CX-\/:<!]GTFW!'=UW']:!&S'%'$@2-%1
M1T & *0#Z "@ H * "@ H * "@ H * "@ H * "@ H * "@ H * "@ H * "
2@ H * "@ H * "@ H * /__9

end
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>12
<FILENAME>R1.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801608320">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Document and Entity Information - shares<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jul. 18, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_DocumentAndEntityInformationAbstract', window );"><strong>Document And Entity Information [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentType', window );">Document Type</a></td>
<td class="text">10-Q<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_AmendmentFlag', window );">Amendment Flag</a></td>
<td class="text">false<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentPeriodEndDate', window );">Document Period End Date</a></td>
<td class="text">Jun. 30,  2017<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentFiscalYearFocus', window );">Document Fiscal Year Focus</a></td>
<td class="text">2017<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentFiscalPeriodFocus', window );">Document Fiscal Period Focus</a></td>
<td class="text">Q2<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_TradingSymbol', window );">Trading Symbol</a></td>
<td class="text">TREX<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityRegistrantName', window );">Entity Registrant Name</a></td>
<td class="text">TREX CO INC<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityCentralIndexKey', window );">Entity Central Index Key</a></td>
<td class="text">0001069878<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_CurrentFiscalYearEndDate', window );">Current Fiscal Year End Date</a></td>
<td class="text">--12-31<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityFilerCategory', window );">Entity Filer Category</a></td>
<td class="text">Large Accelerated Filer<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityCommonStockSharesOutstanding', window );">Entity Common Stock, Shares Outstanding</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">29,406,092<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_AmendmentFlag">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>If the value is true, then the document is an amendment to previously-filed/accepted document.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_AmendmentFlag</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:booleanItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_CurrentFiscalYearEndDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>End date of current fiscal year in the format --MM-DD.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_CurrentFiscalYearEndDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:gMonthDayItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentFiscalPeriodFocus">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This is focus fiscal period of the document report. For a first quarter 2006 quarterly report, which may also provide financial information from prior periods, the first fiscal quarter should be given as the fiscal period focus. Values: FY, Q1, Q2, Q3, Q4, H1, H2, M9, T1, T2, T3, M8, CY.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentFiscalPeriodFocus</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:fiscalPeriodItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentFiscalYearFocus">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This is focus fiscal year of the document report in CCYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentFiscalYearFocus</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:gYearItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentPeriodEndDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is CCYY-MM-DD.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentPeriodEndDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:dateItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentType">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word "Other".</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentType</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:submissionTypeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityCentralIndexKey">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12b<br> -Subsection 1<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityCentralIndexKey</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:centralIndexKeyItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityCommonStockSharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityCommonStockSharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityFilerCategory">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate whether the registrant is one of the following: (1) Large Accelerated Filer, (2) Accelerated Filer, (3) Non-accelerated Filer, (4) Smaller Reporting Company (Non-accelerated) or (5) Smaller Reporting Accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityFilerCategory</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:filerCategoryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityRegistrantName">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12b<br> -Subsection 1<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityRegistrantName</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:normalizedStringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_TradingSymbol">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Trading symbol of an instrument as listed on an exchange.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_TradingSymbol</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:normalizedStringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_DocumentAndEntityInformationAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Document and entity information.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_DocumentAndEntityInformationAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>13
<FILENAME>R2.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6805210928">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Condensed Consolidated Statements of Comprehensive Income - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeStatementAbstract', window );"><strong>Income Statement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SalesRevenueNet', window );">Net sales</a></td>
<td class="nump">$ 157,941<span></span>
</td>
<td class="nump">$ 146,450<span></span>
</td>
<td class="nump">$ 302,747<span></span>
</td>
<td class="nump">$ 278,126<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CostOfGoodsAndServicesSold', window );">Cost of sales</a></td>
<td class="nump">85,927<span></span>
</td>
<td class="nump">85,040<span></span>
</td>
<td class="nump">165,563<span></span>
</td>
<td class="nump">159,089<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GrossProfit', window );">Gross profit</a></td>
<td class="nump">72,014<span></span>
</td>
<td class="nump">61,410<span></span>
</td>
<td class="nump">137,184<span></span>
</td>
<td class="nump">119,037<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SellingGeneralAndAdministrativeExpense', window );">Selling, general and administrative expenses</a></td>
<td class="nump">27,221<span></span>
</td>
<td class="nump">24,795<span></span>
</td>
<td class="nump">50,490<span></span>
</td>
<td class="nump">45,407<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingIncomeLoss', window );">Income from operations</a></td>
<td class="nump">44,793<span></span>
</td>
<td class="nump">36,615<span></span>
</td>
<td class="nump">86,694<span></span>
</td>
<td class="nump">73,630<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InterestExpense', window );">Interest expense, net</a></td>
<td class="nump">251<span></span>
</td>
<td class="nump">458<span></span>
</td>
<td class="nump">456<span></span>
</td>
<td class="nump">1,030<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">Income before income taxes</a></td>
<td class="nump">44,542<span></span>
</td>
<td class="nump">36,157<span></span>
</td>
<td class="nump">86,238<span></span>
</td>
<td class="nump">72,600<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Provision for income taxes</a></td>
<td class="nump">15,760<span></span>
</td>
<td class="nump">12,432<span></span>
</td>
<td class="nump">29,506<span></span>
</td>
<td class="nump">25,170<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLoss', window );">Net income</a></td>
<td class="nump">$ 28,782<span></span>
</td>
<td class="nump">$ 23,725<span></span>
</td>
<td class="nump">$ 56,732<span></span>
</td>
<td class="nump">$ 47,430<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareBasic', window );">Basic earnings per common share</a></td>
<td class="nump">$ 0.98<span></span>
</td>
<td class="nump">$ 0.81<span></span>
</td>
<td class="nump">$ 1.93<span></span>
</td>
<td class="nump">$ 1.61<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic', window );">Basic weighted average common shares outstanding</a></td>
<td class="nump">29,389,458<span></span>
</td>
<td class="nump">29,264,362<span></span>
</td>
<td class="nump">29,376,407<span></span>
</td>
<td class="nump">29,481,042<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareDiluted', window );">Diluted earnings per common share</a></td>
<td class="nump">$ 0.97<span></span>
</td>
<td class="nump">$ 0.80<span></span>
</td>
<td class="nump">$ 1.92<span></span>
</td>
<td class="nump">$ 1.60<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding', window );">Diluted weighted average common shares outstanding</a></td>
<td class="nump">29,550,418<span></span>
</td>
<td class="nump">29,477,870<span></span>
</td>
<td class="nump">29,555,985<span></span>
</td>
<td class="nump">29,694,081<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ComprehensiveIncomeNetOfTax', window );">Comprehensive income</a></td>
<td class="nump">$ 28,782<span></span>
</td>
<td class="nump">$ 23,725<span></span>
</td>
<td class="nump">$ 56,732<span></span>
</td>
<td class="nump">$ 47,430<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ComprehensiveIncomeNetOfTax">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=84228862&amp;loc=d3e557-108580<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ComprehensiveIncomeNetOfTax</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CostOfGoodsAndServicesSold">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.2(a),(d))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CostOfGoodsAndServicesSold</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EarningsPerShareBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 55<br> -Paragraph 52<br> -URI http://asc.fasb.org/extlink&amp;oid=96948231&amp;loc=d3e4984-109258<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1252-109256<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(21))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EarningsPerShareBasic</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EarningsPerShareDiluted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1252-109256<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(21))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EarningsPerShareDiluted</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GrossProfit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.1,2)<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GrossProfit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 940<br> -SubTopic 20<br> -Section 25<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=68072869&amp;loc=d3e41242-110953<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(15))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeStatementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeStatementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (a),(b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32639-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08.(h))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExpenseBenefit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InterestExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of the cost of borrowed funds accounted for as interest expense.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 835<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6450988&amp;loc=d3e26243-108391<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 835<br> -SubTopic 30<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=64930785&amp;loc=d3e28555-108399<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04.9)<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InterestExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The net result for the period of deducting operating expenses from operating revenues.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SalesRevenueNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SalesRevenueNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SellingGeneralAndAdministrativeExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.4)<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 30<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=68048583&amp;loc=d3e3636-108311<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SellingGeneralAndAdministrativeExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 16<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1505-109256<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1448-109256<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberOfSharesOutstandingBasic</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>14
<FILENAME>R3.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6802258112">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Condensed Consolidated Balance Sheets - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Dec. 31, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsCurrentAbstract', window );"><strong>Current assets:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsAtCarryingValue', window );">Cash and cash equivalents</a></td>
<td class="nump">$ 8,576<span></span>
</td>
<td class="nump">$ 18,664<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsReceivableNetCurrent', window );">Accounts receivable, net</a></td>
<td class="nump">129,881<span></span>
</td>
<td class="nump">48,039<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryNet', window );">Inventories</a></td>
<td class="nump">26,941<span></span>
</td>
<td class="nump">28,546<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PrepaidExpenseAndOtherAssetsCurrent', window );">Prepaid expenses and other assets</a></td>
<td class="nump">2,675<span></span>
</td>
<td class="nump">10,400<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsCurrent', window );">Total current assets</a></td>
<td class="nump">168,073<span></span>
</td>
<td class="nump">105,649<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentNet', window );">Property, plant and equipment, net</a></td>
<td class="nump">101,620<span></span>
</td>
<td class="nump">103,286<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IntangibleAssetsNetIncludingGoodwill', window );">Goodwill and other intangibles</a></td>
<td class="nump">10,523<span></span>
</td>
<td class="nump">10,523<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAssetsNoncurrent', window );">Other assets</a></td>
<td class="nump">2,313<span></span>
</td>
<td class="nump">1,972<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Assets', window );">Total assets</a></td>
<td class="nump">282,529<span></span>
</td>
<td class="nump">221,430<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesCurrentAbstract', window );"><strong>Current liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableCurrent', window );">Accounts payable</a></td>
<td class="nump">15,137<span></span>
</td>
<td class="nump">10,767<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty', window );">Accrued expenses and other liabilities</a></td>
<td class="nump">36,271<span></span>
</td>
<td class="nump">34,693<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StandardProductWarrantyAccrualCurrent', window );">Accrued warranty</a></td>
<td class="nump">5,925<span></span>
</td>
<td class="nump">5,925<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LinesOfCreditCurrent', window );">Line of credit</a></td>
<td class="nump">0<span></span>
</td>
<td class="nump">0<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesCurrent', window );">Total current liabilities</a></td>
<td class="nump">57,333<span></span>
</td>
<td class="nump">51,385<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredTaxLiabilitiesNoncurrent', window );">Deferred income taxes</a></td>
<td class="nump">894<span></span>
</td>
<td class="nump">894<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StandardProductWarrantyAccrualNoncurrent', window );">Non-current accrued warranty</a></td>
<td class="nump">30,735<span></span>
</td>
<td class="nump">31,767<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherLiabilitiesNoncurrent', window );">Other long-term liabilities</a></td>
<td class="nump">2,880<span></span>
</td>
<td class="nump">3,223<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Liabilities', window );">Total liabilities</a></td>
<td class="nump">91,842<span></span>
</td>
<td class="nump">87,269<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingencies', window );">Commitments and contingencies</a></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityAbstract', window );"><strong>Stockholders' equity:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PreferredStockValue', window );">Preferred stock, $0.01 par value, 3,000,000 shares authorized; none issued and outstanding</a></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommonStockValue', window );">Common stock, $0.01 par value, 80,000,000 shares authorized; 34,899,586 and 34,894,233 shares issued and 29,405,905 and 29,400,552 shares outstanding at June 30, 2017 and December 31, 2016, respectively</a></td>
<td class="nump">349<span></span>
</td>
<td class="nump">349<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AdditionalPaidInCapitalCommonStock', window );">Additional paid-in capital</a></td>
<td class="nump">119,876<span></span>
</td>
<td class="nump">120,082<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RetainedEarningsAccumulatedDeficit', window );">Retained earnings</a></td>
<td class="nump">243,974<span></span>
</td>
<td class="nump">187,242<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockValue', window );">Treasury stock, at cost, 5,493,681 shares at June 30, 2017 and December 31, 2016</a></td>
<td class="num">(173,512)<span></span>
</td>
<td class="num">(173,512)<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquity', window );">Total stockholders' equity</a></td>
<td class="nump">190,687<span></span>
</td>
<td class="nump">134,161<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesAndStockholdersEquity', window );">Total liabilities and stockholders' equity</a></td>
<td class="nump">$ 282,529<span></span>
</td>
<td class="nump">$ 221,430<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Accrued liabilities and other liabilities current excluding warranty.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsPayableCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsPayableCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsReceivableNetCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount due from customers or clients, within one year of the balance sheet date (or the normal operating cycle, whichever is longer), for goods or services (including trade receivables) that have been delivered or sold in the normal course of business, reduced to the estimated net realizable fair value by an allowance established by the entity of the amount it deems uncertain of collection.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(3))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsReceivableNetCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AdditionalPaidInCapitalCommonStock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(30)(a)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AdditionalPaidInCapitalCommonStock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_Assets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(11))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_Assets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AssetsCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.9)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6801-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AssetsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AssetsCurrentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AssetsCurrentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3044-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsAtCarryingValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommitmentsAndContingencies">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03.(a),19)<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 450<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=82911808&amp;loc=d3e14326-108349<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03.17)<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.25)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommitmentsAndContingencies</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommonStockValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommonStockValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DeferredTaxLiabilitiesNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences, with jurisdictional netting and classified as noncurrent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31931-109318<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31958-109318<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31917-109318<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DeferredTaxLiabilitiesNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IntangibleAssetsNetIncludingGoodwill">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount of finite-lived intangible assets, indefinite-lived intangible assets and goodwill. Goodwill is an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Intangible assets are assets, not including financial assets, lacking physical substance.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IntangibleAssetsNetIncludingGoodwill</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 35<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=68049868&amp;loc=d3e3927-108312<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_Liabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19-26)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_Liabilities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesAndStockholdersEquity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(25))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(32))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesAndStockholdersEquity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.21)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesCurrentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesCurrentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LinesOfCreditCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The carrying value as of the balance sheet date of the current portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LinesOfCreditCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAssetsNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of noncurrent assets classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.17)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAssetsNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherLiabilitiesNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.24)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherLiabilitiesNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PreferredStockValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(28))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PreferredStockValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PrepaidExpenseAndOtherAssetsCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(7))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PrepaidExpenseAndOtherAssetsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(14))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RetainedEarningsAccumulatedDeficit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cumulative amount of the reporting entity's undistributed earnings or deficit.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(23)(a)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=27012166&amp;loc=d3e187085-122770<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(30)(a)(3))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RetainedEarningsAccumulatedDeficit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StandardProductWarrantyAccrualCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount as of the balance sheet date of the aggregate standard product warranty liability that is expected to be paid within one year or the normal operating cycle, if longer. Does not include the balance for the extended product warranty liability.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StandardProductWarrantyAccrualCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StandardProductWarrantyAccrualNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount as of the balance sheet date of the aggregate standard product warranty liability that is expected to be paid after one year or beyond the normal operating cycle, if longer. Does not include the balance for the extended product warranty liability.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StandardProductWarrantyAccrualNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockholdersEquity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(30))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 310<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 4.E)<br> -URI http://asc.fasb.org/extlink&amp;oid=27010918&amp;loc=d3e74512-122707<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(31))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockholdersEquity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockholdersEquityAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockholdersEquityAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6405813&amp;loc=d3e23239-112655<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.29,30)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=6405834&amp;loc=d3e23315-112656<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>15
<FILENAME>R4.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801987328">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Condensed Consolidated Balance Sheets (Parenthetical) - $ / shares<br></strong></div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Dec. 31, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementOfFinancialPositionAbstract', window );"><strong>Statement of Financial Position [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PreferredStockParOrStatedValuePerShare', window );">Preferred stock, par value</a></td>
<td class="nump">$ 0.01<span></span>
</td>
<td class="nump">$ 0.01<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PreferredStockSharesAuthorized', window );">Preferred stock, shares authorized</a></td>
<td class="nump">3,000,000<span></span>
</td>
<td class="nump">3,000,000<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PreferredStockSharesIssued', window );">Preferred stock, shares issued</a></td>
<td class="nump">0<span></span>
</td>
<td class="nump">0<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PreferredStockSharesOutstanding', window );">Preferred stock, shares outstanding</a></td>
<td class="nump">0<span></span>
</td>
<td class="nump">0<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommonStockParOrStatedValuePerShare', window );">Common stock, par value</a></td>
<td class="nump">$ 0.01<span></span>
</td>
<td class="nump">$ 0.01<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommonStockSharesAuthorized', window );">Common stock, shares authorized</a></td>
<td class="nump">80,000,000<span></span>
</td>
<td class="nump">80,000,000<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommonStockSharesIssued', window );">Common stock, shares issued</a></td>
<td class="nump">34,899,586<span></span>
</td>
<td class="nump">34,894,233<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommonStockSharesOutstanding', window );">Common stock, shares outstanding</a></td>
<td class="nump">29,405,905<span></span>
</td>
<td class="nump">29,400,552<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockShares', window );">Treasury stock, shares</a></td>
<td class="nump">5,493,681<span></span>
</td>
<td class="nump">5,493,681<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommonStockParOrStatedValuePerShare">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Face amount or stated value per share of common stock.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommonStockParOrStatedValuePerShare</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommonStockSharesAuthorized">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The maximum number of common shares permitted to be issued by an entity's charter and bylaws.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommonStockSharesAuthorized</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommonStockSharesIssued">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommonStockSharesIssued</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommonStockSharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=84159872&amp;loc=d3e21463-112644<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommonStockSharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PreferredStockParOrStatedValuePerShare">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(28))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PreferredStockParOrStatedValuePerShare</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PreferredStockSharesAuthorized">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(28))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PreferredStockSharesAuthorized</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PreferredStockSharesIssued">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(28))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PreferredStockSharesIssued</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PreferredStockSharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(28))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PreferredStockSharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementOfFinancialPositionAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementOfFinancialPositionAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockShares">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of common and preferred shares that were previously issued and that were repurchased by the issuing entity and held in treasury on the financial statement date. This stock has no voting rights and receives no dividends.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.29,30)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6405813&amp;loc=d3e23239-112655<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockShares</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>16
<FILENAME>R5.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6802298064">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Condensed Consolidated Statements of Cash Flows - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract', window );"><strong>Operating Activities</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLoss', window );">Net income</a></td>
<td class="nump">$ 56,732<span></span>
</td>
<td class="nump">$ 47,430<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract', window );"><strong>Adjustments to reconcile net income to net cash provided by operating activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DepreciationDepletionAndAmortization', window );">Depreciation and amortization</a></td>
<td class="nump">7,513<span></span>
</td>
<td class="nump">7,417<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensation', window );">Stock-based compensation</a></td>
<td class="nump">2,876<span></span>
</td>
<td class="nump">2,945<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GainLossOnSaleOfPropertyPlantEquipment', window );">Loss (gain) on disposal of property, plant and equipment</a></td>
<td class="nump">1,343<span></span>
</td>
<td class="num">(204)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherNoncashIncomeExpense', window );">Other non-cash adjustments</a></td>
<td class="num">(405)<span></span>
</td>
<td class="num">(285)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInOperatingAssetsAbstract', window );"><strong>Changes in operating assets and liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInAccountsReceivable', window );">Accounts receivable</a></td>
<td class="num">(81,842)<span></span>
</td>
<td class="num">(48,268)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInInventories', window );">Inventories</a></td>
<td class="nump">1,604<span></span>
</td>
<td class="nump">4,348<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets', window );">Prepaid expenses and other assets</a></td>
<td class="nump">3,701<span></span>
</td>
<td class="num">(67)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInAccountsPayable', window );">Accounts payable</a></td>
<td class="nump">4,370<span></span>
</td>
<td class="num">(161)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities', window );">Accrued expenses and other liabilities</a></td>
<td class="num">(5,680)<span></span>
</td>
<td class="num">(7,901)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable', window );">Income taxes receivable/payable</a></td>
<td class="nump">9,907<span></span>
</td>
<td class="nump">11,188<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations', window );">Net cash provided by operating activities</a></td>
<td class="nump">119<span></span>
</td>
<td class="nump">16,442<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract', window );"><strong>Investing Activities</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment', window );">Expenditures for property, plant and equipment</a></td>
<td class="num">(7,125)<span></span>
</td>
<td class="num">(5,182)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment', window );">Proceeds from sales of property, plant and equipment</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">4,349<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations', window );">Net cash used in investing activities</a></td>
<td class="num">(7,125)<span></span>
</td>
<td class="num">(833)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract', window );"><strong>Financing Activities</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromLinesOfCredit', window );">Borrowings under line of credit</a></td>
<td class="nump">163,000<span></span>
</td>
<td class="nump">194,000<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RepaymentsOfLinesOfCredit', window );">Principal payments under line of credit</a></td>
<td class="num">(163,000)<span></span>
</td>
<td class="num">(158,000)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsForRepurchaseOfCommonStock', window );">Repurchases of common stock</a></td>
<td class="num">(3,271)<span></span>
</td>
<td class="num">(54,703)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsOfFinancingCosts', window );">Financing costs</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(485)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions', window );">Proceeds from employee stock purchase and option plans</a></td>
<td class="nump">189<span></span>
</td>
<td class="nump">137<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations', window );">Net cash used in financing activities</a></td>
<td class="num">(3,082)<span></span>
</td>
<td class="num">(19,051)<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease', window );">Net decrease in cash and cash equivalents</a></td>
<td class="num">(10,088)<span></span>
</td>
<td class="num">(3,442)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsAtCarryingValue', window );">Cash and cash equivalents, beginning of period</a></td>
<td class="nump">18,664<span></span>
</td>
<td class="nump">5,995<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsAtCarryingValue', window );">Cash and cash equivalents, end of period</a></td>
<td class="nump">8,576<span></span>
</td>
<td class="nump">2,553<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SupplementalCashFlowInformationAbstract', window );"><strong>Supplemental Disclosure:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InterestPaidNet', window );">Cash paid for interest</a></td>
<td class="nump">364<span></span>
</td>
<td class="nump">696<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxesPaidNet', window );">Cash paid for income taxes, net</a></td>
<td class="nump">$ 19,600<span></span>
</td>
<td class="nump">$ 13,982<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3044-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsAtCarryingValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 830<br> -SubTopic 230<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=98513438&amp;loc=d3e33268-110906<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DepreciationDepletionAndAmortization">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DepreciationDepletionAndAmortization</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GainLossOnSaleOfPropertyPlantEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GainLossOnSaleOfPropertyPlantEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxesPaidNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=98513485&amp;loc=d3e4297-108586<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxesPaidNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInAccountsPayable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInAccountsPayable</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInAccountsReceivable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInAccountsReceivable</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in accrued expenses, and obligations classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The increase (decrease) during the reporting period in the amounts payable to taxing authorities for taxes that are based on the reporting entity's earnings, net of amounts receivable from taxing authorities for refunds of overpayments or recoveries of income taxes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInIncomeTaxesPayableNetOfIncomeTaxesReceivable</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInInventories">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInInventories</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInOperatingAssetsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInOperatingAssetsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in prepaid expenses, and assets classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InterestPaidNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash paid, after deduction of cash paid for capitalized interest, for interest. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=98513485&amp;loc=d3e4297-108586<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InterestPaidNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) of financing activities, excluding discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 26<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3574-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) of investing activities, excluding discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 26<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3574-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from operating activities, excluding discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3536-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherNoncashIncomeExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income (expense) included in net income that results in no cash inflow (outflow), classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherNoncashIncomeExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsForRepurchaseOfCommonStock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash outflow to reacquire common stock during the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3291-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsForRepurchaseOfCommonStock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsOfFinancingCosts">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash outflow for loan and debt issuance costs.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3291-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsOfFinancingCosts</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 13<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3213-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsToAcquirePropertyPlantAndEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow from issuance of shares under share-based compensation arrangement. Issuance includes, but is not limited to, exercise of stock options and similar instruments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 14<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3255-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=SL79508275-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromLinesOfCredit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 14<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3255-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08.(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromLinesOfCredit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 12<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3179-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RepaymentsOfLinesOfCredit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3291-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08.(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RepaymentsOfLinesOfCredit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensation</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SupplementalCashFlowInformationAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SupplementalCashFlowInformationAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>17
<FILENAME>R6.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798089296">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Business and Organization<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract', window );"><strong>Organization, Consolidation and Presentation of Financial Statements [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NatureOfOperations', window );">Business and Organization</a></td>
<td class="text"><div>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left"><b>1.</b></td>
 <td align="left" valign="top"><b>BUSINESS AND ORGANIZATION</b></td>
 </tr>
 </table>
 <p style="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 Trex Company, Inc. (Company) is the world&#x2019;s largest
 manufacturer of wood-alternative decking and railing products,
 which are marketed under the brand name Trex<sup style="font-size:85%; vertical-align:top">&#xAE;</sup>. The Company
 manufactures and distributes high-performance, low-maintenance
 wood/plastic composite outdoor living products and related
 accessories. A majority of its products are manufactured in a
 proprietary process that combines reclaimed wood fibers and scrap
 polyethylene. The Company is incorporated in Delaware. The
 principal executive offices are located at 160 Exeter Drive,
 Winchester, Virginia 22603, and the telephone number at that
 address is (540)&#xA0;542-6300. The Company operates in a single
 reportable segment.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NatureOfOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for the nature of an entity's business, major products or services, principal markets including location, and the relative importance of its operations in each business and the basis for the determination, including but not limited to, assets, revenues, or earnings. For an entity that has not commenced principal operations, disclosures about the risks and uncertainties related to the activities in which the entity is currently engaged and an understanding of what those activities are being directed toward.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 275<br> -URI http://asc.fasb.org/topic&amp;trid=2134479<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NatureOfOperations</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>18
<FILENAME>R7.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6790972864">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Basis of Presentation<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract', window );"><strong>Organization, Consolidation and Presentation of Financial Statements [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock', window );">Basis of Presentation</a></td>
<td class="text"><div>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left"><b>2.</b></td>
 <td align="left" valign="top"><b>BASIS OF PRESENTATION</b></td>
 </tr>
 </table>
 <p style="margin-top:4pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The accompanying unaudited condensed consolidated financial
 statements have been prepared in accordance with accounting
 principles generally accepted in the United States for interim
 financial information and the instructions to Form 10-Q and Article
 10 of Regulation S-X. Accordingly, the accompanying condensed
 consolidated financial statements do not include all of the
 information and footnotes required by accounting principles
 generally accepted in the United States for complete financial
 statements. In the opinion of management, all adjustments
 (consisting of normal and recurring adjustments except as otherwise
 described herein) considered necessary for a fair presentation have
 been included in the accompanying condensed consolidated financial
 statements. Certain prior period amounts have been reclassified to
 conform to current period presentation. The consolidated results of
 operations for the six months ended June&#xA0;30, 2017 are not
 necessarily indicative of the results that may be expected for the
 fiscal year ending December&#xA0;31, 2017. These condensed
 consolidated financial statements should be read in conjunction
 with the audited consolidated financial statements as of
 December&#xA0;31, 2016 and 2015 and for each of the three years in
 the period ended December&#xA0;31, 2016 included in the Annual
 Report of Trex Company, Inc. on Form 10-K, as filed with the U.S.
 Securities and Exchange Commission.</p>
 <p style="margin-top:10pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company&#x2019;s critical accounting policies are included in
 the Company&#x2019;s Annual Report on Form 10-K for the year ended
 December&#xA0;31, 2016.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -URI http://asc.fasb.org/topic&amp;trid=2122149<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -URI http://asc.fasb.org/topic&amp;trid=2197479<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>19
<FILENAME>R8.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798103248">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Recently Adopted Accounting Standard<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingChangesAndErrorCorrectionsAbstract', window );"><strong>Accounting Changes and Error Corrections [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock', window );">Recently Adopted Accounting Standard</a></td>
<td class="text"><div>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td valign="top" width="4%" align="left"><b>3.</b></td>
 <td valign="top" align="left"><b>RECENTLY ADOPTED ACCOUNTING
 STANDARD</b></td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 4pt">
 In March 2016, the Financial Accounting Standards Board (FASB)
 issued Accounting Standards Update (ASU) No.&#xA0;2016-09,
 &#x201C;<i>Compensation &#x2013; Stock Compensation (Topic 718)</i>:
 <i>Improvements to Employee Share-Based Payment
 Accounting</i>.&#x201D; The standard amends certain aspects of
 accounting for employee share-based payment transactions, including
 the accounting for income taxes related to those transactions and
 forfeitures. The standard requires recognizing excess tax benefits
 and deficiencies on share-based awards in the tax provision instead
 of in equity. Also, the standard requires these amounts to be
 classified as an operating activity, and shares withheld to satisfy
 employee taxes to be classified as a financing activity in the
 statement of cash flows, rather than as currently classified as
 financing&#xA0;and operating activities, respectively. The standard
 was effective for annual reporting periods beginning after
 December&#xA0;15, 2016 and interim periods within that reporting
 period, with early adoption permitted. The Company elected to early
 adopt the standard in fiscal year 2016. The impact of the early
 adoption resulted in the following:</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td width="5%">&#xA0;</td>
 <td valign="top" width="2%" align="left">&#x2022;</td>
 <td valign="top" width="1%">&#xA0;</td>
 <td valign="top" align="left">The standard requires that excess tax
 benefits of the settlement or vesting of time-based restricted
 stock or time-based restricted stock units and performance-based
 restricted stock or performance-based restricted stock units be
 recorded within income tax expense. Prior to adoption this amount
 would have been recorded as an increase in additional paid-in
 capital. Additionally, the standard requires that excess tax
 benefits are now reported as an operating activity in the
 Company&#x2019;s Consolidated Statements of Cash Flows, rather than
 as a financing activity as was previously reported. The Company
 applied this guidance prospectively as of January&#xA0;1, 2016
 during the quarterly period ended December&#xA0;31, 2016, and,
 accordingly, data previously reported for the three and six months
 ended June&#xA0;30, 2016 have been adjusted, as follows:</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="68%"></td>
 <td valign="bottom" width="10%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="10%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Three Months Ended June&#xA0;30,
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center">
 <b>&#xA0;&#xA0;&#xA0;&#xA0;As&#xA0;Reported&#xA0;&#xA0;&#xA0;&#xA0;</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>Adjusted</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="6" align="center">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center">(in thousands, except share</p>
 <p style="MARGIN-BOTTOM: 1pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center">and per share data)</p>
 </td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Provision for income taxes</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">12,878</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">12,432</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Net Income</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">23,279</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">23,725</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Basic net income per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.80</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.81</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted net income per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.79</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.80</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted weighted average common shares outstanding</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,423,845</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,477,870</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="68%"></td>
 <td valign="bottom" width="9%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="9%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Six Months Ended June&#xA0;30,
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center">
 <b>&#xA0;&#xA0;&#xA0;&#xA0;As&#xA0;Reported&#xA0;&#xA0;&#xA0;&#xA0;</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>Adjusted</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="6" align="center">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center">(in thousands, except share</p>
 <p style="MARGIN-BOTTOM: 1pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center">and per share data)</p>
 </td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Provision for income taxes</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">25,919</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">25,170</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Net Income</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">46,681</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">47,430</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Basic net income per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.58</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.61</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted net income per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.57</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.60</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted weighted average common shares outstanding</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,642,287</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,694,081</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Cash flows provided by operating activities</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">15,632</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">16,442</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Cash flows used in financing activities</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">(18,241</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">(19,051</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td width="5%">&#xA0;</td>
 <td valign="top" width="2%" align="left">&#x2022;</td>
 <td valign="top" width="1%">&#xA0;</td>
 <td valign="top" align="left">The Company elected to change its
 policy on accounting for forfeitures and recognize forfeitures as
 they occur. The Company applied this guidance on a modified
 retrospective transition method. The Company determined that the
 cumulative effect of applying the guidance under the modified
 retrospective transition method was not material to its
 Consolidated Financial Statements.</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td width="5%">&#xA0;</td>
 <td valign="top" width="2%" align="left">&#x2022;</td>
 <td valign="top" width="1%">&#xA0;</td>
 <td valign="top" align="left">The standard requires the
 presentation of employee taxes as a financing activity in the
 Consolidated Statements of Cash Flows. This provision did not
 impact the Company&#x2019;s Consolidated Financial Statements as the
 Company presented employee taxes as a financing activity in its
 Consolidated Statements of Cash Flows.</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 The Company excluded the excess tax benefits from the assumed
 proceeds available to repurchase shares in the computation of
 diluted earnings per share for 2016, which did not materially
 increase the diluted weighted average common shares
 outstanding.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingChangesAndErrorCorrectionsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingChangesAndErrorCorrectionsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure of changes in accounting principles, including adoption of new accounting pronouncements, that describes the new methods, amount and effects on financial statement line items.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -URI http://asc.fasb.org/topic&amp;trid=2122394<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>20
<FILENAME>R9.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6790921328">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>New Accounting Standards Not Yet Adopted<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingChangesAndErrorCorrectionsAbstract', window );"><strong>Accounting Changes and Error Corrections [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted', window );">New Accounting Standards Not Yet Adopted</a></td>
<td class="text"><div>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td valign="top" width="4%" align="left"><b>4.</b></td>
 <td valign="top" align="left"><b>NEW ACCOUNTING STANDARDS NOT YET
 ADOPTED</b></td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 In May 2017, the FASB issued ASU No.&#xA0;2017-09,
 &#x201C;<i>Compensation&#x2014;Stock Compensation (Topic 718), Scope
 Modification Accounting</i>.&#x201D; The guidance clarified when to
 account for a change to the terms or conditions of a share-based
 payment award as a modification. Under the new guidance,
 modification accounting is required only if the fair value (or
 calculated intrinsic value, if those amounts are being used to
 measure the award under ASC 718), the vesting conditions, or the
 classification of the award (as equity or liability) changes as a
 result of the change in terms or conditions. The guidance is
 effective prospectively for annual periods beginning on or after
 December&#xA0;15, 2017. Early adoption is permitted. The Company
 intends to adopt the guidance on the effective date and does not
 believe adoption will have a material impact on its financial
 condition or results of operations.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 In January 2017, the FASB issued ASU No.&#xA0;2017-04,
 &#x201C;<i>Intangibles&#x2014;Goodwill and Other (Topic 350),
 Simplifying the Test for Goodwill Impairment</i>.&#x201D; The
 guidance removes Step 2 of the goodwill impairment test and
 eliminates the need to determine the fair value of individual
 assets and liabilities to measure goodwill impairment. A goodwill
 impairment will now be the amount by which a reporting unit&#x2019;s
 carrying value exceeds its fair value, not to exceed the carrying
 amount of goodwill. Entities will continue to have the option to
 perform a qualitative assessment to determine if a quantitative
 impairment test is necessary. The guidance is to be applied
 prospectively, and is effective for annual and interim goodwill
 impairment tests in fiscal years beginning after December&#xA0;15,
 2019. Early adoption is permitted for any impairment tests
 performed on testing dates after January&#xA0;1, 2017. The Company
 intends to adopt the guidance on the effective date and does not
 believe adoption will have a material impact on its financial
 condition or results of operations.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 In August 2016, the FASB issued ASU No.&#xA0;2016-15,
 &#x201C;<i>Statement of Cash flows (Topic 230): Classification of
 Certain Cash Receipts and Cash Payments</i>.&#x201D; The guidance is
 intended to reduce diversity in practice across all industries in
 how certain transactions are classified in the statement of cash
 flows. The guidance is effective for financial statements issued
 for fiscal years beginning after December&#xA0;15, 2017, and
 interim periods within those fiscal years. Early adoption is
 permitted. The guidance requires application using a retrospective
 transition method. The Company intends to adopt the guidance on the
 effective date and does not believe adoption will have a material
 impact on its consolidated financial statements.</p>
 <p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px">
 &#xA0;</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt">
 In February 2016, the FASB issued ASU No.&#xA0;2016-02,
 &#x201C;<i>Leases (Topic 842)</i>.&#x201D; The standard requires
 lessees to recognize leases on the balance sheet as a right-of-use
 asset and a lease liability, other than leases that meet the
 definition of a short-term lease. The liability will be equal to
 the present value of the lease payments. The asset will be based on
 the liability, subject to adjustment. Currently, under existing
 U.S. generally accepted accounting standards, the Company does not
 recognize on the balance sheet a right-of-use asset or lease
 liability related to its operating leases. For income statement
 purposes, the leases will continue to be classified as either
 operating or finance. Operating leases will result in straight-line
 expense (similar to current operating leases) and finance leases
 will result in a front-loaded expense pattern (similar to current
 capital leases). The standard is effective for fiscal years, and
 interim periods within those fiscal years, beginning after
 December&#xA0;15, 2018. Early adoption is permitted. The standard
 must be adopted using the modified retrospective transition method
 and provides for the option to elect a package of practical
 expedients upon adoption. The Company intends to adopt the standard
 in the first quarter of fiscal 2019 and is assessing the impact of
 adoption of the standard on its consolidated financial statements
 and related note disclosures. The Company has not made any decision
 on the option to elect adoption of the practical expedients.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 In May 2014, the FASB issued ASU No.&#xA0;2014-09,
 <i>&#x201C;Revenue from Contracts with Customers (Topic
 606),</i>&#x201D; and issued subsequent amendments to the initial
 guidance in August 2015 within ASU No.&#xA0;2015-14, in March 2016
 within ASU No.&#xA0;2016-08, in April 2016 within ASU
 No.&#xA0;2016-10, in May 2016 within ASU No.&#xA0;2016-12, and in
 December 2016 within ASU No.&#xA0;2016-20 (collectively, the new
 standard). The new standard provides a single, comprehensive model
 for revenue arising from contracts with customers and supersedes
 most current revenue recognition guidance. The new standard
 requires an entity to recognize revenue when it satisfies a
 performance obligation at an amount that reflects the consideration
 to which the entity expects to be entitled in exchange for
 transferring control of goods or services to a customer. The
 Company intends to adopt the new standard in the first quarter of
 fiscal 2018. Currently, the Company intends to use the
 retrospective application to each reporting period presented, with
 the option to elect certain practical expedients as defined in the
 new standard. The Company does not believe adoption of the new
 standard will have a material impact on its Consolidated Statements
 of Comprehensive Income, but expects expanded financial statement
 footnote disclosure. The Company continues to evaluate the impacts
 of the pending adoption. As such, the Company&#x2019;s preliminary
 assessments are subject to change.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingChangesAndErrorCorrectionsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingChangesAndErrorCorrectionsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for a new accounting pronouncement that has been issued but not yet adopted.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -URI http://asc.fasb.org/topic&amp;trid=2122394<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>21
<FILENAME>R10.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798104624">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Inventories<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryDisclosureAbstract', window );"><strong>Inventory Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryDisclosureTextBlock', window );">Inventories</a></td>
<td class="text"><div>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left"><b>5.</b></td>
 <td align="left" valign="top"><b>INVENTORIES</b></td>
 </tr>
 </table>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 Inventories, at LIFO (last-in, first-out) value, consist of the
 following (in thousands):</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="76%"></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>June&#xA0;30,<br />
 2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>December&#xA0;31,<br />
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Finished goods</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">29,294</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">29,686</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Raw materials</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">19,018</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">20,231</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Total FIFO (first-in, first-out) inventories</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">48,312</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">49,917</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Reserve to adjust inventories to LIFO value</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(21,371</td>
 <td nowrap="nowrap" valign="bottom">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(21,371</td>
 <td nowrap="nowrap" valign="bottom">)&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Total LIFO inventories</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">26,941</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">28,546</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company utilizes the LIFO method of accounting for inventory,
 which generally provides for the matching of current costs with
 current revenues. However, under the LIFO method, reductions in
 annual inventory balances cause a portion of the Company&#x2019;s
 cost of sales to be based on historical costs rather than current
 year costs (LIFO liquidation). Reductions in interim inventory
 balances expected to be replenished by year-end do not result in a
 LIFO liquidation. Accordingly, interim LIFO calculations are based,
 in part, on management&#x2019;s estimates of expected year-end
 inventory levels and costs which may differ from actual results.
 Since inventory levels and costs are subject to factors beyond
 management&#x2019;s control, interim results are subject to the
 final year-end LIFO inventory valuation. There were no LIFO
 inventory liquidations or related impact on cost of sales in the
 six months ended June&#xA0;30, 2017 or 2016.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for inventory. Includes, but is not limited to, the basis of stating inventory, the method of determining inventory cost, the classes of inventory, and the nature of the cost elements included in inventory.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -URI http://asc.fasb.org/topic&amp;trid=2126998<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>22
<FILENAME>R11.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6790973552">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Prepaid Expenses and Other Assets<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TextBlockAbstract', window );"><strong>Text Block [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock', window );">Prepaid Expenses and Other Assets</a></td>
<td class="text"><div>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left"><b>6.</b></td>
 <td align="left" valign="top"><b>PREPAID EXPENSES AND OTHER
 ASSETS</b></td>
 </tr>
 </table>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 Prepaid expenses and other assets consist of the following (in
 thousands):</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="77%"></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>June&#xA0;30,</b><br />
 <b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>December&#xA0;31,<br />
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Prepaid expenses</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,507</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">6,209</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Income tax receivable</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td nowrap="nowrap" valign="bottom" align="right">&#x2014;</td>
 <td nowrap="nowrap" valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">4,024</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Other</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">168</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">167</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Total prepaid expenses and other assets</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,675</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">10,400</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure pertaining to prepaid and other current assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TextBlockAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TextBlockAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>23
<FILENAME>R12.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798093712">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accrued Expenses and Other Liabilities<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PayablesAndAccrualsAbstract', window );"><strong>Payables and Accruals [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock', window );">Accrued Expenses and Other Liabilities</a></td>
<td class="text"><div>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td valign="top" width="4%" align="left"><b>7.</b></td>
 <td valign="top" align="left"><b>ACCRUED EXPENSES AND OTHER
 LIABILITIES</b></td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 Accrued expenses and other liabilities consist of the following (in
 thousands):</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="76%"></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>June&#xA0;30,<br />
 2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>December&#xA0;31,<br />
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Sales and marketing</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">18,364</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">16,707</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Compensation and benefits</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">7,163</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">13,298</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Income taxes</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">5,882</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Manufacturing costs</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,687</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,799</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Rent obligations</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">700</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">632</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Other</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">2,475</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">2,257</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Total accrued expenses and other liabilities</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">36,271</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">34,693</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for accounts payable, accrued expenses, and other liabilities that are classified as current at the end of the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PayablesAndAccrualsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PayablesAndAccrualsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>24
<FILENAME>R13.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6619121856">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Debt<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtDisclosureAbstract', window );"><strong>Debt Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtDisclosureTextBlock', window );">Debt</a></td>
<td class="text"><div>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left"><b>8.</b></td>
 <td align="left" valign="top"><b>DEBT</b></td>
 </tr>
 </table>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company&#x2019;s outstanding debt consists of a revolving credit
 facility.</p>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 <i>Revolving Credit Facility</i></p>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 On January&#xA0;12, 2016, the Company entered into a Third Amended
 and Restated Credit Agreement, as amended, with Bank of America,
 N.A. as Lender, Administrative Agent, Swing Line Lender and Letter
 of Credit Issuer, and certain other lenders including Citibank,
 N.A., Capital One, N.A., and SunTrust. The Third Amended Credit
 Agreement, as amended, provides the Company with one or more
 revolving loans in a collective maximum principal amount of $250
 million from January&#xA0;1 through June&#xA0;30 of each year, and
 a maximum principal amount of $200 million from July&#xA0;1 through
 December&#xA0;31 of each year throughout the term, which ends
 January&#xA0;12, 2021.</p>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company had no outstanding borrowings under its revolving
 credit facility and remaining available borrowing capacity of $250
 million at June&#xA0;30, 2017.</p>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 <i>Compliance with Debt Covenants and Restrictions</i></p>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company&#x2019;s ability to make scheduled principal and
 interest payments, borrow and repay amounts under any outstanding
 revolving credit facility and continue to comply with any loan
 covenants depends primarily on the Company&#x2019;s ability to
 generate sufficient cash flow from operations.</p>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 As of June&#xA0;30, 2017, the Company was in compliance with all of
 the covenants contained in its debt agreements. Failure to comply
 with the loan covenants might cause lenders to accelerate the
 repayment obligations under the credit facility, which may be
 declared payable immediately based on a default.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DebtDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DebtDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -URI http://asc.fasb.org/topic&amp;trid=2208564<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>25
<FILENAME>R14.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6620397568">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Financial Instruments<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InvestmentsAllOtherInvestmentsAbstract', window );"><strong>Investments, All Other Investments [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsDisclosureTextBlock', window );">Financial Instruments</a></td>
<td class="text"><div>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left"><b>9.</b></td>
 <td align="left" valign="top"><b>FINANCIAL INSTRUMENTS</b></td>
 </tr>
 </table>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company considers the recorded value of its financial assets
 and liabilities, consisting primarily of cash and cash equivalents,
 accounts receivable, accounts payable, accrued expenses and other
 current liabilities to approximate the fair value of the respective
 assets and liabilities at June&#xA0;30, 2017 and December&#xA0;31,
 2016.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FinancialInstrumentsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for financial instruments. This disclosure includes, but is not limited to, fair value measurements of short and long term marketable securities, international currencies forward contracts, and auction rate securities. Financial instruments may include hedging and non-hedging currency exchange instruments, derivatives, securitizations and securities available for sale at fair value. Also included are investment results, realized and unrealized gains and losses as well as impairments and risk management disclosures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FinancialInstrumentsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InvestmentsAllOtherInvestmentsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InvestmentsAllOtherInvestmentsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>26
<FILENAME>R15.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6619183312">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stockholders' Equity<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityAbstract', window );"><strong>Equity [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityNoteDisclosureTextBlock', window );">Stockholders' Equity</a></td>
<td class="text"><div>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td valign="top" width="4%" align="left"><b>10.</b></td>
 <td valign="top" align="left"><b>STOCKHOLDERS&#x2019;
 EQUITY</b></td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 <i>Earnings Per Share</i></p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 The following table sets forth the computation of basic and diluted
 earnings per share (in thousands, except share and per share
 data):</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
 <tr>
 <td width="60%"></td>
 <td valign="bottom" width="5%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="5%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="5%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="5%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Three Months Ended</b><br />
 <b>June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Six Months Ended</b><br />
 <b>June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Numerator:</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Net income available to common shareholders</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">28,782</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">23,725</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">56,732</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">47,430</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Denominator:</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Basic weighted average shares outstanding</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,389,458</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,264,362</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,376,407</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,481,042</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Effect of dilutive securities:</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 5em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Stock appreciation rights and options</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">98,813</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">136,872</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">99,699</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">142,460</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 5em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Restricted stock</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">62,147</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">76,636</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">79,879</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">70,579</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted weighted average shares outstanding</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,550,418</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,477,870</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,555,985</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,694,081</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Basic earnings per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.98</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.81</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.93</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.61</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted earnings per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.97</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.80</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.92</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.60</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 Diluted earnings per share is computed using the weighted average
 number of shares determined for the basic earnings per share
 computation plus the dilutive effect of common stock equivalents
 using the treasury stock method. The computation of diluted
 earnings per share excludes the following potentially dilutive
 securities because the effect would be anti-dilutive:</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="92%" align="center" border="0">
 <tr>
 <td width="72%"></td>
 <td valign="bottom" width="2%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="2%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="2%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="2%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Three&#xA0;Months&#xA0;Ended<br />
 June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Six&#xA0;Months&#xA0;Ended<br />
 June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Stock appreciation rights</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">16,340</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">
 &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">12,255</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">&#xA0;&#xA0;9,262</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 <i>Stock Repurchase Programs</i></p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 On October&#xA0;22, 2015, the Board of Directors adopted a stock
 repurchase program of up to 3,150,000 shares of the Company&#x2019;s
 outstanding common stock (October 2015 Stock Repurchase Program).
 This authorization terminated on December&#xA0;31, 2016. The
 Company repurchased 1,578,952 shares for $53.3 million under the
 October 2015 Stock Repurchase Program.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 On February&#xA0;16, 2017, the Board of Directors authorized a
 common stock repurchase program of up to 2,960,000 shares of the
 Company&#x2019;s outstanding common stock (February 2017 Stock
 Repurchase Program). As of the date of this report, the Company has
 made no repurchases under the February 2017 Stock Repurchase
 Program.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockholdersEquityNoteDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -URI http://asc.fasb.org/topic&amp;trid=2208762<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockholdersEquityNoteDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>27
<FILENAME>R16.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6790830112">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stock-Based Compensation<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract', window );"><strong>Disclosure of Compensation Related Costs, Share-based Payments [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock', window );">Stock-Based Compensation</a></td>
<td class="text"><div>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left"><b>11.</b></td>
 <td align="left" valign="top"><b>STOCK-BASED COMPENSATION</b></td>
 </tr>
 </table>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company has one stock-based compensation plan, the 2014 Stock
 Incentive Plan (Plan), approved by the Company&#x2019;s stockholders
 in April 2014. The Plan amended and restated in its entirety the
 Trex Company, Inc. 2005 Stock Incentive Plan. The Plan is
 administered by the Compensation Committee of the Company&#x2019;s
 Board of Directors. Stock-based compensation is granted to
 officers, directors and certain key employees in accordance with
 the provisions of the Plan. The Plan provides for grants of stock
 options, restricted stock, restricted stock units, stock
 appreciation rights (SARs), and unrestricted stock. As of
 June&#xA0;30, 2017, the total aggregate number of shares of the
 Company&#x2019;s common stock that may be issued under the Plan is
 6,420,000.</p>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 In 2014, the Company began granting performance-based restricted
 stock in addition to the time-based restricted stock it previously
 granted. The performance-based restricted shares have a three-year
 vesting period, vesting one-third each year based on target
 earnings before interest, taxes, depreciation and amortization for
 1 year, cumulative 2 years and cumulative 3 years, respectively.
 The number of shares that vest, with respect to each vesting, will
 be between 0% and 200% of the target number of shares.</p>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 In 2015, the Company began issuing restricted stock units in lieu
 of restricted stock. Accordingly, time-based restricted stock units
 replaced time-based restricted stock and performance-based
 restricted stock units replaced performance-based restricted stock.
 The vesting terms of the restricted stock units are identical to
 the vesting provisions of the restricted stock.</p>
 <p style="font-size:1px;margin-top:12px;margin-bottom:0px">
 &#xA0;</p>
 <p style="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The fair value of each SAR is estimated on the date of grant using
 a Black-Scholes option-pricing formula. There were no SARs issued
 during the six months ended June&#xA0;30, 2016. For SARs issued in
 the six months ended June&#xA0;30, 2017 the data and assumptions
 shown in the following table were used:</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="68%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="80%"></td>
 <td valign="bottom" width="16%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000">
 <b>Six&#xA0;Months&#xA0;Ended</b><br />
 <b>June&#xA0;30, 2017</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Weighted-average fair value of grants</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">27.81</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Dividend yield</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">0</td>
 <td nowrap="nowrap" valign="bottom">%&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Average risk-free interest rate</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">2.01</td>
 <td nowrap="nowrap" valign="bottom">%&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Expected term (years)</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">5</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Expected volatility</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">42.4</td>
 <td nowrap="nowrap" valign="bottom">%&#xA0;</td>
 </tr>
 </table>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The following table summarizes the Company&#x2019;s stock-based
 compensation grants for the six months ended June&#xA0;30,
 2017:</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="61%"></td>
 <td valign="bottom" width="14%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="14%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000">
 <b>Stock&#xA0;Awards&#xA0;Granted</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b><font style="white-space:nowrap">Weighted-Average</font><br />
 Grant Price</b><br />
 <b>Per Share</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Time-based restricted stock units</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">19,516</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">70.05</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Performance-based restricted stock units (a)</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">40,216</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">56.19</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Stock appreciation rights</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">16,340</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">70.09</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 </table>
 <p style="line-height:12.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1px solid #000000;width:10%">
 &#xA0;</p>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left">(a)</td>
 <td align="left" valign="top">Includes 22,895 of target
 performance-based restricted stock unit awards granted during the
 six months ended June&#xA0;30, 2017, and adjustments of 1,071,
 5,396 and 10,854 grants due to the actual performance level
 achieved for restricted stock and restricted stock units awarded in
 2014, 2015, and 2016, respectively.</td>
 </tr>
 </table>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company recognizes stock-based compensation expense ratably
 over the period from the grant date to the earlier of: (1)&#xA0;the
 vesting date of the award, or (2)&#xA0;the date the grantee is
 eligible to retire without forfeiting the award. For
 performance-based restricted stock and performance-based restricted
 stock units, expense is recognized ratably over the performance and
 vesting period of each tranche based on management&#x2019;s judgment
 of the ultimate award that is likely to be paid out based on the
 achievement of the predetermined performance measures. The
 following table summarizes the Company&#x2019;s stock-based
 compensation expense (in thousands):</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="92%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="73%"></td>
 <td valign="bottom" width="3%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="3%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="3%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="3%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="6" align="center" style="border-bottom:1.00pt solid #000000">
 <b>Three&#xA0;Months&#xA0;Ended<br />
 June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="6" align="center" style="border-bottom:1.00pt solid #000000">
 <b>Six&#xA0;Months&#xA0;Ended<br />
 June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Stock appreciation rights</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">25</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">75</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">192</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">184</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Time-based restricted stock</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">403</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">863</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,139</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,479</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Performance-based restricted stock</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">468</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">720</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,507</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,230</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Employee stock purchase plan</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">16</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">11</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">38</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">52</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Total stock-based compensation</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">912</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1,669</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,876</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,945</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 Total unrecognized compensation cost related to unvested awards as
 of June&#xA0;30, 2017 was $4.1 million. The cost of these unvested
 awards is being recognized over the requisite vesting period of
 each award.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for compensation-related costs for equity-based compensation, which may include disclosure of policies, compensation plan details, allocation of equity compensation, incentive distributions, equity-based arrangements to obtain goods and services, deferred compensation arrangements, employee stock ownership plan details and employee stock purchase plan details.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -URI http://asc.fasb.org/topic&amp;trid=2228938<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 50<br> -URI http://asc.fasb.org/subtopic&amp;trid=2208855<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>28
<FILENAME>R17.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798073504">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Income Taxes<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureAbstract', window );"><strong>Income Tax Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureTextBlock', window );">Income Taxes</a></td>
<td class="text"><div>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td valign="top" width="4%" align="left"><b>12.</b></td>
 <td valign="top" align="left"><b>INCOME TAXES</b></td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 The Company&#x2019;s effective tax rate for the six months ended
 June&#xA0;30, 2017 and 2016 was 34.2% and 34.7%, respectively,
 which resulted in expense of $29.5 million and $25.2 million,
 respectively. The decrease of 0.5% in the effective tax rate was
 primarily due to an increase in the domestic production activities
 deduction. In fiscal year 2016, the Company adopted FASB ASU
 No.&#xA0;2016-09, &#x201C;<i>Compensation &#x2013; Stock Compensation
 (Topic 718): Improvements to Employee Share-Based Payment
 Accounting.</i>&#x201D; The new standard requires excess tax
 benefits on share-based awards be recognized in the tax provision
 instead of in equity.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 During the six months ended June&#xA0;30, 2017 and June&#xA0;30,
 2016, the Company realized $1.0 million and $0.8 million,
 respectively, of excess tax benefits from stock-based awards and
 recorded a corresponding benefit to income tax expense.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 The Company analyzes its deferred tax assets each reporting period,
 considering all available positive and negative evidence in
 determining the expected realization of those deferred tax assets.
 As of June&#xA0;30, 2017, the Company maintains a valuation
 allowance of $4.1 million against deferred tax assets primarily
 related to state tax credits it estimates will expire before they
 are realized.</p>
 <p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px">
 &#xA0;</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt">
 The Company operates in multiple tax jurisdictions and, in the
 normal course of business, its tax returns are subject to
 examination by various taxing authorities. Such examinations may
 result in future assessments by these taxing authorities, and the
 Company accrues a liability when it believes that it is more likely
 than not that benefits of tax positions will not be realized. The
 Company believes that adequate provisions have been made for all
 tax returns subject to examination. As of June&#xA0;30, 2017,
 Federal tax years 2013 through 2016 remain subject to examination.
 Sales made to foreign distributors are not taxable in any foreign
 jurisdictions as the Company does not have a taxable presence in
 any foreign jurisdiction.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -URI http://asc.fasb.org/topic&amp;trid=2144680<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>29
<FILENAME>R18.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6790728464">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Seasonality<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TextBlockAbstract', window );"><strong>Text Block [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_SeasonalityDisclosureTextBlock', window );">Seasonality</a></td>
<td class="text"><div>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left"><b>13.</b></td>
 <td align="left" valign="top"><b>SEASONALITY</b></td>
 </tr>
 </table>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company&#x2019;s operating results have historically varied from
 quarter to quarter. Seasonal, erratic or prolonged adverse weather
 conditions in certain geographic regions during the first and
 fourth quarters reduce the level of home improvement and
 construction activity and can shift demand for Trex products to a
 later period. As part of its normal business practice and
 consistent with industry practice, the Company has historically
 offered incentive programs to its distributors and dealers to build
 inventory levels before the start of the prime deck-building season
 in order to ensure adequate availability of the Company&#x2019;s
 product to meet anticipated seasonal consumer demand. The seasonal
 effects experienced during the first and fourth quarters are often
 offset by the positive effect of the incentive programs.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_SeasonalityDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Identifies seasonal trends affecting the demand for Trex products and quarterly net sales.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_SeasonalityDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TextBlockAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TextBlockAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>30
<FILENAME>R19.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798090816">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Commitments and Contingencies<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract', window );"><strong>Commitments and Contingencies Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock', window );">Commitments and Contingencies</a></td>
<td class="text"><div>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td valign="top" width="4%" align="left"><b>14.</b></td>
 <td valign="top" align="left"><b>COMMITMENTS AND
 CONTINGENCIES</b></td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 <i>Contract Termination Costs</i></p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 The Company leases 55,047 square feet of office and storage space
 that it does not occupy, but has sublet all of the office space for
 the remainder of the term of its lease obligation, which ends
 June&#xA0;30, 2019. The Company estimates that the future sublease
 receipts will be less than the remaining minimum lease payment
 obligations under its lease and has recorded a liability for the
 present value of the expected shortfall.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 As of June&#xA0;30, 2017, minimum payments remaining under the
 Company&#x2019;s lease relating to its reconsidered corporate
 relocation over the years ending December&#xA0;31, 2017, 2018, and
 2019 are $1.0 million, $2.0&#xA0;million and $1.0 million,
 respectively. Net minimum receipts remaining under the
 Company&#x2019;s existing subleases over the years ending
 December&#xA0;31, 2017, 2018 and 2019 are $0.6&#xA0;million, $1.3
 million and $0.8 million, respectively.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 The following table provides information about the Company&#x2019;s
 liability related to the lease (in thousands):</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="82%"></td>
 <td valign="bottom" width="4%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="4%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Beginning balance, January&#xA0;1</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1,475</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,106</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Net rental payments</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(272</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(344</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Accretion of discount</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">54</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">78</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Decrease in net estimated contract termination costs</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(23</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Ending balance, June&#xA0;30</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1,234</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1,840</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 <i>Product Warranty</i></p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 The Company warrants that its products will be free from material
 defects in workmanship and materials for warranty periods ranging
 from 10 years to 25 years, depending on the product and its use. If
 there is a breach of such warranties, the Company has an obligation
 either to replace the defective product or refund the purchase
 price. The Company continues to receive and settle claims for
 products manufactured at its Nevada facility prior to 2007 that
 exhibit surface flaking and maintains a warranty reserve to provide
 for the settlement of these claims. Estimating the warranty reserve
 for surface flaking claims requires management to estimate
 (1)&#xA0;the number of claims to be settled with payment and
 (2)&#xA0;the average cost to settle each claim.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 To estimate the number of claims to be settled with payment, the
 Company utilizes actuarial techniques to quantify both the expected
 number of claims to be received and the percentage of those claims
 that will ultimately require payment (collectively, elements).
 Estimates for these elements are quantified using a range of
 assumptions derived from claim count history and the identification
 of factors influencing the claim counts. The number of claims
 received has declined each year since peaking in 2009, although the
 rate of decline has decelerated in recent years. Additionally,
 events, such as the 2009 settlement of a class action lawsuit
 covering the surface defect and communications by the Company in
 2013 informing homeowners of potential hazards associated with
 products exhibiting surface flaking that are not timely replaced,
 have obscured observable trends in historical claims activity. The
 cost per claim varies due to a number of factors, including the
 size of affected decks, the availability and type of replacement
 material used, the cost of production of replacement material and
 the method of claim settlement.</p>
 <p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px">
 &#xA0;</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt">
 The Company monitors surface flaking claims activity each quarter
 for indications that its estimates require revision. Typically, a
 majority of surface flaking claims received in a year are received
 during the summer outdoor season, which spans the second and third
 quarters. It has been the Company&#x2019;s practice to utilize the
 actuarial techniques discussed above during the third quarter,
 after a significant portion of all claims has been received for the
 fiscal year and variances to annual claims expectations are more
 meaningful. The number of claims received in the six months ended
 June&#xA0;30, 2017 was lower than claims received in the six months
 ended June&#xA0;30, 2016, continuing the historical year-over-year
 decline in incoming claims, and consistent with the Company&#x2019;s
 expectations. The average settlement cost per claim experienced in
 the six months ended June&#xA0;30, 2017 was lower than the average
 settlement cost per claim experienced during the six months ended
 June&#xA0;30, 2016 but higher than the Company&#x2019;s expectations
 for 2017. The Company believes its reserve at June&#xA0;30, 2017 is
 sufficient to cover future surface flaking obligations.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 The Company&#x2019;s analysis is based on currently known facts and
 a number of assumptions, as discussed above, and current
 expectations. Projecting future events such as the number of claims
 to be received, the number of claims that will require payment and
 the average cost of claims could cause the actual warranty
 liabilities to be higher or lower than those projected, which could
 materially affect the Company&#x2019;s financial condition, results
 of operations or cash flows. The Company estimates that the annual
 number of claims received will continue to decline over time and
 that the average cost per claim will increase slightly, primarily
 due to inflation. If the level of claims received or average cost
 per claim differs materially from expectations, it could result in
 additional increases or decreases to the warranty reserve and a
 decrease or increase in earnings and cash flows in future periods.
 The Company estimates that a 10% change in the expected number of
 remaining claims to be settled with payment or the expected cost to
 settle claims may result in approximately a $3.1 million change in
 the surface flaking warranty reserve.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 The following is a reconciliation of the Company&#x2019;s warranty
 reserve that represents amounts accrued for surface flaking claims
 (in thousands):</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="80%"></td>
 <td valign="bottom" width="4%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="4%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Beginning balance, January&#xA0;1</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">33,847</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">29,673</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Changes in estimates related to pre-existing warranties</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Settlements made during the period</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(2,683</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(2,611</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Ending balance, June&#xA0;30</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">31,164</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">27,062</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 18pt">
 The remainder of the Company&#x2019;s warranty reserve represents
 amounts accrued for non-surface flaking claims.</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 <i>Legal Matters</i></p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 The Company has lawsuits, as well as other claims, pending against
 it which are ordinary routine litigation and claims incidental to
 the business.&#xA0;Management has evaluated the merits of these
 lawsuits and claims, and believes that their ultimate resolution
 will not have a material effect on the Company&#x2019;s consolidated
 financial condition, results of operations, liquidity or
 competitive position.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommitmentsAndContingenciesDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for commitments and contingencies.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 450<br> -URI http://asc.fasb.org/topic&amp;trid=2127136<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 440<br> -URI http://asc.fasb.org/topic&amp;trid=2144648<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommitmentsAndContingenciesDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>31
<FILENAME>R20.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6615920704">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Subsequent Event<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SubsequentEventsAbstract', window );"><strong>Subsequent Events [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SubsequentEventsTextBlock', window );">Subsequent Event</a></td>
<td class="text"><div>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td valign="top" width="4%" align="left"><b>15.</b></td>
 <td valign="top" align="left"><b>SUBSEQUENT EVENT</b></td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 On July&#xA0;31, 2017, the Company, through its
 newly-formed,wholly-owned subsidiary, Trex Commercial Products,
 Inc., entered into a definitive agreement with Staging Concepts
 Acquisition, LLC (SC) and on that date acquired certain assets and
 liabilities of SC for $71.5 million in cash. The purchase price
 will be subject to adjustment pending final determination of
 working capital at closing. The Company used cash on hand and
 funding from its existing revolving credit facility to acquire the
 business. The acquired business designs, engineers and markets
 modular and architectural railing systems and solutions for the
 commercial, some consumer and multifamily markets, and provides
 staging, acoustical and seating systems for commercial markets,
 including sports stadiums and performing arts venues. As a result
 of the purchase, the Company will gain access to growing commercial
 markets, expand its custom design and engineering capabilities, and
 add the contract architect and specifier communities as new
 channels for Trex products. The Company&#x2019;s 2017 third quarter
 consolidated results of operations will include the operating
 results of the acquired business, following the date of
 acquisition. The Company&#x2019;s consolidated balance sheet at
 September&#xA0;30, 2017 will include the acquired assets and any
 liabilities assumed.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SubsequentEventsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SubsequentEventsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SubsequentEventsTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 855<br> -URI http://asc.fasb.org/topic&amp;trid=2122774<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SubsequentEventsTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>32
<FILENAME>R21.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6778871360">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Financial Instruments (Policies)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InvestmentsAllOtherInvestmentsAbstract', window );"><strong>Investments, All Other Investments [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueOfFinancialInstrumentsPolicy', window );">Financial Instruments</a></td>
<td class="text"><div>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company considers the recorded value of its financial assets
 and liabilities, consisting primarily of cash and cash equivalents,
 accounts receivable, accounts payable, accrued expenses and other
 current liabilities to approximate the fair value of the respective
 assets and liabilities at June&#xA0;30, 2017 and December&#xA0;31,
 2016.</p>
 </div><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy', window );">Share-based Compensation</a></td>
<td class="text"><div>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The Company has one stock-based compensation plan, the 2014 Stock
 Incentive Plan (Plan), approved by the Company&#x2019;s stockholders
 in April 2014. The Plan amended and restated in its entirety the
 Trex Company, Inc. 2005 Stock Incentive Plan. The Plan is
 administered by the Compensation Committee of the Company&#x2019;s
 Board of Directors. Stock-based compensation is granted to
 officers, directors and certain key employees in accordance with
 the provisions of the Plan. The Plan provides for grants of stock
 options, restricted stock, restricted stock units, stock
 appreciation rights (SARs), and unrestricted stock. As of
 June&#xA0;30, 2017, the total aggregate number of shares of the
 Company&#x2019;s common stock that may be issued under the Plan is
 6,420,000.</p>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 In 2014, the Company began granting performance-based restricted
 stock in addition to the time-based restricted stock it previously
 granted. The performance-based restricted shares have a three-year
 vesting period, vesting one-third each year based on target
 earnings before interest, taxes, depreciation and amortization for
 1 year, cumulative 2 years and cumulative 3 years, respectively.
 The number of shares that vest, with respect to each vesting, will
 be between 0% and 200% of the target number of shares.</p>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 In 2015, the Company began issuing restricted stock units in lieu
 of restricted stock. Accordingly, time-based restricted stock units
 replaced time-based restricted stock and performance-based
 restricted stock units replaced performance-based restricted stock.
 The vesting terms of the restricted stock units are identical to
 the vesting provisions of the restricted stock.</p>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueOfFinancialInstrumentsPolicy">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for determining the fair value of financial instruments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13279-108611<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 60<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=7493716&amp;loc=d3e21868-110260<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueOfFinancialInstrumentsPolicy</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InvestmentsAllOtherInvestmentsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InvestmentsAllOtherInvestmentsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for stock option and stock incentive plans. This disclosure may include (1) the types of stock option or incentive plans sponsored by the entity (2) the groups that participate in (or are covered by) each plan (3) significant plan provisions and (4) how stock compensation is measured, and the methodologies and significant assumptions used to determine that measurement.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5047-113901<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (b),(f)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>33
<FILENAME>R22.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798052880">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Recently Adopted Accounting Standard (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingChangesAndErrorCorrectionsAbstract', window );"><strong>Accounting Changes and Error Corrections [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock', window );">Schedule of Previously Reported Quarterly Data</a></td>
<td class="text"><div>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr style="PAGE-BREAK-INSIDE: avoid">
 <td width="5%">&#xA0;</td>
 <td valign="top" width="2%" align="left">&#x2022;</td>
 <td valign="top" width="1%">&#xA0;</td>
 <td valign="top" align="left">The standard requires that excess tax
 benefits of the settlement or vesting of time-based restricted
 stock or time-based restricted stock units and performance-based
 restricted stock or performance-based restricted stock units be
 recorded within income tax expense. Prior to adoption this amount
 would have been recorded as an increase in additional paid-in
 capital. Additionally, the standard requires that excess tax
 benefits are now reported as an operating activity in the
 Company&#x2019;s Consolidated Statements of Cash Flows, rather than
 as a financing activity as was previously reported. The Company
 applied this guidance prospectively as of January&#xA0;1, 2016
 during the quarterly period ended December&#xA0;31, 2016, and,
 accordingly, data previously reported for the three and six months
 ended June&#xA0;30, 2016 have been adjusted, as follows:</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="68%"></td>
 <td valign="bottom" width="10%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="10%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Three Months Ended June&#xA0;30,
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center">
 <b>&#xA0;&#xA0;&#xA0;&#xA0;As&#xA0;Reported&#xA0;&#xA0;&#xA0;&#xA0;</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>Adjusted</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="6" align="center">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center">(in thousands, except share</p>
 <p style="MARGIN-BOTTOM: 1pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center">and per share data)</p>
 </td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Provision for income taxes</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">12,878</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">12,432</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Net Income</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">23,279</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">23,725</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Basic net income per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.80</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.81</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted net income per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.79</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.80</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted weighted average common shares outstanding</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,423,845</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,477,870</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 </table>
 <p style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1px; MARGIN-TOP: 12px">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="68%"></td>
 <td valign="bottom" width="9%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="9%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Six Months Ended June&#xA0;30,
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center">
 <b>&#xA0;&#xA0;&#xA0;&#xA0;As&#xA0;Reported&#xA0;&#xA0;&#xA0;&#xA0;</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>Adjusted</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="6" align="center">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center">(in thousands, except share</p>
 <p style="MARGIN-BOTTOM: 1pt; FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 0pt" align="center">and per share data)</p>
 </td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Provision for income taxes</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">25,919</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">25,170</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Net Income</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">46,681</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">47,430</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Basic net income per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.58</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.61</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted net income per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.57</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.60</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted weighted average common shares outstanding</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,642,287</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,694,081</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Cash flows provided by operating activities</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">15,632</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">16,442</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Cash flows used in financing activities</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">(18,241</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">(19,051</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingChangesAndErrorCorrectionsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingChangesAndErrorCorrectionsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of prior period adjustments to previously issued financial statements including (1) the effect of the correction on each financial statement line item and any per-share amounts affected for each prior period presented (2) the cumulative effect of the change on retained earnings or other appropriate components of equity or net assets in the statement of financial position, as of the beginning of the earliest period presented, and (3) the effect of the prior period adjustments (both gross and net of applicable income tax) on the net income of each prior period presented in the entity's annual report for the year in which the adjustments are made.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=64853466&amp;loc=d3e22663-107794<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=64853466&amp;loc=d3e22644-107794<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=64853466&amp;loc=d3e22658-107794<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>34
<FILENAME>R23.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798073504">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Inventories (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryDisclosureAbstract', window );"><strong>Inventory Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfInventoryCurrentTableTextBlock', window );">Summary of Inventories, at LIFO Value</a></td>
<td class="text"><div>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 Inventories, at LIFO (last-in, first-out) value, consist of the
 following (in thousands):</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="76%"></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>June&#xA0;30,<br />
 2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>December&#xA0;31,<br />
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Finished goods</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">29,294</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">29,686</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Raw materials</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">19,018</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">20,231</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Total FIFO (first-in, first-out) inventories</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">48,312</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">49,917</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Reserve to adjust inventories to LIFO value</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(21,371</td>
 <td nowrap="nowrap" valign="bottom">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(21,371</td>
 <td nowrap="nowrap" valign="bottom">)&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Total LIFO inventories</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">26,941</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">28,546</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfInventoryCurrentTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6361739&amp;loc=d3e7789-107766<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(c))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfInventoryCurrentTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>35
<FILENAME>R24.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6790724688">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Prepaid Expenses and Other Assets (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TextBlockAbstract', window );"><strong>Text Block [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock', window );">Summary of Prepaid Expenses and Other Assets</a></td>
<td class="text"><div>
 <p style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 Prepaid expenses and other assets consist of the following (in
 thousands):</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="77%"></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>June&#xA0;30,</b><br />
 <b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>December&#xA0;31,<br />
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Prepaid expenses</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,507</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">6,209</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Income tax receivable</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td nowrap="nowrap" valign="bottom" align="right">&#x2014;</td>
 <td nowrap="nowrap" valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">4,024</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Other</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">168</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">167</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Total prepaid expenses and other assets</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,675</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">10,400</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure pertaining to prepaid expense and other assets current.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TextBlockAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TextBlockAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>36
<FILENAME>R25.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6791855712">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accrued Expenses and Other Liabilities (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PayablesAndAccrualsAbstract', window );"><strong>Payables and Accruals [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock', window );">Summary of Accrued Expenses and Other Liabilities</a></td>
<td class="text"><div>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 Accrued expenses and other liabilities consist of the following (in
 thousands):</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="76%"></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="6%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>June&#xA0;30,<br />
 2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>December&#xA0;31,<br />
 2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Sales and marketing</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">18,364</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">16,707</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Compensation and benefits</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">7,163</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">13,298</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Income taxes</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">5,882</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Manufacturing costs</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,687</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,799</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Rent obligations</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">700</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">632</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Other</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">2,475</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">2,257</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Total accrued expenses and other liabilities</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">36,271</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">34,693</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the components of accrued liabilities and other current liabilities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PayablesAndAccrualsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PayablesAndAccrualsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>37
<FILENAME>R26.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6779542352">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stockholders' Equity (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityAbstract', window );"><strong>Equity [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock', window );">Computation of Basic and Diluted Earnings Per Share</a></td>
<td class="text"><div>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 6pt">
 The following table sets forth the computation of basic and diluted
 earnings per share (in thousands, except share and per share
 data):</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
 <tr>
 <td width="60%"></td>
 <td valign="bottom" width="5%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="5%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="5%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="5%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Three Months Ended</b><br />
 <b>June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Six Months Ended</b><br />
 <b>June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Numerator:</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Net income available to common shareholders</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">28,782</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">23,725</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">56,732</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">47,430</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Denominator:</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Basic weighted average shares outstanding</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,389,458</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,264,362</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,376,407</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,481,042</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Effect of dilutive securities:</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 <td valign="bottom"></td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 5em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Stock appreciation rights and options</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">98,813</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">136,872</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">99,699</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">142,460</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 5em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Restricted stock</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">62,147</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">76,636</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">79,879</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">70,579</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 3em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted weighted average shares outstanding</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,550,418</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,477,870</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,555,985</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">29,694,081</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Basic earnings per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.98</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.81</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.93</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.61</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Diluted earnings per share</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.97</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">0.80</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.92</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1.60</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock', window );">Antidilutive Securities Excluded from Computation of Earnings Per Share</a></td>
<td class="text"><div>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 The computation of diluted earnings per share excludes the
 following potentially dilutive securities because the effect would
 be anti-dilutive:</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="92%" align="center" border="0">
 <tr>
 <td width="72%"></td>
 <td valign="bottom" width="2%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="2%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="2%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="2%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Three&#xA0;Months&#xA0;Ended<br />
 June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="6" align="center"><b>Six&#xA0;Months&#xA0;Ended<br />
 June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Stock appreciation rights</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">16,340</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">
 &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">12,255</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">&#xA0;&#xA0;9,262</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>38
<FILENAME>R27.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798074176">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stock-Based Compensation (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract', window );"><strong>Disclosure of Compensation Related Costs, Share-based Payments [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock', window );">Summary of Assumptions Used to Estimate Fair Value of Each SAR</a></td>
<td class="text"><div>
 <p style="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The fair value of each SAR is estimated on the date of grant using
 a Black-Scholes option-pricing formula. There were no SARs issued
 during the six months ended June&#xA0;30, 2016. For SARs issued in
 the six months ended June&#xA0;30, 2017 the data and assumptions
 shown in the following table were used:</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="68%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="80%"></td>
 <td valign="bottom" width="16%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000">
 <b>Six&#xA0;Months&#xA0;Ended</b><br />
 <b>June&#xA0;30, 2017</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Weighted-average fair value of grants</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">27.81</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Dividend yield</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">0</td>
 <td nowrap="nowrap" valign="bottom">%&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Average risk-free interest rate</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">2.01</td>
 <td nowrap="nowrap" valign="bottom">%&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Expected term (years)</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">5</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Expected volatility</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">42.4</td>
 <td nowrap="nowrap" valign="bottom">%&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock', window );">Summary of Stock-Based Compensation Grants</a></td>
<td class="text"><div>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The following table summarizes the Company&#x2019;s stock-based
 compensation grants for the six months ended June&#xA0;30,
 2017:</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="76%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="61%"></td>
 <td valign="bottom" width="14%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="14%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000">
 <b>Stock&#xA0;Awards&#xA0;Granted</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b><font style="white-space:nowrap">Weighted-Average</font><br />
 Grant Price</b><br />
 <b>Per Share</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Time-based restricted stock units</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">19,516</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">70.05</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Performance-based restricted stock units (a)</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">40,216</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">56.19</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Stock appreciation rights</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">16,340</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">70.09</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 </table>
 <p style="line-height:12.0pt;margin-top:0pt;margin-bottom:2pt;border-bottom:1px solid #000000;width:10%">
 &#xA0;</p>
 <table style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr style="page-break-inside:avoid">
 <td width="4%" valign="top" align="left">(a)</td>
 <td align="left" valign="top">Includes 22,895 of target
 performance-based restricted stock unit awards granted during the
 six months ended June&#xA0;30, 2017, and adjustments of 1,071,
 5,396 and 10,854 grants due to the actual performance level
 achieved for restricted stock and restricted stock units awarded in
 2014, 2015, and 2016, respectively.</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock', window );">Summary of Stock-Based Compensation Expense</a></td>
<td class="text"><div>
 <p style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman">
 The following table summarizes the Company&#x2019;s stock-based
 compensation expense (in thousands):</p>
 <p style="font-size:12pt;margin-top:0pt;margin-bottom:0pt">
 &#xA0;</p>
 <table cellspacing="0" cellpadding="0" width="92%" border="0" style="BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt" align="center">
 <tr>
 <td width="73%"></td>
 <td valign="bottom" width="3%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="3%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="3%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="3%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="6" align="center" style="border-bottom:1.00pt solid #000000">
 <b>Three&#xA0;Months&#xA0;Ended<br />
 June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="6" align="center" style="border-bottom:1.00pt solid #000000">
 <b>Six&#xA0;Months&#xA0;Ended<br />
 June&#xA0;30,</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:8pt">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" colspan="2" align="center" style="border-bottom:1.00pt solid #000000"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Stock appreciation rights</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">25</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">75</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">192</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">184</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Time-based restricted stock</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">403</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">863</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,139</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,479</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Performance-based restricted stock</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">468</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">720</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,507</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">1,230</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:1.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Employee stock purchase plan</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">16</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">11</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">38</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">52</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:1.00px solid #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr bgcolor="#CCEEFF" style="page-break-inside:avoid ; font-family:Times New Roman; font-size:10pt">
 <td valign="top">
 <p style=" margin-top:0pt ; margin-bottom:0pt; margin-left:3.00em; text-indent:-1.00em; font-size:10pt; font-family:Times New Roman">
 Total stock-based compensation</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">912</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1,669</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,876</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,945</td>
 <td nowrap="nowrap" valign="bottom">&#xA0;</td>
 </tr>
 <tr style="font-size:1px;">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style=" margin-top:0pt ; margin-bottom:0pt; border-top:3.00px double #000000">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the amount of total share-based compensation cost, including the amounts attributable to each share-based compensation plan and any related tax benefits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (f)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the weighted-average grant-date fair value of equity options or other equity instruments granted during the year.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (d)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>39
<FILENAME>R28.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801693568">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Commitments and Contingencies (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jun. 30, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract', window );"><strong>Commitments and Contingencies Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock', window );">Summary of Liability Related to Lease</a></td>
<td class="text"><div>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 The following table provides information about the Company&#x2019;s
 liability related to the lease (in thousands):</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="82%"></td>
 <td valign="bottom" width="4%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="4%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Beginning balance, January&#xA0;1</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1,475</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">2,106</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Net rental payments</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(272</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(344</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Accretion of discount</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">54</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">78</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Decrease in net estimated contract termination costs</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(23</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Ending balance, June&#xA0;30</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1,234</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">1,840</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock', window );">Summary of Reconciliation of Company's Warranty Reserve that Represents Amounts Accrued for Surface Flaking Claims</a></td>
<td class="text"><div>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-TOP: 12pt">
 The following is a reconciliation of the Company&#x2019;s warranty
 reserve that represents amounts accrued for surface flaking claims
 (in thousands):</p>
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 12pt; MARGIN-TOP: 0pt">
 &#xA0;</p>
 <table style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="76%" align="center" border="0">
 <tr>
 <td width="80%"></td>
 <td valign="bottom" width="4%"></td>
 <td></td>
 <td></td>
 <td></td>
 <td valign="bottom" width="4%"></td>
 <td></td>
 <td></td>
 <td></td>
 </tr>
 <tr style="FONT-SIZE: 8pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2017</b></td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td style="BORDER-BOTTOM: #000000 1pt solid" valign="bottom" colspan="2" align="center"><b>2016</b></td>
 <td valign="bottom">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Beginning balance, January&#xA0;1</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">33,847</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">29,673</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Changes in estimates related to pre-existing warranties</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom" nowrap="nowrap" align="right">&#x2014;</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid" bgcolor="#CCEEFF">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Settlements made during the period</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(2,683</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">&#xA0;</td>
 <td valign="bottom" align="right">(2,611</td>
 <td valign="bottom" nowrap="nowrap">)&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 1px solid; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; PAGE-BREAK-INSIDE: avoid">
 <td valign="top">
 <p style="MARGIN-BOTTOM: 0pt; FONT-SIZE: 10pt; FONT-FAMILY: Times New Roman; MARGIN-LEFT: 1em; MARGIN-TOP: 0pt; TEXT-INDENT: -1em">
 Ending balance, June&#xA0;30</p>
 </td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">31,164</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">$</td>
 <td valign="bottom" align="right">27,062</td>
 <td valign="bottom" nowrap="nowrap">&#xA0;</td>
 </tr>
 <tr style="FONT-SIZE: 1px">
 <td valign="bottom"></td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 <td valign="bottom">&#xA0;&#xA0;</td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td valign="bottom">
 <p style="MARGIN-BOTTOM: 0pt; BORDER-TOP: #000000 3px double; MARGIN-TOP: 0pt">
 &#xA0;</p>
 </td>
 <td>&#xA0;</td>
 </tr>
 </table>
 </div><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommitmentsAndContingenciesDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the changes in the guarantor's aggregate product warranty liability, including the beginning balance of the aggregate product warranty liability, the aggregate reductions in that liability for payments made (in cash or in kind) under the warranty, the aggregate changes in the liability for accruals related to product warranties issued during the reporting period, the aggregate changes in the liability for accruals related to preexisting warranties (including adjustments related to changes in estimates), and the ending balance of the aggregate product warranty liability.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 460<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=68068213&amp;loc=d3e12565-110249<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of an entity's restructuring reserve that occurred during the period associated with the exit from or disposal of business activities or restructurings for each major type of cost. This element may also include a description of any reversal and other adjustment made during the period to the amount of an accrued liability for restructuring activities. This element may be used to encapsulate the roll forward presentations of an entity's restructuring reserve by type of cost and in total, and explanation of changes that occurred in the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 420<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=6394359&amp;loc=d3e17939-110869<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 420<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 5.P.4(b)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=27011515&amp;loc=d3e140904-122747<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>40
<FILENAME>R29.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6619502656">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Business and Organization - Additional Information (Detail)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th">
<div>Jun. 30, 2017 </div>
<div>Segment</div>
</th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingPoliciesAbstract', window );"><strong>Accounting Policies [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NumberOfReportableSegments', window );">Number of reportable segments</a></td>
<td class="nump">1<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingPoliciesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingPoliciesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NumberOfReportableSegments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NumberOfReportableSegments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:integerItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>41
<FILENAME>R30.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6807868480">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Recently Adopted Accounting Standard - Schedule of Previously Reported Quarterly Data (Detail) - USD ($)<br> $ / shares in Units, $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems', window );"><strong>New Accounting Pronouncements or Change in Accounting Principle [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Provision for income taxes</a></td>
<td class="nump">$ 15,760<span></span>
</td>
<td class="nump">$ 12,432<span></span>
</td>
<td class="nump">$ 29,506<span></span>
</td>
<td class="nump">$ 25,170<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLoss', window );">Net income</a></td>
<td class="nump">$ 28,782<span></span>
</td>
<td class="nump">$ 23,725<span></span>
</td>
<td class="nump">$ 56,732<span></span>
</td>
<td class="nump">$ 47,430<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareBasic', window );">Basic net income per share</a></td>
<td class="nump">$ 0.98<span></span>
</td>
<td class="nump">$ 0.81<span></span>
</td>
<td class="nump">$ 1.93<span></span>
</td>
<td class="nump">$ 1.61<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareDiluted', window );">Diluted net income per share</a></td>
<td class="nump">$ 0.97<span></span>
</td>
<td class="nump">$ 0.80<span></span>
</td>
<td class="nump">$ 1.92<span></span>
</td>
<td class="nump">$ 1.60<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding', window );">Diluted weighted average common shares outstanding</a></td>
<td class="nump">29,550,418<span></span>
</td>
<td class="nump">29,477,870<span></span>
</td>
<td class="nump">29,555,985<span></span>
</td>
<td class="nump">29,694,081<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations', window );">Cash flows provided by operating activities</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 119<span></span>
</td>
<td class="nump">$ 16,442<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations', window );">Cash flows used in financing activities</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (3,082)<span></span>
</td>
<td class="num">(19,051)<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementScenarioAxis=us-gaap_ScenarioPreviouslyReportedMember', window );">As Reported [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems', window );"><strong>New Accounting Pronouncements or Change in Accounting Principle [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Provision for income taxes</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 12,878<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">25,919<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLoss', window );">Net income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 23,279<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 46,681<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareBasic', window );">Basic net income per share</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 0.80<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1.58<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareDiluted', window );">Diluted net income per share</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 0.79<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1.57<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding', window );">Diluted weighted average common shares outstanding</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">29,423,845<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">29,642,287<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations', window );">Cash flows provided by operating activities</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 15,632<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations', window );">Cash flows used in financing activities</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (18,241)<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EarningsPerShareBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 55<br> -Paragraph 52<br> -URI http://asc.fasb.org/extlink&amp;oid=96948231&amp;loc=d3e4984-109258<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1252-109256<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(21))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EarningsPerShareBasic</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EarningsPerShareDiluted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1252-109256<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(21))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EarningsPerShareDiluted</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (a),(b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32639-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08.(h))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExpenseBenefit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) of financing activities, excluding discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 26<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3574-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from operating activities, excluding discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3536-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 16<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1505-109256<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementScenarioAxis=us-gaap_ScenarioPreviouslyReportedMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementScenarioAxis=us-gaap_ScenarioPreviouslyReportedMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>42
<FILENAME>R31.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6791787568">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Inventories - Summary of Inventories, at LIFO Value (Detail) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Dec. 31, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryDisclosureAbstract', window );"><strong>Inventory Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryFinishedGoods', window );">Finished goods</a></td>
<td class="nump">$ 29,294<span></span>
</td>
<td class="nump">$ 29,686<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryRawMaterials', window );">Raw materials</a></td>
<td class="nump">19,018<span></span>
</td>
<td class="nump">20,231<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryGross', window );">Total FIFO (first-in, first-out) inventories</a></td>
<td class="nump">48,312<span></span>
</td>
<td class="nump">49,917<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryLIFOReserve', window );">Reserve to adjust inventories to LIFO value</a></td>
<td class="num">(21,371)<span></span>
</td>
<td class="num">(21,371)<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryNet', window );">Total LIFO inventories</a></td>
<td class="nump">$ 26,941<span></span>
</td>
<td class="nump">$ 28,546<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryFinishedGoods">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before valuation and LIFO reserves of completed merchandise or goods expected to be sold within one year or operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(a)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryFinishedGoods</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Gross amount, as of the balance sheet date, of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryLIFOReserve">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount by which inventory stated at last-in first-out (LIFO) is less than (in excess of) inventory stated at other inventory cost methods.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(c))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryLIFOReserve</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 35<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=68049868&amp;loc=d3e3927-108312<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryRawMaterials">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before valuation and LIFO reserves of raw materials expected to be sold, or consumed within one year or operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(a)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryRawMaterials</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>43
<FILENAME>R32.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798177392">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Inventories - Additional Information (Detail) - USD ($)<br></strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryDisclosureAbstract', window );"><strong>Inventory Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EffectOfLIFOInventoryLiquidationOnIncome', window );">LIFO inventory liquidations</a></td>
<td class="nump">$ 0<span></span>
</td>
<td class="nump">$ 0<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EffectOfLIFOInventoryLiquidationOnIncome">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The effect of liquidating LIFO (last in first out) inventory layers on income.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(c))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section S99<br> -Paragraph 3<br> -Subparagraph (SAB Topic 11.F)<br> -URI http://asc.fasb.org/extlink&amp;oid=27011343&amp;loc=d3e100079-122729<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section S99<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=27011343&amp;loc=d3e100079-122729<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section S50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=6386917&amp;loc=d3e99609-122727<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EffectOfLIFOInventoryLiquidationOnIncome</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>44
<FILENAME>R33.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6798171056">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Prepaid Expenses and Other Assets - Summary of Prepaid Expenses and Other Assets (Detail) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Dec. 31, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PrepaidExpenseAndOtherAssetsAbstract', window );"><strong>Prepaid Expense and Other Assets [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PrepaidExpenseCurrent', window );">Prepaid expenses</a></td>
<td class="nump">$ 2,507<span></span>
</td>
<td class="nump">$ 6,209<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxesReceivable', window );">Income tax receivable</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">4,024<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAssetsCurrent', window );">Other</a></td>
<td class="nump">168<span></span>
</td>
<td class="nump">167<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PrepaidExpenseAndOtherAssetsCurrent', window );">Total prepaid expenses and other assets</a></td>
<td class="nump">$ 2,675<span></span>
</td>
<td class="nump">$ 10,400<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxesReceivable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount due within one year of the balance sheet date (or one operating cycle, if longer) from tax authorities as of the balance sheet date representing refunds of overpayments or recoveries based on agreed-upon resolutions of disputes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03.5(c))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.3(a)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03.10)<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxesReceivable</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAssetsCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of current assets classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.8)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAssetsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PrepaidExpenseAndOtherAssetsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PrepaidExpenseAndOtherAssetsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PrepaidExpenseAndOtherAssetsCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(7))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PrepaidExpenseAndOtherAssetsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PrepaidExpenseCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of asset related to consideration paid in advance for costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6787-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 340<br> -SubTopic 10<br> -Section 05<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=68074540&amp;loc=d3e5879-108316<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (g)<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PrepaidExpenseCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>45
<FILENAME>R34.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6802051328">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Accrued Expenses and Other Liabilities - Summary of Accrued Expenses and Other Liabilities (Detail) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Dec. 31, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PayablesAndAccrualsAbstract', window );"><strong>Payables and Accruals [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedMarketingCostsCurrent', window );">Sales and marketing</a></td>
<td class="nump">$ 18,364<span></span>
</td>
<td class="nump">$ 16,707<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeRelatedLiabilitiesCurrent', window );">Compensation and benefits</a></td>
<td class="nump">7,163<span></span>
</td>
<td class="nump">13,298<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedIncomeTaxesCurrent', window );">Income taxes</a></td>
<td class="nump">5,882<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_AccruedManufacturingExpensesCurrent', window );">Manufacturing costs</a></td>
<td class="nump">1,687<span></span>
</td>
<td class="nump">1,799<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredRentCreditCurrent', window );">Rent obligations</a></td>
<td class="nump">700<span></span>
</td>
<td class="nump">632<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAccruedLiabilitiesCurrent', window );">Other</a></td>
<td class="nump">2,475<span></span>
</td>
<td class="nump">2,257<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty', window );">Total accrued expenses and other liabilities</a></td>
<td class="nump">$ 36,271<span></span>
</td>
<td class="nump">$ 34,693<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Accrued liabilities and other liabilities current excluding warranty.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_AccruedLiabilitiesAndOtherLiabilitiesCurrentExcludingWarranty</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_AccruedManufacturingExpensesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Accrued expenses related to manufacturing facilities primarily consisting of accrued utilities, equipment rentals and temporary labor expenses.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_AccruedManufacturingExpensesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccruedIncomeTaxesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all currently due domestic and foreign income tax obligations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(15)(b)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(15)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccruedIncomeTaxesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccruedMarketingCostsCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value as of the balance sheet date of obligations incurred through that date and payable for the marketing, trade and selling of the entity's goods and services.   Marketing costs would include expenditures for planning and executing the conception, pricing, promotion, and distribution of ideas, goods, and services; costs of public relations and corporate promotions; and obligations incurred and payable for sales discounts, rebates, price protection programs, etc. offered to customers and under government programs. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccruedMarketingCostsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DeferredRentCreditCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>For a classified balance sheet, the cumulative difference as of the balance sheet date between the payments required by a lease agreement and the rental income or expense recognized on a straight-line basis, or other systematic and rational basis more representative of the time pattern in which use or benefit is granted or derived from the leased property, expected to be recognized in income or expense, by the lessor or lessee, respectively, within one year of the balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 25<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902458&amp;loc=d3e39927-112707<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DeferredRentCreditCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EmployeeRelatedLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EmployeeRelatedLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAccruedLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e7018-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6911-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=82887183&amp;loc=d3e6935-107765<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAccruedLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PayablesAndAccrualsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PayablesAndAccrualsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>46
<FILENAME>R35.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6807962288">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Debt - Additional Information (Detail) - USD ($)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Dec. 31, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LineOfCreditFacilityLineItems', window );"><strong>Line of Credit Facility [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LinesOfCreditCurrent', window );">Outstanding borrowings under the revolver loans</a></td>
<td class="nump">$ 0<span></span>
</td>
<td class="nump">$ 0<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity', window );">Remaining available borrowing capacity</a></td>
<td class="nump">$ 250,000,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtInstrumentAxis=trex_ThirdAmendedAndRestatedCreditAgreementMember', window );">Third Amended and Restated Credit Agreement [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LineOfCreditFacilityLineItems', window );"><strong>Line of Credit Facility [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LineOfCreditFacilityExpirationDate1', window );">Termination date of the Credit Agreement</a></td>
<td class="text">Jan. 12,  2021<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CreditFacilityAxis=trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember', window );">Revolver Loans Portion Effective January 1 through June 30 [Member] | Third Amended and Restated Credit Agreement [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LineOfCreditFacilityLineItems', window );"><strong>Line of Credit Facility [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity', window );">Revolving loans in a collective maximum principal amount</a></td>
<td class="nump">$ 250,000,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CreditFacilityAxis=trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember', window );">Revolver Loans Portion Effective July 1 through December 31 [Member] | Third Amended and Restated Credit Agreement [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LineOfCreditFacilityLineItems', window );"><strong>Line of Credit Facility [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity', window );">Revolving loans in a collective maximum principal amount</a></td>
<td class="nump">$ 200,000,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LineOfCreditFacilityExpirationDate1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Date the credit facility terminates, in CCYY-MM-DD format.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19(b),22(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LineOfCreditFacilityExpirationDate1</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:dateItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LineOfCreditFacilityLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LineOfCreditFacilityLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19(b),22(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19(b),22(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LinesOfCreditCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The carrying value as of the balance sheet date of the current portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LinesOfCreditCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DebtInstrumentAxis=trex_ThirdAmendedAndRestatedCreditAgreementMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtInstrumentAxis=trex_ThirdAmendedAndRestatedCreditAgreementMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CreditFacilityAxis=trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CreditFacilityAxis=trex_RevolverLoansPortionEffectiveOneJanuaryThroughThirtyJuneMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CreditFacilityAxis=trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CreditFacilityAxis=trex_RevolverLoansPortionEffectiveOneJulyThroughThirtyFirstDecemberMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>47
<FILENAME>R36.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6802199408">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stockholders' Equity - Computation of Basic and Diluted Earnings Per Share (Detail) - USD ($)<br> $ / shares in Units, $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLossAbstract', window );"><strong>Numerator:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLoss', window );">Net income available to common shareholders</a></td>
<td class="nump">$ 28,782<span></span>
</td>
<td class="nump">$ 23,725<span></span>
</td>
<td class="nump">$ 56,732<span></span>
</td>
<td class="nump">$ 47,430<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract', window );"><strong>Denominator:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic', window );">Basic weighted average shares outstanding</a></td>
<td class="nump">29,389,458<span></span>
</td>
<td class="nump">29,264,362<span></span>
</td>
<td class="nump">29,376,407<span></span>
</td>
<td class="nump">29,481,042<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract', window );"><strong>Effect of dilutive securities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding', window );">Diluted weighted average shares outstanding</a></td>
<td class="nump">29,550,418<span></span>
</td>
<td class="nump">29,477,870<span></span>
</td>
<td class="nump">29,555,985<span></span>
</td>
<td class="nump">29,694,081<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareBasic', window );">Basic earnings per share</a></td>
<td class="nump">$ 0.98<span></span>
</td>
<td class="nump">$ 0.81<span></span>
</td>
<td class="nump">$ 1.93<span></span>
</td>
<td class="nump">$ 1.61<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareDiluted', window );">Diluted earnings per share</a></td>
<td class="nump">$ 0.97<span></span>
</td>
<td class="nump">$ 0.80<span></span>
</td>
<td class="nump">$ 1.92<span></span>
</td>
<td class="nump">$ 1.60<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_StockAppreciationRightsAndOptionsMember', window );">Stock Appreciation Rights and Options [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract', window );"><strong>Effect of dilutive securities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements', window );">Dilutive securities</a></td>
<td class="nump">98,813<span></span>
</td>
<td class="nump">136,872<span></span>
</td>
<td class="nump">99,699<span></span>
</td>
<td class="nump">142,460<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember', window );">Restricted Stock [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract', window );"><strong>Effect of dilutive securities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements', window );">Dilutive securities</a></td>
<td class="nump">62,147<span></span>
</td>
<td class="nump">76,636<span></span>
</td>
<td class="nump">79,879<span></span>
</td>
<td class="nump">70,579<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EarningsPerShareBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 55<br> -Paragraph 52<br> -URI http://asc.fasb.org/extlink&amp;oid=96948231&amp;loc=d3e4984-109258<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1252-109256<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(21))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EarningsPerShareBasic</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EarningsPerShareDiluted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(19))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1252-109256<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(21))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EarningsPerShareDiluted</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28A<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1500-109256<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3602-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLossAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLossAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 16<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1505-109256<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=96947427&amp;loc=d3e1448-109256<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberOfSharesOutstandingBasic</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=trex_StockAppreciationRightsAndOptionsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=trex_StockAppreciationRightsAndOptionsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>48
<FILENAME>R37.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6782052592">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stockholders' Equity - Antidilutive Securities Excluded from Computation of Earnings Per Share (Detail) - shares<br></strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_StockAppreciationRightsSARSMember', window );">Stock Appreciation Rights [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems', window );"><strong>Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount', window );">Anti-dilutive securities excluded from the computation of diluted earnings per share</a></td>
<td class="nump">16,340<span></span>
</td>
<td class="nump">12,255<span></span>
</td>
<td class="nump">9,262<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_StockAppreciationRightsSARSMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_StockAppreciationRightsSARSMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>49
<FILENAME>R38.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6796906464">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stockholders' Equity - Additional Information (Detail) - USD ($)<br> $ in Millions</strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
<th class="th" colspan="1"></th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Feb. 16, 2017</div></th>
<th class="th"><div>Oct. 22, 2015</div></th>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareRepurchaseProgramAxis=trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember', window );">October 2015 Stock Repurchase Program [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityClassOfTreasuryStockLineItems', window );"><strong>Equity, Class of Treasury Stock [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased', window );">Common stock repurchase program, authorized shares</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">3,150,000<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_StockRepurchaseProgramTerminationDate', window );">Common stock repurchase program, termination date</a></td>
<td class="text">Dec. 31,  2016<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockSharesAcquired', window );">Number of shares repurchased by the Company</a></td>
<td class="nump">1,578,952<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockValueAcquiredCostMethod', window );">Value of shares repurchased by the Company</a></td>
<td class="nump">$ 53.3<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareRepurchaseProgramAxis=trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember', window );">February 2017 Stock Repurchase Program [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityClassOfTreasuryStockLineItems', window );"><strong>Equity, Class of Treasury Stock [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased', window );">Common stock repurchase program, authorized shares</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2,960,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockSharesAcquired', window );">Number of shares repurchased by the Company</a></td>
<td class="nump">0<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_StockRepurchaseProgramTerminationDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Stock repurchase program termination date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_StockRepurchaseProgramTerminationDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:dateItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityClassOfTreasuryStockLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityClassOfTreasuryStockLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockSharesAcquired">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of shares that have been repurchased during the period and are being held in treasury.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=27012166&amp;loc=d3e187085-122770<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=84159872&amp;loc=d3e21463-112644<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockSharesAcquired</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockValueAcquiredCostMethod">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=84159872&amp;loc=d3e21463-112644<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6405813&amp;loc=d3e23239-112655<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=27012166&amp;loc=d3e187085-122770<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockValueAcquiredCostMethod</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareRepurchaseProgramAxis=trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareRepurchaseProgramAxis=trex_OctoberTwoThousandFifteenStockRepurchaseProgramMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareRepurchaseProgramAxis=trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareRepurchaseProgramAxis=trex_FebruaryTwoThousandSeventeenStockRepurchaseProgramMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>50
<FILENAME>R39.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801815040">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stock-Based Compensation - Additional Information (Detail)<br> $ in Millions</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th">
<div>Jun. 30, 2017 </div>
<div>USD ($) </div>
<div>Plan </div>
<div>shares</div>
</th>
<th class="th">
<div>Jun. 30, 2016 </div>
<div>shares</div>
</th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_NumberOfStockBasedCompensationPlan', window );">Number of stock based compensation plans | Plan</a></td>
<td class="nump">1<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized', window );">Unrecognized compensation cost related to unvested awards | $</a></td>
<td class="nump">$ 4.1<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PlanNameAxis=trex_TwoThousandFourteenStockIncentivePlanMember', window );">2014 Stock Incentive Plan [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized', window );">Total aggregate number of shares of common stock that may be issued</a></td>
<td class="nump">6,420,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockMember', window );">Performance-Based Restricted Stock [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1', window );">Vesting period</a></td>
<td class="text">3 years<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockMember', window );">Performance-Based Restricted Stock [Member] | Share-Based Compensation Award, Tranche One [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage', window );">Stock-based Compensation vesting percentage</a></td>
<td class="nump">33.33%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockMember', window );">Performance-Based Restricted Stock [Member] | Share-Based Compensation Award, Tranche Two [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage', window );">Stock-based Compensation vesting percentage</a></td>
<td class="nump">33.33%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockMember', window );">Performance-Based Restricted Stock [Member] | Share-Based Compensation Award, Tranche Three [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage', window );">Stock-based Compensation vesting percentage</a></td>
<td class="nump">33.33%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember', window );">Stock Appreciation Rights [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed', window );">Fair value assumptions method used</a></td>
<td class="text">Black-Scholes option-pricing formula<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod', window );">Number of shares or rights issued</a></td>
<td class="nump">16,340<span></span>
</td>
<td class="nump">0<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RangeAxis=us-gaap_MinimumMember', window );">Minimum [Member] | Performance-Based Restricted Stock [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares', window );">Percentage of target number of shares that will vest</a></td>
<td class="nump">0.00%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RangeAxis=us-gaap_MaximumMember', window );">Maximum [Member] | Performance-Based Restricted Stock [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares', window );">Percentage of target number of shares that will vest</a></td>
<td class="nump">200.00%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_NumberOfStockBasedCompensationPlan">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Stock-based compensation plans approved by the Company's stockholders.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_NumberOfStockBasedCompensationPlan</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:integerItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>With respect to each vesting, the number of shares that will vest stated as a percentage of the target number of shares.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentageToTargetNumberOfShares</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Unrecognized cost of unvested share-based compensation awards.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (i)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Period which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:durationItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(iii)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>For each plan, identification of the award pricing model or other valuation method used in calculating the weighted average fair values disclosed. The model is also used to calculate the compensation expense that is shown within the balance sheet, income statement, and cash flow. Examples of valuation techniques are lattice models (binomial model), closed-form models (Black-Scholes-Merton formula), and a Monte Carlo simulation technique. Fair value is the amount at which an asset or liability could be bought or incurred or sold or settled in a current transaction between willing parties, that is, other than in a forced or liquidation sale. May include disclosures about the assumptions underlying application of the method selected.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (f)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsed</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Percentage of vesting of share-based compensation awards.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PlanNameAxis=trex_TwoThousandFourteenStockIncentivePlanMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PlanNameAxis=trex_TwoThousandFourteenStockIncentivePlanMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheOneMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheOneMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheTwoMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheTwoMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheThreeMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheThreeMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RangeAxis=us-gaap_MinimumMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RangeAxis=us-gaap_MinimumMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RangeAxis=us-gaap_MaximumMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RangeAxis=us-gaap_MaximumMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>51
<FILENAME>R40.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6777471024">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stock-Based Compensation - Summary of Assumptions Used to Estimate Fair Value of Each SAR (Detail) - Stock Appreciation Rights [Member]<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th">
<div>Jun. 30, 2017 </div>
<div>$ / shares</div>
</th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems', window );"><strong>Share Based Compensation Arrangement by Share Based Payment Award Fair Value Assumptions and Methodology [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue', window );">Weighted-average fair value of grants</a></td>
<td class="nump">$ 27.81<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate', window );">Dividend yield</a></td>
<td class="nump">0.00%<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate', window );">Average risk-free interest rate</a></td>
<td class="nump">2.01%<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1', window );">Expected term (years)</a></td>
<td class="text">5 years<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate', window );">Expected volatility</a></td>
<td class="nump">42.40%<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Share Based Compensation Arrangement by Share Based Payment Award Fair Value Assumptions and Methodology [Line Items]</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(iii)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (f)(2)(iii)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (f)(2)(ii)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The risk-free interest rate assumption that is used in valuing an option on its own shares.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (f)(2)(iv)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Expected term of share-based compensation awards, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (f)(2)(i)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 14.D.2)<br> -URI http://asc.fasb.org/extlink&amp;oid=27013229&amp;loc=d3e301413-122809<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:durationItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>52
<FILENAME>R41.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801843056">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stock-Based Compensation - Summary of Stock-Based Compensation Grants (Detail) - $ / shares<br></strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_TimeBasedRestrictedStockUnitsMember', window );">Time Based Restricted Stock Units [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod', window );">Stock Awards Granted</a></td>
<td class="nump">19,516<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice', window );">Weighted-Average Grant Price Per Share</a></td>
<td class="nump">$ 70.05<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockUnitsMember', window );">Performance Based Restricted Stock Units [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod', window );">Stock Awards Granted</a></td>
<td class="nump">40,216<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice', window );">Weighted-Average Grant Price Per Share</a></td>
<td class="nump">$ 56.19<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember', window );">Stock Appreciation Rights [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod', window );">Stock Awards Granted</a></td>
<td class="nump">16,340<span></span>
</td>
<td class="nump">0<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice', window );">Weighted-Average Grant Price Per Share</a></td>
<td class="nump">$ 70.09<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Share based compensation arrangement by share based payment award non options equity instruments granted weighted average grant price.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(iii)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=trex_TimeBasedRestrictedStockUnitsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=trex_TimeBasedRestrictedStockUnitsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockUnitsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockUnitsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>53
<FILENAME>R42.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6801897296">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stock-Based Compensation - Summary of Stock-Based Compensation Grants (Parenthetical) (Detail) - shares<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
<th class="th" colspan="3">12 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Dec. 31, 2016</div></th>
<th class="th"><div>Dec. 31, 2015</div></th>
<th class="th"><div>Dec. 31, 2014</div></th>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockTargetMember', window );">Performance Based Restricted Stock Unit Target [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod', window );">Stock Awards Granted</a></td>
<td class="nump">22,895<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockAdjustmentMember', window );">Performance Based Restricted Stock Unit Adjustment [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod', window );">Stock Awards Granted</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">10,854<span></span>
</td>
<td class="nump">5,396<span></span>
</td>
<td class="nump">1,071<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(iii)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockTargetMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockTargetMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockAdjustmentMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockAdjustmentMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>54
<FILENAME>R43.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6802182272">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Detail) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock-based compensation expense</a></td>
<td class="nump">$ 912<span></span>
</td>
<td class="nump">$ 1,669<span></span>
</td>
<td class="nump">$ 2,876<span></span>
</td>
<td class="nump">$ 2,945<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember', window );">Stock Appreciation Rights [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock-based compensation expense</a></td>
<td class="nump">25<span></span>
</td>
<td class="nump">75<span></span>
</td>
<td class="nump">192<span></span>
</td>
<td class="nump">184<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember', window );">Time-Based Restricted Stock [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock-based compensation expense</a></td>
<td class="nump">403<span></span>
</td>
<td class="nump">863<span></span>
</td>
<td class="nump">1,139<span></span>
</td>
<td class="nump">1,479<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember', window );">Performance-Based Restricted Stock [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock-based compensation expense</a></td>
<td class="nump">468<span></span>
</td>
<td class="nump">720<span></span>
</td>
<td class="nump">1,507<span></span>
</td>
<td class="nump">1,230<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=trex_EmployeeStockPurchasePlanMember', window );">Employee Stock Purchase Plan [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems', window );"><strong>Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock-based compensation expense</a></td>
<td class="nump">$ 16<span></span>
</td>
<td class="nump">$ 11<span></span>
</td>
<td class="nump">$ 38<span></span>
</td>
<td class="nump">$ 52<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AllocatedShareBasedCompensationExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Represents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 14.F)<br> -URI http://asc.fasb.org/extlink&amp;oid=27013229&amp;loc=d3e301413-122809<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5047-113901<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(1)(i)<br> -URI http://asc.fasb.org/extlink&amp;oid=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AllocatedShareBasedCompensationExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=trex_TimeBasedRestrictedStockAndTimeBasedRestrictedStockUnitsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockAndPerformanceBasedRestrictedStockUnitsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=trex_EmployeeStockPurchasePlanMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=trex_EmployeeStockPurchasePlanMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>55
<FILENAME>R44.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6797136960">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Income Taxes - Additional Information (Detail) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxContingencyLineItems', window );"><strong>Income Tax Contingency [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EffectiveIncomeTaxRateContinuingOperations', window );">Effective tax rate</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">34.20%<span></span>
</td>
<td class="nump">34.70%<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Income tax expense (benefit)</a></td>
<td class="nump">$ 15,760<span></span>
</td>
<td class="nump">$ 12,432<span></span>
</td>
<td class="nump">$ 29,506<span></span>
</td>
<td class="nump">$ 25,170<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities', window );">Decrease in effective tax rate due to increase in domestic production activities deduction</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">0.50%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet', window );">Excess tax benefits from stock based awards</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,000<span></span>
</td>
<td class="nump">$ 800<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredTaxAssetsValuationAllowance', window );">Valuation allowance</a></td>
<td class="nump">$ 4,100<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 4,100<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TaxPeriodAxis=us-gaap_EarliestTaxYearMember', window );">Earliest Tax Year [Member] | Federal Tax Jurisdiction [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxContingencyLineItems', window );"><strong>Income Tax Contingency [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OpenTaxYear', window );">Tax years subject to examination</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">2013<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TaxPeriodAxis=us-gaap_LatestTaxYearMember', window );">Latest Tax Year [Member] | Federal Tax Jurisdiction [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxContingencyLineItems', window );"><strong>Income Tax Contingency [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OpenTaxYear', window );">Tax years subject to examination</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">2016<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in additional paid in capital (APIC) resulting from a tax benefit (deficiency) associated with an share-based compensation plan other than an employee stock ownership plan (ESOP).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DeferredTaxAssetsValuationAllowance">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32537-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DeferredTaxAssetsValuationAllowance</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EffectiveIncomeTaxRateContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 13<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32698-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08.(h)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 12<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32687-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EffectiveIncomeTaxRateContinuingOperations</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Percentage 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 deduction for qualified production activity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB TOPIC 6.I)<br> -URI http://asc.fasb.org/extlink&amp;oid=34349781&amp;loc=d3e330036-122817<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 13<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32698-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 12<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32687-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxContingencyLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxContingencyLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (a),(b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32639-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08.(h))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExpenseBenefit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OpenTaxYear">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tax year that remains open to examination under enacted tax laws, in CCYY format.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32718-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OpenTaxYear</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:gYearItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TaxPeriodAxis=us-gaap_EarliestTaxYearMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TaxPeriodAxis=us-gaap_EarliestTaxYearMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxAuthorityNameAxis=us-gaap_InternalRevenueServiceIRSMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxAuthorityNameAxis=us-gaap_InternalRevenueServiceIRSMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TaxPeriodAxis=us-gaap_LatestTaxYearMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TaxPeriodAxis=us-gaap_LatestTaxYearMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>56
<FILENAME>R45.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6807790048">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Commitments and Contingencies - Additional Information (Detail)<br> $ in Millions</strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th">
<div>Jun. 30, 2017 </div>
<div>USD ($) </div>
<div>ft&#178;</div>
</th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ScheduleOfCommitmentsAndContingenciesLineItems', window );"><strong>Schedule Of Commitments And Contingencies [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_SensitivityChangeInSurfaceFlakingWarrantyReserve', window );">Change in warranty reserve for disclosure purposes only</a></td>
<td class="nump">$ 3.1<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RangeAxis=us-gaap_MinimumMember', window );">Minimum [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ScheduleOfCommitmentsAndContingenciesLineItems', window );"><strong>Schedule Of Commitments And Contingencies [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_WarrantyPeriod', window );">Warranty period</a></td>
<td class="text">10 years<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RangeAxis=us-gaap_MaximumMember', window );">Maximum [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ScheduleOfCommitmentsAndContingenciesLineItems', window );"><strong>Schedule Of Commitments And Contingencies [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_WarrantyPeriod', window );">Warranty period</a></td>
<td class="text">25 years<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ValuationAllowancesAndReservesTypeAxis=trex_SurfaceFlakingWarrantyReserveMember', window );">Surface Flaking Warranty Reserve [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ScheduleOfCommitmentsAndContingenciesLineItems', window );"><strong>Schedule Of Commitments And Contingencies [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims', window );">Percentage change in warranty claims used as a threshold for disclosure</a></td>
<td class="nump">10.00%<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RestructuringCostAndReserveAxis=trex_SubleaseMember', window );">Sublease [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ScheduleOfCommitmentsAndContingenciesLineItems', window );"><strong>Schedule Of Commitments And Contingencies [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear', window );">Net minimum receipts remaining under the Company's existing subleases for 2017</a></td>
<td class="nump">$ 0.6<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears', window );">Net minimum receipts remaining under the Company's existing subleases for 2018</a></td>
<td class="nump">1.3<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears', window );">Net minimum receipts remaining under the Company's existing subleases for 2019</a></td>
<td class="nump">$ 0.8<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RestructuringCostAndReserveAxis=us-gaap_ContractTerminationMember', window );">Contract Termination [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_trex_ScheduleOfCommitmentsAndContingenciesLineItems', window );"><strong>Schedule Of Commitments And Contingencies [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AreaOfRealEstateProperty', window );">Lease square feet | ft&#178;</a></td>
<td class="nump">55,047<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear', window );">Minimum payments, 2017</a></td>
<td class="nump">$ 1.0<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears', window );">Minimum payments, 2018</a></td>
<td class="nump">2.0<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears', window );">Minimum payments, 2019</a></td>
<td class="nump">$ 1.0<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Percentage change in the expected number of remaining claims to be settled with payment or the expected cost to settle claims used as a threshold for disclosure.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_PercentSensitivityChangeInExpectedSurfaceFlakingClaims</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_ScheduleOfCommitmentsAndContingenciesLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Schedule of commitments and contingencies.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_ScheduleOfCommitmentsAndContingenciesLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_SensitivityChangeInSurfaceFlakingWarrantyReserve">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Estimated change in the warranty reserve resulting from a 10% change in the expected number of remaining claims to be settled with payment or the expected cost to settle claims for disclosure purposes only.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_SensitivityChangeInSurfaceFlakingWarrantyReserve</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_trex_WarrantyPeriod">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The number of years the Company warrants that its products will be free from material defects in workmanship and materials.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">trex_WarrantyPeriod</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>trex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:durationItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AreaOfRealEstateProperty">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Area of a real estate property.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AreaOfRealEstateProperty</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:areaItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=82846649&amp;loc=d3e38371-112697<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=82846649&amp;loc=d3e38371-112697<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77902758&amp;loc=d3e41502-112717<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Future rental payments receivable within the third year from the balance sheet date under an operating lease.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84164653&amp;loc=d3e41551-112718<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Future rental payments receivable within the second year from the balance sheet date under an operating lease.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84164653&amp;loc=d3e41551-112718<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments receivable in the remainder of the fiscal year following the latest fiscal year ended for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the remainder of the fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RangeAxis=us-gaap_MinimumMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RangeAxis=us-gaap_MinimumMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RangeAxis=us-gaap_MaximumMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RangeAxis=us-gaap_MaximumMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ValuationAllowancesAndReservesTypeAxis=trex_SurfaceFlakingWarrantyReserveMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ValuationAllowancesAndReservesTypeAxis=trex_SurfaceFlakingWarrantyReserveMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RestructuringCostAndReserveAxis=trex_SubleaseMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RestructuringCostAndReserveAxis=trex_SubleaseMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RestructuringCostAndReserveAxis=us-gaap_ContractTerminationMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RestructuringCostAndReserveAxis=us-gaap_ContractTerminationMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>57
<FILENAME>R46.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6790995360">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Commitments and Contingencies - Summary of Liability Related to Lease (Detail) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract', window );"><strong>Commitments and Contingencies Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RestructuringReserve', window );">Beginning balance</a></td>
<td class="nump">$ 1,475<span></span>
</td>
<td class="nump">$ 2,106<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsForRestructuring', window );">Net rental payments</a></td>
<td class="num">(272)<span></span>
</td>
<td class="num">(344)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccretionExpense', window );">Accretion of discount</a></td>
<td class="nump">54<span></span>
</td>
<td class="nump">78<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RestructuringReserveAccrualAdjustment1', window );">Decrease in net estimated contract termination costs</a></td>
<td class="num">(23)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RestructuringReserve', window );">Ending balance</a></td>
<td class="nump">$ 1,234<span></span>
</td>
<td class="nump">$ 1,840<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccretionExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount recognized for the passage of time, typically for liabilities, that have been discounted to their net present values. Excludes accretion associated with asset retirement obligations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 410<br> -SubTopic 20<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6392676&amp;loc=d3e7480-110848<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 420<br> -SubTopic 10<br> -Section 35<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=6394232&amp;loc=d3e17558-110866<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccretionExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommitmentsAndContingenciesDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsForRestructuring">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash payments made as the result of exit or disposal activities. Excludes payments associated with a discontinued operation or an asset retirement obligation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 420<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=6394359&amp;loc=d3e17939-110869<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3536-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsForRestructuring</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RestructuringReserve">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 420<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB TOPIC 5.P.4(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=27011515&amp;loc=d3e140904-122747<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 420<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=6394359&amp;loc=d3e17939-110869<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RestructuringReserve</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RestructuringReserveAccrualAdjustment1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of expense (reversal of expense) which increases (decreases) the restructuring reserve from an adjustment to a previously accrued restructuring liability.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 420<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6394359&amp;loc=d3e17939-110869<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 420<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB TOPIC 5.P.4(b)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=27011515&amp;loc=d3e140904-122747<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RestructuringReserveAccrualAdjustment1</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>58
<FILENAME>R47.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6790859440">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Commitments and Contingencies - Summary of Reconciliation of Company's Warranty Reserve that Represents Amounts Accrued for Surface Flaking Claims (Detail) - Surface Flaking Warranty Reserve [Member] - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jun. 30, 2017</div></th>
<th class="th"><div>Jun. 30, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProductWarrantyLiabilityLineItems', window );"><strong>Product Warranty Liability [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StandardProductWarrantyAccrual', window );">Beginning balance</a></td>
<td class="nump">$ 33,847<span></span>
</td>
<td class="nump">$ 29,673<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease', window );">Changes in estimates related to pre-existing warranties</a></td>
<td class="nump">0<span></span>
</td>
<td class="nump">0<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StandardProductWarrantyAccrualPayments', window );">Settlements made during the period</a></td>
<td class="num">(2,683)<span></span>
</td>
<td class="num">(2,611)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StandardProductWarrantyAccrual', window );">Ending balance</a></td>
<td class="nump">$ 31,164<span></span>
</td>
<td class="nump">$ 27,062<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProductWarrantyLiabilityLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>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.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProductWarrantyLiabilityLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StandardProductWarrantyAccrual">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount as of the balance sheet date of the aggregate standard product warranty liability. Does not include the balance for the extended product warranty liability.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 460<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -Subparagraph (c)(1),(c)(5)<br> -URI http://asc.fasb.org/extlink&amp;oid=68068213&amp;loc=d3e12565-110249<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StandardProductWarrantyAccrual</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StandardProductWarrantyAccrualPayments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of decrease in the standard product warranty accrual from payments made in cash or in kind to satisfy claims under the terms of the standard product warranty. Excludes extended product warranties.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 460<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -Subparagraph ((c)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=68068213&amp;loc=d3e12565-110249<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StandardProductWarrantyAccrualPayments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in the standard product warranty accrual from changes in estimates attributable to preexisting product warranties. Excludes extended product warranties.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 460<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -Subparagraph ((c)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=68068213&amp;loc=d3e12565-110249<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ValuationAllowancesAndReservesTypeAxis=trex_SurfaceFlakingWarrantyReserveMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ValuationAllowancesAndReservesTypeAxis=trex_SurfaceFlakingWarrantyReserveMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>59
<FILENAME>R48.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6790710192">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Subsequent Event - Additional Information (Detail)<br> $ in Millions</strong></div></th>
<th class="th">
<div>Jul. 31, 2017 </div>
<div>USD ($)</div>
</th>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember', window );">Subsequent Event [Member] | Staging Concepts Acquisition, LLC [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SubsequentEventLineItems', window );"><strong>Subsequent Event [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet', window );">Certain assets and liabilities acquired in cash</a></td>
<td class="nump">$ 71.5<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 55<br> -Paragraph 37<br> -URI http://asc.fasb.org/extlink&amp;oid=84160947&amp;loc=d3e2207-128464<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161108&amp;loc=d3e4845-128472<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SubsequentEventLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SubsequentEventLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_BusinessAcquisitionAxis=trex_StagingConceptsAcquisitionLLCMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_BusinessAcquisitionAxis=trex_StagingConceptsAcquisitionLLCMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EXCEL
<SEQUENCE>60
<FILENAME>Financial_Report.xlsx
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 Financial_Report.xlsx
M4$L#!!0    ( /6-_TH?(\\#P    !,"   +    7W)E;',O+G)E;'.MDD^+
MPD ,Q;]*F?L:5\'#8CUYZ6U9_ )Q)OU#.Y,A$[%^>X>];+=44/ 87O+>CT?V
M/S2@=AQ2V\54C'X(J32M:OP"2+8ECVG%D4)6:A:/FD=I(*+ML2'8K-<[D*F'
M.>RGGD7E2B.5^S3%":4A+<TXP)6E/S/WJVR;A5ND9T*YKCM+1[873T$7LF<;
M!I99-G\LCNVW<+ZT+/0:S>,*P).B0\5?UX^8 TBTH_0(:+L A#&^NQT:E8(C
M-R."?S]PN -02P,$%     @ ]8W_2F;S"V""    L0   !    !D;V-0<F]P
M<R]A<' N>&UL38Y-"\(P$$3_2NG=;BGB06) L$?!D_>0;FP@R8;-"OGYIH(?
MMWF\81AU8\K(XK%T-8943OTJDH\ Q:X831F:3LTXXFBD(3^ G/,6+V2?$9/
M-(X'P"J8%EQV^3O8:W7..7AKQ%/25V^9"CGIYFHQ*/B76_..7+8\#?NW_+""
MWTG] E!+ P04    " #UC?]*X,_/0^\    K @  $0   &1O8U!R;W!S+V-O
M<F4N>&ULS9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"P              @ $     7W)E
M;',O+G)E;'-02P$"% ,4    " #UC?]*9O,+8((   "Q    $
M    @ 'I    9&]C4')O<',O87!P+GAM;%!+ 0(4 Q0    ( /6-_TK@S\]#
M[P   "L"   1              "  9D!  !D;V-0<F]P<R]C;W)E+GAM;%!+
M 0(4 Q0    ( /6-_TJ97)PC$ 8  )PG   3              "  ;<"  !X
M;"]T:&5M92]T:&5M93$N>&UL4$L! A0#%     @ ]8W_2I@:41!D @  %0@
M !@              ( !^ @  'AL+W=O<FMS:&5E=',O<VAE970Q+GAM;%!+
M 0(4 Q0    ( /6-_THK6.<?[@,  -<0   8              "  9(+  !X
M;"]W;W)K<VAE971S+W-H965T,BYX;6Q02P$"% ,4    " #UC?]*%;VS3^,#
M   ]$@  &               @ &V#P  >&PO=V]R:W-H965T<R]S:&5E=#,N
M>&UL4$L! A0#%     @ ]8W_2O:Z1MM> @  0 @  !@              ( !
MSQ,  'AL+W=O<FMS:&5E=',O<VAE970T+GAM;%!+ 0(4 Q0    ( /6-_TJL
MZW$^+P0  %83   8              "  6,6  !X;"]W;W)K<VAE971S+W-H
M965T-2YX;6Q02P$"% ,4    " #UC?]*=J&V,; !  #2 P  &
M    @ '(&@  >&PO=V]R:W-H965T<R]S:&5E=#8N>&UL4$L! A0#%     @
M]8W_2D&V,2BP 0  T@,  !@              ( !KAP  'AL+W=O<FMS:&5E
M=',O<VAE970W+GAM;%!+ 0(4 Q0    ( /6-_TKZTD_6M0$  -(#   8
M          "  90>  !X;"]W;W)K<VAE971S+W-H965T."YX;6Q02P$"% ,4
M    " #UC?]*LK>_ ;0!  #2 P  &               @ %_(   >&PO=V]R
M:W-H965T<R]S:&5E=#DN>&UL4$L! A0#%     @ ]8W_2O,7RG*U 0  T ,
M !D              ( !:2(  'AL+W=O<FMS:&5E=',O<VAE970Q,"YX;6Q0
M2P$"% ,4    " #UC?]*$<V/J+0!  #2 P  &0              @ %5)
M>&PO=V]R:W-H965T<R]S:&5E=#$Q+GAM;%!+ 0(4 Q0    ( /6-_TKW1G=M
MM0$  -(#   9              "  4 F  !X;"]W;W)K<VAE971S+W-H965T
M,3(N>&UL4$L! A0#%     @ ]8W_2F![)&&S 0  T@,  !D
M ( !+"@  'AL+W=O<FMS:&5E=',O<VAE970Q,RYX;6Q02P$"% ,4    " #U
MC?]*(Z7@@;0!  #2 P  &0              @ $6*@  >&PO=V]R:W-H965T
M<R]S:&5E=#$T+GAM;%!+ 0(4 Q0    ( /6-_TI;/<0]M $  -(#   9
M          "  0$L  !X;"]W;W)K<VAE971S+W-H965T,34N>&UL4$L! A0#
M%     @ ]8W_2ECA?;.S 0  T@,  !D              ( !["T  'AL+W=O
M<FMS:&5E=',O<VAE970Q-BYX;6Q02P$"% ,4    " #UC?]*]:)D2;0!  #2
M P  &0              @ '6+P  >&PO=V]R:W-H965T<R]S:&5E=#$W+GAM
M;%!+ 0(4 Q0    ( /6-_TJUQS<4M $  -(#   9              "  <$Q
M  !X;"]W;W)K<VAE971S+W-H965T,3@N>&UL4$L! A0#%     @ ]8W_2IV\
M,\^U 0  T@,  !D              ( !K#,  'AL+W=O<FMS:&5E=',O<VAE
M970Q.2YX;6Q02P$"% ,4    " #UC?]*ZLFGE+0!  #2 P  &0
M    @ &8-0  >&PO=V]R:W-H965T<R]S:&5E=#(P+GAM;%!+ 0(4 Q0    (
M /6-_TI'H=9'Q $  #<$   9              "  8,W  !X;"]W;W)K<VAE
M971S+W-H965T,C$N>&UL4$L! A0#%     @ ]8W_2J-'5Q&X 0  T@,  !D
M             ( !?CD  'AL+W=O<FMS:&5E=',O<VAE970R,BYX;6Q02P$"
M% ,4    " #UC?]*E+B/YK4!  #2 P  &0              @ %M.P  >&PO
M=V]R:W-H965T<R]S:&5E=#(S+GAM;%!+ 0(4 Q0    ( /6-_TI*5+"!M@$
M -(#   9              "  5D]  !X;"]W;W)K<VAE971S+W-H965T,C0N
M>&UL4$L! A0#%     @ ]8W_2B2<9DBU 0  T@,  !D              ( !
M1C\  'AL+W=O<FMS:&5E=',O<VAE970R-2YX;6Q02P$"% ,4    " #UC?]*
MAL%C1,0!   W!   &0              @ $R00  >&PO=V]R:W-H965T<R]S
M:&5E=#(V+GAM;%!+ 0(4 Q0    ( /6-_TJ#G 4+TP$  )P$   9
M      "  2U#  !X;"]W;W)K<VAE971S+W-H965T,C<N>&UL4$L! A0#%
M  @ ]8W_2M1D=FS! 0  -P0  !D              ( !-T4  'AL+W=O<FMS
M:&5E=',O<VAE970R."YX;6Q02P$"% ,4    " #UC?]*&6_-*;D!  #2 P
M&0              @ $O1P  >&PO=V]R:W-H965T<R]S:&5E=#(Y+GAM;%!+
M 0(4 Q0    ( /6-_TIO:[*Q@P,  %$.   9              "  1])  !X
M;"]W;W)K<VAE971S+W-H965T,S N>&UL4$L! A0#%     @ ]8W_2@=A0IH6
M @  "@8  !D              ( !V4P  'AL+W=O<FMS:&5E=',O<VAE970S
M,2YX;6Q02P$"% ,4    " #UC?]*02 JNM@!  !>!   &0
M@ $F3P  >&PO=V]R:W-H965T<R]S:&5E=#,R+GAM;%!+ 0(4 Q0    ( /6-
M_TKG.4B/\@$  $T%   9              "  351  !X;"]W;W)K<VAE971S
M+W-H965T,S,N>&UL4$L! A0#%     @ ]8W_2K0+^W4X @  \@8  !D
M         ( !7E,  'AL+W=O<FMS:&5E=',O<VAE970S-"YX;6Q02P$"% ,4
M    " #UC?]*?A)M/D "  !_!P  &0              @ '-50  >&PO=V]R
M:W-H965T<R]S:&5E=#,U+GAM;%!+ 0(4 Q0    ( /6-_TIC'(;^*@,  &D,
M   9              "  418  !X;"]W;W)K<VAE971S+W-H965T,S8N>&UL
M4$L! A0#%     @ ]8W_2B(+;V[Z 0  0@4  !D              ( !I5L
M 'AL+W=O<FMS:&5E=',O<VAE970S-RYX;6Q02P$"% ,4    " #UC?]*LOP@
MK4@"  !,!P  &0              @ '670  >&PO=V]R:W-H965T<R]S:&5E
M=#,X+GAM;%!+ 0(4 Q0    ( /6-_THR6JR X (  )T,   9
M  "  55@  !X;"]W;W)K<VAE971S+W-H965T,SDN>&UL4$L! A0#%     @
M]8W_2C3#6+'T 0  :@4  !D              ( !;&,  'AL+W=O<FMS:&5E
M=',O<VAE970T,"YX;6Q02P$"% ,4    " #UC?]*Z^/DJU@"  "Y!P  &0
M            @ &790  >&PO=V]R:W-H965T<R]S:&5E=#0Q+GAM;%!+ 0(4
M Q0    ( /6-_TKM.(4D,0(  ((&   9              "  29H  !X;"]W
M;W)K<VAE971S+W-H965T-#(N>&UL4$L! A0#%     @ ]8W_2JQ1SI[+ @
M] H  !D              ( !CFH  'AL+W=O<FMS:&5E=',O<VAE970T,RYX
M;6Q02P$"% ,4    " #UC?]*-?H?UI\"  !T"0  &0              @ &0
M;0  >&PO=V]R:W-H965T<R]S:&5E=#0T+GAM;%!+ 0(4 Q0    ( /6-_TK#
M&G)RHP(  '4*   9              "  69P  !X;"]W;W)K<VAE971S+W-H
M965T-#4N>&UL4$L! A0#%     @ ]8W_2A_25?,P @  9@8  !D
M     ( !0',  'AL+W=O<FMS:&5E=',O<VAE970T-BYX;6Q02P$"% ,4
M" #UC?]*OE$>*R0"   %!@  &0              @ &G=0  >&PO=V]R:W-H
M965T<R]S:&5E=#0W+GAM;%!+ 0(4 Q0    ( /6-_TK%$\"/IP$  )P#   9
M              "  0)X  !X;"]W;W)K<VAE971S+W-H965T-#@N>&UL4$L!
M A0#%     @ ]8W_2H>O/2X/,   &,H  !0              ( !X'D  'AL
M+W-H87)E9%-T<FEN9W,N>&UL4$L! A0#%     @ ]8W_2HUA6^Q& @  60L
M  T              ( !(:H  'AL+W-T>6QE<RYX;6Q02P$"% ,4    " #U
MC?]*J[^I%,L#  ""'P  #P              @ &2K   >&PO=V]R:V)O;VLN
M>&UL4$L! A0#%     @ ]8W_2FO7?"O/ 0  =1T  !H              ( !
MBK   'AL+U]R96QS+W=O<FMB;V]K+GAM;"YR96QS4$L! A0#%     @ ]8W_
M2AE[T@[! 0  =AT  !,              ( !D;(  %M#;VYT96YT7U1Y<&5S
;72YX;6Q02P4&     #D .0"!#P  @[0

end
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>61
<FILENAME>Show.js
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
/**
 * Rivet Software Inc.
 *
 * @copyright Copyright (c) 2006-2011 Rivet Software, Inc. All rights reserved.
 * Version 2.4.0.3
 *
 */

var Show = {};
Show.LastAR = null,

Show.hideAR = function(){
	Show.LastAR.style.display = 'none';
};

Show.showAR = function ( link, id, win ){
	if( Show.LastAR ){
		Show.hideAR();
	}

	var ref = link;
	do {
		ref = ref.nextSibling;
	} while (ref && ref.nodeName != 'TABLE');

	if (!ref || ref.nodeName != 'TABLE') {
		var tmp = win ?
			win.document.getElementById(id) :
			document.getElementById(id);

		if( tmp ){
			ref = tmp.cloneNode(true);
			ref.id = '';
			link.parentNode.appendChild(ref);
		}
	}

	if( ref ){
		ref.style.display = 'block';
		Show.LastAR = ref;
	}
};

Show.toggleNext = function( link ){
	var ref = link;

	do{
		ref = ref.nextSibling;
	}while( ref.nodeName != 'DIV' );

	if( ref.style &&
		ref.style.display &&
		ref.style.display == 'none' ){
		ref.style.display = 'block';

		if( link.textContent ){
			link.textContent = link.textContent.replace( '+', '-' );
		}else{
			link.innerText = link.innerText.replace( '+', '-' );
		}
	}else{
		ref.style.display = 'none';

		if( link.textContent ){
			link.textContent = link.textContent.replace( '-', '+' );
		}else{
			link.innerText = link.innerText.replace( '-', '+' );
		}
	}
};
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>62
<FILENAME>report.css
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
/* Updated 2009-11-04 */
/* v2.2.0.24 */

/* DefRef Styles */
..report table.authRefData{
	background-color: #def;
	border: 2px solid #2F4497;
	font-size: 1em;
	position: absolute;
}

..report table.authRefData a {
	display: block;
	font-weight: bold;
}

..report table.authRefData p {
	margin-top: 0px;
}

..report table.authRefData .hide {
	background-color: #2F4497;
	padding: 1px 3px 0px 0px;
	text-align: right;
}

..report table.authRefData .hide a:hover {
	background-color: #2F4497;
}

..report table.authRefData .body {
	height: 150px;
	overflow: auto;
	width: 400px;
}

..report table.authRefData table{
	font-size: 1em;
}

/* Report Styles */
..pl a, .pl a:visited {
	color: black;
	text-decoration: none;
}

/* table */
..report {
	background-color: white;
	border: 2px solid #acf;
	clear: both;
	color: black;
	font: normal 8pt Helvetica, Arial, san-serif;
	margin-bottom: 2em;
}

..report hr {
	border: 1px solid #acf;
}

/* Top labels */
..report th {
	background-color: #acf;
	color: black;
	font-weight: bold;
	text-align: center;
}

..report th.void	{
	background-color: transparent;
	color: #000000;
	font: bold 10pt Helvetica, Arial, san-serif;
	text-align: left;
}

..report .pl {
	text-align: left;
	vertical-align: top;
	white-space: normal;
	width: 200px;
	white-space: normal; /* word-wrap: break-word; */
}

..report td.pl a.a {
	cursor: pointer;
	display: block;
	width: 200px;
	overflow: hidden;
}

..report td.pl div.a {
	width: 200px;
}

..report td.pl a:hover {
	background-color: #ffc;
}

/* Header rows... */
..report tr.rh {
	background-color: #acf;
	color: black;
	font-weight: bold;
}

/* Calendars... */
..report .rc {
	background-color: #f0f0f0;
}

/* Even rows... */
..report .re, .report .reu {
	background-color: #def;
}

..report .reu td {
	border-bottom: 1px solid black;
}

/* Odd rows... */
..report .ro, .report .rou {
	background-color: white;
}

..report .rou td {
	border-bottom: 1px solid black;
}

..report .rou table td, .report .reu table td {
	border-bottom: 0px solid black;
}

/* styles for footnote marker */
..report .fn {
	white-space: nowrap;
}

/* styles for numeric types */
..report .num, .report .nump {
	text-align: right;
	white-space: nowrap;
}

..report .nump {
	padding-left: 2em;
}

..report .nump {
	padding: 0px 0.4em 0px 2em;
}

/* styles for text types */
..report .text {
	text-align: left;
	white-space: normal;
}

..report .text .big {
	margin-bottom: 1em;
	width: 17em;
}

..report .text .more {
	display: none;
}

..report .text .note {
	font-style: italic;
	font-weight: bold;
}

..report .text .small {
	width: 10em;
}

..report sup {
	font-style: italic;
}

..report .outerFootnotes {
	font-size: 1em;
}
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>64
<FILENAME>FilingSummary.xml
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<XML>
<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>71</ContextCount>
  <ElementCount>173</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>32</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>101 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>103 - Statement - Condensed Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/StatementOfIncome</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>104 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassified</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>105 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>106 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/StatementOfCashFlowsIndirect</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>107 - Disclosure - Business and Organization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNatureOfOperations</Role>
      <ShortName>Business and Organization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>108 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>109 - Disclosure - Recently Adopted Accounting Standard</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock</Role>
      <ShortName>Recently Adopted Accounting Standard</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>110 - Disclosure - New Accounting Standards Not Yet Adopted</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted</Role>
      <ShortName>New Accounting Standards Not Yet Adopted</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>111 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>112 - Disclosure - Prepaid Expenses and Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock</Role>
      <ShortName>Prepaid Expenses and Other Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>113 - Disclosure - Accrued Expenses and Other Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock</Role>
      <ShortName>Accrued Expenses and Other Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>114 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>115 - Disclosure - Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlock</Role>
      <ShortName>Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>116 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>117 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>118 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>119 - Disclosure - Seasonality</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSeasonalityDisclosureTextBlock</Role>
      <ShortName>Seasonality</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>120 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>121 - Disclosure - Subsequent Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock</Role>
      <ShortName>Subsequent Event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>122 - Disclosure - Financial Instruments (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsFinancialInstrumentsDisclosureTextBlockPolicies</Role>
      <ShortName>Financial Instruments (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>123 - Disclosure - Recently Adopted Accounting Standard (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlockTables</Role>
      <ShortName>Recently Adopted Accounting Standard (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>124 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>125 - Disclosure - Prepaid Expenses and Other Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlockTables</Role>
      <ShortName>Prepaid Expenses and Other Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsPrepaidAndOtherCurrentAssetsDisclosureTextBlock</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>126 - Disclosure - Accrued Expenses and Other Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables</Role>
      <ShortName>Accrued Expenses and Other Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>127 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>128 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>129 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trex.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>130 - Disclosure - Business and Organization - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureBusinessAndOrganizationAdditionalInformation</Role>
      <ShortName>Business and Organization - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>131 - Disclosure - Recently Adopted Accounting Standard - Schedule of Previously Reported Quarterly Data (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureRecentlyAdoptedAccountingStandardScheduleOfPreviouslyReportedQuarterlyData</Role>
      <ShortName>Recently Adopted Accounting Standard - Schedule of Previously Reported Quarterly Data (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>132 - Disclosure - Inventories - Summary of Inventories, at LIFO Value (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureInventoriesSummaryOfInventoriesAtLIFOValue</Role>
      <ShortName>Inventories - Summary of Inventories, at LIFO Value (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>133 - Disclosure - Inventories - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureInventoriesAdditionalInformation</Role>
      <ShortName>Inventories - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>134 - Disclosure - Prepaid Expenses and Other Assets - Summary of Prepaid Expenses and Other Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosurePrepaidExpensesAndOtherAssetsSummaryOfPrepaidExpensesAndOtherAssets</Role>
      <ShortName>Prepaid Expenses and Other Assets - Summary of Prepaid Expenses and Other Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>135 - Disclosure - Accrued Expenses and Other Liabilities - Summary of Accrued Expenses and Other Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureAccruedExpensesAndOtherLiabilitiesSummaryOfAccruedExpensesAndOtherLiabilities</Role>
      <ShortName>Accrued Expenses and Other Liabilities - Summary of Accrued Expenses and Other Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>136 - Disclosure - Debt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureDebtAdditionalInformation</Role>
      <ShortName>Debt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>137 - Disclosure - Stockholders' Equity - Computation of Basic and Diluted Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityComputationOfBasicAndDilutedEarningsPerShare</Role>
      <ShortName>Stockholders' Equity - Computation of Basic and Diluted Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>138 - Disclosure - Stockholders' Equity - Antidilutive Securities Excluded from Computation of Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShare</Role>
      <ShortName>Stockholders' Equity - Antidilutive Securities Excluded from Computation of Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>139 - Disclosure - Stockholders' Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation</Role>
      <ShortName>Stockholders' Equity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>140 - Disclosure - Stock-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>141 - Disclosure - Stock-Based Compensation - Summary of Assumptions Used to Estimate Fair Value of Each SAR (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfAssumptionsUsedToEstimateFairValueOfEachSAR</Role>
      <ShortName>Stock-Based Compensation - Summary of Assumptions Used to Estimate Fair Value of Each SAR (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>142 - Disclosure - Stock-Based Compensation - Summary of Stock-Based Compensation Grants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrants</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock-Based Compensation Grants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>143 - Disclosure - Stock-Based Compensation - Summary of Stock-Based Compensation Grants (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationGrantsParenthetical</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock-Based Compensation Grants (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>144 - Disclosure - Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureStockBasedCompensationSummaryOfStockBasedCompensationExpense</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>145 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>146 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>147 - Disclosure - Commitments and Contingencies - Summary of Liability Related to Lease (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfLiabilityRelatedToLease</Role>
      <ShortName>Commitments and Contingencies - Summary of Liability Related to Lease (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>148 - Disclosure - Commitments and Contingencies - Summary of Reconciliation of Company's Warranty Reserve that Represents Amounts Accrued for Surface Flaking Claims (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfReconciliationOfCompanysWarrantyReserveThatRepresentsAmountsAccruedForSurfaceFlakingClaims</Role>
      <ShortName>Commitments and Contingencies - Summary of Reconciliation of Company's Warranty Reserve that Represents Amounts Accrued for Surface Flaking Claims (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="trex-20170630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>149 - Disclosure - Subsequent Event - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trex.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation</Role>
      <ShortName>Subsequent Event - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>trex-20170630.xml</File>
    <File>trex-20170630.xsd</File>
    <File>trex-20170630_cal.xml</File>
    <File>trex-20170630_def.xml</File>
    <File>trex-20170630_lab.xml</File>
    <File>trex-20170630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
</XML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>ZIP
<SEQUENCE>66
<FILENAME>0001193125-17-242588-xbrl.zip
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 0001193125-17-242588-xbrl.zip
M4$L#!!0    ( /6-_TKFNH&@-H@  &^^!0 1    =')E>"TR,#$W,#8S,"YX
M;6SLO6ESXTB.,/R](^H_\/5.;U1%D"K>1_5./4%=O=ZIMFMM]QS[I8*64C:G
M*5)#4K8UO_X%,I.71-FR+,F4S8W9+DLB,P$D$D B<?S7_WN8!L(=B1,_"O]\
MHG3D$X&$HVCLAS=_/IDGDI>,?/]$2%(O''M!%)(_GRQ(<O+_OG[XZ;_^/TD2
M^L-+X>\C$I#82XEP&N*#(R+TH]%\2L)4D(3;-)U]^?SY_OZ^,YXDHZ@SBJ:?
M)WX(S_E>("4DOO-')/DL2%(VZ%\9/%\$P>RH6L<L_701S</Q%\$H?=6+B9?"
MX\(80/@BJ+)B2;(EJ?J5*G_1[2^:\7_EIZ/9(O9O;E/AX^@3?1B #4,2!&0A
M##.P1.';MUY'<(- N,"'$^&"(*1DW.%C/5S'@0#$"Y,_GY10Q*\[47SS695E
M[;//Z7'"GOR"OP://!_XX1_77E(\CU]4GK_7Z-.*XSB?Z:_9HWX2Z:IB/08,
M>R(?._'K1H9'E<]__^W;Y>B63#UI&0-@B1O/F^5O3KSDFK['?_C,R*](FI*]
M,B;%1!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^1%;XOQV>F;+1$SIX4.8F7_6"T2S"AE;[+M?[D1
MJ_:]@)FCA)$5G[%\+TC,[_66N3YJZGS'I,4LZH=LO0#LQF9<XD0B><5P5A$P
M^:TFG%HFZ8]+M_#EK[=\WE*V/K/B]&3L)Q<\?X9HL:3[<+2!&"Q@_,=;NC%W
M3E U6(W29->!JWL?V&XF=? %S.XPVXOL=KEECGI@GUVYOK%/6]/U^MJ3* 6'
MGLI0K;B'F;BS!%%E%OIQ%"I\C?*=6!GK9V<U3B$@C"I*:E>7[RJF*"\WE1[#
MW1]]=W^J/L[9;0BEYT.-'C_G\2QZS>_0@LU^'&.MGZVM"]BPLZ4 F?.'GL?^
MSHTGZ8N1ZIXUQ6',\CJ!+*'/"2-,OT?ZU.#UEE5M9T8DJ;Q?V62DDY9JC:"S
MW?>D$575S7=V\?G]AW",JGP6O2-771Q3V+Y'[VS4>1>I1U'I[ZX8L<S!2?_G
M_P%02P$"% ,4    " #UC?]*YKJ!H#:(  !OO@4 $0              @ $
M    =')E>"TR,#$W,#8S,"YX;6Q02P$"% ,4    " #UC?]*^/V 5IX.  #K
MF   $0              @ %EB   =')E>"TR,#$W,#8S,"YX<V102P$"% ,4
M    " #UC?]*J-X'@S80  ! U0  %0              @ $REP  =')E>"TR
M,#$W,#8S,%]C86PN>&UL4$L! A0#%     @ ]8W_2@;,1E*7&0  L; ! !4
M             ( !FZ<  '1R97@M,C Q-S V,S!?9&5F+GAM;%!+ 0(4 Q0
M   ( /6-_TK7TT>2,%    =?!  5              "  67!  !T<F5X+3(P
M,3<P-C,P7VQA8BYX;6Q02P$"% ,4    " #UC?]*OM"5HN@I   :(@, %0
M            @ '($0$ =')E>"TR,#$W,#8S,%]P<F4N>&UL4$L%!@     &
-  8 B@$  .,[ 0    $!

end
</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
