7Baggers

Matrix Service Company
(NASDAQ:MTRX) 

MTRX stock logo

Matrix Service Company provides engineering, fabrication, infrastructure, construction, and maintenance services primarily to the oil, gas, power, petrochemical, industrial, agricultural, mining, and minerals markets in the United States, Canada, South Korea, Australia, and internationally. The comp...

Founded: 1984
Full Time Employees: 2,900
Sector: Energy
Industry: Oil & Gas Equipment & Services

Share this website to your friends
• Market Cap:
• Exchange:
• Shs Outstanding:
• Employees:
• Beta:
• Return on Equity (ROE) ttm:
• Return on Assets (ROA) ttm:
• EPS ttm:
• Book value per Share:
• Cash per Share:
• Current ast per Share:
• P/E ttm:
• P/E forward:
• P/E ttm high:
• P/E ttm low:
• P/S ttm:
• P/B ttm:
• P/FCF ttm:
• PEG ratio:
• Cash Ratio ttm:
• Quick Ratio ttm:
• Current Ratio ttm:
• Gross Mgn ttm:
• EBITDA Mgn ttm:
• Operating Mgn ttm:
• Net Income Mgn ttm:
• Trailing Div yield:
• Forward Div yield:
• Payout Ratio ttm:
• Ex-Dividend date:
• Target Price High:
• Target Price Low:
• Target Price Mean:
• Number of Analysts:
• Debt Ratio ttm:
• Debt to Equity ttm:
• Total Net Debt:
At a glance:
Bull Thesis:
Bear Thesis:
Main Competitors:
Moat:
Income Statements:
Quarterly
Annual
    Unit: USD2026-03-31 2025-12-31 2025-09-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 2014-03-31 2013-12-31 2013-09-30 2013-06-30 2013-03-31 2012-12-31 2012-09-30 2012-06-30 2012-03-31 2011-12-31 2011-09-30 2011-06-30 2011-03-31 2010-12-31 2010-09-30 2010-06-30 2010-03-31 2009-12-31 2009-09-30 2009-05-31 2009-02-28 2008-11-30 2008-08-31 2008-05-31 2008-02-29 2007-11-30 2007-08-31 2007-05-31 2007-02-28 2006-11-30 2006-08-31 2006-05-31 2006-02-28 2005-11-30 2005-08-31 2005-05-31 2005-02-28 2004-11-30 2004-08-31 2004-05-31 2004-02-29 2003-11-30 2003-08-31 2003-05-31 2003-02-28 2002-11-30 
                                                                                                 
      revenue
    206,709,000 210,508,000 211,884,000 200,161,000 187,169,000 165,579,000 189,499,000 166,013,000 175,042,000 197,659,000 205,854,000 186,895,000 193,840,000 208,431,000 200,719,000 177,003,000 161,965,000 168,093,000 174,899,000 148,260,000 167,468,000 182,771,000 195,837,000 248,327,000 318,677,000                                                                     
      yoy
    10.44% 27.13% 11.81% 20.57% 6.93% -16.23% -7.94% -11.17% -9.70% -5.17% 2.56% 5.59% 19.68% 24.00% 14.76% 19.39% -3.29% -8.03% -10.69% -40.30% -47.45%                                                                         
      qoq
    -1.80% -0.65% 5.86% 6.94% 13.04% -12.62% 14.15% -5.16% -11.44% -3.98% 10.14% -3.58% -7.00% 3.84% 13.40% 9.28% -3.65% -3.89% 17.97% -11.47% -8.37% -6.67% -21.14% -22.08%                                                                      
      cost of revenue
    189,556,000 197,373,000 197,702,000 187,311,000 176,277,000 157,766,000 177,052,000 160,435,000 164,453,000 185,800,000 191,159,000 182,476,000 195,142,000 195,423,000 199,861,000 178,766,000 158,758,000 171,601,000 173,357,000 146,700,000 152,155,000 168,421,000 176,604,000 227,850,000 288,676,000                                                                     
      gross profit
    17,153,000 13,135,000 14,182,000 12,850,000 10,892,000 7,813,000 12,447,000 5,578,000 10,589,000 11,859,000 14,695,000 4,419,000 -1,302,000 13,008,000 858,000 -1,763,000 3,207,000 -3,508,000 1,542,000 1,560,000 15,313,000 14,350,000 19,233,000 20,477,000 30,001,000 32,465,000 43,738,000 36,906,000 27,886,000 23,421,000 21,451,000 14,891,000 26,703,000 28,891,000 23,127,000 -2,614,000 28,212,000 32,278,000 34,099,000 27,303,000 30,005,000 34,584,000 40,404,000 2,632,000 15,955,000 28,379,000 36,903,000 39,944,000 34,150,000 25,476,000 26,999,000 23,126,000 22,333,000 22,244,000 18,656,000 19,771,000 23,098,000 18,093,000 20,874,000 18,570,000 19,768,000 15,702,000 3,769,000 13,293,000 18,442,000 17,418,000 23,322,000 17,961,000 26,369,000 26,671,000 23,966,000 21,001,000 11,246,000 18,904,000 11,753,000 18,924,000 21,902,000 13,307,000 12,272,000 11,665,000 12,959,000 10,183,000 7,463,000 5,874,000 10,968,000 6,714,000 8,334,000 11,821,000 13,078,000 13,938,000 12,007,000 6,033,000 7,587,000 
      yoy
    57.48% 68.12% 13.94% 130.37% 2.86% -34.12% -15.30% 26.23% -913.29% -8.83% 1612.70% -350.65% -140.60% -470.81% -44.36% -213.01% -79.06% -124.45% -91.98% -92.38% -48.96% -55.80% -56.03% -44.52% 7.58% 38.61% 103.90% 147.84% 4.43% -18.93% -7.25% -669.66% -5.35% -10.49% -32.18% -109.57% -5.98% -6.67% -15.60% 937.35% 88.06% 21.86% 9.49% -93.41% -53.28% 11.40% 36.68% 72.72% 52.91% 14.53% 44.72% 16.97% -3.31% 22.94% -10.63% 6.47% 16.85% 15.23% 453.83% 39.70% 7.19% -9.85% -83.84% -25.99% -30.06% -34.69% -2.69% -14.48% 134.47% 41.09% 103.91% 10.98% -48.65% 42.06% -4.23% 62.23% 69.01% 30.68% 64.44% 98.59% 18.15% 51.67% -10.45% -50.31% -16.13% -51.83% -30.59% 95.94% 72.37%     
      qoq
    30.59% -7.38% 10.37% 17.98% 39.41% -37.23% 123.14% -47.32% -10.71% -19.30% 232.54% -439.40% -110.01% 1416.08% -148.67% -154.97% -191.42% -327.50% -1.15% -89.81% 6.71% -25.39% -6.08% -31.75% -7.59% -25.77% 18.51% 32.35% 19.06% 9.18% 44.05% -44.23% -7.57% 24.92% -984.74% -109.27% -12.60% -5.34% 24.89% -9.01% -13.24% -14.40% 1435.11% -83.50% -43.78% -23.10% -7.61% 16.97% 34.05% -5.64% 16.75% 3.55% 0.40% 19.23% -5.64% -14.40% 27.66% -13.32% 12.41% -6.06% 25.89% 316.61% -71.65% -27.92% 5.88% -25.32% 29.85% -31.89% -1.13% 11.29% 14.12% 86.74% -40.51% 60.84% -37.89% -13.60% 64.59% 8.43% 5.20% -9.99% 27.26% 36.45% 27.05% -46.44% 63.36% -19.44% -29.50% -9.61% -6.17% 16.08% 99.02% -20.48%  
      gross margin %
    8.30% 6.24% 6.69% 6.42% 5.82% 4.72% 6.57% 3.36% 6.05% 6.00% 7.14% 2.36% -0.67% 6.24% 0.43% -1.00% 1.98% -2.09% 0.88% 1.05% 9.14% 7.85% 9.82% 8.25% 9.41% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% 
      selling, general and administrative expenses
    15,215,000 15,112,000 16,334,000 17,726,000 17,286,000 18,580,000 17,293,000 19,948,000 15,731,000 17,113,000 17,031,000 16,862,000 17,545,000 16,811,000 18,098,000 17,041,000 15,922,000 16,629,000 17,725,000 17,179,000 16,724,000 18,128,000 19,702,000 19,718,000 23,165,000 23,691,000 26,349,000 24,112,000 22,359,000 21,201,000 20,565,000 20,753,000 21,529,000 21,570,000 19,596,000 18,596,000 19,975,000 17,977,000 19,600,000 20,956,000 25,070,000 19,483,000 22,030,000 17,080,000 19,626,000 19,832,000 22,694,000 21,125,000 19,333,000 14,714,000 15,412,000 14,695,000 13,561,000 14,320,000 12,246,000 12,356,000 11,898,000 11,483,000 11,359,000 10,930,000 11,136,000 10,589,000 10,458,000 13,248,000 11,376,000 10,087,000 12,252,000 10,916,000 11,776,000 12,062,000 9,774,000 10,905,000 11,841,000 8,046,000 8,123,000 8,253,000 8,703,000 7,684,000 7,033,000 7,048,000 7,487,000 7,207,000 7,386,000 18,076,000 7,756,000  7,216,000 7,657,000 7,228,000 6,841,000 6,797,000 4,556,000 4,824,000 
      restructuring costs and other
    2,986,000                                                                                             
      operating income
    -1,048,000 -2,179,000 -5,500,000 -5,000,000 -6,394,000 -10,767,000 -5,347,000 -14,370,000 -5,142,000 -5,254,000 -2,597,000 -12,759,000 -32,441,000 -5,090,000 -18,164,000 -35,538,000 -13,410,000 -20,742,000 -16,354,000 -17,479,000 -6,456,000 -3,458,000 -7,920,000 -5,800,000 -31,679,000 8,774,000 17,389,000 12,794,000 5,527,000 2,220,000 -17,112,000 -5,862,000 5,174,000 7,321,000 3,531,000 -21,210,000 8,237,000 14,301,000 14,499,000 6,347,000 4,935,000 15,101,000 18,374,000 -14,448,000 -3,671,000 8,547,000 14,209,000 18,819,000 14,817,000 10,762,000 11,587,000 8,431,000 8,772,000 7,924,000 6,410,000 7,415,000 11,200,000 6,610,000 9,515,000 7,640,000 8,632,000 5,113,000 -6,689,000 45,000 7,066,000 7,331,000 11,070,000 7,045,000 14,593,000 14,609,000 14,192,000 10,096,000 -595,000 10,858,000 3,603,000 10,671,000 13,153,000 5,623,000 5,306,000 4,381,000 5,357,000 2,654,000 -4,595,000 -37,204,000 3,239,000 -594,000 1,118,000 4,148,000 5,796,000 7,099,000 6,492,000 1,477,000 2,763,000 
      yoy
    -83.61% -79.76% 2.86% -65.21% 24.35% 104.93% 105.89% 12.63% -84.15% 3.22% -85.70% -64.10% 141.92% -75.46% 11.07% 103.32% 107.71% 499.83% 106.49% 201.36% -79.62% -139.41% -145.55% -145.33% -673.17% 295.23% -201.62% -318.25% 6.82% -69.68% -584.62% -72.36% -37.19% -48.81% -75.65% -434.17% 66.91% -5.30% -21.09% -143.93% -234.43% 76.68% 29.31% -176.77% -124.78% -20.58% 22.63% 123.21% 68.91% 35.82% 80.76% 13.70% -21.68% 19.88% -32.63% -2.95% 29.75% 29.28% -242.25% 16877.78% 22.16% -30.26% -160.42% -99.36% -51.58% -49.82% -22.00% -30.22% -2552.61% 34.55% 293.89% -5.39% -104.52% 93.10% -32.10% 143.57% 145.53% 111.87% -215.47% -111.78% 65.39% -546.80% -511.00% -996.91% -44.12% -108.37% -82.78% 180.84% 109.77%     
      qoq
    -51.90% -60.38% 10.00% -21.80% -40.61% 101.37% -62.79% 179.46% -2.13% 102.31% -79.65% -60.67% 537.35% -71.98% -48.89% 165.01% -35.35% 26.83% -6.44% 170.74% 86.70% -56.34% 36.55% -81.69% -461.06% -49.54% 35.92% 131.48% 148.96% -112.97% 191.91% -213.30% -29.33% 107.34% -116.65% -357.50% -42.40% -1.37% 128.44% 28.61% -67.32% -17.81% -227.17% 293.57% -142.95% -39.85% -24.50% 27.01% 37.68% -7.12% 37.43% -3.89% 10.70% 23.62% -13.55% -33.79% 69.44% -30.53% 24.54% -11.49% 68.82% -176.44% -14964.44% -99.36% -3.61% -33.78% 57.13% -51.72% -0.11% 2.94% 40.57% -1796.81% -105.48% 201.36% -66.24% -18.87% 133.91% 5.97% 21.11% -18.22% 101.85% -157.76% -87.65% -1248.63% -645.29% -153.13% -73.05% -28.43% -18.35% 9.35% 339.54% -46.54%  
      operating margin %
    -0.51% -1.04% -2.60% -2.50% -3.42% -6.50% -2.82% -8.66% -2.94% -2.66% -1.26% -6.83% -16.74% -2.44% -9.05% -20.08% -8.28% -12.34% -9.35% -11.79% -3.86% -1.89% -4.04% -2.34% -9.94% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% -Infinity% Infinity% Infinity% Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% -Infinity% Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% 
      other income:
                                                                                                 
      interest expense
    -85,000 -118,000 -127,000 -134,000 -145,000 -89,000 -343,000 -143,000 -319,000 -325,000 -468,000 -268,000 -916,000 -372,000 -246,000 -204,000 -502,000 -1,999,000 -504,000 -322,000 -358,000 -375,000 -366,000 -398,000 -444,000 -389,000 -342,000 -301,000 -361,000 -292,000 -520,000 -643,000 -819,000 -618,000 -638,000 -833,000 -497,000 -243,000 -96,000 -241,000 -252,000 -263,000 -290,000 -294,000 -300,000 -351,000 -538,000 -324,000 -351,000 -223,000 -195,000 -205,000 -217,000 -183,000 -197,000 -174,000 -166,000 -277,000 -201,000 -227,000 -197,000 -170,000 -147,000 -163,000 -188,000 -174,000 -187,000 -139,000 -123,000 -114,000 -130,000 -183,000 -273,000 -304,000 -423,000 -475,000 -759,000 -746,000 -813,000 -1,537,000 -2,638,000 -2,777,000 -2,088,000 -1,637,000 -1,080,000 -901,000 -670,000 -654,000 -703,000 -672,000 -780,000 -22,000 -94,000 
      interest income
    2,190,000 1,543,000 1,802,000 1,518,000 1,578,000 1,572,000 862,000 165,000 162,000 150,000 126,000 94,000 46,000 24,000 21,000 19,000 29,000 21,000 30,000 25,000 38,000 33,000 23,000 356,000 417,000 474,000 304,000 307,000 274,000 282,000 147,000 130,000 65,000 39,000 21,000 73,000 26,000 12,000 43,000 56,000 60,000 31,000 78,000 40,000 308,000 42,000 55,000 44,000 8,000 5,000 7,000 5,000 12,000 8,000 8,000 12,000 3,000 3,000 6,000 43,000 9,000 13,000 9,000 10,000 17,000 43,000 49,000 68,000 104,000 109,000 25,000 26,000 15,000 16,000 2,000 79,000 29,000 29,000 33,000 46,000 2,000 7,000 1,000  1,000  14,000 1,000 3,000 11,000 40,000 6,000 1,000 
      other
    -187,000 23,000 231,000 182,000 -556,000 61,000 411,000 -235,000 2,454,000 2,262,000 2,566,000 -116,000 484,000 -1,074,000 31,898,000 677,000 -60,000 -83,000 68,000 -157,000 973,000 1,033,000 676,000 -767,000 396,000 3,000 29,000 58,000 -22,000 546,000 166,000 370,000 -135,000 149,000 -337,000 -51,000 47,000 7,000 -256,000 -109,000 -148,000 -54,000 -123,000 252,000 -28,000 57,000 -325,000 9,000 -68,000 -88,000 -123,000 43,000 -7,000 57,000 73,000 -55,000 301,000 -676,000 -155,000 485,000 83,000 27,000 -502,000 208,000 461,000 83,000 -57,000 -179,000 175,000 736,000 -116,000 52,000 47,000 -10,000 50,000 -24,000 198,000 104,000 1,000 4,000 838,000 730,000 302,000 84,000 22,000 -8,000 90,000 306,000 117,000 66,000 56,000 272,000 116,000 
      income before income tax expense
    870,000      -5,148,750 -14,583,000              -2,767,000 -7,587,000 -6,609,000 -31,310,000 8,862,000 17,380,000 12,858,000 5,418,000 2,756,000 -17,319,000 -6,005,000 4,285,000 6,891,000 2,577,000 -22,021,000 7,813,000 14,077,000 14,190,000 6,053,000 4,595,000 14,815,000 18,039,000 -14,450,000 -3,691,000 8,295,000 13,401,000 18,548,000 14,406,000 10,456,000 11,276,000 8,274,000 8,560,000 7,806,000 6,294,000 7,198,000 11,338,000 5,660,000 9,165,000 7,941,000 8,527,000 4,983,000 -7,329,000 100,000 7,356,000                  -9,519,500 -38,757,000 2,182,000 -1,503,000 3,879,500 3,801,000 5,213,000 6,504,000 1,770,500 1,733,000 2,786,000 
      provision for federal, state and foreign income taxes
    35,000 163,000 69,000  16,000    6,000  -37,000 -363,000   53,000 -147,000 10,976,000     270,000 -1,865,000 -1,114,000 -3,302,000 2,711,000 4,568,000 3,925,000 1,486,000 451,000 -2,636,000 -852,000 -247,000 3,067,000 3,531,000 -8,521,000 2,563,000 4,735,000 5,056,000 2,507,000 1,477,000 5,076,000 6,819,000 -1,508,000 1,155,000 3,624,000 5,179,000 6,756,000 4,095,000 3,904,000 3,909,000 1,753,000 3,124,000 3,122,000 4,508,000 2,336,000 4,307,000 2,151,000 3,482,000 3,018,000 3,240,000 1,894,000 -3,100,000 37,000 2,823,000 2,774,000 4,130,000 2,583,000 4,621,000 5,836,000 5,105,000 3,989,000 -1,016,000 4,224,000 1,293,000 4,101,000 4,547,000 2,002,000                
      net income
    835,000 -894,000 -3,663,000 -3,434,000 -5,533,000 -9,223,000 -4,377,000 -14,581,000 -2,851,000 -3,167,000 -336,000 -12,686,000 -32,827,000 -6,512,000 13,456,000 -34,899,000 -24,919,000 -17,538,000 -10,723,000 -12,873,000 -4,591,000 -3,037,000 -5,722,000 -5,495,000 -28,008,000 6,151,000 12,812,000 8,933,000 3,932,000 2,305,000 -14,683,000 -5,153,000 4,532,000 3,824,000 -954,000 -13,500,000 5,250,000 9,342,000 9,134,000 3,546,000 3,118,000 9,739,000 11,220,000 -12,942,000 -4,846,000 4,671,000 8,222,000 11,792,000 10,311,000 6,552,000 7,367,000 6,521,000 5,436,000 4,684,000 1,786,000 4,862,000 7,031,000 3,509,000 5,683,000 4,923,000 5,287,000 3,089,000 -4,229,000 63,000 4,533,000 4,509,000 6,745,000 4,212,000 10,128,000 9,504,000 8,866,000 6,002,000 210,000 6,336,000 1,939,000 6,150,000 8,074,000 3,008,000 3,339,000 1,771,000 2,168,000 375,000 -3,762,000 -35,469,000 1,293,000 -892,000 326,000 2,259,000 3,092,000 3,865,000 3,650,000 1,212,000 1,740,000 
      yoy
    -115.09% -90.31% -16.31% -76.45% 94.07% 191.22% 1202.68% 14.94% -91.32% -51.37% -102.50% -63.65% 31.73% -62.87% -225.49% 171.10% 442.78% 477.48% 87.40% 134.27% -83.61% -149.37% -144.66% -161.51% -812.31% 166.85% -187.26% -273.36% -13.24% -39.72% 1439.10% -61.83% -13.68% -59.07% -110.44% -480.71% 68.38% -4.08% -18.59% -127.40% -164.34% 108.50% 36.46% -209.75% -147.00% -28.71% 11.61% 80.83% 89.68% 39.88% 312.49% 34.12% -22.69% 33.49% -68.57% -1.24% 32.99% 13.60% -234.38% 7714.29% 16.63% -31.49% -162.70% -98.50% -55.24% -52.56% -23.92% -29.82% 4722.86% 50.00% 357.25% -2.41% -97.40% 110.64% -41.93% 247.26% 272.42% 702.13% -188.76% -104.99% 67.67% -142.04% -1253.99% -1670.12% -58.18% -123.08% -91.07% 86.39% 77.70%     
      qoq
    -193.40% -75.59% 6.67% -37.94% -40.01% 110.72% -69.98% 411.43% -9.98% 842.56% -97.35% -61.35% 404.10% -148.39% -138.56% 40.05% 42.09% 63.55% -16.70% 180.40% 51.17% -46.92% 4.13% -80.38% -555.34% -51.99% 43.42% 127.19% 70.59% -115.70% 184.94% -213.70% 18.51% -500.84% -92.93% -357.14% -43.80% 2.28% 157.59% 13.73% -67.98% -13.20% -186.69% 167.07% -203.75% -43.19% -30.27% 14.36% 57.37% -11.06% 12.97% 19.96% 16.05% 162.26% -63.27% -30.85% 100.37% -38.25% 15.44% -6.88% 71.16% -173.04% -6812.70% -98.61% 0.53% -33.15% 60.14% -58.41% 6.57% 7.20% 47.72% 2758.10% -96.69% 226.77% -68.47% -23.83% 168.42% -9.91% 88.54% -18.31% 478.13% -109.97% -89.39% -2843.16% -244.96% -373.62% -85.57% -26.94% -20.00% 5.89% 201.16% -30.34%  
      net income margin %
    0.40% -0.42% -1.73% -1.72% -2.96% -5.57% -2.31% -8.78% -1.63% -1.60% -0.16% -6.79% -16.94% -3.12% 6.70% -19.72% -15.39% -10.43% -6.13% -8.68% -2.74% -1.66% -2.92% -2.21% -8.79% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% -Infinity% Infinity% Infinity% -Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% -Infinity% -Infinity% Infinity% -Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% Infinity% 
      basic income per common share
    30                                                                                             
      diluted income per common share
    30                                                                                             
      weighted-average common shares outstanding:
                                                                                                 
      basic
    28,380,000 28,352,000 28,008,000 27,836,000 27,801,000 27,559,000 27,379,000 27,443,000 27,377,000 27,113,000 26,988,000 27,038,000 26,999,000 26,862,000 26,733,000 26,783,000 26,749,000 26,611,000 26,451,000 26,515,000 26,489,000 26,265,000 26,621,000 26,478,000 26,925,000 26,935,000 26,891,000 26,788,000 27,043,000 26,921,000 26,769,000 26,817,000 26,771,000 26,655,000 26,533,000 26,594,000 26,553,000 26,387,000 26,597,000 26,758,000 26,721,000 26,476,000 26,603,000 26,711,000 26,600,000 26,470,000 26,288,000 26,374,000 26,245,000 26,116,000 25,962,000 26,039,000 25,939,000 25,788,000 25,921,000 25,723,000 25,819,000 26,400,000 26,406,000 26,425,000 26,400,000 26,342,000 26,275,000 26,307,000 26,273,000 26,195,000 26,121,000 26,147,000 26,102,000 26,073,000 26,427,000 26,464,000 26,625,000 26,592,000 23,056,000 23,103,367,000 23,004,171,000 21,508,972,000 19,651,653,000 20,805,535,000 19,537,664,000 17,429,834,000 17,327,484,000 17,339,069 17,319,133 17,269,958 16,718,737,000 17,030,824 16,498,412 8,091,799 7,920,438,000 7,926,395 7,881,514 
      diluted
    28,533,000 28,352,000 28,008,000 27,836,000 27,801,000 27,559,000 27,379,000 27,443,000 27,377,000 27,113,000 26,988,000 27,038,000 26,999,000 26,862,000 26,733,000 26,783,000 26,749,000 26,611,000 26,451,000 26,515,000 26,489,000 26,265,000 26,621,000 26,478,000 26,925,000 27,575,000 27,587,000 27,417,000 27,582,000 27,589,000 26,769,000 26,817,000 27,078,000 26,762,000 26,533,000 26,594,000 26,832,000 26,796,000 27,100,000 27,054,000 27,248,000 27,050,000 27,177,000 26,711,000 27,156,000 27,134,000 26,976,000 27,040,000 26,884,000 26,647,000 26,358,000 26,411,000 26,204,000 26,148,000 26,298,000 26,079,000 26,111,000 26,722,000 26,686,000 26,723,000 26,628,000 26,549,000 26,499,000 26,521,000 26,459,000 26,437,000 26,390,000 26,322,000 26,400,000 26,473,000 26,875,000 26,870,000 27,131,000 27,083,000 26,752,000 26,787,536,000 26,589,115,000 26,547,276,000 25,741,676,000 26,560,079,000 25,693,625,000 17,654,336,000 17,327,484,000 17,339,069 17,605,025 17,269,958 17,615,497,000 17,839,007 17,543,707 8,664,920 8,355,019,000 8,357,395 8,262,355 
      restructuring costs
     202,000 3,348,000 124,000       261,000 316,000 1,278,000 1,287,000 924,000 -1,578,000 695,000 605,000 171,000 1,860,000 5,045,000 -320,000 7,451,000 6,559,000                                                                      
      loss before income tax expense
     -731,000 -3,594,000 -3,434,000 -5,517,000 -9,223,000   -2,845,000 -3,167,000 -373,000 -13,049,000 -32,827,000  13,509,000 -35,046,000 -13,943,000                                                                             
      basic loss per common share
     -30 -130 -120 -200 -330 -160 -530 -100 -120 -10 -470 -1,220 -240 510 -1,300 -930 -660 -195 -490 -170                                                                         
      diluted loss per common share
     -30 -130 -120 -200 -330 -160 -530 -100 -120 -10 -470 -1,220 -240 510 -1,300 -930 -660 -195 -490 -170                                                                         
      goodwill impairment
                12,316,000  4,578,000 18,312,000                                                                              
      benefit from federal, state and foreign income taxes
          1,000 -2,000           -1,500,500 -5,060,000 -1,212,000                                                                         
      loss before income tax benefit
                 -6,512,000    -22,803,000 -6,625,750 -17,933,000 -5,803,000                                                                         
      benefit for federal, state and foreign income taxes
                                                                                                 
      provision from federal, state and foreign income taxes
                     -5,265,000                                                                            
      goodwill and other intangible asset impairments
                          9,628,750                                                                       
      basic earnings per common share
                         -120 -220 -210 -1,040 230 480 330 150 90 -550 -190 170 140 -40 -520 200 350 350 160 200 380 410 -110 120 220 280 430 390 250 280 250 210 180 70 190 270 130 220 190 200 120 -160  170 170 260 160 390 360 340 230 10 240 70 270 350 140 170 90 110 20            
      diluted earnings per common share
                         -120 -220 -210 -1,040 220 460 330 140 80 -550 -190 170 140 -40 -520 200 350 340 160 200 370 400 -110 120 220 280 420 380 250 280 250 210 180 70 190 270 130 210 180 200 120 -160  170 170 260 160 380 360 340 220 10 230 70 240 310 120 140 80 100 20            
      goodwill and other intangible asset impairment
                            38,515,000                                                                     
      revenues
                             338,097,000 398,714,000 358,887,000 340,568,000 318,511,000 293,087,000 245,645,000 282,911,000 269,910,000 291,836,000 251,237,000 312,655,000 341,781,000 359,635,000 309,422,000 323,529,000 319,331,000 364,417,000 314,155,000 342,880,000 321,683,000 344,358,000 381,516,000 310,998,000 226,217,000 235,560,000 225,970,000 221,436,000 209,608,000 184,862,000 183,899,000 200,964,000 169,321,000 163,629,000 136,333,000 175,252,000 151,838,000 140,726,000 122,013,000 150,425,000 137,650,000 179,871,000 146,262,000 176,937,000 186,650,000 194,120,000 181,120,000 194,734,000 161,327,000 177,921,000 168,700,000 166,366,000 126,859,000 138,578,000 119,575,000 126,778,000 108,996,000 129,230,000 111,447,000 113,522,000 84,939,000 133,054,000 145,175,000 170,913,000 158,762,000 123,905,000 51,900,000 58,896,000 
      cost of revenues
                             305,632,000 354,976,000 321,981,000 312,682,000 295,090,000 271,636,000 230,754,000 256,208,000 241,019,000 268,709,000 253,851,000 284,443,000 309,503,000 325,536,000 282,119,000 293,524,000 284,747,000 324,013,000 311,523,000 326,925,000 293,304,000 307,455,000 341,572,000 276,848,000 200,741,000 208,561,000 202,844,000 199,103,000 187,364,000 166,206,000 164,128,000 177,866,000 151,228,000 142,755,000 117,763,000 155,484,000 136,136,000 136,957,000 108,720,000 131,983,000 120,232,000 156,549,000 128,301,000 150,568,000 159,979,000 170,154,000 160,119,000 183,488,000 142,423,000 166,168,000 149,776,000 144,464,000 113,552,000 126,306,000 107,910,000 113,819,000 98,813,000 121,767,000 105,573,000 102,554,000 78,225,000 124,720,000 133,354,000 157,835,000 145,681,000 112,542,000 45,867,000 51,309,000 
      less: net income attributable to noncontrolling interest
                                       321,000       304,000 -9,983,000 -8,132,000  666,000 396,000 5,000                                             
      net income attributable to matrix service company
                                  -14,683,000 -5,153,000   -954,000 -13,821,000 5,250,000 9,342,000 9,134,000 4,357,000 5,431,000 9,941,000 10,916,000 -2,959,000 3,286,000 5,914,000 7,556,000 11,396,000 10,306,000                                             
      less: net loss attributable to noncontrolling interest
                                          -831,500 -811,000 -2,313,000 -202,000    -1,243,000                                                
      income before income taxes
                                                                     7,283,000 10,875,000 6,795,000 14,749,000 15,340,000 13,971,000 9,991,000 -806,000 10,560,000 3,232,000 10,251,000 12,621,000 5,010,000 4,527,000 2,894,000 3,559,000 614,000            
      impairment and abandonment costs
                                                                                    70,000             
      restructuring
                                                                              27,000  46,000  -67,000 236,000 45,000 322,000            
      income tax provision
                                                                                  688,250 1,123,000 1,391,000 239,000            
      restructuring, impairment and abandonment
                                                                                      6,287,500 25,002,000 -27,000 175,000 17,000 16,000 54,000     
      provision for federal, state and foreign income tax expense
                                                                                      -752,500 -3,288,000 889,000  1,575,500 1,542,000 2,121,000 2,639,000 638,500 521,000 1,046,000 
      net earnings of joint venture
                                                                                             857,000    
      earnings per share of common stock:
                                                                                                 
      basic
                                                                                      -0.508 -2.05 0.07 -0.05 0.14 0.13 0.19 0.48 0.143 0.15 0.22 
      diluted
                                                                                      -0.508 -2.05 0.07 -0.05 0.13 0.13 0.18 0.45 0.138 0.15 0.21 
      weighted-average number of common shares:
                                                                                                 
      basic
    28,380,000 28,352,000 28,008,000 27,836,000 27,801,000 27,559,000 27,379,000 27,443,000 27,377,000 27,113,000 26,988,000 27,038,000 26,999,000 26,862,000 26,733,000 26,783,000 26,749,000 26,611,000 26,451,000 26,515,000 26,489,000 26,265,000 26,621,000 26,478,000 26,925,000 26,935,000 26,891,000 26,788,000 27,043,000 26,921,000 26,769,000 26,817,000 26,771,000 26,655,000 26,533,000 26,594,000 26,553,000 26,387,000 26,597,000 26,758,000 26,721,000 26,476,000 26,603,000 26,711,000 26,600,000 26,470,000 26,288,000 26,374,000 26,245,000 26,116,000 25,962,000 26,039,000 25,939,000 25,788,000 25,921,000 25,723,000 25,819,000 26,400,000 26,406,000 26,425,000 26,400,000 26,342,000 26,275,000 26,307,000 26,273,000 26,195,000 26,121,000 26,147,000 26,102,000 26,073,000 26,427,000 26,464,000 26,625,000 26,592,000 23,056,000 23,103,367,000 23,004,171,000 21,508,972,000 19,651,653,000 20,805,535,000 19,537,664,000 17,429,834,000 17,327,484,000 17,339,069 17,319,133 17,269,958 16,718,737,000 17,030,824 16,498,412 8,091,799 7,920,438,000 7,926,395 7,881,514 
      diluted
    28,533,000 28,352,000 28,008,000 27,836,000 27,801,000 27,559,000 27,379,000 27,443,000 27,377,000 27,113,000 26,988,000 27,038,000 26,999,000 26,862,000 26,733,000 26,783,000 26,749,000 26,611,000 26,451,000 26,515,000 26,489,000 26,265,000 26,621,000 26,478,000 26,925,000 27,575,000 27,587,000 27,417,000 27,582,000 27,589,000 26,769,000 26,817,000 27,078,000 26,762,000 26,533,000 26,594,000 26,832,000 26,796,000 27,100,000 27,054,000 27,248,000 27,050,000 27,177,000 26,711,000 27,156,000 27,134,000 26,976,000 27,040,000 26,884,000 26,647,000 26,358,000 26,411,000 26,204,000 26,148,000 26,298,000 26,079,000 26,111,000 26,722,000 26,686,000 26,723,000 26,628,000 26,549,000 26,499,000 26,521,000 26,459,000 26,437,000 26,390,000 26,322,000 26,400,000 26,473,000 26,875,000 26,870,000 27,131,000 27,083,000 26,752,000 26,787,536,000 26,589,115,000 26,547,276,000 25,741,676,000 26,560,079,000 25,693,625,000 17,654,336,000 17,327,484,000 17,339,069 17,605,025 17,269,958 17,615,497,000 17,839,007 17,543,707 8,664,920 8,355,019,000 8,357,395 8,262,355 
      selling, general and administrative costs
                                                                                         7,133,000        
      provision for federal, state and foreign income tax
                                                                                         -611,000        
      restructuring, impairment and abandonment cost
                                                                                             -2,000    
      goodwill amortization
                                                                                                 
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2026-03-31 2025-12-31 2025-09-30 2025-03-31 2024-12-31 2024-09-30 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 2014-03-31 2013-12-31 2013-09-30 2013-06-30 2013-03-31 2012-12-31 2012-09-30 2012-06-30 2012-03-31 2011-12-31 2011-09-30 2011-06-30 2011-03-31 2010-12-31 2010-09-30 2010-06-30 2010-03-31 2009-12-31 2009-09-30 2009-05-31 2009-02-28 2008-11-30 2008-08-31 2008-05-31 2008-02-29 2007-11-30 2007-08-31 2007-05-31 2007-02-28 2006-11-30 2006-08-31 2006-05-31 2006-02-28 2005-11-30 2005-08-31 2005-05-31 2005-02-28 2004-11-30 2004-08-31 2004-05-31 2004-02-29 2003-11-30 2003-08-31 2003-05-31 2003-02-28 2002-11-30 
                                                                                                 
        assets
                                                                                                 
        current assets:
                                                                                                 
        cash and cash equivalents
      233,021,000 198,964,000 192,307,000 185,541,000 156,777,000 124,610,000 47,160,000 27,359,000 54,812,000 48,204,000 31,464,000 14,342,000 52,371,000 34,092,000 65,040,000 34,678,000 83,878,000 73,751,000 93,481,000 82,175,000 100,036,000 87,503,000 110,495,000 139,889,000 89,715,000 49,676,000 71,489,000 74,736,000 64,057,000 46,885,000 74,087,000 46,085,000 43,805,000 39,697,000 66,230,000 35,579,000 71,656,000 73,403,000 82,431,000 69,180,000 79,239,000 103,183,000 68,568,000 72,754,000 77,115,000 59,758,000 73,292,000 79,762,000 63,750,000 50,675,000 33,209,000 17,170,000 39,726,000 43,132,000 37,442,000 38,685,000 59,357,000 63,375,000 43,684,000 43,270,000 50,899,000 53,298,000 61,367,000 56,471,000 34,553,000 22,552,000 13,538,000 18,819,000 21,989,000 8,270,000 6,229,000 7,378,000 9,147,000 7,002,000 5,092,000 4,395,000 8,585,000 2,435,000 2,496,000 1,117,000 1,496,000 1,972,000 1,152,000 1,146,000 752,000 1,480,000 1,885,000 647,000 775,000 1,537,000 1,244,000 
        accounts receivable
      139,042,000 205,948,000 160,344,000 205,291,000 134,726,000 132,541,000                                                                                      
        costs and estimated earnings in excess of billings on uncompleted contracts
      24,917,000 25,283,000 37,912,000 38,567,000 34,711,000 31,818,000 40,426,000 42,369,000 44,888,000 53,398,000 46,588,000 59,609,000 44,752,000 46,393,000 34,503,000 33,766,000 30,774,000 37,964,000 41,398,000 57,694,000 59,548,000 56,859,000 57,223,000 65,996,000 96,083,000 75,353,000 72,694,000 75,972,000 76,632,000 66,985,000 64,221,000 65,953,000 91,180,000 69,986,000 80,296,000 105,094,000 104,001,000 92,646,000 81,743,000 83,604,000 86,071,000 77,340,000 69,573,000 89,819,000 73,008,000 98,278,000 92,212,000 66,678,000 73,773,000 70,559,000 66,151,000 77,598,000 68,562,000 55,052,000 56,530,000 50,501,000 40,056,000 40,642,000 36,952,000 44,137,000 40,920,000 39,761,000 36,813,000 32,715,000 35,619,000 38,635,000 52,356,000 47,126,000 49,940,000 40,398,000 43,158,000 42,066,000 45,634,000 38,992,000 27,181,000 34,564,000 24,538,000 20,831,000 28,106,000 22,582,000 22,733,000 22,576,000 23,651,000 22,534,000 24,221,000 18,349,000 18,726,000 32,909,000 23,421,000 9,683,000 13,241,000 
        inventories
      6,009,000 6,862,000 5,579,000 6,389,000 7,157,000 7,508,000 8,441,000 9,153,000 7,437,000 8,027,000 7,981,000 8,379,000 9,974,000 6,907,000 6,297,000 6,314,000 7,342,000 6,217,000 6,764,000 6,751,000 6,460,000 7,738,000 7,185,000 7,561,000 8,017,000 8,637,000 7,961,000 6,514,000 5,152,000 5,339,000 4,525,000 4,269,000 3,737,000 3,926,000 4,194,000 3,767,000 3,935,000 3,464,000 2,688,000 2,863,000 2,773,000 2,875,000 3,013,000 3,006,000 3,045,000 3,143,000 3,193,000 3,172,000 2,988,000 2,905,000 3,683,000 3,267,000 2,482,000 2,547,000 2,581,000 2,328,000 2,249,000 2,596,000 2,401,000 2,756,000 3,451,000 4,479,000 4,284,000 4,708,000 4,926,000 5,876,000 5,893,000 5,870,000 4,255,000 4,438,000 4,866,000 5,415,000 4,891,000 5,980,000 5,553,000 5,374,000 4,738,000 4,302,000 3,741,000 3,532,000 4,739,000 6,504,000 5,071,000 5,500,000 4,584,000 3,062,000 2,955,000 3,050,000 2,850,000 2,411,000 2,429,000 
        income taxes receivable
        75,000 204,000 179,000 180,000 449,000 496,000 496,000 539,000 13,546,000 13,546,000 13,547,000 13,734,000 16,236,000 16,845,000 16,965,000 11,443,000 4,287,000 4,071,000 3,919,000 1,924,000 98,000 1,337,000 29,000 489,000 1,543,000 3,350,000 3,359,000 5,627,000 3,396,000 3,649,000 4,042,000 5,314,000 486,000 5,000 9,000 2,870,000 5,123,000 459,000 579,000 7,326,000 6,165,000 143,000 2,797,000  2,709,000  3,032,000  1,060,000        655,000 276,000  2,075,000                              
        prepaid expenses and other current assets
      7,917,000 10,938,000 14,195,000 7,816,000 10,372,000 12,236,000                                                                                      
        assets held for sale
      1,128,000 2,019,000                                                                      809,000 929,000 809,000 809,000 809,000 809,000 809,000 1,488,000 5,780,000 1,479,000           
        total current assets
      412,034,000 450,014,000 410,412,000 443,808,000 343,922,000 308,893,000 267,312,000 245,048,000 262,256,000 284,764,000 294,482,000 260,604,000 287,412,000 246,138,000 254,737,000 250,275,000 291,219,000 294,487,000 304,767,000 331,339,000 335,160,000 371,648,000 381,511,000 439,366,000 417,310,000 415,230,000 364,839,000 385,549,000 357,046,000 320,804,000 337,506,000 347,625,000 358,630,000 349,634,000 408,236,000 384,275,000 375,446,000 351,100,000 386,646,000 354,508,000 381,769,000 392,839,000 376,044,000 355,823,000 375,548,000 407,251,000 346,347,000 312,810,000 296,274,000 265,163,000 267,318,000 266,199,000 230,516,000 223,964,000 221,283,000 206,279,000 215,550,000 206,524,000 203,605,000 204,841,000 198,525,000 182,882,000 189,449,000 193,390,000 209,850,000 208,243,000 181,610,000 193,071,000 190,607,000 176,122,000 201,886,000 168,833,000 165,291,000 147,559,000 125,549,000 121,068,000 122,915,000 114,176,000 130,453,000 123,197,000 137,579,000 120,792,000 123,097,000 112,373,000 124,974,000 105,410,000 121,402,000 100,794,000 101,434,000 45,644,000 49,619,000 
        restricted cash
      25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 25,000,000 2,600,000 2,600,000                                                                            
        property, plant and equipment
      37,255,000 38,130,000 41,347,000 42,307,000 41,392,000 43,247,000                                                            60,100,000 59,192,000                         
        operating lease right-of-use assets
      14,030,000 15,063,000 15,827,000 17,740,000 18,160,000 19,155,000 18,992,000 20,641,000 21,799,000 22,889,000 23,938,000 21,185,000 22,067,000 20,811,000 20,414,000 21,515,000 22,412,000 21,109,000 18,308,000 20,152,000 21,375,000 25,840,000 32,491,000 23,595,000                                                                    
        goodwill
      28,932,000 28,988,000 28,978,000 28,885,000 28,883,000 29,077,000 29,131,000 29,055,000 29,120,000 29,712,000 29,733,000 41,916,000 42,135,000 42,240,000 60,546,000 60,540,000 60,636,000 60,605,000 60,605,000 60,437,000 60,369,000 60,277,000 60,504,000 93,300,000 93,368,000 93,316,000 93,263,000 93,451,000 96,162,000 113,615,000 113,845,000 113,860,000 113,501,000 113,182,000 113,019,000 78,274,000 78,293,000 78,845,000 70,605,000 70,940,000 71,518,000 71,377,000 72,212,000 72,065,000 69,837,000 66,589,000 67,122,000 30,887,000 30,836,000 30,910,000 30,975,000 28,763,000 28,675,000 28,725,000 28,905,000 28,834,000 29,058,000 27,460,000 27,384,000 27,303,000 27,216,000 27,336,000 27,248,000 27,087,000 25,768,000 22,916,000 22,166,000 23,103,000 23,329,000 23,506,000 23,530,000 23,397,000 23,357,000 23,302,000 23,356,000 23,434,000 23,442,000 23,571,000 23,510,000 23,471,000 24,834,000 24,872,000 49,957,000 49,741,000 49,666,000 49,707,000 50,847,000 51,276,000 51,292,000   
        other intangible assets, net of accumulated amortization
      12,000 51,000 281,000 829,000 1,103,000 1,377,000 2,202,000 2,635,000 3,066,000 3,499,000 3,931,000 4,364,000 4,796,000 5,228,000 5,660,000 6,094,000  7,181,000 7,743,000 8,287,000  11,114,000 11,955,000                                                                     
        other assets, non-current
      99,287,000 92,958,000 76,341,000 55,171,000 55,385,000 43,408,000 19,711,000 14,872,000 11,718,000 9,542,000 10,350,000 6,184,000 5,514,000 13,185,000 11,472,000 10,368,000                                                                            
        total assets
      616,550,000 650,204,000 598,186,000 613,740,000 513,845,000 470,157,000 404,834,000 382,278,000 400,504,000 425,947,000 438,118,000 410,912,000 440,793,000 413,080,000 440,564,000 450,277,000 467,556,000 471,677,000 479,910,000 512,230,000 517,310,000 567,347,000 591,888,000 672,754,000 633,394,000 631,433,000 569,552,000 587,194,000 558,033,000 539,239,000 557,866,000 572,454,000 586,030,000 580,268,000 635,790,000 569,223,000 564,967,000 549,642,000 572,148,000 536,571,000 568,331,000 579,006,000 566,082,000 548,314,000 568,932,000 597,815,000 535,907,000 428,988,000 409,978,000 379,175,000 376,074,000 362,850,000 323,135,000 315,776,000 315,598,000 299,273,000 306,436,000 292,807,000 290,945,000 292,580,000 284,808,000 269,696,000 278,263,000 283,058,000 303,451,000 296,089,000 264,523,000 277,320,000 274,593,000 257,152,000 278,261,000 241,127,000 242,909,000 221,252,000 196,314,000 189,339,000 188,276,000 175,497,000 190,433,000 184,387,000 202,380,000 188,805,000 217,370,000 207,690,000 221,547,000 202,662,000 220,234,000 201,961,000 202,939,000 99,568,000 99,449,000 
        liabilities and stockholders’ equity
                                                                                                 
        current liabilities:
                                                                                                 
        accounts payable
      90,140,000 87,979,000 98,199,000 79,048,000 79,976,000 61,668,000 61,887,000 74,094,000 76,365,000 65,518,000 80,561,000 68,557,000 74,886,000 68,161,000 55,953,000 65,973,000 60,920,000 50,163,000 51,269,000 68,615,000 73,094,000 77,246,000 74,461,000 96,984,000 114,647,000 110,502,000 90,712,000 94,845,000 79,439,000 67,605,000 71,253,000 90,894,000 105,649,000 97,271,000 108,260,000 127,734,000 141,445,000 122,941,000 109,336,000 99,759,000 125,792,000 90,478,000 93,154,000 95,231,000 111,863,000 121,802,000 115,894,000 67,799,000 68,961,000 59,497,000 59,709,000 61,664,000 48,931,000 42,760,000 48,814,000 44,534,000 36,377,000 28,767,000 35,804,000 38,010,000 44,769,000 28,084,000 36,190,000 34,645,000 48,668,000 58,545,000 45,496,000 51,236,000 53,449,000 51,165,000 63,414,000 44,984,000 52,144,000 44,307,000 35,390,000 40,929,000 47,123,000 30,640,000 32,311,000 33,456,000 38,059,000 43,361,000 37,728,000 35,389,000 27,528,000 30,959,000 29,622,000 38,930,000 40,684,000 7,578,000 7,530,000 
        billings on uncompleted contracts in excess of costs and estimated earnings
      340,704,000 382,897,000 317,556,000 332,657,000 237,537,000 204,612,000 117,273,000 73,133,000 85,436,000 114,729,000 99,762,000 53,286,000 65,106,000 73,868,000 84,859,000 50,973,000 53,832,000 59,495,000 62,244,000 63,523,000 63,889,000 100,566,000 110,562,000 130,191,000 105,626,000 122,235,000 115,366,000 118,380,000 120,740,000 88,626,000 66,376,000 65,559,000 75,127,000 75,424,000 74,858,000 52,382,000 58,327,000 66,809,000 114,140,000 75,275,000 96,704,000 139,446,000 127,614,000 103,708,000 108,440,000 100,614,000 95,773,000 75,783,000 62,848,000 49,793,000 57,606,000 45,637,000 30,293,000 28,262,000 31,816,000 25,542,000 35,485,000 36,897,000 39,601,000 37,034,000 28,877,000 28,403,000 35,539,000 41,971,000 51,305,000 47,168,000 35,140,000 43,110,000 48,709,000 47,822,000 51,994,000 36,250,000 34,243,000 23,115,000 20,814,000 18,012,000 12,078,000 18,115,000 13,508,000 11,572,000 12,311,000 9,450,000 16,533,000 12,812,000  18,726,000 20,561,000 21,938,000  9,462,000 9,702,000 
        accrued wages and benefits
      16,266,000 12,757,000 15,409,000 19,009,000 13,288,000 13,910,000 13,804,000 11,511,000 13,679,000 13,257,000 12,352,000 16,643,000 21,526,000 23,073,000 15,968,000 20,216,000 21,008,000 21,983,000 16,373,000 16,682,000 16,205,000 23,013,000 22,121,000 34,214,000 38,357,000 41,823,000 24,735,000 29,151,000 24,375,000 25,040,000 19,378,000 26,357,000 20,992,000 25,102,000 21,162,000 23,212,000 27,716,000 28,944,000 18,875,000 22,719,000 26,725,000 32,067,000 25,207,000 30,006,000 36,226,000 39,671,000 23,894,000 17,850,000 21,919,000 22,182,000 15,779,000 15,281,000 15,298,000 17,373,000 13,331,000 11,718,000 18,099,000 18,173,000 12,786,000 16,990,000 13,538,000 15,338,000 10,223,000 10,412,000 16,566,000 12,858,000 10,477,000 10,361,000 14,976,000 12,859,000 9,980,000 7,147,000 15,442,000                   
        accrued insurance
      4,378,000 4,408,000 4,711,000 4,660,000 4,473,000 4,932,000 5,781,000 5,749,000 5,579,000 5,823,000 5,818,000 6,981,000 6,125,000 6,310,000 6,175,000 6,627,000 6,568,000 7,437,000 7,795,000 7,657,000 7,301,000 9,065,000 7,649,000 9,539,000 9,021,000 9,459,000 8,921,000 9,689,000 9,080,000 8,863,000 8,691,000 9,033,000 9,340,000 8,804,000 9,171,000 9,649,000 9,246,000 8,542,000 8,898,000 8,736,000 8,100,000 8,946,000 8,437,000 8,761,000 8,605,000 8,595,000 7,751,000 7,651,000 7,599,000 7,015,000 7,390,000 7,055,000 6,912,000 7,228,000 7,254,000 7,990,000 7,514,000 7,477,000 7,754,000 7,937,000 8,257,000 7,833,000 7,236,000 6,875,000 7,612,000 6,554,000 7,866,000 8,771,000 8,451,000 7,235,000 6,396,000 6,156,000 6,422,000 5,372,000 5,071,000 6,423,000 6,408,000 5,104,000 4,827,000 4,672,000 5,038,000 4,603,000 2,896,000 2,187,000 2,152,000 2,260,000 2,130,000 1,913,000 1,736,000 1,819,000 2,086,000 
        operating lease liabilities
      4,584,000 4,498,000 4,458,000 3,914,000 3,781,000 3,782,000 3,981,000 4,281,000 4,661,000 4,605,000 4,534,000 4,895,000 5,715,000 4,928,000 5,364,000 5,570,000 5,747,000 5,199,000 5,359,000 6,585,000 7,568,000 8,639,000 9,425,000 8,660,000                                                                    
        other accrued expenses
      4,125,000 2,604,000 3,122,000 2,936,000 2,044,000 3,247,000 2,339,000 2,641,000 1,815,000 4,477,000 5,525,000 4,236,000 4,427,000 3,841,000 5,610,000 4,918,000 5,327,000 4,958,000 7,087,000 7,157,000 7,890,000 5,548,000 5,440,000 5,721,000 5,331,000 4,618,000 4,698,000 9,079,000 4,824,000 4,281,000 4,183,000 7,660,000 7,699,000 8,314,000 15,539,000 7,439,000 6,621,000 5,393,000 6,710,000 5,686,000 6,498,000 14,995,000 9,334,000 3,705,000 4,727,000 3,641,000 3,619,000 2,558,000 3,039,000 4,448,000 3,971,000 3,334,000 3,014,000 2,633,000 5,089,000 2,371,000 2,401,000 2,479,000 2,821,000 6,353,000 6,572,000 2,618,000 2,295,000 5,603,000 2,200,000 1,708,000 1,297,000 2,046,000 1,015,000 926,000 1,553,000 1,377,000 1,313,000 17,457,000 13,392,000 9,464,000 12,436,000 13,702,000 14,187,000 10,333,000 15,759,000 11,753,000 7,163,000 6,901,000 11,264,000 13,146,000 17,332,000 15,797,000 9,604,000 4,110,000 2,983,000 
        total current liabilities
      460,197,000 495,143,000 443,455,000 442,224,000 341,099,000 292,151,000 205,065,000 171,409,000 187,535,000 208,409,000 208,552,000 154,598,000 177,785,000 180,181,000 173,929,000 154,277,000 153,402,000 149,235,000 150,127,000 170,219,000 175,947,000 224,077,000 229,824,000 285,309,000 275,499,000 289,544,000 244,432,000 261,144,000 238,465,000 194,415,000 169,898,000 199,520,000 218,976,000 215,063,000 230,283,000 224,092,000 246,030,000 233,102,000 258,016,000 217,532,000 267,560,000 287,887,000 265,759,000 246,031,000 269,861,000 275,794,000 246,931,000 172,242,000 164,366,000 143,516,000 144,455,000 136,609,000 105,963,000 98,256,000 106,304,000 95,009,000 100,138,000 94,994,000 99,288,000 107,099,000 102,785,000 83,221,000 92,438,000 101,255,000 127,390,000 128,157,000 101,471,000 122,678,000 129,781,000 123,822,000 136,972,000 105,207,000 113,985,000 94,060,000 77,322,000 78,988,000 80,259,000 69,389,000 86,608,000 97,505,000 115,853,000 126,075,000 91,032,000 83,949,000 61,060,000 70,804,000 75,405,000 85,396,000 83,147,000 23,629,000 23,454,000 
        deferred income taxes
      150,000 152,000 24,000 23,000 23,000 25,000 26,000 25,000 26,000 26,000 27,000 23,000    10,687,000 5,295,000 4,513,000 6,815,000 5,684,000 5,988,000 5,462,000 5,542,000 2,719,000 2,683,000 6,169,000 5,598,000 5,559,000 4,848,000 3,927,000 2,794,000 2,568,000 3,385,000 5,663,000 2,512,000 2,712,000 3,719,000 3,569,000 3,467,000 7,274,000 8,298,000 6,705,000 6,262,000 6,953,000 5,994,000 8,898,000 7,458,000 6,063,000 5,657,000 5,421,000 5,487,000 5,760,000 6,024,000 5,706,000 5,672,000 6,295,000 5,607,000 5,872,000 5,648,000 7,521,000 8,073,000 4,162,000 3,926,000 4,841,000 4,843,000 5,016,000 4,954,000 4,993,000 4,399,000 4,354,000 5,819,000 4,662,000 3,283,000 783,000 647,000 2,850,000 2,831,000 2,234,000 4,739,000 4,478,000 4,820,000 4,352,000 1,457,000 1,487,000 1,493,000 2,028,000 1,888,000 1,899,000 2,479,000 537,000 442,000 
        other liabilities, non-current
      2,673,000 2,452,000 2,539,000 3,224,000 2,595,000 2,315,000 2,178,000 1,776,000 799,000 782,000 374,000 342,000 372,000 401,000 2,067,000 7,722,000                                                                            
        total liabilities
      477,130,000 512,641,000 461,920,000 463,030,000 361,911,000 313,640,000 225,924,000 203,155,000 219,020,000 245,944,000 246,666,000 189,661,000 213,087,000 200,244,000 194,954,000 181,979,000 182,017,000 177,817,000 175,621,000 206,210,000 209,421,000 255,921,000 269,093,000 315,327,000 281,437,000 295,339,000 245,962,000 264,413,000 239,190,000 207,316,000 222,280,000 244,016,000 264,221,000 260,051,000 305,961,000 244,691,000 249,401,000 239,770,000 267,230,000 234,542,000 283,777,000 303,305,000 284,288,000 261,675,000 286,649,000 327,262,000 277,765,000 182,512,000  149,166,000 153,694,000 146,027,000  107,001,000 112,981,000 101,034,000  99,518,000 103,534,000 110,956,000                                
        commitments and contingencies
                                                                                                 
        stockholders’ equity:
                                                                                                 
        common stock — 0.01 par value...
      281,000 281,000 281,000 279,000 279,000 279,000                                                                                      
        additional paid-in capital
      148,756,000 147,297,000 145,100,000 147,805,000 145,608,000 143,765,000 140,668,000 139,773,000 140,810,000 139,257,000 137,989,000 137,651,000 139,854,000 137,886,000 135,913,000 135,308,000 137,575,000 136,042,000 133,957,000 132,687,000 138,966,000 137,306,000 135,057,000 132,936,000 137,712,000 134,836,000 131,889,000 129,885,000 132,198,000 130,330,000 128,235,000 127,526,000 128,419,000 126,513,000 124,659,000 124,464,000 126,958,000 125,655,000 124,168,000 124,146,000 123,038,000 121,462,000 119,852,000 120,129,000 119,777,000 118,164,000 117,043,000 119,063,000 118,190,000 117,676,000 117,059,000 117,297,000 116,693,000 115,844,000 114,913,000 114,561,000 113,686,000 113,124,000 112,328,000 112,201,000 111,637,000 111,295,000 110,740,000 110,971,000 110,272,000 111,374,000 110,465,000 109,528,000 108,402,000 107,317,000 106,157,000 104,913,000 104,408,000 87,532,000 85,883,000 85,259,000 75,855,000 75,809,000 75,612,000 56,746,000 56,322,000 56,291,000 56,277,000 56,262,000 56,101,000 55,700,000 55,235,000 53,104,000 52,527,000 52,163,000 51,940,000 
        retained earnings
      757,000 -78,000 816,000 15,751,000 19,185,000 24,718,000 52,899,000 55,750,000 58,917,000 59,253,000 71,939,000 104,766,000 111,278,000 97,822,000 132,721,000 157,640,000 175,178,000 185,901,000 198,774,000 203,365,000 206,402,000 212,124,000 217,619,000 245,627,000 239,476,000 226,664,000 217,731,000 213,799,000 211,494,000 226,177,000 231,330,000 226,798,000 222,974,000 223,928,000 237,749,000 232,499,000 223,257,000 214,123,000 209,766,000 204,335,000 194,394,000 183,478,000 186,437,000 183,151,000 177,237,000 169,681,000 158,285,000 147,979,000 141,427,000 134,060,000 127,539,000 122,103,000 117,419,000 115,633,000 110,771,000 103,740,000 100,231,000 94,548,000 89,625,000 84,341,000 81,252,000 85,492,000 85,429,000 80,896,000 75,393,000 68,648,000 64,436,000 54,312,000 44,809,000 35,950,000 29,953,000 29,749,000 23,422,000 21,512,000 15,374,000 7,305,000 4,316,000 980,000   -3,307,000 482,000 35,966,000 34,674,000 35,585,000 35,299,000 33,092,000 30,169,000 26,304,000 22,654,000 21,442,000 
        accumulated other comprehensive loss
      -10,374,000 -9,937,000 -9,931,000 -10,485,000 -10,462,000 -9,099,000 -8,745,000 -9,307,000 -8,769,000 -8,897,000 -8,663,000 -9,928,000 -8,175,000 -7,477,000 -7,445,000 -7,544,000 -6,749,000 -7,082,000 -7,150,000 -7,969,000 -8,373,000 -8,726,000 -7,622,000 -8,145,000 -7,751,000 -7,863,000 -8,079,000 -7,010,000 -7,411,000 -6,498,000 -5,788,000 -6,217,000 -7,324,000 -7,807,000 -8,842,000 -7,124,000 -6,845,000 -6,987,000 -9,741,000 -8,375,000 -5,926,000 -6,178,000 -3,453,000 -1,952,000                                     -22,000   -229,000 -395,000 -352,000 -271,000  -567,000 -914,000 -1,075,000 
        treasury stock
         -2,640,000 -2,676,000 -3,146,000 -6,191,000 -7,372,000 -9,753,000 -9,889,000 -10,092,000 -11,517,000 -15,530,000                                                                               
        total stockholders' equity
      139,420,000 137,563,000 136,266,000 150,710,000 151,934,000 156,517,000 178,910,000 179,123,000 181,484,000 180,003,000 191,452,000 221,251,000 227,706,000 212,836,000 245,610,000 268,298,000 285,539,000 293,860,000 304,289,000 306,020,000 307,889,000 311,426,000 322,795,000 357,427,000 351,957,000 336,094,000 323,590,000 322,781,000 318,843,000 331,923,000 335,586,000 328,438,000 321,809,000 320,217,000 329,829,000 324,532,000 315,566,000 309,872,000 304,918,000 302,029,000 284,554,000 275,701,000 281,794,000 286,639,000 282,283,000 270,553,000 258,142,000                                             
        total liabilities and stockholders’ equity
      616,550,000 650,204,000 598,186,000 613,740,000 513,845,000 470,157,000 404,834,000 382,278,000 400,504,000 425,947,000 438,118,000 410,912,000 440,793,000 413,080,000 440,564,000 450,277,000 467,556,000 471,677,000 479,910,000 512,230,000 517,310,000 567,347,000 591,888,000 672,754,000 633,394,000 631,433,000 569,552,000 587,194,000 558,033,000 539,239,000 557,866,000 572,454,000 586,030,000 580,268,000 635,790,000 569,223,000 564,967,000 549,642,000 572,148,000 536,571,000 568,331,000 579,006,000 566,082,000 548,314,000 568,932,000 597,815,000 535,907,000 428,988,000 409,978,000 379,175,000 376,074,000 362,850,000 323,135,000 315,776,000 315,598,000 299,273,000 306,436,000 292,807,000 290,945,000 292,580,000 284,808,000 269,696,000 278,263,000 283,058,000 303,451,000 296,089,000 264,523,000 277,320,000 274,593,000 257,152,000 278,261,000 241,127,000 242,909,000 221,252,000 196,314,000 189,339,000 188,276,000 175,497,000 190,433,000 184,387,000 202,380,000 188,805,000 217,370,000 207,690,000 221,547,000 202,662,000 220,234,000 201,961,000 202,939,000 99,568,000 99,449,000 
        accounts receivable, less allowances
            158,182,000 152,300,000 145,764,000 163,426,000 182,054,000 149,345,000 153,879,000 137,690,000 121,601,000 144,892,000 148,030,000 158,099,000 151,068,000 171,504,000 160,671,000 209,195,000 199,066,000 214,614,000 218,432,000 274,904,000 203,574,000 214,763,000 203,388,000 189,156,000 183,451,000 218,678,000 210,953,000 223,338,000 248,712,000 230,975,000 190,434,000 170,713,000 207,425,000 182,634,000 199,149,000 188,579,000 215,142,000 175,506,000 204,692,000 232,167,000 161,502,000 150,473,000 140,840,000 131,734,000 152,754,000 156,844,000 108,034,000 113,830,000 115,695,000 104,481,000 103,483,000 91,287,000 109,949,000 102,719,000 87,327,000 73,574,000 76,175,000 87,649,000 122,283,000 126,944,000 98,809,000 111,028,000 105,858,000 112,634,000 134,802,000 105,644,000 97,522,000   56,050,000 64,061,000 65,530,000 61,317,000 55,899,000 70,088,000 59,228,000 86,877,000 75,940,000 88,336,000 75,747,000 89,755,000 59,675,000 66,603,000 28,174,000 29,532,000 
        prepaid expenses
            8,470,000 10,136,000 5,741,000 6,369,000 8,104,000 9,833,000                                               3,220,000 4,062,000 4,557,000 3,886,000 4,562,000 4,427,000 3,935,000 4,839,000 4,717,000 4,426,000 3,357,000 2,545,000 2,149,000 2,859,000 2,910,000 3,496,000 5,031,000 5,342,000 5,581,000 4,528,000 5,717,000 6,982,000 8,245,000 2,985,000 3,259,000 3,532,000 2,368,000 3,025,000 2,196,000 2,614,000 2,997,000 2,256,000 2,731,000 
        other current assets
            4,184,000 3,235,000 3,118,000 4,801,000 4,745,000 5,550,000 12,889,000 7,322,000 8,460,000 11,180,000 4,230,000 7,013,000 7,769,000 9,144,000 4,526,000 8,429,000 7,444,000 9,969,000 5,034,000 6,171,000 7,578,000 10,214,000 4,458,000 6,812,000 7,826,000 8,991,000 4,913,000 7,373,000 8,318,000 8,855,000 5,411,000 8,004,000 7,236,000 8,494,000 5,660,000 6,831,000 7,321,000 7,642,000 8,897,000 5,007,000 5,981,000 6,662,000 6,234,000 3,869,000 4,974,000 5,560,000 5,688,000 3,697,000 3,363,000 3,989,000 4,399,000 2,752,000 1,096,000 100,000 1,519,000 1,647,000 2,322,000 2,579,000 3,044,000 3,642,000  809,000 809,000 1,903,000 1,759,000                     
        property, plant and equipment - net
            42,486,000 45,027,000 47,545,000 50,541,000 50,684,000 51,659,000 53,869,000 60,478,000 62,735,000 65,798,000 69,407,000 72,734,000 75,752,000 79,438,000 80,748,000 83,968,000 83,940,000 81,516,000 79,335,000 75,812,000 71,593,000 71,498,000 72,645,000 74,378,000 76,187,000 77,925,000 80,274,000 81,963,000 81,284,000 82,416,000 84,731,000 87,345,000 82,841,000 83,953,000 85,063,000                                                   
        borrowings under asset-backed credit facility
             10,000,000 10,000,000 15,000,000 15,000,000 15,000,000 15,000,000                                                                               
        matrix service company stockholders' equity:
                                                                                                 
        common stock—0.01 par value...
            279,000                                                                                     
        matrix service company stockholders' equity: - sum
            185,101,000 186,495,000                         344,348,000 342,913,000 353,845,000 350,118,000 343,649,000 333,070,000 324,472,000 320,385,000 311,785,000 299,041,000 303,115,000 301,607,000 297,111,000 286,411,000 275,659,000                                             
        common stock—.01 par value...
             279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000 279,000   279,000    279,000    279,000       279,000  247,000          193,000        
        stockholders’ equity: - sum
              191,237,000 189,892,000 201,544,000 232,768,000 243,236,000 228,510,000 261,468,000 285,683,000 306,283,000 315,140,000 325,860,000 328,362,000 337,274,000 340,983,000 345,333,000 370,697,000 369,716,000 353,916,000 341,820,000 336,953,000 336,560,000 350,288,000 354,056,000 348,386,000                267,850,000 260,123,000 252,724,000 245,963,000 240,917,000 235,162,000 232,843,000 226,678,000 219,057,000 215,632,000 209,315,000 203,483,000 197,703,000 193,663,000 198,224,000 197,282,000 193,000,000 186,540,000 179,081,000 174,335,000 165,066,000 155,074,000 145,263,000 137,828,000 136,016,000 129,076,000 109,694,000 102,043,000 93,600,000 81,211,000 77,607,000 75,490,000 54,307,000 53,186,000 57,012,000 92,636,000 90,900,000 91,484,000 90,840,000 88,249,000 82,827,000 78,360,000 73,999,000 72,403,000 
        property, plant and equipment at cost:
                                                                                                 
        land and buildings
                   41,745,000 41,545,000 41,556,000 41,633,000 41,379,000 43,243,000 42,845,000 42,695,000 43,162,000 41,560,000 41,057,000 41,179,000 41,091,000 40,517,000 40,508,000 40,424,000 40,641,000 39,622,000 39,397,000 38,916,000 39,826,000 39,348,000 39,545,000 39,224,000 38,645,000 32,712,000 32,609,000 32,746,000 31,935,000 31,783,000 31,813,000 31,737,000 31,195,000 31,075,000 29,667,000 29,649,000 29,338,000 29,357,000 29,357,000 28,846,000 28,401,000 28,355,000 28,335,000 28,287,000 28,230,000 27,801,000 27,745,000 27,859,000 27,862,000 27,580,000 27,511,000 27,319,000 26,932,000 26,683,000 24,147,000 24,268,000 24,002,000 23,719,000 23,555,000 23,405,000 23,205,000 23,194,000 23,176,000 23,100,000 22,864,000 22,754,000 22,750,000 23,087,000 25,194,000 25,210,000 25,169,000 24,518,000 24,526,000 24,537,000 24,514,000 24,517,000 17,534,000 17,426,000 
        construction equipment
                   93,862,000 94,091,000 94,209,000 94,453,000 95,526,000 94,893,000 95,332,000 94,154,000 94,064,000 95,354,000 92,142,000 91,793,000 90,759,000 89,321,000 89,482,000 89,036,000 90,453,000 90,710,000 96,325,000 94,298,000 93,178,000 91,587,000 90,957,000 90,386,000 89,046,000 89,027,000 88,131,000 87,561,000 86,304,000 85,966,000 84,886,000 82,745,000 80,247,000 78,115,000 71,132,000 69,998,000 66,354,000 64,076,000 60,207,000 59,176,000 58,573,000 58,133,000 55,701,000 55,272,000 54,754,000 52,556,000 52,326,000 52,086,000 52,927,000 55,311,000 54,586,000 53,925,000 54,180,000 50,866,000 47,861,000 47,370,000 44,275,000 43,583,000 41,144,000 39,958,000 37,009,000 35,264,000 33,153,000 31,081,000 30,034,000 28,908,000 28,564,000 29,711,000 31,868,000 32,018,000 31,498,000 31,294,000 31,375,000 30,831,000 29,615,000 28,768,000 24,258,000 23,396,000 
        transportation equipment
                   49,532,000 50,051,000 50,068,000 50,510,000 52,467,000 52,182,000 53,460,000 55,864,000 55,793,000 55,377,000 55,179,000 52,526,000 49,719,000 48,805,000 47,913,000 48,339,000 48,442,000 48,647,000 48,645,000 48,574,000 48,156,000 48,254,000 48,466,000 49,046,000 48,187,000 46,991,000 47,196,000 47,468,000 46,524,000 45,098,000 44,199,000 42,087,000 41,008,000 41,214,000 37,126,000 34,366,000 32,552,000 31,524,000 26,027,000 25,865,000 24,760,000 24,488,000 23,037,000 21,690,000 19,703,000 19,558,000 19,763,000 19,192,000 19,117,000 18,563,000 18,002,000 17,971,000 17,851,000 17,491,000 17,081,000 16,927,000 15,688,000 15,203,000 14,466,000 14,380,000 12,939,000 12,348,000 11,738,000 10,921,000 10,902,000 10,544,000 10,461,000 10,862,000 12,471,000 12,704,000 12,636,000 12,445,000 11,680,000 11,746,000 11,393,000 11,260,000 9,160,000 8,731,000 
        office equipment and software
                   43,447,000 43,062,000 43,010,000 42,706,000 41,196,000 42,143,000 41,896,000 39,356,000 38,122,000 44,207,000 44,164,000 43,632,000 43,036,000 42,297,000 41,622,000 41,236,000 38,618,000 37,169,000 36,702,000 36,556,000 36,284,000 34,946,000 33,194,000 29,577,000 29,168,000 28,292,000 28,072,000 28,874,000 26,968,000 27,145,000 26,208,000 26,026,000 21,392,000 20,900,000 18,763,000 18,426,000 17,788,000 17,793,000 17,391,000 16,892,000 16,632,000 15,915,000   14,876,000 14,758,000 14,449,000                                
        construction in progress
                   564,000 282,000 126,000 493,000 2,217,000 2,065,000 2,648,000 4,427,000 7,320,000 8,627,000 7,563,000 7,619,000 5,860,000 3,040,000 2,411,000 1,353,000 2,514,000 3,719,000 3,459,000 5,952,000 5,827,000 4,563,000 4,285,000 7,475,000 9,826,000 9,235,000 8,095,000 5,196,000 6,266,000 7,077,000 7,948,000 9,892,000 13,939,000 11,376,000 9,559,000 9,080,000 8,991,000 6,824,000 5,984,000 2,910,000 2,591,000 1,342,000 2,694,000 2,465,000 2,434,000 4,292,000 3,278,000 1,251,000 1,750,000 1,155,000 895,000 812,000 1,498,000 2,975,000 8,610,000 6,712,000 6,724,000 5,472,000 3,203,000 1,788,000 2,854,000 2,092,000 1,966,000 2,392,000 1,124,000 945,000 911,000 318,000 684,000 385,000 536,000 1,593,000 4,064,000 3,771,000 4,319,000 4,419,000 12,691,000 9,418,000 
        total property, plant and equipment - at cost
                   229,150,000 229,031,000 228,969,000 229,795,000 232,785,000 234,526,000 236,181,000 236,496,000 238,461,000 245,125,000 240,105,000 236,749,000 230,465,000 223,980,000 221,936,000 220,388,000 220,668,000 219,867,000 224,528,000 224,296,000 223,271,000 218,698,000 216,447,000 215,708,000 214,872,000 206,257,000 204,103,000 201,845,000                                                   
        accumulated depreciation
                   -168,672,000 -166,296,000 -163,171,000 -160,388,000 -160,051,000 -158,774,000 -156,743,000 -155,748,000 -154,493,000 -161,185,000 -158,589,000 -157,414,000 -154,653,000 -152,387,000 -150,438,000 -147,743,000 -146,290,000 -143,680,000 -146,603,000 -144,022,000 -141,308,000 -137,414,000 -134,031,000 -130,977,000 -127,527,000 -123,416,000 -120,150,000 -116,782,000 -112,234,000 -109,844,000 -106,408,000 -103,315,000 -99,684,000 -95,868,000 -92,920,000 -90,218,000 -87,070,000 -84,100,000 -81,407,000 -78,814,000 -76,719,000 -74,138,000 -71,385,000 -69,845,000 -67,410,000 -65,371,000 -64,358,000 -61,817,000 -60,978,000 -61,751,000 -59,147,000 -55,745,000 -54,948,000 -52,498,000 -51,174,000 -49,811,000 -48,305,000 -46,894,000 -44,952,000 -43,654,000 -42,319,000 -40,989,000 -39,632,000 -38,712,000 -38,570,000 -37,163,000 35,944,000 35,791,000 37,297,000 36,156,000  32,939,000    27,743,000   
        less: treasury stock, at cost — 1,104,952 shares as of march 31, 2022, and 1,338,779 shares as of june 30, 2021
                   -15,674,000                                                                              
        restricted cash, non-current
                    25,000,000 25,000,000                                                                            
        less: treasury stock, at cost — 1,114,242 shares as of december 31, 2021, and 1,338,779 shares as of june 30, 2021
                    -15,858,000                                                                             
        less: treasury stock, at cost — 1,191,189 shares as of september 30, 2021, and 1,338,779 shares as of june 30, 2021
                     -17,385,000                                                                            
        property, plant and equipment, at cost:
                                                                                                 
        other intangible assets
                      6,614,000    8,837,000   18,516,000 19,472,000 20,282,000 21,096,000 22,007,000 22,814,000 24,438,000 25,364,000 24,831,000 26,296,000 27,781,000 29,351,000 20,151,000 20,999,000 21,936,000 21,986,000 22,926,000 23,961,000 25,156,000 26,797,000 28,158,000 28,676,000 29,705,000 31,091,000 7,378,000 7,551,000 7,970,000 8,134,000 6,392,000 6,504,000 6,614,000 6,727,000 6,840,000 6,953,000 3,973,000 4,024,000 4,083,000 4,141,000 4,215,000 4,317,000 4,450,000 4,571,000                           
        other assets
                      11,973,000 11,048,000 5,920,000 6,893,000 4,833,000 9,038,000 15,945,000 13,742,000 21,226,000 20,624,000 13,163,000 9,130,000 4,518,000 2,077,000 2,170,000 5,645,000 3,944,000 2,045,000 1,388,000 1,395,000 1,779,000 6,847,000 6,603,000 2,126,000 3,947,000 3,871,000 3,804,000 3,622,000 5,699,000 6,173,000 4,535,000 4,586,000 4,016,000 7,179,000 4,173,000 3,937,000 2,565,000 2,235,000 4,588,000 3,473,000 1,564,000 2,263,000 2,338,000 3,150,000 1,997,000 937,000 1,349,000 1,395,000 4,453,000 4,830,000 1,555,000 2,781,000 3,410,000 3,583,000 660,000 957,000 8,268,000 7,303,000 6,353,000 5,729,000 4,479,000 2,030,000 1,425,000 2,351,000 2,891,000 1,259,000 1,259,000 1,248,000 1,253,000 1,258,000 1,264,000 2,845,000 2,850,000 1,179,000 1,180,000 
        borrowings under senior secured revolving credit facility
                         9,383,000 9,208,000 8,888,000 14,817,000 11,366,000 5,347,000 2,172,000  1,549,000  9,304,000 50,908,000                                                             
        other liabilities
                      7,810,000 7,897,000 7,898,000 7,754,000 4,208,000 296,000 317,000 308,000 293,000 232,000 258,000 280,000 296,000 309,000 316,000 414,000 435,000 472,000 411,000 215,000 173,000 203,000                                                      
        less treasury stock, at cost — 1,338,779 and 1,746,689 shares as of june 30, 2021 and june 30, 2020
                      -20,744,000                                                                           
        less: treasury stock, at cost — 1,369,000 shares as of march 31, 2021, and 1,746,689 shares as of june 30, 2020
                       -21,280,000                                                                          
        less: treasury stock, at cost — 1,385,257 shares as of december 31, 2020, and 1,746,689 shares as of june 30, 2020
                        -21,571,000                                                                         
        less: treasury stock, at cost — 1,428,021 shares as of september 30, 2020, and 1,746,689 shares as of june 30, 2020
                         -22,342,000                                                                        
        income taxes payable
                            166,000  2,517,000 907,000   7,000  17,000 17,000 169,000 148,000 1,293,000 3,676,000 2,675,000 473,000 57,000 4,494,000 3,268,000 1,955,000 2,013,000 4,620,000  1,471,000  601,000  581,000  3,238,000 1,115,000     800,000     12,000 680,000                            
        less treasury stock, at cost — 1,746,689 and 1,081,014 shares as of june 30, 2020 and june 30, 2019
                          -29,385,000                                                                       
        less: treasury stock, at cost — 1,756,862 shares as of march 31, 2020, and 1,081,014 shares as of june 30, 2019
                           -29,557,000                                                                      
        less: treasury stock, at cost — 1,216,103 shares as of december 31, 2019, and 1,081,014 shares as of june 30, 2019
                            -22,538,000                                                                     
        less: treasury stock, at cost — 756,771 shares as of september 30, 2019, and 1,081,014 shares as of june 30, 2019
                             -13,270,000                                                                    
        less treasury stock, at cost — 1,081,014 and 1,034,394 shares as of june 30, 2019 and june 30, 2018
                              -17,759,000                                                                   
        less: treasury stock, at cost — 1,084,795 shares as of march 31, 2019, and 1,034,394 shares as of june 30, 2018
                               -17,822,000                                                                  
        less: treasury stock, at cost — 1,109,819 shares as of december 31, 2018, and 1,034,394 shares as of june 30, 2018
                                -18,230,000                                                                 
        less: treasury stock, at cost — 868,400 shares as of september 30, 2018, and 1,034,394 shares as of june 30, 2018
                                 -14,172,000                                                                
        less treasury stock, at cost — 1,034,394 and 1,287,655 shares as of june 30, 2018 and june 30, 2017
                                  -17,717,000                                                               
        less: treasury stock, at cost — 1,070,599 shares as of march 31, 2018, and 1,287,655 shares as of june 30, 2017
                                   -18,365,000                                                              
        less: treasury stock, at cost — 1,076,541 shares as of december 31, 2017, and 1,287,655 shares as of june 30, 2017
                                    -18,470,000                                                             
        borrowings under senior revolving credit facility
                                     42,076,000 44,682,000 44,139,000 72,412,000 17,186,000                                                        
        less: treasury stock, at cost — 1,160,242 shares as of september 30, 2017, and 1,287,655 shares as of june 30, 2017
                                     -19,948,000                                                            
        less treasury stock, at cost — 1,287,655 and 1,591,072 shares as of june 30, 2017 and june 30, 2016
                                      -22,539,000                                                           
        total matrix service company stockholders' equity
                                      321,809,000    316,742,000    293,296,000    280,516,000                                               
        noncontrolling interest
                                        -1,176,000 -1,176,000 -1,176,000 -1,176,000 -2,824,000 -511,000 -8,742,000 -9,790,000 -7,609,000 524,000 1,767,000 1,101,000 705,000                                             
        less: treasury stock, at cost — 1,293,898 shares as of march 31, 2017, and 1,591,072 shares as of june 30, 2016
                                       -22,696,000                                                          
        total matrix service company stockholders’ equity
                                       320,217,000 331,005,000 325,708,000  311,048,000 307,742,000 302,540,000  285,491,000 289,403,000 286,115,000  269,452,000 257,437,000                                             
        less: treasury stock, at cost — 1,299,574 shares as of december 31, 2016, and 1,591,072 shares as of june 30, 2016
                                        -22,840,000                                                         
        less: treasury stock, at cost — 1,360,157 shares as of september 30, 2016, and 1,591,072 shares as of june 30, 2016
                                         -24,410,000                                                        
        less treasury stock, at cost — 1,591,072 and 1,447,394 shares as of june 30, 2016 and june 30, 2015
                                          -26,907,000                                                       
        borrowings under senior credit facility
                                           3,845,000 7,226,000 9,766,000 8,804,000 9,934,000 11,789,000 11,344,000 11,621,000 45,103,000 23,191,000                                             
        less: treasury stock, at cost— 1,281,727 shares as of march 31, 2016, and 1,447,394 shares as of june 30, 2015
                                           -22,022,000                                                      
        less: treasury stock, at cost— 973,299 shares as of december 31, 2015, and 1,447,394 shares as of june 30, 2015
                                            -16,730,000                                                     
        deferred income taxes - noncurrent
                                             2,118,000 2,073,000                                                   
        less: treasury stock, at cost— 1,356,560 shares as of september 30, 2015, and 1,447,394 shares as of june 30, 2015
                                             -17,845,000                                                    
        less treasury stock, at cost — 1,447,394 and 1,453,770 shares as of june 30, 2015 and june 30, 2014
                                              -18,489,000                                                   
        property, plant and equipment at cost: - sum
                                               197,997,000 197,069,000 195,054,000  187,781,000 182,680,000 166,247,000  155,023,000 149,574,000 138,966,000  130,957,000 128,233,000 125,232,000  119,997,000 118,965,000 117,561,000  115,304,000 117,651,000 115,883,000  115,048,000 111,690,000 109,539,000  102,246,000 99,079,000 92,892,000  85,407,000 82,045,000 78,740,000  74,290,000 72,208,000 71,312,000  79,179,000 79,213,000 78,637,000  77,949,000 77,015,000 75,851,000  69,720,000 64,724,000 
        less: treasury stock, at cost— 1,173,656 shares as of march 31, 2015, and 1,453,770 shares as of june 30, 2014
                                               -13,550,000                                                  
        less: treasury stock, at cost— 1,193,039 shares as of december 31, 2014, and 1,453,770 shares as of june 30, 2014
                                                -13,712,000                                                 
        less: treasury stock, at cost— 1,372,446 shares as of september 30, 2014, and 1,453,770 shares as of june 30, 2014
                                                 -15,492,000                                                
        property, plant and equipment, at cost: - sum
                                                  192,487,000    161,519,000    133,689,000    123,156,000    114,746,000    114,554,000    107,058,000    89,647,000    76,152,000    72,867,000    78,593,000    75,106,000   
        accumulated other comprehensive income
                                                  -182,000 -1,713,000 52,000 529,000 227,000 709,000 1,086,000 1,238,000 771,000 1,087,000 715,000 477,000 1,436,000 1,364,000 1,251,000 882,000 495,000 1,158,000 834,000 854,000 596,000 -1,220,000 -845,000 947,000 1,584,000 1,717,000 1,439,000 1,075,000 967,000 403,000 539,000 789,000 814,000 592,000 421,000 301,000  46,000 200,000     -542,000    
        less treasury stock, at cost— 1,453,770 and 1,779,593 shares as of june 30, 2014 and june 30, 2013
                                                  -16,595,000                                               
        less: treasury stock, at cost— 1,476,765 shares as of march 31, 2014, and 1,779,593 shares as of june 30, 2013
                                                   -16,959,000                                              
        less: treasury stock, at cost— 1,549,518 shares as of december 31, 2013, and 1,779,593 shares as of june 30, 2013
                                                    -18,222,000                                             
        long term debt
                                                     2,426,000   3,425,000 3,355,000                                        
        less: treasury stock, at cost—1,746,259 shares as of september 30, 2013, and 1,779,593 shares as of june 30, 2013
                                                     -21,374,000                                            
        total stockholders’ equity
                                                     246,476,000 238,162,000 230,009,000 222,380,000 216,823,000 211,097,000 208,775,000 202,617,000 198,239,000 199,671,000 193,289,000 187,411,000 181,624,000 177,585,000 182,084,000 181,142,000 176,862,000 170,389,000 162,916,000 158,125,000 148,745,000 138,700,000 128,702,000 133,945,000 132,561,000 125,576,000 105,628,000 97,471,000 88,886,000 76,399,000 72,759,000 70,383,000 49,119,000 47,985,000 51,657,000 87,205,000 85,436,000 85,715,000 84,915,000 81,834,000 75,008,000 70,181,000 65,476,000 63,656,000 
        less treasury stock, at cost—1,779,593 and 2,141,990 shares as of june 30, 2013 and june 30, 2012
                                                      -21,961,000                                           
        less: treasury stock, at cost—1,822,029 shares as of march 31, 2013, and 2,141,990 shares as of june 30, 2012
                                                       -22,715,000                                          
        less: treasury stock, at cost—1,869,558 shares as of december 31, 2012, and 2,141,990 shares as of june 30, 2012
                                                        -23,583,000                                         
        acquisition payable
                                                         400,000 400,000 800,000 800,000 800,000 800,000                    2,578,000 4,330,000 4,276,000 4,222,000 4,169,000 5,832,000 5,758,000 5,686,000 5,614,000 6,928,000 7,195,000 7,671,000 7,682,000   
        less: treasury stock, at cost—2,051,764 shares as of september 30, 2012, and 2,141,990 shares as of june 30, 2012
                                                         -24,094,000                                        
        less treasury stock, at cost—2,141,990 and 1,417,539 shares as of june 30, 2012 and june 30, 2011
                                                          -24,065,000                                       
        long-term debt
                                                           1,757,000                 3,250,000            28,232,000 27,781,000 64,209,000 35,733,000 51,792,000 30,289,000 38,220,000 8,188,000 10,319,000 
        less: treasury stock, at cost – 2,157,906 shares as of march 31, 2012, and 1,417,539 shares as of june 30, 2011
                                                           -24,068,000                                      
        common stock - .01 par value...
                                                            279,000 279,000  279,000 279,000 279,000  279,000 279,000 279,000  279,000 279,000 279,000 279,000 279,000 279,000  279,000  247,000 247,000 226,000 226,000 226,000 194,000  193,000 193,000         
        less: treasury stock, at cost – 2,169,927 shares as of december 31, 2011, and 1,417,539 shares as of june 30, 2011
                                                            -24,061,000                                     
        income tax receivable
                                                              399,000    1,779,000    647,000 739,000 1,343,000   1,580,000 3,104,000      104,000 1,798,000 670,000 1,852,000 3,004,000 2,200,000 1,630,000 2,234,000 3,220,000 1,719,000 2,421,000  2,309,000 1,046,000  
        furniture and fixtures
                                                             15,465,000 15,442,000    14,358,000 13,648,000 15,042,000 14,889,000 14,527,000 14,587,000 13,675,000 11,840,000 11,781,000 11,557,000 11,102,000 10,524,000 10,116,000 9,400,000 9,147,000 8,707,000 8,658,000 9,366,000 9,057,000 8,626,000 8,889,000    8,743,000  6,130,000 6,010,000 6,142,000 6,077,000 5,753,000 
        income tax payable
                                                             2,678,000            6,047,000 2,028,000   5,747,000 956,000 1,432,000 330,000 1,885,000            1,430,000 1,570,000  494,000 
        current capital lease obligation
                                                             176,000 262,000 401,000 522,000 775,000 772,000 945,000 943,000 1,069,000 1,039,000  1,195,000 1,107,000 1,042,000 998,000 854,000 800,000 753,000 499,000 471,000 444,000 406,000 350,000 299,000 166,000 113,000 58,000 58,000         
        long-term capital lease obligation
                                                             16,000 38,000 46,000 96,000 11,000 259,000 290,000 588,000 532,000 850,000  777,000 947,000 1,000,000 568,000 521,000 557,000 836,000 435,000 416,000 512,000 538,000 548,000 548,000 338,000 231,000 112,000 126,000         
        less: treasury stock, at cost –1,898,263 shares as of september 30, 2011, and 1,417,539 shares as of june 30, 2011
                                                             -20,818,000                                    
        less treasury stock, at cost—1,417,539 and 1,546,512 shares as of june 30, 2011 and june 30, 2010
                                                              -15,961,000                                   
        less: treasury stock, at cost – 1,450,800 shares as of march 31, 2011, and 1,546,512 shares as of june 30, 2010
                                                               -16,026,000                                  
        less: treasury stock, at cost – 1,469,578 shares as of december 31, 2010, and 1,546,512 shares as of june 30, 2010
                                                                -16,072,000                                 
        less: treasury stock, at cost –1,545,740 shares as of september 30, 2010, and 1,546,512 shares as of june 30, 2010
                                                                 -16,079,000                                
        less treasury stock, at cost —1,546,512 and 1,696,517 shares as of june 30, 2010 and may 31, 2009
                                                                  -16,078,000                               
        less: treasury stock, at cost – 1,580,481 shares as of march 31, 2010 and 1,696,517 shares as of may 31, 2009
                                                                   -16,140,000                              
        less: treasury stock, at cost – 1,582,261 shares as of december 31, 2009 and 1,696,517 shares as of may 31, 2009
                                                                    -16,140,000                             
        less: treasury stock, at cost – 1,689,602 shares as of september 30, 2009, and 1,696,517 shares as of may 31, 2009
                                                                     -16,138,000                            
        less treasury stock, at cost—1,696,517 and 1,825,600 shares as of may 31, 2009 and 2008
                                                                      -16,151,000                           
        current capital lease obligations
                                                                       1,324,000                          
        long-term capital lease obligations
                                                                       759,000                          
        less: treasury stock, at cost – 1,738,223 and 1,825,600 shares as of february 28, 2009 and may 31, 2008
                                                                       -16,165,000                          
        less: treasury stock, at cost - 1,756,235 and 1,825,600 shares as of november 30, 2008 and may 31, 2008
                                                                        -16,210,000                         
        less: treasury stock, at cost – 1,806,150 and 1,825,600 shares as of august 31, 2008 and may 31, 2008
                                                                         -16,321,000                        
        current portion of acquisition payable
                                                                          111,000 2,817,000 2,781,000 2,746,000 2,712,000 1,878,000 1,854,000 1,831,000 1,808,000 1,478,000 1,472,000 1,831,000 1,808,000 1,904,000 1,881,000 1,858,000 1,835,000 862,000 914,000 974,000 854,000   
        less treasury stock, at cost – 1,825,600 and 1,297,466 shares as of may 31, 2008 and 2007
                                                                          -16,374,000                       
        less: treasury stock, at cost - 1,891,600 and 1,297,466 shares as of february 29, 2008 and may 31, 2007
                                                                           -16,561,000                      
        less: treasury stock, at cost – 1,218,518 and 1,297,466 shares as of november 30, 2007 and may 31, 2007
                                                                            -3,883,000                     
        less: treasury stock, at cost – 1,287,466 and 1,297,466 shares as of august 31, 2007 and may 31, 2007
                                                                             -3,455,000                    
        contract dispute receivables
                                                                              975,000   11,684,000 11,668,000 11,709,000 22,179,000 20,975,000 20,975,000 20,975,000          
        convertible notes
                                                                               15,000,000 15,000,000 15,000,000 25,000,000 25,000,000 25,000,000 29,500,000 30,000,000           
        less treasury stock, at cost – 1,297,466 and 1,731,386 shares as of may 31, 2007 and 2006
                                                                              -3,500,000                   
        receivables, less allowances
                                                                               89,522,000 80,261,000                 
        contract disputes receivable
                                                                               975,000 975,000                 
        long-term acquisition payable
                                                                               2,678,000 2,644,000 2,611,000                
        less: treasury stock, at cost – 1,486,586 and 1,731,386 shares as of february 28, 2007 and may 31, 2006
                                                                               -4,066,000                  
        less: treasury stock, at cost – 1,649,886 and 1,731,386 shares as of november 30, 2006 and may 31, 2006
                                                                                -4,572,000                 
        less: treasury stock, at cost – 1,696,386 and 1,731,386 shares as of august 31, 2006 and may 31, 2006
                                                                                 -4,714,000                
        current portion of long-term debt
                                                                                    20,004,000 34,019,000 42,765,000 54,946,000 24,773,000 24,802,000 4,893,000 4,851,000 4,846,000 4,414,000 4,892,000 643,000 631,000 
        less treasury stock, at cost – 1,731,386 and 1,873,750 shares as of may 31, 2006 and 2005
                                                                                  -4,812,000               
        liability and stockholders’ equity
                                                                                                 
        less: treasury stock, at cost – 1,744,586 and 1,873,750 shares as of february 28, 2006 and may 31, 2005, respectively
                                                                                   -4,848,000              
        retained deficit
                                                                                    -769,000 -2,934,000            
        less: treasury stock, at cost – 1,838,700 and 1,873,750 shares as of november 30, 2005 and may 31, 2005, respectively
                                                                                    -5,107,000             
        liabilities held for sale
                                                                                     1,456,000            
        less: treasury stock, at cost – 1,868,850 and 1,873,750 shares as of august 31, 2005 and may 31, 2005, respectively
                                                                                     -5,188,000            
        common stock – .01 par value...
                                                                                      193,000    193,000    96,000   
        less treasury stock, at cost – 1,873,750 and 2,084,950 shares as of may 31, 2005 and 2004, respectively
                                                                                      -5,201,000           
        assets:
                                                                                                 
        furniture, fixtures and office equipment
                                                                                       8,962,000 8,896,000 8,798,000  6,304,000      
        net property, plant and equipment
                                                                                       41,882,000 43,057,000 44,328,000  46,287,000 46,721,000 47,046,000  41,764,000 37,762,000 
        liabilities and stockholders’ equity:
                                                                                                 
        less: treasury stock, at cost – 1,929,750 shares as of february 28, 2005 and 2,084,950 shares as of may 31, 2004
                                                                                       -5,355,000          
        less: treasury stock, at cost – 1,956,950 shares as of november 30, 2004 and 2,084,950 shares as of may 31, 2004
                                                                                        -5,431,000         
        less accumulated depreciation
                                                                                         34,309,000  -31,662,000 30,294,000 28,805,000  27,956,000 26,962,000 
        less: treasury stock, at cost—1,968,950 and 2,084,950 shares as of august 31, 2004 and may 31, 2004, respectively
                                                                                         -5,464,000        
        billings on uncompleted contracts in excess of costs & estimated earnings
                                                                                          13,388,000    22,794,000   
        joint venture
                                                                                              1,013,000   
        less treasury stock, at cost–2,084,950 and 3,140,520 shares as of may 31, 2004 and 2003, respectively
                                                                                          -5,769,000       
        common stock
                                                                                           193,000 193,000 96,000  96,000 96,000 
        less: treasury stock, at cost – february 29 – 2,146,150 shares; may 31 – 3,140,520 shares
                                                                                           -5,925,000      
        asset held for sale
                                                                                            1,576,000     
        less: treasury stock, at cost – november 30 – 2,348,448 shares; may 31 – 3,140,520 shares
                                                                                            -6,415,000     
        less: treasury stock, at cost – august 31- 1,477,360 and may 31- 1,570,260
                                                                                             -7,819,000    
        less treasury stock, at cost – 1,570,260 and 1,784,856 shares as of may 31, 2003 and 2002, respectively
                                                                                              -8,179,000   
        goodwill, net of accumulated amortization
                                                                                               10,981,000 10,888,000 
        accrued environmental reserves
                                                                                               17,000 28,000 
        less: treasury stock, at cost – 1,660,379 and 1,784,856 february 28 and may 31, respectively
                                                                                               -8,523,000  
        less: treasury stock, at cost – november 30 – 1,720,179 may 31 – 1,784,856
                                                                                                -8,747,000 
      Cashflow Statements:
      Quarterly
      Annual
        Unit: USD2026-03-31 2025-12-31 2025-09-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 2014-03-31 2013-12-31 2013-09-30 2013-06-30 2013-03-31 2012-12-31 2012-09-30 2012-06-30 2012-03-31 2011-12-31 2011-09-30 2011-06-30 2011-03-31 2010-12-31 2010-09-30 2010-06-30 2010-03-31 2009-12-31 2009-09-30 2009-05-31 2009-02-28 2008-11-30 2008-08-31 2008-05-31 2008-02-29 2007-11-30 2007-08-31 2007-05-31 2007-02-28 2006-11-30 2006-08-31 2006-05-31 2006-02-28 2005-11-30 2005-08-31 2005-05-31 2005-02-28 2004-11-30 2004-08-31 2004-05-31 2004-02-29 2003-11-30 2003-08-31 2003-05-31 2003-02-28 
                                                                                                    
          operating activities:
                                                                                                    
          net loss
        835,000 -894,000 -3,663,000 -3,434,000 -5,533,000 -9,223,000   -2,851,000 -3,167,000 -336,000 -12,686,000 -32,827,000 -6,512,000 13,456,000 -34,899,000 -24,919,000 -17,538,000  -12,873,000                                                                         
          adjustments to reconcile net loss to net cash provided (used) by operating activities:
                                                                                                    
          depreciation and amortization
        2,011,000 2,232,000 2,461,000 2,513,000 2,510,000 2,515,000 2,686,000 2,645,000 2,781,000 2,911,000 3,195,000 3,322,000 3,535,000 3,642,000 3,697,000 3,716,000 3,789,000 4,052,000 4,219,000 4,352,000 4,648,000 4,639,000 4,736,000 4,686,000 4,923,000 4,779,000 4,601,000 4,497,000 4,583,000 4,543,000 4,801,000 4,640,000 5,313,000 5,593,000 5,763,000 5,851,000 5,084,000 4,904,000 5,302,000 5,419,000 5,291,000 5,429,000 6,148,000 5,792,000 5,769,000 5,771,000 5,573,000 5,394,000 3,831,000 3,720,000 3,571,000 3,415,000 2,970,000 2,826,000 2,817,000 2,930,000 2,912,000 2,826,000 2,817,000 2,727,000 2,725,000 2,798,000 2,871,000 2,914,000 2,947,000 3,019,000 3,143,000 2,756,000 2,480,000 2,381,000 2,343,000 2,217,000 2,039,000 1,774,000 1,805,000 1,664,000 1,573,000 1,458,000 1,406,000 1,428,000 1,417,000 1,447,000 1,555,000   1,732,000 1,719,000 1,724,000 1,617,000 1,563,000 1,520,000 1,181,000 
          stock-based compensation expense
        1,413,000 2,142,000 1,921,000 2,186,000 2,257,000 2,311,000 1,980,000 1,980,000 2,030,000 1,755,000 1,637,000 1,407,000 1,692,000 2,055,000 2,054,000 2,088,000 1,866,000 1,869,000 1,743,000 2,214,000 1,981,000 2,218,000 1,762,000 2,302,000 2,789,000 3,024,000 2,863,000 3,307,000 3,153,000 2,585,000 2,130,000 2,135,000 2,267,000 2,086,000 1,994,000 1,920,000 1,895,000 1,652,000 1,294,000 1,514,000 1,851,000 1,658,000 1,572,000 1,562,000 1,711,000 1,457,000 1,783,000 1,390,000 1,428,000 1,087,000 1,001,000 1,018,000 946,000 866,000 849,000 920,000 766,000 969,000 658,000 706,000 458,000 573,000 495,000 565,000 526,000 466,000 -885,000 918,000 1,162,000 1,011,000 716,000 774,000 884,000 500,000 527,000 474,000 293,000 180,000               
          operating lease impairment due to restructuring
        886,000 1,529,000                 212,000 92,000 150,000                                                                       
          gain on disposal of property, plant and equipment
        -130,000   -58,000                                                                                         
          other
        -103,000 245,000 94,000 127,000 -57,000 38,000 1,160,000 77,000 53,000 72,000 59,000 57,000 69,000 63,000 66,000 58,000   143,000 117,000 99,000 101,000 103,000 103,000 -297,000 84,000 393,000 106,000 101,000 101,000 102,000 101,000 101,000 93,000 78,000 78,000 70,000 63,000 61,000 60,000 59,000 60,000 60,000 60,000 59,000 59,000 58,000 50,000 51,000 49,000 66,000 56,000 33,000 8,000 48,000 197,000 -62,000 34,000 66,000 69,000 63,000 33,000 366,000 39,000 41,000 38,000  277,000 24,000 24,000         16,000   -3,000 44,000   -24,000 202,000 83,000 -90,000 -101,000   
          changes in operating assets and liabilities increasing (decreasing) cash:
                                                                                                    
          accounts receivable, net of allowance for credit losses
        60,918,000 -61,877,000 -15,083,000 -69,872,000 -13,820,000 -5,110,000 31,003,000                                                                                      
          costs and estimated earnings in excess of billings on uncompleted contracts
        366,000 12,629,000 -8,148,000 -3,856,000 -2,893,000 2,075,000 707,000 5,826,000 1,943,000 2,519,000 8,510,000 -6,810,000 13,021,000 -14,857,000 1,641,000 -11,890,000 -737,000 -2,992,000 7,190,000 3,434,000 16,296,000 1,854,000 -2,689,000 364,000 8,773,000 30,087,000 -20,730,000 -2,659,000 3,278,000 302,000 -9,647,000 -2,764,000 1,732,000 25,227,000 -21,194,000 10,310,000 25,544,000 -1,093,000 -11,355,000 -10,903,000 1,861,000 2,467,000 -8,731,000 -7,767,000 20,246,000 -16,811,000 24,441,000 -6,066,000 -11,930,000 7,095,000 -3,214,000 -4,408,000 11,447,000 -9,036,000 -13,510,000 1,478,000 -6,029,000 -10,445,000 612,000 -3,690,000 7,185,000 -3,217,000 -1,247,000 -3,344,000 -4,098,000 2,965,000 1,285,000 18,059,000 -5,230,000 2,814,000 -9,542,000 2,760,000 -1,092,000 3,568,000 -6,642,000 -11,811,000 7,383,000 -10,026,000 -3,707,000 7,571,000 -5,743,000 -66,000 -157,000   1,687,000 -5,872,000 -75,000 14,183,000 -9,488,000 5,456,000 3,558,000 
          inventories
        853,000 -1,283,000 338,000 768,000 351,000 1,331,000 218,000 -616,000 712,000 -1,716,000 559,000 -46,000 398,000 1,595,000 -3,067,000 -610,000 17,000 1,028,000 -1,125,000 547,000 -13,000 -291,000 1,278,000 -553,000 376,000 456,000 620,000 -676,000 -1,447,000 -1,369,000 187,000 -814,000 -256,000 -532,000 189,000 268,000 -427,000 168,000 38,000 483,000 175,000 -90,000 102,000 138,000 -7,000 39,000 98,000 50,000 25,000 -184,000 -83,000 -110,000 -416,000 -785,000 65,000 34,000 -253,000 -79,000 347,000 -195,000 355,000 695,000 702,000 -195,000 424,000 307,000 43,000 -233,000 -23,000 -1,615,000 183,000 428,000 549,000 -524,000 -127,000 -427,000 -179,000 -636,000 -436,000 -561,000 -221,000 228,000 1,765,000   -916,000 -1,522,000 -107,000 95,000 -200,000 -356,000 18,000 
          other assets and liabilities
        2,575,000 2,667,000 -10,553,000 1,843,000 1,617,000 -8,580,000 2,244,000 3,416,000 5,906,000 -7,669,000 137,000 15,571,000 -1,800,000 -3,370,000 2,239,000 1,015,000 2,137,000 -5,921,000 -4,091,000 -11,730,000 1,923,000 -8,018,000 5,602,000 3,880,000 1,844,000 -297,000 2,504,000 -4,199,000 309,000 -10,860,000 2,086,000 -1,242,000 4,816,000 -5,291,000 2,027,000 -5,694,000 -1,768,000 -2,206,000 12,841,000 3,400,000 -9,154,000 293,000 9,133,000 -822,000 -7,479,000 10,726,000                                               
          accounts payable
        1,510,000 -10,078,000 17,720,000 -1,519,000 18,377,000 -3,903,000 10,538,000 -6,620,000 -12,130,000 -2,173,000 10,554,000 -14,597,000 11,629,000 -6,376,000 6,466,000 12,054,000 -9,974,000 5,108,000 10,579,000 -1,178,000 -17,357,000 -4,431,000 -3,786,000 3,053,000 -22,942,000 -15,240,000 2,559,000 21,470,000 -6,639,000 15,261,000 11,814,000 -3,679,000 -19,555,000 -14,463,000 8,643,000 -11,414,000 -20,679,000 -13,597,000 18,190,000 13,251,000 9,454,000 -26,197,000 35,982,000 -3,596,000 -1,898,000 -17,531,000 -9,500,000 6,022,000 33,823,000 -1,111,000 10,219,000 -726,000 -2,778,000 12,541,000 6,362,000 -6,065,000 5,091,000 7,474,000 6,719,000 -5,620,000 -2,978,000 -7,447,000 16,744,000 -8,156,000 1,594,000 -8,489,000 -9,899,000 -6,946,000 -5,603,000 -2,615,000 2,253,000 -11,091,000 17,725,000 -7,924,000 9,005,000 8,040,000 -5,558,000 -5,897,000 15,772,000 -1,671,000 -1,495,000 -3,513,000 -5,303,000   7,861,000 -3,431,000 1,338,000 -9,308,000 -4,991,000 22,801,000 48,000 
          billings on uncompleted contracts in excess of costs and estimated earnings
        -42,193,000 65,341,000 -6,037,000 95,120,000 32,925,000 33,304,000 3,651,000 50,384,000 44,140,000 -12,303,000 -29,293,000 14,967,000 46,476,000 -11,820,000 -8,762,000 -10,991,000 33,886,000 -2,859,000 -4,216,000 -2,749,000 -1,279,000 -366,000 -36,677,000 -9,996,000 -19,629,000 24,565,000 -16,609,000 6,869,000 -3,014,000 -2,229,000 32,114,000 22,250,000 817,000 -9,568,000 -237,000 566,000 10,828,000 -5,945,000 -8,482,000 -47,331,000 38,865,000 -21,429,000 -42,742,000 11,832,000 23,906,000 -4,732,000 7,826,000 4,841,000 -22,460,000 12,935,000 13,055,000 -7,813,000 11,969,000 15,344,000 2,031,000 -3,554,000 6,274,000 -9,943,000 -1,412,000 -2,704,000 2,567,000 8,157,000 1,140,000 -7,136,000 -6,432,000 -10,388,000 1,464,000 8,694,000 -7,970,000 -5,599,000 887,000 -4,172,000 15,744,000 2,007,000 11,129,000 2,301,000 2,802,000 5,934,000 -6,037,000 4,607,000 1,553,000 -471,000 2,861,000   -576,000 -5,338,000 -1,836,000 -1,377,000 -3,362,000 -8,893,000 -240,000 
          accrued expenses
        5,221,000 -3,560,000 -6,261,000 7,429,000 -2,004,000 -2,908,000 -2,446,000 5,629,000 2,452,000 -195,000 -2,467,000 238,000 -4,133,000 -4,248,000 -875,000 3,923,000 -9,545,000 -1,112,000 -1,443,000 3,358,000 -97,000 3,646,000 -2,318,000 2,395,000 -14,255,000 -3,220,000 -3,130,000 17,520,000 -9,587,000 9,624,000 82,000 5,925,000 -9,209,000 4,998,000 -4,226,000 -3,591,000 1,415,000 -3,241,000 674,000 7,823,000 -2,658,000 -4,182,000 -14,686,000 13,031,000 506,000 -6,605,000 -2,830,000 14,472,000 -4,309,000 -865,000 -4,696,000 8,149,000 -3,248,000 2,591,000 -865,000 1,606,000 3,876,000 -5,935,000 -115,000 4,768,000 -7,919,000 2,913,000 2,578,000 6,035,000 -3,237,000 -4,145,000 5,266,000 30,000 -1,538,000 -3,264,000 3,422,000 3,091,000 3,249,000 -8,497,000 348,000 4,366,000 2,576,000 -2,957,000 48,000 -218,000 3,901,000 -5,806,000 4,280,000   -4,328,000 -1,990,000 -2,922,000 1,752,000 6,334,000 -3,198,000 849,000 
          net cash from operating activities
           31,247,000                     -17,479,000 56,104,000   4,665,000 8,819,000         9,006,000 14,878,000   -12,537,000 31,597,000 266,000 5,112,000 56,833,000 -30,309,000   20,887,000    2,466,000    2,684,000    -635,000   4,472,000 12,724,000   336,000 21,073,000 22,346,000   5,266,000 3,190,000    21,852,000 -2,618,000 6,797,000    17,302,000  14,677,000   5,100,000 7,085,000 
          investing activities:
                                                                                                    
          capital expenditures
           -2,566,000                     -5,808,000 -8,684,000   546,000 274,000         -208,000 -325,000   -665,000 919,000 -185,000 370,000 -438,000 -114,000   398,000    -191,000    681,000    -59,000   99,000 -63,000   775,000 31,000 -1,158,000   -1,168,000 867,000       -392,000  -1,386,000   -5,149,000 
          free cash flows
           28,681,000                     -23,287,000 47,420,000   5,211,000 9,093,000         8,798,000 14,553,000   -13,202,000 32,516,000 81,000 5,482,000 56,395,000 -30,423,000   21,285,000    2,275,000    3,365,000    -694,000   4,571,000 12,661,000   1,111,000 21,104,000 21,188,000   4,098,000 4,057,000    21,852,000 -2,618,000 6,797,000    16,910,000  13,291,000   5,100,000 1,936,000 
          proceeds from sale of property, plant and equipment
        999,000 262,000 222,000 74,000                                                                                         
          net cash used by investing activities
        82,000 -914,000 -1,789,000         -3,290,000 -1,238,000 -1,574,000  376,000 -345,000 -116,000 -151,000 -679,000 269,000 -1,703,000 -484,000 -2,517,000   -5,671,000 -7,530,000   -2,356,000 -1,662,000 -3,688,000 -1,630,000 -3,270,000 -4,339,000 -42,137,000 -1,673,000 -2,029,000 -17,166,000 -3,565,000 -3,806,000  -3,001,000 -4,214,000 -8,758,000  -5,868,000 -57,553,000 -5,484,000  -4,501,000 -15,163,000 -5,055,000 -3,513,000 -2,600,000 -3,760,000 -2,822,000 -6,610,000 -3,011,000 -2,191,000 -2,254,000 -1,112,000 -1,205,000 -1,776,000 -991,000 -1,556,000 -17,127,000 -2,632,000 -3,003,000  -4,701,000 -5,380,000 -2,755,000                   
          financing activities:
                                                                                                    
          payment of debt amendment fees
        -149,000            -209,000 -44,000 -88,000 -922,000 -351,000 -261,000           -24,000 -340,000 -251,000 -654,000           -150,000        -70,000   -216,000                               
          proceeds from issuance of common stock under employee stock purchase plan
        46,000 55,000 43,000 47,000 56,000 46,000 52,000 41,000 46,000 45,000 52,000 64,000 71,000 65,000 58,000 69,000 67,000 76,000 69,000 75,000 73,000 82,000 77,000 86,000 74,000 83,000 76,000 82,000 75,000 78,000 69,000 80,000 78,000 66,000 52,000 84,000 86,000 83,000 74,000 95,000 94,000 72,000 83,000                                                  
          payments related to tax withholding for stock-based compensation
        -4,223,000                                                                                          
          net cash used by financing activities
        46,000 55,000 -4,329,000 47,000 56,000 -1,189,000  41,000 -9,954,000 -411,000  64,000 71,000 -245,000  -93,000 60,000 -1,817,000 -144,000 -335,000   70,000 -12,131,000                               -1,775,000 1,638,000 -4,188,000 -5,025,000 -158,000 -33,000 -364,000 -465,000 -165,000 -281,000 -672,000 -235,000    -118,000          -21,456,000 977,000 -8,531,000           
          effect of exchange rate changes on cash
        -233,000 62,000 -317,000 -38,000 -735,000 210,000                                     -1,485,000 -138,000 -475,000 -436,000 -300,000 -825,000 -330,000 246,000 -340,000 -309,000 -149,000 415,000 -584,000 349,000 412,000 -704,000 66,000 68,000 320,000 341,000 -487,000 296,000 -97,000 749,000 1,226,000 -271,000 -1,160,000 -385,000 -69,000 191,000 185,000 54,000 273,000 -91,000 -139,000 -14,000 95,000 72,000 50,000 131,000 -8,000 -79,000 84,000 38,000 -2,000 -33,000 86,000 -12,000 106,000 85,000 
          net increase in cash and cash equivalents
        34,057,000 6,657,000 -32,334,000 28,764,000 32,167,000 8,995,000                                     -23,944,000 34,615,000 -4,186,000 -4,361,000 17,357,000 -13,534,000 -6,470,000 16,012,000 13,075,000    -3,406,000    -4,018,000 19,691,000 414,000 -7,629,000 -2,399,000 -8,069,000 4,896,000 3,995,000 12,001,000        2,145,000 1,910,000   6,150,000 -61,000 1,379,000 -379,000           
          cash, cash equivalents and restricted cash, beginning of period
        249,641,000 140,615,000  79,812,000  77,371,000  83,878,000                                                                           
          cash, cash equivalents and restricted cash, end of period
        34,057,000 6,657,000 217,307,000 28,764,000 32,167,000 149,610,000  22,498,000 19,801,000 52,359,000  16,740,000 17,122,000 39,342,000  -33,548,000 30,362,000 62,278,000                                                                           
          supplemental disclosure of cash flow information:
                                                                                                    
          cash paid during the period for:
                                                                                                    
          income taxes
        60,000 34,000 21,000   -17,000 -105,000 -16,000 -27,000 -51,000    -23,000 -2,500,000   251,000 3,000 75,000 122,000 553,000 1,090,000 -318,000 5,069,000 2,567,000 487,000 189,000 66,000 179,000 566,000 567,000 98,000 289,000 3,318,000 5,364,000 2,997,000 173,000 80,000 7,365,000 1,747,000 260,000 795,000 7,877,000 -1,972,000 7,715,000 4,633,000 6,754,000 58,000 4,838,000 845,000 5,783,000 776,000 2,630,000 5,746,000 3,471,000 169,000 3,125,000 1,431,000 1,568,000 127,000 831,000 2,273,000 3,326,000 2,211,000 3,370,000 1,964,000 12,361,000 2,439,000 235,000 211,000 7,793,000 511,000 16,016,000 -9,714,000 3,657,000 75,000 -1,433,000 137,000 1,296,000 -810,000 -491,000          
          interest
        80,000 89,000 131,000 84,000 87,000 145,000 104,000 129,000 258,000 389,000         430,000 365,000 569,000 470,000 613,000 588,000 530,000 417,000 365,000 491,000 393,000 456,000 654,000 725,000 758,000 582,000 522,000 867,000 161,000 238,000 92,000 268,000 210,000 311,000 262,000 271,000 224,000 524,000 645,000 117,000 316,000 146,000 153,000 176,000 155,000 126,000 121,000 78,000 72,000 207,000 133,000 218,000 149,000 132,000 130,000 128,000 133,000 139,000 104,000 84,000 114,000 94,000 73,000 145,000 143,000 168,000 1,336,000 -1,221,000 438,000 170,000 5,903,000 -4,481,000 640,000 962,000 5,422,000          
          non-cash investing and financing activities:
                                                                                                    
          purchases of property, plant and equipment on account
        343,000 -142,000 156,000 590,000 -184,000 197,000 101,000 -32,000 65,000 6,000 74,000 -446,000 375,000 101,000 -45,000 94,000 -46,000 51,000 73,000 22,000   -366,000 -268,000 419,000 263,000 1,586,000 280,000 546,000 274,000 20,000 31,000 -86,000 191,000 -363,000 425,000 342,000 79,000 -208,000 -325,000 123,000 603,000 -665,000 919,000 -185,000 370,000 -438,000 -114,000 -16,000 1,095,000 398,000 254,000 -155,000 649,000 -191,000 11,000 -46,000 683,000 681,000 -1,417,000 772,000 729,000 -59,000 50,000 -49,000 99,000 -63,000 -526,000 -137,000 775,000 31,000 -1,158,000 705,000 906,000 -1,168,000 867,000 29,000 414,000               
          net cash provided (used) by operating activities
         7,454,000 -25,899,000   11,918,000     7,844,000 19,988,000       10,241,000   -15,020,000     42,510,000    28,769,000 16,322,000 22,750,000 6,830,000 6,863,000 5,299,000      -14,451,000        18,450,000           2,649,000 -5,251,000            1,214,000    -1,068,000     -12,078,000          
          loss on disposal of property, plant and equipment
          -217,000   68,000                                                                                       
          adjustments to reconcile net loss to net cash from operating activities:
                                                                                                    
          advances under asset-backed credit facility
                                                                                                
          repayments of advances under asset-backed credit facility
                -5,000,000                                                                                 
          repurchase of common stock for payment of statutory taxes due on equity-based compensation
           -1,235,000 -456,000 -310,000 -853,000 -5,000 -13,000 -1,536,000 -7,000 -26,000 -97,000 -3,394,000 -34,000 -92,000 -1,559,000 -15,000 -158,000 -454,000 -2,000 -18,000 -392,000 -1,878,000 -48,000 -52,000 -4,106,000 -382,000 -56,000                                                  
          net cash provided (used) by investing activities
            -752,000 -1,944,000   -193,000 2,140,000                -8,533,000    1,478,000                                             -3,613,000 -2,584,000 -3,445,000 -3,190,000  -529,000 2,970,000 1,224,000 1,157,000          
          net income
              -4,377,000               -3,037,000 -5,722,000 -5,495,000 -28,008,000 6,151,000 12,812,000 8,933,000 3,932,000 2,305,000 -14,683,000 -5,153,000 4,532,000 3,824,000 -954,000 -13,500,000 5,250,000 9,342,000 9,134,000 3,546,000 3,118,000 9,739,000 11,220,000 -12,942,000 -4,847,000 4,671,000 8,222,000 11,792,000 10,311,000 6,552,000 7,367,000 6,521,000 5,436,000 4,684,000 1,786,000 4,862,000 7,031,000 3,509,000 5,683,000 4,923,000 5,287,000 3,089,000 -4,229,000 63,000 4,533,000 4,509,000 6,745,000 4,212,000 10,128,000 9,504,000 8,866,000 6,002,000 210,000 6,336,000 1,939,000 6,150,000 8,074,000 3,008,000 3,339,000 1,771,000 2,168,000 375,000 -3,762,000   -892,000 326,000 2,259,000 3,092,000 3,865,000 3,650,000 1,212,000 
          adjustments to reconcile net income to net cash provided (used) by operating activities
                                                                                                    
          goodwill impairment
                                                                                                  
          deferred income tax
                      35,000 -17,000 10,683,000 -5,343,000 -579,000 2,228,000 -1,049,000 289,000 -539,000 -157,000 -4,924,000 1,990,000 499,000 1,645,000 -445,000 362,000 -3,832,000 989,000 -1,054,000 2,711,000 2,109,000 -5,635,000 -74,000 1,044,000 458,000 23,000 10,000 1,380,000  -2,037,000 3,005,000 -1,994,000  -2,399,000 -1,991,000 -111,000  30,000 80,000 98,000  147,000 949,000 -977,000 1,552,000 8,000 2,075,000 108,000 -3,812,000 -345,000   1,085,000 6,000 -423,000 -756,000 919,000 2,040,000 -386,000 -1,089,000 -3,439,000 -146,000 2,322,000 -179,000 -572,000 2,350,000 -365,000 -97,000 -1,465,000   -105,000 1,266,000 70,000 422,000 468,000 749,000 192,000 
          gain on sale of property, plant and equipment
              -393,000    -2,820,000    -32,440,000 -572,000 -1,000 -101,000 -78,000 63,000 -245,000 -941,000 -231,000 -251,000 -192,000 -93,000 -44,000 -83,000 -556,000 -171,000 -151,000 -408,000 18,000 -121,000 224,000 -235,000 7,000 -138,000  -74,000 37,000 -74,000  -185,000 2,000 -122,000  18,000 -21,000 -36,000  42,000 -18,000 -33,000    -42,000    -2,000   9,000 -36,000         -47,000 -20,000 -22,000 -97,000               
          accelerated amortization of deferred debt amendment fees
                      1,518,000                                                                           
          proceeds from asset sales
              514,000 2,729,000 188,000 2,618,000 6,356,000 79,000 27,000 4,000 37,768,000 1,142,000 5,000 103,000 306,000 150,000 560,000 1,074,000 405,000 641,000 226,000 151,000 166,000 136,000 656,000 267,000 205,000 437,000 172,000 248,000 163,000 949,000 43,000 153,000 164,000 113,000 10,000 135,000 97,000 363,000 142,000 148,000 226,000 1,000 47,000 279,000 15,000 98,000 36,000 37,000 405,000 16,000 11,000 166,000 38,000 28,000 79,000 5,000 131,000 5,000 40,000 42,000 4,000 43,000 853,000 102,000 170,000 90,000 59,000 133,000 71,000 75,000 27,000 115,000 90,000 687,000 4,106,000 2,163,000           
          issuances of common stock
                        257,000        128,000     19,000 12,000 176,000 46,000 60,000 121,000 73,000 384,000  129,000 171,000 193,000  474,000 246,000 356,000  452,000 45,000 61,000  34,000    117,000    2,000    71,000    347,000    773,000                 
          net cash provided (used) by financing activities
                             -1,454,000       -4,640,000 180,000 -9,000,000   -3,334,000 361,000    -8,721,000 -8,099,000 -3,254,000 9,489,000  6,157,000 237,000 -279,000       -601,000 3,082,000                 -2,271,000   -282,000 219,000 1,395,000 311,000 82,000               
          cash, cash equivalents, and restricted cash, beginning of period
                                                                                                    
          cash, cash equivalents, and restricted cash, end of period
                                                                                                    
          cash paid (received) during the period for:
                                                                                                    
          adjustments to reconcile net income to net cash used by operating activities:
                                                                                                    
          benefit from uncollectible accounts
                                                                                                    
          effect of exchange rate changes on cash, cash equivalents and restricted cash
               -280,000 344,000 -307,000  -22,000 645,000 -981,000  71,000 109,000 -514,000                                                                           
          net increase in cash, cash equivalents and restricted cash
                                                                                                    
          adjustments to reconcile net loss to net cash used by operating activities:
                                                                                                    
          loss on sale of property, plant and equipment
                -2,223,000 -2,366,000   -23,000 65,000                                         -99,000 -16,000   106,000 -8,000       30,000   -12,000    28,000                   
          accounts receivable
                -13,209,000 -6,543,000 18,147,000 18,641,000 -32,747,000 4,622,000 -16,875,000 -16,176,000 23,330,000 3,134,000 8,499,000 -7,034,000 20,413,000 -10,769,000 48,658,000 -10,228,000 14,579,000 3,594,000 56,062,000 -71,259,000 11,107,000 -11,284,000 -14,327,000 -5,658,000 33,223,000 -7,734,000 11,599,000 25,441,000 -8,377,000 -40,595,000 -19,532,000 37,504,000 -30,001,000 16,181,000 -10,522,000 26,596,000 -39,622,000 30,379,000 27,560,000 -70,620,000 21,285,000 -9,620,000 -9,186,000 20,597,000 5,696,000 -49,515,000 5,739,000 1,927,000 -11,276,000 -965,000 -12,218,000 18,642,000 -7,528,000 -15,395,000                        12,396,000 -12,539,000 13,557,000 -30,080,000 9,113,000 -17,306,000 1,358,000 
          net decrease in cash, cash equivalents and restricted cash
                19,801,000 -27,453,000                                                                                   
          net cash used by operating activities
                 -28,875,000    -35,229,000    -19,153,000                    -49,588,000                -20,998,000   6,293,000 -12,121,000                                5,003,000   
          adjustments to reconcile net loss to net cash provided (used) by operating activities
                                                                                                    
          operating lease, fixed asset, and other intangible asset impairments due to restructuring
                                                                                                    
          provision for uncollectable accounts
                                                                                                    
          advances under senior secured revolving credit facility
                            1,172,000 8,411,000 8,984,000 3,795,000 4,047,000 6,085,000 2,298,000 -352,000                                                             
          repayments of advances under senior secured revolving credit facility
                            -6,231,000 -5,254,000 -2,872,000 -763,000 -1,890,000 -7,478,000 -765,000 -9,386,000 -41,419,000                                                             
          provision for uncollectible accounts
                   -13,000 38,000 -88,000  87,000 -39,000 4,000 123,000 3,000 23,000 -64,000 -134,000 99,000 969,000 224,000 110,000 -71,000 -110,000 76,000 95,000 5,000 7,000 848,000 934,000 -88,000 54,000 350,000 140,000 5,210,000 334,000 -62,000 -32,000 -14,000 465,000                 54,000                              
          interest, including payment of debt amendment fees
                   619,000 635,000 421,000  711,000 195,000 1,603,000                                                                           
          other treasury share purchases
                                                      -98,000 -40,000 -1,634,000 -4,000 -80,000 -17,000 -715,000 -350,000 -50,000 -48,000 -331,000 -108,000                                  
          decrease in cash, cash equivalents and restricted cash
                     -38,029,000    -21,600,000                                                                           
          goodwill and other intangible asset impairment
                                                                                                  
          open market purchase of treasury shares
                              -7,132,000   -1,960,000           -5,001,000                -3,254,000 -4,872,000                                  
          increase in cash, cash equivalents and restricted cash
                                                                                                    
          adjustments to reconcile net income to net cash provided (used) by operating activities, net of effects from disposals:
                                                                                                    
          gain on disposal of business
                                  -427,000                                                               
          changes in operating assets and liabilities increasing (decreasing) cash, net of effects from disposals:
                                                                                                    
          proceeds from disposal of business
                                  192,000 3,693,000                                                               
          repayment of principal portion of long-term liability
                          -119,000                                                                          
          cash and cash equivalents, beginning of period
                          100,036,000 89,715,000 64,057,000 43,805,000 71,656,000 79,239,000 77,115,000 63,750,000 39,726,000 59,357,000 50,899,000 52,476,000  21,989,000  9,147,000  8,585,000  1,496,000           
          cash and cash equivalents, end of period
                          10,127,000 -19,730,000 11,306,000 82,175,000 12,533,000 -22,992,000 -29,394,000 139,889,000 40,039,000 -21,813,000 -3,247,000 74,736,000 17,172,000 -27,202,000 28,002,000 46,085,000 4,108,000 -26,533,000 30,651,000 35,579,000 -1,747,000 -9,028,000 13,251,000 69,180,000 -23,944,000 34,615,000 -4,186,000 72,754,000 17,357,000 -13,534,000 -6,470,000 79,762,000 13,075,000 17,466,000 16,039,000 17,170,000 -3,406,000 5,690,000 -1,243,000 38,685,000 -4,018,000 19,691,000 414,000 43,270,000 -2,399,000 -8,069,000 4,896,000 56,471,000  9,014,000 -5,281,000 18,819,000  2,041,000 -1,149,000 7,378,000  1,910,000 697,000 4,395,000  -61,000 1,379,000 1,117,000           
          effect of exchange rate changes on cash and cash equivalents
                           320,000 584,000 316,000  -1,206,000 446,000 -198,000  72,000 -547,000 202,000  -156,000 212,000 414,000  501,000 -820,000 -253,000  1,359,000 -823,000 -1,291,000                                                   
          decrease in cash and cash equivalents
                                             -36,077,000    -10,059,000                                                   
          increase in cash and cash equivalents
                            11,306,000 -17,861,000   -29,394,000 50,174,000  -21,813,000 -3,247,000 10,679,000  -27,202,000 28,002,000 2,280,000      -9,028,000                                            820,000 6,000 394,000  -405,000 1,238,000 -128,000  293,000 
          adjustments to reconcile net income to net cash provided (used) by operating activities:
                                                                                                    
          adjustments to reconcile net income to net cash from operating activities, net of effects of acquisitions:
                                                                                                    
          changes in operating assets and liabilities increasing (decreasing) cash, net of effects from acquisitions:
                                                                                                    
          acquisitions, net of cash acquired
                                                      -209,000                                              
          adjustments to reconcile net income to net cash from operating activities, net of effects from acquisitions and disposals:
                                                                                                    
          operating lease and fixed asset impairments due to restructuring
                                                                                                    
          changes in operating assets and liabilities increasing (decreasing) cash, net of effects from acquisitions and disposals:
                                                                                                    
          accrual for unsettled stock repurchases
                                                                                                    
          net cash from financing activities
                                 2,801,000           54,928,000 15,437,000           19,399,000 2,800,000                                    -16,580,000       
          adjustments to reconcile net income to net cash provided (used) by operating activities, net of effects of acquisitions:
                                                                                                    
          capital contributions from noncontrolling interest
                                             2,459,000 8,433,000 744,000                                                  
          accrued acquisition working capital adjustment
                                                                                                    
          adjustments to reconcile net income to net cash provided (used) by operating activities, net of effects from acquisitions and disposals:
                                                                                                    
          acquisition of property, plant and equipment
                                   -7,666,000 -3,573,000 -2,482,000 -2,561,000 -2,099,000 -2,173,000 -1,878,000 -3,433,000 -4,267,000 -2,382,000 -1,826,000 -2,193,000 -4,230,000 -3,575,000 -3,941,000 -4,698,000 -3,364,000 -4,055,000 -3,656,000 -5,755,000 -5,869,000 -6,202,000 -5,763,000 -6,591,000 -4,599,000 -6,949,000 -5,092,000 -3,918,000 -2,857,000 -3,771,000 -2,988,000 -2,848,000 -3,039,000 -2,270,000 -2,259,000 -1,243,000 -1,210,000 -1,816,000 -1,033,000 -1,365,000 -2,028,000 -3,485,000 -3,105,000 -5,184,000 -4,791,000 -5,439,000 -2,888,000 -3,684,000 -2,659,000 -3,472,000 -3,305,000 -2,323,000 -1,216,000 -1,136,000 -939,000           
          acquisitions
                                          -1,021,000                                                         
          repayment of acquired long-term debt
                                                                                                   
          assumption of debt from acquisition
                                                                                                    
          adjustments to reconcile net income to net cash provided (used) by operating activities, net of effects from acquisitions:
                                                                                                    
          advances under senior revolving credit facility
                                         24,890,000 20,765,000 4,084,000 74,898,000 27,186,000                                                       
          repayments of advances under senior revolving credit facility
                                         -27,496,000 -20,222,000 -32,357,000 -19,672,000 -10,000,000                                                       
          adjustments to reconcile net income to net cash used by operating activities, net of effects from acquisitions:
                                                                                                    
          acquisition of long-term debt
                                                                                                    
          excess tax benefit of exercised stock options and vesting of deferred shares
                                              -39,000 23,000 -3,225,000 -20,000 -38,000 -33,000 -1,071,000 -660,000 133,000 1,591,000 2,000 4,000 -5,000 13,000 -1,000 30,000                                       
          adjustments to reconcile net income to net cash from operating activities:
                                                                                                    
          advances under credit agreement
                                               1,791,000 962,000 2,876,000 -983,000 3,455,000 5,817,000 18,856,000 35,652,000 24,343,000 8,975,000 7,090,000 10,647,000 7,828,000 4,341,000                                      
          repayments of advances under credit agreement
                                               -3,381,000   -4,006,000 -872,000 -3,010,000 -6,094,000 -52,338,000 -13,740,000 -3,578,000 -6,549,000 -10,515,000 -10,577,000 -4,473,000 -6,098,000                                      
          adjustments to reconcile net income to net cash provided provided by operating activities:
                                                                                                    
          acquisition
                                                   -301,000 -5,250,000     -1,144,000                                         
          deferred income taxes
                                                                                                    
          impairment of intangible asset
                                                                                                    
          net cash from investing activities
                                                                                             -366,000    2,193,000 -40,356,000 -5,121,000 
          exercise of stock options
                                                                 49,000        25,000    82,000    41,000                   
          capital lease payments
                                                          -3,000 -3,000 -14,000 -22,000 -30,000 -46,000 -74,000 -108,000 -147,000 -171,000 -168,000 -245,000 -248,000 -277,000 -299,000 -253,000 -315,000 -234,000 -303,000 -285,000 -111,000 -248,000 -93,000 -323,000 -263,000 -154,000 -132,000 -122,000 -115,000 -142,000 -149,000 -10,000           
          net cash provided (used) for financing activities
                                                                                                    
          other cash flow information:
                                                                                                    
          non-cash investing:
                                                                                                    
          proceeds received for treasury shares sold to employee stock purchase plan
                                                    76,000 58,000                                               
          treasury shares purchased from employees to satisfy tax withholding obligations
                                                    -1,526,000 -913,000                                               
          allowance for uncollectible accounts
                                                      -78,000 -45,000 -23,000 -13,000 52,000 423,000 -466,000 705,000 57,000 -62,000 62,000 -33,000 126,000 20,000 298,000 3,000   -24,000 -4,000 138,000 272,000 -15,000 46,000 5,000 72,000 1,009,000 75,000 150,000 -26,000 22,000 43,000 117,000 5,000 383,000 82,000 437,000    -50,000      
          other assets
                                                      -7,117,000 5,861,000 925,000 -1,048,000 748,000 -1,951,000 301,000 -1,292,000 -2,369,000 2,042,000 30,000 -1,591,000 -1,038,000                                  
          acquisition related adjustment
                                                                                                    
          treasury shares sold to employee stock purchase plan
                                                                                                    
          treasury shares purchased by employee stock purchase plan
                                                       38,000 20,000 18,000  13,000 14,000 8,000  11,000                                     
          tax benefit (deficiency) from vesting of deferred shares
                                                                                                    
          acquisition, net of cash acquired
                                                                                                    
          net decrease in cash and cash equivalents
                                                            16,039,000 -22,556,000   -1,243,000 -20,672,000           -5,281,000 -3,170,000  2,041,000 -1,149,000 -1,769,000    -4,190,000               
          adjustment of acquisition payable
                                                                                                    
          tax benefit deficiency from the vesting of deferred shares
                                                              -9,000    -20,000 -2,000    -6,000                             
          tax benefit of exercised stock options
                                                                   24,000         85,000  199,000   1,001,000 896,000 115,000 120,000               
          income tax receivable/payable
                                                                 3,077,000 -1,199,000    296,000 -2,087,000 -668,000 488,000 -64,000 603,000 -7,312,000 4,097,000 3,826,000 1,524,000 -8,851,000 4,791,000 -319,000 1,102,000 -1,555,000 1,989,000 1,943,000 -952,000 1,264,000 1,157,000           
          treasury shares issued to employee stock purchase plan
                                                                 14,000                                   
          adjustments to reconcile net income to net cash from operating activities, net of effects of acquisitions
                                                                                                    
          inventory lower of cost or market write-down
                                                                                                    
          changes in operating assets and liabilities increasing
                                                                                                    
          tax benefit of exercised stock options and vesting of deferred shares
                                                                                                    
          issuance of treasury shares
                                                                                                    
          purchase of treasury shares
                                                                  -27,000 -3,000 -265,000 -4,000  -6,000 -415,000 -7,000                           
          supplemental disclosure of cash flow information
                                                                                                    
          equipment acquired through capital leases
                                                                      44,000 -19,000 229,000 26,000 121,000 238,000 223,000 295,000 579,000 439,000 110,000 92,000 919,000 200,000 62,000 135,000               
          prepaid expenses and other assets
                                                                    560,000 938,000 -2,206,000 1,724,000 114,000 983,000 -763,000 -433,000 911,000 -464,000 -782,000 -540,000 -22,000 -186,000 -1,177,000 392,000 -644,000 -2,450,000  577,000             
          income tax receivable
                                                                    -379,000 1,503,000                               
          loss on disposition of property, plant and equipment
                                                                                                    
          tax benefit deficiency from vesting of deferred shares
                                                                                                    
          advances under bank credit facility
                                                                              34,050,000 41,940,000 49,865,000 57,955,000 28,395,000 12,710,000 57,530,000 28,105,000               
          repayments of bank credit facility
                                                                              -34,050,000 -45,190,000 -46,615,000 -57,955,000 -28,395,000 -12,710,000 -57,530,000 -28,105,000               
          repayment of other notes
                                                                                                    
          receivables
                                                                       131,000 11,498,000 14,759,000 4,528,000 -1,708,000 12,234,000 -5,216,000 7,984,000   291,000 -8,150,000 -9,235,000 -13,524,000 7,952,000 -1,493,000 6,099,000 -6,012,000 12,352,000           
          acquisition of businesses, net of cash acquired
                                                                                                    
          debt amendment fees
                                                                                                    
          accretion on acquisition payable
                                                                              3,000 36,000 35,000 34,000 36,000 58,000 56,000 56,000 58,000 60,000 77,000 76,000           
          amortization of debt issuance costs
                                                                              24,000 24,000 74,000 30,000 69,000 40,000 88,000 175,000 88,000 350,000 1,128,000 1,094,000 436,000   97,000       
          amortization of prepaid interest
                                                                                  159,000 268,000 263,000 379,000 467,000 438,000 491,000 525,000           
          cash and cash equivalents, beginning of year
                                                                                                    
          cash and cash equivalents, end of year
                                                                                                    
          conversion of convertible notes
                                                                                  15,000,000 10,000,000               
          tax benefit from exercised stock options
                                                                           10,000                         
          other treasury share purchases debt amendment fees
                                                                                                    
          issuance of common stock
                                                                                     84,000 33,000 258,000 15,012,000 12,000 107,000 65,000 35,000 332,000       
          payment of debt issuance costs
                                                                                      1,000    -1,729,000 -20,000 -405,000 -409,000       
          changes in operating assets and liabilities increasing (decreasing) cash
                                                                                                    
          payment of credit facility refinancing fees
                                                                                   -120,000                 
          changes in operating assets and liabilities increasing (decreasing) cash receivables
                                                                                                    
          impairment of goodwill
                                                                                                   
          impairment of fixed assets
                                                                                                    
          contract dispute reserve
                                                                                          -115,000          
          issuance of convertible notes
                                                                                                    
          prepayment of interest on convertible notes
                                                                                                    
          impairment loss
                                                                                                   
          repayment of acquisition payable
                                                                                                   
          net cash received during the period for:
                                                                                                    
          capital lease borrowings
                                                                                        481,000 181,000 186,000         
          earnings of joint venture
                                                                                              -857,000   
          changes in operating assets and liabilities increasing (decreasing) cash, net of effects of dispositions:
                                                                                                    
          prepaid expenses
                                                                                         140,000 -1,853,000   -852,000 1,025,000 -829,000 418,000 383,000 1,165,000 475,000 
          net effect of dissolution of joint venture
                                                                                              2,738,000   
          distributions from joint venture
                                                                                                    
          operating activities
                                                                                                    
          loss on sale of assets
                                                                                                    
          investing activities
                                                                                                    
          financing activities
                                                                                                    
          advances under bank credit agreement
                                                                                       30,385,000 32,174,000 40,027,000 42,751,000 31,305,000 38,352,000 54,505,000       
          repayments of bank credit agreement
                                                                                       -50,365,000 -46,159,000 -48,741,000           
          gain on sale of assets
                                                                                                    
          change in fair value of interest rate swap
                                                                                        -30,000 -32,000           
          amortization of accumulated loss on interest rate swap
                                                                                        24,000 29,000 29,000   44,000 49,000      
          gain on sale of equipment
                                                                                         -720,000     -43,000 -236,000 -4,000 -2,000   
          changes in operating assets and liabilities increasing (decreasing) cash: net of effects of acquisitions:
                                                                                                    
          loss on sale of equipment
                                                                                             -3,000       
          changes in operating assets and liabilities increasing (decreasing) cash, net of effects of acquisitions:
                                                                                                    
          acquisition net of cash acquired
                                                                                                    
          proceeds from sale of exited operations
                                                                                                    
          cash flow from operating activities:
                                                                                                    
          accretion of acquisition payable
                                                                                             95,000  76,000 94,000 109,000   
          change in value of interest rate swap
                                                                                             -15,000 -115,000      
          changes in current assets and liabilities increasing (decreasing) cash:
                                                                                                    
          contract disputes receivable
                                                                                                    
          income taxes receivable
                                                                                             1,101,000       
          cash flow from investing activities:
                                                                                                    
          distribution from joint venture
                                                                                               701,000   
          proceeds from other investing activities
                                                                                             26,000  1,933,000 69,000 13,000 -1,706,000 28,000 
          cash flows from financing activities:
                                                                                                    
          repayments on bank credit agreement
                                                                                           -29,311,000 -37,841,000 -71,008,000       
          capital lease repayments
                                                                                           -10,000         
          cash and cash equivalents at beginning of period
                                                                                           752,000  775,000  
          cash and cash equivalents at end of period
                                                                                           820,000 6,000 1,146,000  -405,000 1,238,000 647,000  293,000 
          balances, may 31, 2004
                                                                                                    
          other comprehensive income
                                                                                                    
          translation adjustment
                                                                                                    
          derivative activity
                                                                                                    
          comprehensive income
                                                                                                    
          tax effect of exercised stock options
                                                                                                    
          balances, november 30, 2004
                                                                                                    
          balances, may 31, 2003
                                                                                                    
          stock dividend
                                                                                                    
          balances, november 30, 2003
                                                                                                    
          income taxes receivable/payable
                                                                                              -1,166,000 1,132,000 -1,228,000 2,169,000 -132,000 -1,540,000 
          issuance of long-term debt
                                                                                               64,000,000 87,942,000 67,570,000  16,750,000 
          repayments of long-term debt
                                                                                               -80,069,000 -65,976,000 -75,820,000  -18,953,000 
          issuance of stock
                                                                                               473,000 839,000 938,000  447,000 
          net cash provide by (used in) investing activities
                                                                                                    
          purchase of treasury stock
                                                                                                    
          net cash provided in financing activities
                                                                                                 -7,312,000  -1,756,000 
          noncash write-off of joint venture
                                                                                                    
          net earnings of joint venture
                                                                                                    
          investment in joint venture
                                                                                                    
          (gain) loss on sale of equipment
                                                                                                   -27,000