Common Stock, Number of Shares, Par Value and Other Disclosures [Abstract] Common Stock Activity Stockholders' Equity Note Disclosure [Text Block] Goodwill and Intangible Assets Disclosure [Abstract] Schedule of Goodwill [Table] Schedule of Goodwill [Table] Contingent Consideration by Type [Axis] Contingent Consideration by Type [Axis] Contingent Consideration Type [Domain] Contingent Consideration Type [Domain] Earn-out Arrangements [Member] Earnout Arrangements [Member] Earnout Arrangements [Member] Consolidation Items [Axis] Consolidation Items [Axis] Consolidation Items [Axis] Consolidation Items [Domain] Consolidation Items [Domain] [Domain] for Consolidation Items [Axis] Reportable Segment [Member] Reportable Segment [Member] Business Segments [Axis] Business Segments [Axis] Segment [Domain] Segment [Domain] Communications [Member] Communications [Member] Communications [Member] Electrical Transmission [Member] Electric Transmission [Member] Oil and Gas [Member] 237120 Oil and Gas Pipeline and Related Structures Construction [Member] Power Generation and Industrial [Member] Power Generation and Industrial [Member] Power plant, renewable energy, industrial infrastructure and related facilities contruction Goodwill [Line Items] Goodwill [Line Items] Goodwill, beginning balance Goodwill Additions from new business combinations, goodwill Goodwill, Acquired During Period Accruals of acquisition-related contingent consideration Goodwill, Other Changes Currency translation, goodwill Goodwill, Translation Adjustments Goodwill, ending balance Leases [Abstract] Lease Obligations Leases of Lessee Disclosure [Text Block] Business Acquisition, Pro Forma Information [Abstract] Schedule of Business Acquisitions, by Acquisition [Table] Schedule of Business Acquisitions, by Acquisition [Table] Business Acquisition [Axis] Business Acquisition [Axis] Business Acquisition, Acquiree [Domain] Business Acquisition, Acquiree [Domain] 2011 Acquisitions [Member] Acquisitions During 2011 [Member] Acquisitions During 2011 [Member] 2012 Acquisitions [Member] Acquisitions During 2012 [Member] Acquisitions During 2012 [Member] Business Acquisition [Line Items] Business Acquisition [Line Items] Business acquisition, pro forma information, description Business Acquisition, Pro Forma Information, Description Business acquisition, pro forma revenue Business Acquisition, Pro Forma Revenue Business acquisition, pro forma net income (loss) Business Acquisition, Pro Forma Net Income (Loss) Goodwill and Other Intangible Assets Goodwill and Intangible Assets Disclosure [Text Block] Multiemployer Plans [Abstract] Schedule of Multiemployer Plans [Table] Schedule of Multiemployer Plans [Table] Multiemployer Plan Type [Axis] Multiemployer Plan Type [Axis] Multiemployer Plans Type [Domain] Multiemployer Plans Type [Domain] Multiemployer Plans, Pension [Member] Multiemployer Plans, Pension [Member] EC Source [Member] Ec Source Services Llc [Member] EC Source Services LLC [Member] Multiemployer Plan Name [Axis] Multiemployer Plan Name [Axis] Multiemployer Plan Name [Domain] Multiemployer Plan Name [Domain] Teamsters National Pipeline Pension Fund [Member] Teamsters National Pipeline Pension Fund [Member] Teamsters National Pipeline Pension Fund [Member] Central States Southeast And Southwest Areas Pension Fund [Member] Central States Southeast And Southwest Areas Pension Fund [Member] Central States Southeast And Southwest Areas Pension Fund [Member] Multiemployer Plans [Line Items] Multiemployer Plans [Line Items] Multiemployer plans, underfunded status, description Multiemployer Plans, Underfunded Status, Description Multiemployer plans, information not available Multiemployer Plans, Information Not Available Multiemployer plans, business combination or divestiture, description Multiemployer Plans, Business Combination or Divestiture, Description Multiemployer plans, employees increase (decrease), description Multiemployer Plans, Employees Increase (Decrease), Description Multiemployer plans, withdrawal liability Multiemployer Plans, Withdrawal Obligation Long-term Debt, Unclassified [Abstract] Schedule of Long Term Debt Instruments Schedule of Long-term Debt Instruments [Table Text Block] Schedule of Convertible Notes, Carrying Amount Details Schedule of Debt [Table Text Block] Schedule of Maturities of Debt and Capital Leases Schedule of Maturities of Long-term Debt [Table Text Block] Schedule of Interest Expense, Net, Details Schedule of Other Nonoperating Expense, by Component [Table Text Block] Segment Reporting [Abstract] Schedule of Segment Reporting Information, by Segment [Table] Schedule of Segment Reporting Information, by Segment [Table] Statement, Operating Activities Segment [Axis] Statement, Operating Activities Segment [Axis] Segment, Operating Activities [Domain] Segment, Operating Activities [Domain] Segment, Continuing Operations [Member] Segment, Continuing Operations [Member] Intersegment Elimination [Member] Intersegment Elimination [Member] Major Customers [Axis] Major Customers [Axis] Name of Major Customer [Domain] Name of Major Customer [Domain] Direct Tv [Member] Direct Tv [Member] Direct TV [Member] At T [Member] At T [Member] AT & T [Member] Concentration Risk Benchmark [Axis] Concentration Risk Benchmark [Axis] Concentration Risk Benchmark [Domain] Concentration Risk Benchmark [Domain] Customer Concentration Risk [Member] Customer Concentration Risk [Member] Segment Reporting Information [Line Items] Segment Reporting Information [Line Items] Entity-Wide Revenue, Major Customer, Percentage Entity-Wide Revenue, Major Customer, Percentage Income Tax Disclosure [Abstract] Statement [Table] Statement [Table] Balance Sheet Location [Axis] Balance Sheet Location [Axis] Balance Sheet Location [Domain] Balance Sheet Location [Domain] Liability [Member] Liability [Member] Statement [Line Items] Statement [Line Items] Schedule of Components of Income Tax Expense (Benefit) Schedule of Components of Income Tax Expense (Benefit) [Table Text Block] Schedule of Deferred Tax Assets and Liabilities Schedule of Deferred Tax Assets and Liabilities [Table Text Block] Schedule of Effective Income Tax Rate Reconciliation Schedule of Effective Income Tax Rate Reconciliation [Table Text Block] Available-for-sale Securities [Abstract] Schedule of Available-for-sale Securities [Table] Schedule of Available-for-sale Securities [Table] Debt Security [Axis] Debt Security [Axis] Major Types of Debt Securities [Domain] Major Types of Debt Securities [Domain] Collateralized Debt Obligations [Member] Collateralized Debt Obligations [Member] Collateralized Debt Obligations Sold [Member] Collateralized Debt Obligations Sold [Member] Collateralized Debt Obligations Sold [Member] Major Types of Debt and Equity Securities [Axis] Major Types of Debt and Equity Securities [Axis] Major Types of Debt and Equity Securities [Domain] Major Types of Debt and Equity Securities [Domain] Auction Rate Securities [Member] Auction Rate Securities [Member] Schedule of Available-for-sale Securities [Line Items] Schedule of Available-for-sale Securities [Line Items] Fair Value Of Auction Rate Securities By Security Type And Underlying Credit Rating Fair Value, Concentration of Risk [Table Text Block] Other Than Temporary Losses on Auction Rate Securities Recognized in Earnings Gain (Loss) on Investments [Table Text Block] Auction Rate Securities Sold Available-for-sale Securities [Table Text Block] Auction Rate Securities Reconciliation Of Cost Basis To Fair Value Schedule of Available-for-sale Securities Reconciliation [Table Text Block] Earnings Per Share [Abstract] Earnings Per Share Earnings Per Share [Text Block] Share-based Compensation [Abstract] Stock Options Outstanding [Roll Forward] Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward] Stock options outstanding shares, vested and expected to vest, beginning balance Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number Stock options outstanding shares, vested, beginning balance Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number Stock options exercised, shares Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period Stock options canceled/forfeited, shares Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period Stock options outstanding shares, vested, ending balance Weighted Average Exercise Price [Roll Forward] Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Roll Forward] Weighted average exercise price, vested and expected to vest, beginning balance Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price Weighted average exercise price, vested, beginning balance Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price Weighted average exercise price, exercised Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price Weighted average exercise price, canceled/forfeited Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period, Weighted Average Exercise Price Weighted average exercise price, vested, ending balance Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract] Stock options exercisable, shares Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number Stock options exercisable, weighted average exercise price Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price Stock options outstanding, vested and expected to vest, weighted average remaining contractual life Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Remaining Contractual Term Stock options outstanding, vested, weighted average remaining contractual life Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term Stock options exercisable, weighted average remaining contractual life Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term Stock options outstanding, aggregate intrinsic value, vested and expected to vest Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Aggregate Intrinsic Value Stock options outstanding, aggregate intrinsic value, vested Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value Stock options exercisable, aggregate intrinsic value Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value Business Combinations [Abstract] Finite-Lived Intangible Assets by Major Class [Axis] Finite-Lived Intangible Assets by Major Class [Axis] Finite-Lived Intangible Assets, Major Class Name [Domain] Finite-Lived Intangible Assets, Major Class Name [Domain] Trade Names [Member] Trade Names [Member] Order or Production Backlog [Member] Order or Production Backlog [Member] Customer Relationships [Member] Customer Relationships [Member] Noncompete Agreements [Member] Noncompete Agreements [Member] Common Stock [Member] Common Stock [Member] Fabcor [Member] Fabcor Target Co Ltd [Member] Fabcor Target Co Ltd [Member] Effective date of acquisition Business Acquisition, Effective Date of Acquisition Business combination, percentage of voting interests acquired Business Acquisition, Percentage of Voting Interests Acquired Acquisition payments in cash Business Acquisition, Cost of Acquired Entity, Cash Paid Purchase price consideration, adjustment Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Consideration Transferred Earn-out period Earn Out Period Earn out period. Estimated fair value of contingent consideration Business Acquisition, Contingent Consideration, at Fair Value Business combination, contingent consideration arrangements, basis for amount Business Combination, Contingent Consideration Arrangements, Basis for Amount Debt assumed and repaid Debt Instrument, Decrease, Repayments Finite-lived intangible asset, useful life Acquired Finite-lived Intangible Assets, Weighted Average Useful Life Fair value measurements, significant assumptions Fair Value Measurements, Significant Assumptions Business combination, contingent consideration arrangements, range of outcomes, value, low Business Combination, Contingent Consideration Arrangements, Range of Outcomes, Value, Low Business combination, contingent consideration arrangements, range of outcomes, value, high Business Combination, Contingent Consideration Arrangements, Range of Outcomes, Value, High Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Abstract] Fair Value Measurements, Recurring and Nonrecurring [Table] Fair Value Measurements, Recurring and Nonrecurring [Table] Deferred Bonus and Profit Sharing Plan, Type of Deferred Compensation [Axis] Deferred Bonus and Profit Sharing Plan, Type of Deferred Compensation [Axis] Type of Deferred Compensation, All Types [Domain] Type of Deferred Compensation, All Types [Domain] Deferred Compensation, Excluding Share-based Payments and Retirement Benefits [Member] Deferred Compensation, Excluding Share-based Payments and Retirement Benefits [Member] Fair Value, by Balance Sheet Grouping, Disclosure Item Amounts [Axis] Fair Value, by Balance Sheet Grouping, Disclosure Item Amounts [Axis] Fair Value, Disclosure Item Amounts [Domain] Fair Value, Disclosure Item Amounts [Domain] Carrying Amount [Member] Carrying (Reported) Amount, Fair Value Disclosure [Member] Fair Value [Member] Portion at Fair Value, Fair Value Disclosure [Member] Long-term Debt, Type [Axis] Long-term Debt, Type [Axis] Long-term Debt, Type [Domain] Long-term Debt, Type [Domain] Convertible Debt [Member] Convertible Debt [Member] Debt Instrument [Axis] Debt Instrument [Axis] Debt Instrument, Name [Domain] Debt Instrument, Name [Domain] 7.625% Senior Notes [Member] Senior Notes [Member] Original 4.0% Notes [Member] Original Four Point Zero Percentage Senior Convertible Notes [Member] Original Four Point Zero Percentage Senior Convertible Notes [Member] Original 4.25% Notes [Member] Original Four Point Two Five Percentage Senior Convertible Notes [Member] Original Four Point Two Five Percentage Senior Convertible Notes [Member] New 4.0% Notes [Member] New Four Point Zero Percentage Senior Convertible Notes [Member] New Four Point Zero Percentage Senior Convertible Notes [Member] New 4.25% Notes [Member] New Four Point Two Five Percentage Senior Convertible Notes [Member] New Four Point Two Five Percentage Senior Convertible Notes [Member] Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] Cash surrender value of life insurance policies Cash Surrender Value, Fair Value Disclosure Auction rate securities Available-for-sale Securities, Fair Value Disclosure Deferred compensation plan liabilities Other Liabilities, Fair Value Disclosure Acquisition-related contingent consideration Obligations, Fair Value Disclosure 7.625% senior notes Notes Payable, Fair Value Disclosure Senior convertible notes Convertible Debt, Fair Value Disclosures Operating Loss Carryforwards [Table] Income Tax Examination [Table] Income Tax Authority [Axis] Income Tax Authority [Axis] Income Tax Authority [Domain] Income Tax Authority [Domain] State [Member] State and Local Jurisdiction [Member] Foreign [Member] Foreign Tax Authority [Member] (Benefit from) provision for income taxes, discontinued operations Discontinued Operation, Tax Effect of Discontinued Operation Valuation allowance Deferred Tax Assets, Valuation Allowance Operating loss carryforward Deferred Tax Assets, Operating Loss Carryforwards Operating loss caryforwards, expiration dates Operating Loss Carryforwards, Expiration Dates Bottom Line Services [Member] Bottom Line Services [Member] Bottom Line Services [Member] Dynamic Tower [Member] Dynamic Tower [Member] Dynamic Tower [Member] Cam Com [Member] Cam Communications Inc [Member] Cam Communications Inc [Member] Halsted [Member] Halsted Communications Ltd [Member] Halsted Communications Ltd [Member] Optima [Member] Optima Network Services Inc [Member] Optima Network Services Inc [Member] Nsoso [Member] Nsoso LLC [Member] Nsoso LLC [Member] Go Green [Member] Go Green [Member] Go Green [Member] Long-term Debt [Member] Long-term Debt [Member] Capital Lease Obligations [Member] Capital Lease Obligations [Member] Equity Interest Type [Axis] Equity Interest Type [Axis] Equity Interest Issued or Issuable, Type [Domain] Equity Interest Issued or Issuable, Type [Domain] Equity Method Investee, Name [Axis] Equity Method Investee, Name [Axis] Equity Method Investee, Name [Domain] Equity Method Investee, Name [Domain] Rock Extraction Business [Member] Rock Extraction Business [Member] Rock Extraction Business [Member] Related Party [Axis] Related Party [Axis] Related Party [Domain] Related Party [Domain] Panama Subsidiary [Member] Panama Subsidiary [Member] Panama Subsidiary [Member] Beneficial Owner [Member] Beneficial Owner [Member] Receivable Type [Axis] Receivable Type [Axis] Receivable Type [Domain] Receivable Type [Domain] Accounts Receivable [Member] Accounts Receivable [Member] Segment, Discontinued Operations [Member] Segment, Discontinued Operations [Member] Business combination, assumed debt Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Financial Liabilities Purchase price allocation, adjustment, liabilities Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Financial Liabilities Cash payment, previous acquisition Payments for Previous Acquisition Equity issued in business combination, number of shares issued Business Acquisition, Equity Interest Issued or Issuable, Number of Shares Equity issued in business combination, fair value Equity Issued in Business Combination, Fair Value Disclosure Business combination, cost of acquired entity, equity interests issued and issuable, fair value method Business Combination, Cost of Acquired Entity, Equity Interests Issued and Issuable, Fair Value Method Purchase accounting adjustment, goodwill Goodwill, Purchase Accounting Adjustments Less than wholly owned subsidiary, ownership percentage Noncontrolling Interest, Ownership Percentage by Parent Equity method investment, ownership percentage Equity Method Investment, Ownership Percentage Related party revenues Revenue from Related Parties Related party receivables, equity method investee Due from Other Related Parties Due from related party, equity method investee, non-current portion Due from Other Related Parties, Noncurrent Asset impairment charges, cost method investments Cost-method Investments, Other than Temporary Impairment Asset impairment charges, equity method investments Equity Method Investment, Other than Temporary Impairment Acquiree revenue since acquisition date Business Combination, Pro Forma Information, Revenue of Acquiree since Acquisition Date, Actual Acquiree net income since acquisition date Business Combination, Pro Forma Information, Earnings or Loss of Acquiree since Acquisition Date, Actual Business combination, acquisition costs Business Combination, Acquisition Related Costs Quarterly Financial Information Disclosure [Abstract] Quarterly Financial Information (Unaudited) Quarterly Financial Information [Text Block] Long-term Debt Instruments [Table] Schedule of Long-term Debt Instruments [Table] Total Dilutive Convertible Debt [Member] Total Dilutive Convertible Debt [Member] Total Dilutive Convertible Debt [Member] Debt Instrument [Line Items] Debt Instrument [Line Items] Convertible debt, outstanding principal amount Debt Instrument, Face Amount Commitments and Contingencies Disclosure [Abstract] Loss Contingencies [Table] Loss Contingencies [Table] Range [Axis] Range [Axis] Range [Domain] Range [Domain] Minimum [Member] Minimum [Member] Loss Contingency Nature [Axis] Loss Contingency Nature [Axis] Loss Contingency, Nature [Domain] Loss Contingency, Nature [Domain] Insurance Claims [Member] Insurance Claims [Member] Guarantor Obligations, Nature [Axis] Guarantor Obligations, Nature [Axis] Guarantor Obligations, Nature [Domain] Guarantor Obligations, Nature [Domain] Guarantee Obligations [Member] Guarantee Obligations [Member] Performance Guarantee [Member] Performance Guarantee [Member] Surety Bond [Member] Surety Bond [Member] Credit Facility [Axis] Credit Facility [Axis] Credit Facility [Domain] Credit Facility [Domain] Letter of Credit [Member] Letter of Credit [Member] Standby Letters of Credit [Member] Standby Letters of Credit [Member] Litigation Status [Axis] Litigation Status [Axis] Litigation Status [Domain] Litigation Status [Domain] Pending Litigation [Member] Pending Litigation [Member] Insurance Policies By Type [Axis] Insurance Policy [Axis] Insurance Policies By Type [Domain] Reinsurance Premiums for Insurance Companies, by Product Segment [Domain] Workers Compensation Policy [Member] Workers Compensation Policy [Member] Workers' Compensation Policy [Member] General Liability Policy [Member] General Liability [Member] Automobile Liability Policy [Member] Automobile Liability Policy [Member] Automobile Liability Policy [Member] Umbrella Policy [Member] Umbrella Policy [Member] Umbrella Policy [Member] Workers Compensation, General And Automobile Policies [Member] Property, Liability and Casualty Insurance Segment [Member] Employee Group Health Claims Policy [Member] Group Insurance Policies [Member] Litigation Case [Axis] Litigation Case [Axis] Litigation Case Type [Domain] Litigation Case Type [Domain] Aon Risk Services Inc [Member] Aon Risk Services Inc [Member] Aon Risk Services Inc [Member] Sintel [Member] Sintel [Member] Sintel [Member] City Of Marathon [Member] City Of Marathon [Member] City Of Marathon [Member] Scenario [Axis] Scenario [Axis] Scenario, Unspecified [Domain] Scenario, Unspecified [Domain] Scenario, Forecast [Member] Scenario, Forecast [Member] Per Employee [Member] Per Employee [Member] Per Employee [Member] Gain Contingencies, Nature [Axis] Gain Contingencies, Nature [Axis] Gain Contingency, Nature [Domain] Gain Contingency, Nature [Domain] Positive Outcome of Litigation [Member] Positive Outcome of Litigation [Member] Insurance Settlement [Member] Insurance Settlement [Member] Commitment And Contingencies [Line Items] Loss Contingencies [Line Items] Claims sought Gain Contingency, Unrecorded Amount Former gain contingency, recognized in period Former Gain Contingency, Recognized in Current Period Legal proceeding, plaintiff Loss Contingency, Name of Plaintiff Damages sought Loss Contingency, Damages Sought, Value Pending or threatened litigation, estimated loss Loss Contingency, Loss in Period Operating leases, rent expense Operating Leases, Rent Expense, Net Letters of credit, outstanding amount Letters of Credit Outstanding, Amount Outstanding bonds, amount Guarantor Obligations, Maximum Exposure, Undiscounted Estimated cost to complete bonded projects Contract Revenue Cost Per claim deductible, insurance policies Malpractice Insurance, Deductible Maximum coverage, per claim and aggregate Malpractice Insurance, Maximum Coverage Per Incident Self insurance reserve Self Insurance Reserve Self insurance reserve, noncurrent Self Insurance Reserve, Noncurrent Maximum annual loss Loss Contingency, Range of Possible Loss, Maximum Cash collateral held by insurance carriers Pledged Assets Separately Reported, Other Assets Pledged as Collateral, at Fair Value Multiemployer plans, collective bargaining arrangement, description Multiemployer Plans, Collective-Bargaining Arrangement, Description Multiemployer plans, collective bargaining arrangement, expiration date, description Multiemployer Plans, Collective-Bargaining Arrangement, Expiration Date, Description Underfunded multi-employer pension plans, funding requirements and penalties, description Multi-employer pension plan withdrawal obligation, description Loss Contingency, Management's Assessment and Process Other guarantees, description Guarantor Obligations, Origin and Purpose Deferred Tax Liabilities, Net [Abstract] Net current deferred tax assets Deferred Tax Assets, Net, Current Net deferred tax liabilities Deferred Tax Liabilities, Net, Noncurrent Deferred tax liabilities, net Deferred Tax Liabilities, Net Receivables [Abstract] Schedule of Accounts, Notes, Loans and Financing Receivable [Table] Schedule of Accounts, Notes, Loans and Financing Receivable [Table] Allowance for Doubtful Accounts [Member] Allowance for Doubtful Accounts [Member] Accounts, Notes, Loans and Financing Receivable [Line Items] Accounts, Notes, Loans and Financing Receivable [Line Items] Schedule Of Accounts Receivable And Allowance For Doubtful Accounts Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block] Business combination, goodwill, expected tax deductible amount Business Acquisition, Purchase Price Allocation, Goodwill, Expected Tax Deductible Amount Schedule of Earnings Per Share, Basic and Diluted Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] Schedule of Convertible Debt, By Dilutive and Anti-Dilutive Classification Schedule of Calculation of Numerator and Denominator in Earnings Per Share [Table Text Block] Schedule Of Convertible Debt Information Schedule Of Convertible Debt Information Table [Text Block] Schedule Of Convertible Debt Information [Table Text Block] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Noncurrent [Member] Noncurrent [Member] Noncurrent [Member] Maximum [Member] Maximum [Member] Plan Name [Axis] Plan Name [Axis] Plan Name [Domain] Plan Name [Domain] 2011 Employee Stock Purchase Plan [Member] Employee Stock [Member] 401(K) Plan [Member] 401(K) Plan [member] 401(K) Plan Deferred Compensation Plan [Member] Deferred Compensation, Share-based Payments [Member] Award Type [Axis] Award Type [Axis] Award Type [Domain] Award Type [Domain] Restricted Stock [Member] Restricted Stock [Member] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Number of shares available for purchase Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized Shares available for grant Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant Unearned compensation Employee Service Share-based Compensation, Nonvested Awards, Total Compensation Cost Not yet Recognized, Share-based Awards Other than Options Unearned compensation, weighted average expected recognition period, in years Employee Service Share-based Compensation, Nonvested Awards, Total Compensation Cost Not yet Recognized, Period for Recognition Total intrinsic value of vested restricted share awards Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Total Fair Value Intrinsic value of options exercised Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Total Intrinsic Value Proceeds from stock option exercises Employee Service Share-based Compensation, Cash Received from Exercise of Stock Options Employer matching contribution, percent Defined Contribution Plan, Employer Matching Contribution, Percent Maximum annual contribution per employee, amount Defined Contribution Plan, Maximum Annual Contribution Per Employee, Amount 401(K) plan description Description of Defined Contribution Pension and Other Postretirement Plans Employer matching contributions Defined Contribution Plan, Employer Discretionary Contribution Amount Deferred compensation plan description Deferred Compensation Arrangements, Overall, Description Deferred compensation plan assets Deferred Compensation Plan Assets Deferred compensation plan liabilities Deferred Compensation Liability, Classified, Noncurrent Employee stock purchase plan description Share-based Compensation Arrangement by Share-based Payment Award, Description Common stock purchase discount Share-based Compensation Arrangement by Share-based Payment Award, Discount from Market Price, Purchase Date Maximum number of shares per employee per quarter Share-based Compensation Arrangement by Share-based Payment Award, Maximum Number of Shares Per Employee Stock repurchase program, amount authorized Stock Repurchase Program, Authorized Amount Treasury stock acquired, shares Treasury Stock, Shares, Acquired Treasury stock acquired, value Treasury Stock, Value, Acquired, Cost Method Organization, Consolidation and Presentation of Financial Statements [Abstract] Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Table] Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Table] Property, Plant and Equipment, Type [Axis] Property, Plant and Equipment, Type [Axis] Property, Plant and Equipment, Type [Domain] Property, Plant and Equipment, Type [Domain] Software and Software Development Costs [Member] Software and Software Development Costs [Member] Stock Option [Member] Stock Option [Member] Valuation Allowances and Reserves Type [Axis] Valuation Allowances and Reserves Type [Axis] Valuation Allowances and Reserves [Domain] Valuation Allowances and Reserves [Domain] Inventory Valuation Reserve [Member] Inventory Valuation Reserve [Member] Asset Class [Axis] Asset Class [Axis] Fair Value by Asset Class [Domain] Fair Value by Asset Class [Domain] Disposal Group Name [Axis] Disposal Group Name [Axis] Disposal Groups, Including Discontinued Operations, Name [Domain] Disposal Groups, Including Discontinued Operations, Name [Domain] Globetec [Member] Globetec Business [Member] Globetec Business [Member] Group Insurance Policies [Member] Business, Basis of Presentation and Significant Accounting Policies [Line Items] Accounting Policies [Line Items] Accounting Policies [Line Items] [Line Items] Impairment of assets, disposal group Discontinued Operation, Provision for Loss (Gain) on Disposal, before Income Tax Accumulated other comprehensive loss Accumulated Other Comprehensive Income (Loss), Net of Tax Cash overdrafts Bank Overdrafts Investment, debt security, default rate of underlying assets Other than Temporary Impairment Losses, Investments, Available-for-sale Securities, Portion Recognized in Earnings, Net, Qualitative Disclosures, Default Rate Credit loss estimates Other than Temporary Impairment Losses, Investments, Available-for-sale Securities, Portion Recognized in Earnings, Net, Qualitative Disclosures, Methodology Inventory obsolescence reserves Valuation Allowances and Reserves, Balance Net deferred financing costs Deferred Finance Costs, Net Software capitalization amortized period Finite-Lived Intangible Asset, Useful Life Impairment charges for long-lived assets Impairment of Long-Lived Assets Held-for-use Goodwill and intangible asset impairment, disposal group Goodwill and Intangible Asset Impairment Open tax year Open Tax Year Share-based compensation arrangement, expiration date Share-based Compensation Arrangement by Share-based Payment Award, Terms of Award Share-based compensation arrangement, vesting period Share-based Compensation Arrangement by Share-based Payment Award, Award Requisite Service Period Recently issued accounting standards, not yet adopted as of December 31, 2012 Description of New Accounting Pronouncements Not yet Adopted [Text Block] Recently adopted accounting pronoucements New Accounting Pronouncements and Changes in Accounting Principles [Text Block] Sales Revenue, Services, Net [Member] Sales Revenue, Services, Net [Member] Products and Services [Axis] Products and Services [Axis] Products and Services [Domain] Products and Services [Domain] Utilities [Member] Utilities [Member] Utilities [Member] Concentration Risk Type [Axis] Concentration Risk Type [Axis] Concentration Risk Type [Domain] Concentration Risk Type [Domain] Geographical [Axis] Geographical [Axis] Segment, Geographical [Domain] Segment, Geographical [Domain] Foreign Operation [Member] Foreign Operation [Member] Foreign Operation [Member] UNITED STATES UNITED STATES Reportable Geographical Components [Member] Reportable Geographical Components [Member] Reportable Geographical Components [Member] E C Source Services Llc Investee [Member] E C Source Services Llc Investee [Member] E C Source Services Llc Investee [Member] Number of reportable segments Number of Reportable Segments Gain on remeasurement of equity interest in acquiree Business Combination, Step Acquisition, Equity Interest in Acquiree, Remeasurement Gain Payments to acquire equity method investments Payments to Acquire Equity Method Investments Entity-wide revenue by customer type, percentage Concentration Risk, Percentage Revenue Revenues Property and equipment, net Property, Plant and Equipment, Net Goodwill and other intangible assets, net Intangible Assets, Net (Including Goodwill) Asset Backed Securities Redeemed [Member] Asset Backed Securities Redeemed [Member] Asset Backed Securities Redeemed [Member] Asset-backed Securities [Member] Asset-backed Securities [Member] Auction-rate securities yield rate Investment Interest Rate Interest earned on auction rate securities Interest and Dividend Income, Securities, Available-for-sale Cumulative credit and other losses recognized in earnings Other than Temporary Impairment Losses, Investments, Portion Recognized in Earnings, Net Par value of securities held Investment Owned, Balance, Principal Amount Adjusted cost basis Available-for-sale Debt Securities, Amortized Cost Basis Unrealized gains on structured finance security Available-for-sale Securities, Gross Unrealized Gains Proceeds from sale of structured finance auction rate securities Proceeds from Sale of Available-for-sale Securities Cumulative realized losses on auction rate securities Available-for-sale Securities, Gross Realized Gain (Loss) Gain on sale of auction rate securities Available-for-sale Securities, Gross Realized Gains Redemption of student loan auction rate securities at par Available-for-sale Securities, Sold at Par Cumulative unrealized losses on auction rates securities Accumulated Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax Reversal of unrealized losses on redeemed student loan auction rate securities, tax impact Deferred Tax Assets, Unrealized Losses on Available-for-Sale Securities, Gross Gross cumulative losses on auction rate securities Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Aggregate Losses Contractual maturities of securities, in years Available For Sale Securities Maturity Date In Years Available For Sale Securities Maturity Date In Years Workforce Subject to Collective Bargaining Arrangements [Member] Workforce Subject to Collective Bargaining Arrangements [Member] Multiemployer Plans, Postretirement Benefit [Member] Multiemployer Plans, Postretirement Benefit [Member] Multiemployer plan, period contributions Multiemployer Plan, Period Contributions Entity number of employees during period Entity Number Of Employees During Period Number of employees employed by the entity over a period of time Pipeline Industry Pension Fund [Member] Pipeline Industry Pension Fund [Member] Pipeline Industry Pension Fund [Member] Central Pension Fund Of International Union Of Operating Engineers And Participating Employers [Member] Central Pension Fund Of International Union Of Operating Engineers And Participating Employers [Member] Central Pension Fund Of The International Union Of Operating Engineers And Participating Employers [Member] Laborers National Pension Fund [Member] Laborers National Pension Fund [Member] Laborers National Pension Fund [Member] Eighth District Electrical Pension Fund [Member] Eighth District Electrical Pension Fund [Member] Eighth District Electrical Pension Fund [Member] West Virginia Laborers Pension Trust Fund [Member] West Virginia Laborers Pension Trust Fund [Member] West Virginia Laborers Pension Trust Fund [Member] Michigan Laborers Pension Fund [Member] Michigan Laborers Pension Fund [Member] Michigan Laborers Pension Fund [Member] Operating Engineers Local 324 Pension Fund [Member] Operating Engineers Local Three Hundred And Twenty Four Pension Fund [Member] Operating Engineers Local Three Hundred And Twenty Four Pension Fund [Member] New England Electrical Workers Money Purchase Plan And Trust [Member] New England Electrical Workers Money Purchase Plan And Trust [Member] New England Electrical Workers Money Purchase Plan And Trust [Member] Laborers Local Union No. 158 Pension Fund [Member] Laborers Local Union Number One Hundred And Fifty Eight Pension Fund [Member] Laborers Local Union Number One Hundred And Fifty Eight Pension Fund [Member] Laborers District Council Of West Pennsylvania Pension Fund [Member] Laborers District Council Of West Pennsylvania Pension Fund [Member] Laborers District Council Of West Pennsylvania Pension Fund [Member] International Brotherhood Of Electrical Workers Local 1249 Pension Plan [Member] International Brotherhood Of Electrical Workers Local One Thousand Two Hundred And Forty Nine Pension Plan [Member] International Brotherhood Of Electrical Workers Local One Thousand Two Hundred And Forty Nine Pension Plan [Member] International Union Of Operating Engineers Local 132 Pension Fund [Member] International Union Of Operating Engineers Local One Hundred And Thirty Two Pension Fund [Member] International Union Of Operating Engineers Local One Hundred And Thirty Two Pension Fund [Member] Operating Engineers Construction Industry and Miscellaneous Pension Fund [Member] Operating Engineers Construction Industry and Miscellaneous Pension Fund [Member] Operating Engineers Construction Industry and Miscellaneous Pension Fund [Member] International Union Of Operating Engineers Pension Fund Of Eastern Pennsylvania And Delaware [Member] International Union Of Operating Engineers Pension Fund Of Eastern Pennsylvania And Delaware [Member] International Union Of Operating Engineers Pension Fund Of Eastern Pennsylvania And Delaware [Member] Minnesota Laborers Pension Fund [Member] Minnesota Laborers Pension Fund [Member] Minnesota Laborers Pension Fund [Member] National Electrical Benefit Fund [Member] National Electrical Benefit Fund [Member] National Electrical Benefit Fund [Member] Southwestern Pennsylvania and Western Maryland Teamsters and Employers Pension Fund [Member] Southwestern Pennsylvania and Western Maryland Teamsters and Employers Pension Fund [Member] Southwestern Pennsylvania and Western Maryland Teamsters and Employers Pension Fund [Member] National Electrical Annuity Plan [Member] National Electrical Annuity Plan [Member] National Electrical Annuity Plan [Member] Laborers Pension Trust Fund For Northern Nevada [Member] Laborers Pension Trust Fund For Northern Nevada [Member] Laborers Pension Trust Fund For Northern Nevada [Member] Operating Engineers Pension Trust Fund [Member] Operating Engineers Pension Trust Fund [Member] Operating Engineers Pension Trust Fund [Member] Central States Southeast And Southwest Areas Pension Plan [Member] Central States Southeast And Southwest Areas Pension Plan [Member] Central States, Southeast And Southwest Areas Pension Plan [Member] Western Conference Of Teamsters Pension Plan [Member] Western Conference Of Teamsters Pension Plan [Member] Western Conference Of Teamsters Pension Plan [Member] Other Multi Employer Pension Plans [Member] Other Multi Employer Pension Plans [Member] Other Multi-Employer Pension Plans [Member] Multiemployer plans, period contributions, significance of contributions Multiemployer Plans, Period Contributions, Significance of Contributions Multiemployer plans, surcharge Multiemployer Plans, Surcharge Multiemployer plans, collective bargaining arrangement, expiration date Multiemployer Plans, Collective-Bargaining Arrangement, Expiration Date Entity tax identification number Entity Tax Identification Number Multiemployer plan number Multiemployer Plan Number Multiemployer plans, certified zone status Multiemployer Plans, Certified Zone Status Multiemployer plans, certified zone status, date Multiemployer Plans, Certified Zone Status, Date Multiemployer plans, certified zone status, extended amortization provisions Multiemployer Plans, Certified Zone Status, Extended Amortization Provisions Multiemployer plans, funding improvement plan and rehabilitation plan Multiemployer Plans, Funding Improvement Plan and Rehabilitation Plan Summary Of Restricted Share Award Activity Schedule of Share-based Compensation, Restricted Stock and Restricted Stock Units Activity [Table Text Block] Summary of Stock Option Activity Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding and Exercisable [Table Text Block] Summary Of Stock-Based Compensation Expense And Related Tax Benefits Schedule of Compensation Cost for Share-based Payment Arrangements, Allocation of Share-based Compensation Costs by Plan [Table Text Block] Risks and Uncertainties [Abstract] Concentrations of Risk Concentration Risk Disclosure [Text Block] Commitments and Contingencies Commitments and Contingencies Disclosure [Text Block] Discontinued Operations and Disposal Groups [Abstract] Discontinued Operations Disposal Groups, Including Discontinued Operations, Disclosure [Text Block] Related Party Transactions [Abstract] Schedule of Related Party Transactions, by Related Party [Table] Schedule of Related Party Transactions, by Related Party [Table] Postretirement Benefits, Type of Deferred Compensation [Axis] Postretirement Benefits, Type of Deferred Compensation [Axis] Related Customer [Member] Related Customer [Member] Related Customer [Member] Management [Member] Management [Member] Immediate Family Member of Management or Principal Owner [Member] Immediate Family Member of Management or Principal Owner [Member] Board of Directors Chairman [Member] Board of Directors Chairman [Member] Chief Executive Officer [Member] Chief Executive Officer [Member] Related Party Transaction [Line Items] Related Party Transaction [Line Items] Charges to related party Related Party Transaction, Other Revenues from Transactions with Related Party Related party receivables Accounts receivable, related party Accounts Receivable, Related Parties Related party transaction, expenses from transactions with related party Related Party Transaction, Expenses from Transactions with Related Party Life insurance, split dollar policies, face amount Life Insurance, Corporate or Bank Owned, Amount Payments for life insurance policies Payments to Acquire Life Insurance Policies Estimated fair value of life insurance policies Cash Surrender Value of Life Insurance Policy Text Block [Abstract] Business, Basis of Presentation and Significant Accounting Policies Organization, Consolidation, Basis of Presentation, Business Description and Accounting Policies [Text Block] Current federal Current Federal Tax Expense (Benefit) Current foreign Current Foreign Tax Expense (Benefit) Current state and local Current State and Local Tax Expense (Benefit) Total current income tax expense Current Income Tax Expense (Benefit) Deferred federal Deferred Federal Income Tax Expense (Benefit) Deferred foreign Deferred Foreign Income Tax Expense (Benefit) Deferred state and local, net of valuation provisions Deferred State and Local Income Tax Expense (Benefit) Total deferred income tax expense Deferred Income Tax Expense (Benefit) Provision for income taxes Income Tax Expense (Benefit) Schedule of Indefinite-Lived Intangible Assets [Table] Schedule of Indefinite-Lived Intangible Assets [Table] Goodwill And Other Intangible Assets [Line Items] Goodwill And Other Intangible Assets [Line Items] Goodwill And Other Intangible Assets [Line Items] Goodwill and Other Intangible Assets [Roll Forward] Goodwill and Intangible Assets [Roll Forward] Goodwill and Intangible Assets [Roll Forward] Other intangible assets, non-amortizing, beginning balance Indefinite-Lived Intangible Assets (Excluding Goodwill) Other intangible assets, amortizing, beginning balance Finite-Lived Intangible Assets, Net Goodwill and other intangible assets, beginning balance Additions from new business combinations, non-amortizing intangible assets Indefinite-lived Intangible Assets, Acquired During Period Additions from new business combinations, amortizing intangible assets Finite-lived Intangible Assets Acquired Additions from new business combinations, goodwill and other intangible assets Goodwill and other intangible assets acquired Goodwill and other intangible assets acquired Amortization expense Amortization of Intangible Assets Currency translation, non-amortizing intangible assets Indefinite-lived Intangible Assets, Translation Adjustments Currency translation, amortizing intangible assets Finite-Lived Intangible Assets, Translation Adjustments Currency translation, goodwill and other intangible assets Goodwill And Other Intangible Assets, Translation Adjustments Amount of increase (decrease) to goodwill and other intangible assets, including finite-lived and indefinite-lived intangible assets, for foreign currency translation adjustments. Other intangible assets, non-amortizing, ending balance Other intangible assets, amortizing, ending balance Goodwill and other intangible assets, ending balance Indefinite-lived Intangible Assets by Major Class [Axis] Indefinite-lived Intangible Assets by Major Class [Axis] Indefinite-lived Intangible Assets, Major Class Name [Domain] Indefinite-lived Intangible Assets, Major Class Name [Domain] Pre-Qualifications [Member] Pre Qualifications [Member] Pre-Qualifications [Member] Equity method investment, additional information Equity Method Investment, Additional Information Date of acquisition agreement Business Acquisition, Date of Acquisition Agreement Business combination, step acquisition, cumulative percentage ownership after all transactions Subsidiary or Equity Method Investee, Cumulative Percentage Ownership after All Transactions Business combination, equity interest issued or issuable, description Business Acquisition, Equity Interest Issued or Issuable, Description Assumed debt, balance outstanding Other Notes Payable Business combination, step acquisition, equity interest in acquiree, percentage Business Combination, Step Acquisition, Equity Interest in Acquiree, Percentage Business combination, step acquisition, equity interest in acquiree, fair value of equity investment Business Combination, Step Acquisition, Equity Interest in Acquiree, Fair Value Business combination, step acquisition, equity interest in acquiree, valuation techniques Business Combination, Step Acquisition, Equity Interest in Acquiree, Valuation Techniques DirectStar [Member] DirectStar Business [Member] DirectStar Business [Member] Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] Discontinued operations description Disposal Group, Including Discontinued Operation, Description and Timing of Disposal Disposal date Disposal Date Net purchase price, sale of business Proceeds from Divestiture of Businesses Net assets of discontinued operations Assets, Net Assets of discontinued operations Assets of Disposal Group, Including Discontinued Operation Liabilities of discontinued operations Liabilities of Disposal Group, Including Discontinued Operation Other asset impairment charges, disposal group Gain (Loss) on Sale of Assets and Asset Impairment Charges Depreciation and amortization expense, discontinued operations Depreciation and Amortization, Discontinued Operations Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table] Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table] Segment Reporting, Reconciling Item for Operating Profit (Loss) from Segment to Consolidated [Line Items] Segment Reporting, Reconciling Item for Operating Profit (Loss) from Segment to Consolidated [Line Items] EBITDA EBITDA Income from continuing operations before interest, taxes, depreciation and amortization Interest expense, net Interest Revenue (Expense), Net Depreciation Depreciation Amortization Income from continuing operations before provision for income taxes Income (Loss) from Continuing Operations before Income Taxes, Extraordinary Items, Noncontrolling Interest Text Block [Abstract] Condensed Consolidating Balance Sheets Schedule of Condensed Balance Sheet [Table Text Block] Condensed Consolidating Statements Of Operations And Comprehensive Income Schedule of Condensed Income Statement [Table Text Block] Condensed Consolidating Statements Of Cash Flows Schedule of Condensed Cash Flow Statement [Table Text Block] Finite-lived intangible assets, amortization expense, next twelve months Finite-Lived Intangible Assets, Amortization Expense, Next Twelve Months Finite-lived intangible assets, amortization expense, year two Finite-Lived Intangible Assets, Amortization Expense, Year Two Finite-lived intangible assets, amortization expense, year three Finite-Lived Intangible Assets, Amortization Expense, Year Three Finite-lived intangible assets, amortization expense, year four Finite-Lived Intangible Assets, Amortization Expense, Year Four Finite-lived intangible assets, amortization expense, year five Finite-Lived Intangible Assets, Amortization Expense, Year Five Finite-lived intangible assets, amortization expense, after year five Finite-Lived Intangible Assets, Amortization Expense, after Year Five Amortizing intangible assets, net Acquisitions and Other Investments Business Combination Disclosure [Text Block] Property, Plant and Equipment [Abstract] Schedule of Property, Plant and Equipment [Table] Schedule of Property, Plant and Equipment [Table] Property, Plant and Equipment [Line Items] Property, Plant and Equipment [Line Items] Depreciation expense Fair Value Disclosures [Abstract] Schedule Of Carrying Amounts And Estimated Fair Values Of Financial Instruments Fair Value, by Balance Sheet Grouping [Table Text Block] Schedule Of Fair Values Of Financial Assets And Liabilities Measured On Recurring Basis Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block] Reconciliation Of Assets And Liabilities Measured At Fair Value On Recurring Basis, Level 3 Fair Value Assets And Liabilities Measured On Recurring Basis Unobservable Input Reconciliation Table [Text Block] Fair Value Assets And Liabilities Measured On Recurring Basis Unobservable Input Reconciliation Table [Text Block] Schedule Of Property And Equipment, Net Property, Plant and Equipment [Table Text Block] Business, Basis of Presentation and Significant Accounting Policies [Table] Total New Senior Convertible Notes [Member] Total New Senior Convertible Notes [Member] Total New Senior Convertible Notes [Member] Business, Basis of Presentation and Significant Accounting Policies [Line Items] Nature Of The Business Nature of Operations [Text Block] Principles Of Consolidation Consolidation, Policy [Policy Text Block] Management Estimates Use of Estimates, Policy [Policy Text Block] Significant Accounting Policies Significant Accounting Policies [Text Block] Discontinued Operations Discontinued Operations, Policy [Policy Text Block] Translation Of Foreign Currencies Foreign Currency Transactions and Translations Policy [Policy Text Block] Reclassifications Reclassification, Policy [Policy Text Block] Comprehensive Income Comprehensive Income, Policy [Policy Text Block] Revenue Recognition Revenue Recognition, Policy [Policy Text Block] Allowance For Doubtful Accounts Receivables, Trade and Other Accounts Receivable, Allowance for Doubtful Accounts, Policy Cash And Cash Equivalents Cash and Cash Equivalents, Policy [Policy Text Block] Fair Value Of Financial Instruments Fair Value Measurement, Policy [Policy Text Block] Securities Available-for Sale Marketable Securities, Available-for-sale Securities, Policy [Policy Text Block] Inventories Inventory, Policy [Policy Text Block] Deferred Financing Costs Deferred Charges, Policy [Policy Text Block] Software Capitalization Internal Use Software, Policy [Policy Text Block] Business Combination-Valuation Of Acquired Assets And Liabilities Business Combinations Policy [Policy Text Block] Long Lived Assets Long Lived Assets [Policy Text Block] Long Lived Assets [Policy Text Block] Goodwill And Indefinite-Lived Intangible Assets Goodwill and Intangible Assets, Policy [Policy Text Block] Self-Insurance Unpaid Policy Claims and Claims Adjustment Expense, Policy [Policy Text Block] Income Taxes Income Tax, Policy [Policy Text Block] Stock-Based Compensation Share-based Compensation, Option and Incentive Plans Policy [Policy Text Block] Multi-Employer Pension Plans Pension and Other Postretirement Plans, Policy [Policy Text Block] Litigation and Contingencies Commitments and Contingencies, Policy [Policy Text Block] Treasury Stock Treasury Stock [Policy Text Block] Treasury Stock [Policy Text Block] Recently Issued Accounting Standards, Not Adopted as of December 31, 2012 New Accounting Pronouncements, Policy [Policy Text Block] Earnings Per Share Policy, Diluted Earnings Per Share Policy, Diluted Unremitted Earnings in Foreign Investment Unremitted Earnings in Foreign Investment, Policy [Policy Text Block] Income Tax Uncertainties Income Tax Uncertainties, Policy [Policy Text Block] Weighted Average [Member] Weighted Average [Member] Other Intangible Assets [Member] Other Intangible Assets [Member] Gross carrying amount Finite-Lived Intangible Assets, Gross Less: accumulated amortization Finite-Lived Intangible Assets, Accumulated Amortization Amortizing intangible assets, useful life Non-amortizing intangible assets Goodwill Goodwill and other intangible assets Statement of Cash Flows [Abstract] Total Exchanged Senior Convertible Notes [Member] Total Exchanged Senior Convertible Notes [Member] Total Exchanged Senior Convertible Notes [Member] Inventories [Member] Inventories [Member] Change in Accounting Estimate by Type [Axis] Change in Accounting Estimate by Type [Axis] Change in Accounting Estimate, Type [Domain] Change in Accounting Estimate, Type [Domain] Contracts Accounted for under Percentage of Completion [Member] Contracts Accounted for under Percentage of Completion [Member] Other Significant Noncash Transaction [Axis] Other Significant Noncash Transaction [Axis] Other Significant Noncash Transaction, Name [Domain] Other Significant Noncash Transaction, Name [Domain] Machinery and Equipment [Member] Machinery and Equipment [Member] Equity Issued in Business Combination [Member] Equity Issued in Business Combination [Member] Cash flows from operating activities: Net Cash Provided by (Used in) Operating Activities [Abstract] Net income Net Income (Loss), Including Portion Attributable to Noncontrolling Interest Adjustments to reconcile net income to net cash provided by operating activities: Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] Depreciation and amortization Depreciation, Depletion and Amortization Stock-based compensation expense Allocated Share-based Compensation Expense Excess tax benefit from stock-based compensation Excess Tax Benefit (Tax Deficiency) from Share-based Compensation, Operating Activities Non-cash interest expense Amortization of Financing Costs and Discounts Provision for doubtful accounts Provision for Doubtful Accounts Provision for losses on construction projects, net Other Noncash Income (Expense) Provision for inventory obsolescence Inventory Write-down Impairment of securities available for sale (Gain) loss on sale of assets Gain (Loss) on Sale of Property Plant Equipment Estimated losses on disposal of businesses, including impairment charges Gain on remeasurement of equity interest in acquiree Changes in assets and liabilities, net of assets acquired and liabilities assumed: Increase (Decrease) in Operating Capital [Abstract] Accounts receivable Increase (Decrease) in Accounts and Other Receivables Inventories Increase (Decrease) in Inventories Deferred tax assets and liabilities, net Increase (Decrease) in Deferred Income Taxes Other assets, current and non-current portion Increase (Decrease) in Other Operating Assets Accounts payable and accrued expenses Increase (Decrease) in Accounts Payable and Accrued Liabilities Billings in excess of costs and earnings Increase (Decrease) in Billing in Excess of Cost of Earnings Other liabilities, current and non-current portion Increase (Decrease) in Other Operating Liabilities Net cash provided by (used in) operating activities Net Cash Provided by (Used in) Operating Activities Cash flows provided by (used in) investing activities: Net Cash Provided by (Used in) Investing Activities [Abstract] Cash paid for acquisitions, net, including contingent consideration Payments to Acquire Businesses, Net of Cash Acquired Payments to acquire equity method investees Capital expenditures Payments to Acquire Productive Assets Proceeds from sale of assets Proceeds from Sale of Property, Plant, and Equipment Proceeds from disposal of business, net Proceeds from Divestiture of Businesses, Net of Cash Divested Payments to acquire other investments Payments to Acquire Other Investments Proceeds from sale or redemption of investments Proceeds from Sale of Available-for-sale Securities, Debt Investments in life insurance policies Net cash provided by (used in) investing activities Net Cash Provided by (Used in) Investing Activities Cash flows (used in) provided by financing activities: Net Cash Provided by (Used in) Financing Activities [Abstract] Proceeds from credit facility Proceeds from Long-term Lines of Credit Repayments of credit facility Repayments of Long-term Lines of Credit Proceeds from other borrowings Proceeds from Issuance of Other Long-term Debt Repayments of other borrowings Repayments of Other Long-term Debt Proceeds from book overdrafts Increase (Decrease) in Book Overdrafts Payments of capital lease obligations Repayments of Long-term Capital Lease Obligations Proceeds from stock option exercises and other share-based awards Proceeds from Issuance of Shares under Incentive and Share-based Compensation Plans, Including Stock Options Excess tax benefit from stock-based compensation Excess Tax Benefit (Tax Deficiency) from Share-based Compensation, Financing Activities Purchases of treasury stock Payments for Repurchase of Common Stock Payments of financing costs Payments of Financing Costs Net cash (used in) provided by financing activities Net Cash Provided by (Used in) Financing Activities Net (decrease) increase and cash equivalents Cash And Cash Equivalents, Period Increase (Decrease), Including Discontinued Operations Amount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes cash and cash equivalents within disposal group and discontinued operation. Net effect of currency translation on cash Effect of Exchange Rate on Cash and Cash Equivalents Cash and cash equivalents - beginning of period Cash and Cash Equivalents, at Carrying Value, Including Discontinued Operations Cash and cash equivalents - end of period Cash and cash equivalents of discontinued operations Disposal Group, Including Discontinued Operation, Cash and Cash Equivalents Cash and cash equivalents of continuing operations Cash and Cash Equivalents, at Carrying Value Supplemental cash flow information: Supplemental Cash Flow Information [Abstract] Interest paid Interest Paid Income taxes paid, net of refunds Income Taxes Paid, Net Receipt of inventory prepaid in prior year Other Significant Noncash Transaction, Value of Consideration Given Supplemental disclosure of noncash information: Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract] Equipment acquired under capital lease Capital Lease Obligations Incurred Equipment acquired under financing arrangements Notes Issued Conversion of leases from operating to capital Noncash or Part Noncash Acquisition, Fixed Assets Acquired Shares issued in connection with business combinations Stock Issued Exchange of senior convertible notes Debt Conversion, Original Debt, Amount Schedule of Long-term Debt Instruments [Table] Principal amount Unamortized debt discount and financing costs Debt Instrument, Unamortized Discount Net carrying amount of debt component Long-term Debt Carrying amount of equity component Debt Instrument, Convertible, Carrying Amount of Equity Component Par value Auction rate securities, fair value Cumulative realized losses Accumulated losses on other comprehensive income, net of tax Accumulated Other Comprehensive Income (Loss), Other than Temporary Impairment, Not Credit Loss, Net of Tax, Available-for-sale, Debt Securities Number Of Customers Number Of Customers1 Number Of Customers Concentration Risk [Table] Concentration Risk [Table] Ten Largest Customers [Member] Ten Largest Customers [Member] Ten Largest Customers [Member] Concentration Risk [Line Items] Concentration Risk [Line Items] Schedule of Major Customer Revenue Concentration Schedule of Revenue by Major Customers by Reporting Segments [Table Text Block] Capital Leases [Line Items] Capital Leased Assets [Line Items] Assets held under capital lease, net Capital Leases, Balance Sheet, Assets by Major Class, Net Income Statement [Abstract] Estimated losses on disposal of businesses, net of tax Discontinued Operation, Gain (Loss) on Disposal of Discontinued Operation, Net of Tax Stock-Based Compensation and Other Employee Benefit Plans Disclosure of Compensation Related Costs, Share-based Payments [Text Block] Reconciliation of Assets from Segment to Consolidated [Table] Reconciliation of Assets from Segment to Consolidated [Table] Segment Reporting, Asset Reconciling Item [Line Items] Segment Reporting, Asset Reconciling Item [Line Items] Total assets Assets Current assets of discontinued operations Assets of Disposal Group, Including Discontinued Operation, Current Long-term assets of discontinued operations Assets of Disposal Group, Including Discontinued Operation, Noncurrent Fair Value, Assets and Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Abstract] Liability Class [Axis] Liability Class [Axis] Fair Value by Liability Class [Domain] Fair Value by Liability Class [Domain] Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Beginning balance Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value Redemption or sale of securities, cost basis Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales Reversal of unrealized losses on redeemed or sold securities Other Comprehensive Income (Loss), Reclassification Adjustment for Sale of Securities Included in Net Income, before Tax Changes in fair value recorded in earnings Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings Changes in unrealized (losses)/gains included in other comprehensive income Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Other Comprehensive Income (Loss) Ending balance Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Beginning balance Fair Value, Measurement with Unobservable Inputs Reconciliations, Recurring Basis, Liability Value Additions from new business combinations Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Purchases Payments of contingent consideration Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements Changes in fair value recorded in earnings Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings Ending balance Previous Line Of Credit [Member] Previous Line Of Credit [Member] Previous Line Of Credit Line of Credit [Member] Line of Credit [Member] Notes Payable, Other Payables [Member] Notes Payable, Other Payables [Member] Revolving Credit Facility [Member] Revolving Credit Facility [Member] Line of credit facility, expiration date Line of Credit Facility, Expiration Date Debt instrument, maturity date Debt Instrument, Maturity Date Lease expiration date Lease Expiration Date Credit facility, amount outstanding Line of Credit Facility, Amount Outstanding Carrying value of debt Capital lease obligations Capital Lease Obligations Capital lease obligations Capital Leases, Future Minimum Payments Due Total debt Debt and Capital Lease Obligations Less current maturities Long-term Debt and Capital Lease Obligations, Current Long-term debt Long-term Debt and Capital Lease Obligations Accounts Receivable, Net of Allowance Loans, Notes, Trade and Other Receivables Disclosure [Text Block] Debt Debt Disclosure [Text Block] Earnings Per Share [Table] Schedule of Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Table] Earnings Per Share [Line Items] Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items] Conversion price per share Debt Instrument, Convertible, Conversion Price Number of conversion shares, principal amount Debt Instrument, Convertible, Number of Equity Instruments Weighted average actual per share price Share Price During Period Price of a single share of a number of saleable stocks of a company over a period of time. Excess over principal amount Debt Instrument, Convertible, If-converted Value in Excess of Principal Weighted average equivalent premium shares (in thousands) Incremental Common Shares Attributable to Contingently Issuable Shares Costs of revenue, excluding depreciation and amortization Cost of Services, Excluding Depreciation, Depletion, and Amortization General and administrative expenses General and Administrative Expense Interest expense, net Other expense, net Nonoperating Income (Expense) Provision for income taxes Income from continuing operations before non-controlling interests Income (Loss) from Continuing Operations, Including Portion Attributable to Noncontrolling Interest Discontinued operations (See Note 4 - Discontinued Operations): Income (Loss) from Discontinued Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest [Abstract] (Loss) income from discontinued operations, net of tax, including estimated losses on disposal and impairment charges of $8.7 million, net of tax, for the year ended December 31, 2012 Income (Loss) from Discontinued Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest Net income Net loss attributable to non-controlling interests Net Income (Loss) Attributable to Noncontrolling Interest Net income attributable to MasTec, Inc. Net Income (Loss) Attributable to Parent Earnings per share (1) (See Note 2 - Earnings Per Share): Earnings Per Share, Basic and Diluted [Abstract] Basic earnings (loss) per share: Earnings Per Share, Basic [Abstract] Continuing operations, basic earnings per share Income (Loss) from Continuing Operations, Per Basic Share Discontinued operations, basic earnings per share Income (Loss) from Discontinued Operations, Net of Tax, Per Basic Share Total basic earnings per share Earnings Per Share, Basic Basic weighted average common shares outstanding Weighted Average Number of Shares Outstanding, Basic Diluted earnings (loss) per share: Earnings Per Share, Diluted [Abstract] Continuing operations, diluted earnings per share Income (Loss) from Continuing Operations, Per Diluted Share Discontinued operations, diluted earnings per share Income (Loss) from Discontinued Operations, Net of Tax, Per Diluted Share Total diluted earnings per share Earnings Per Share, Diluted Diluted weighted average common shares outstanding Weighted Average Number of Shares Outstanding, Diluted Fair Value of Financial Instruments Fair Value Disclosures [Text Block] Disposal Group, Including Discontinued Operation, Balance Sheet Disclosures [Abstract] Current assets Property and equipment, net Disposal Group, Including Discontinued Operation, Property, Plant, and Equipment, Net Goodwill and other intangible assets, net Disposal Group, Including Discontinued Operation, Intangible Assets, Net Other long-term assets Disposal Group, Including Discontinued Operation, Other Noncurrent Assets Assets of discontinued operations Accounts payable and accrued expenses Disposal Group, Including Discontinued Operation, Accrued Liabilities Other current liabilities, including accrued earn-outs Disposal Group, Including Discontinued Operation, Other Current Liabilities Liabilities of discontinued operations Income from continuing operations before non-controlling interests Income (loss) from discontinued operations Continuing operations Discontinued operations Continuing operations Discontinued operations Disposal Group, Including Discontinued Operation, Income Statement Disclosures [Abstract] Revenue Disposal Group, Including Discontinued Operation, Revenue Income (loss) from operations before (provision for) benefit from income taxes Discontinued Operation, Income (Loss) from Discontinued Operation During Phase-out Period, before Income Tax Impairment of assets, disposal group, before benefit from income taxes Loss on disposal before provision for income taxes Discontinued Operation, Gain (Loss) from Disposal of Discontinued Operation, before Income Tax (Provision for) benefit from income taxes Net income (loss) from discontinued operations Fabcor [Member] Current Assets [Member] Other Current Assets [Member] Accrued Liabilities [Member] Accrued Liabilities [Member] Deferred Income Tax Charges [Member] Deferred Income Tax Charges [Member] Customer Contracts [Member] Customer Contracts [Member] Purchase price consideration: Business Acquisition, Cost of Acquired Entity, Purchase Price [Abstract] Shares transferred Business Acquisition, Cost of Acquired Entity, Equity Interests Issued and Issuable Cash Fair value of contingent consideration (earn-out liability) Business Acquisition, Cost of Acquired Entity, Liabilities Incurred Total consideration transferred Business Combination, Consideration Transferred Fair value of equity investment Fair value of total consideration Business Combination, Consideration Transferred, Including Equity Interest in Acquiree Held Prior to Combination Purchase price allocation to identifiable assets acquired and liabilities assumed: Business Acquisition, Purchase Price Allocation [Abstract] Assets Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Financial Assets Property and equipment Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment Intangible assets Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangibles Liabilities Total identifiable net assets Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net Total consideration allocated Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Net Segments and Operations by Geographic Area Segment Reporting Disclosure [Text Block] Net Income (Loss) Available to Common Stockholders, Basic Net Income (Loss) Available to Common Stockholders, Basic [Abstract] Net income from continuing operations Income (Loss) from Continuing Operations Attributable to Parent Net income (loss) from discontinued operations Income (Loss) from Discontinued Operations, Net of Tax, Attributable to Parent Weighted Average Number of Shares Outstanding, Basic Weighted Average Number of Shares Outstanding, Basic [Abstract] Weighted average shares outstanding Earnings (Loss) Per Share, Basic Basic earnings per share, continuing operations Basic earnings per share, discontinued operations Net Income (Loss) Available to Common Stockholders, Diluted Net Income (Loss) Available to Common Stockholders, Diluted [Abstract] Interest expense on convertible debt, net of tax Interest on Convertible Debt, Net of Tax Diluted net income from continuing operations Income Loss From Continuing Operations Available To Common Shareholders Diluted Income Loss From Continuing Operations Available To Common Shareholders Diluted Diluted net income attributable to MasTec Net Income (Loss) Available to Common Stockholders, Diluted Weighted Average Number of Shares Outstanding, Diluted Weighted Average Number of Shares Outstanding, Diluted [Abstract] Dilutive common stock equivalents Incremental Common Shares Attributable to Share-based Payment Arrangements Dilutive premium shares Dilutive shares Incremental Common Shares Attributable to Conversion of Debt Securities Diluted weighted average shares outstanding Earnings (Loss) Per Share, Diluted Diluted earnings per share, continuing operations Diluted earnings per share, discontinued operations Contractual and other interest expense Interest Expense, Debt, Excluding Amortization Accretion of senior convertible note discount Accretion Expense Deferred financing costs and commitment fees Debt Related Commitment Fees and Debt Issuance Costs Total interest expense Interest Expense Interest income Investment Income, Interest Interest expense, net State and Local Jurisdiction [Member] U.S. statutory federal rate applied to pretax income Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate State and local income taxes, net of federal benefit Effective Income Tax Rate Reconciliation, State and Local Income Taxes Foreign tax rate differential Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential Non-deductible expenses Effective Income Tax Rate Reconciliation, Nondeductible Expense Change in state tax rate Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate Domestic production activities deduction Effective Income Tax Rate Reconciliation, Deductions, Qualified Production Activities Other Effective Income Tax Rate Reconciliation, Other Adjustments Change in valuation allowance for deferred tax assets Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance Effective income tax rate Effective Income Tax Rate, Continuing Operations Restricted Shares, Number of Shares [Roll Forward] Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] Non-vested restricted shares, beginning balance Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number Restricted shares - granted Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period Restricted shares - vested Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period Restricted shares - canceled/forfeited Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period Non-vested restricted shares, ending balance Restricted Shares, Weighted Average Grant Date Fair Value [Roll Forward] Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Roll Forward] Weighted average grant date fair value, beginning balance Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value Weighted average grant date fair value - granted Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value Weighted average grant date fair value - vested Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value Weighted average grant date fair value - canceled/forfeited Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value Weighted average grant date fair value, ending balance Contract billings Billed Contracts Receivable Retainage Contract Receivable Retainage Costs and earnings in excess of billings Costs in Excess of Billings on Uncompleted Contracts or Programs Accounts receivable, gross Accounts Receivable, Gross, Current Less allowance for doubtful accounts Allowance for Doubtful Accounts Receivable, Current Accounts receivable, net Accounts Receivable, Net, Current Summary of Assets, Liabilities and Results of Operations from Discontinued Operations Schedule of Disposal Groups, Including Discontinued Operations, Income Statement, Balance Sheet and Additional Disclosures [Table Text Block] Concentration Risk Benchmark [Domain] Revenues as a percent of total Supplemental Guarantor Financial Information Condensed Financial Statements [Text Block] Statement of Financial Position [Abstract] Assets Assets [Abstract] Current assets: Assets, Current [Abstract] Cash and cash equivalents Accounts receivable, net of allowance Inventories Inventory, Net Deferred tax assets, net Prepaid expenses and deposits Prepaid Expense, Current Other current assets Other Assets, Current Total current assets Assets, Current Other intangible assets, net Intangible Assets, Net (Excluding Goodwill) Available for sale auction rate securities Auction Rate Securities, Noncurrent Other assets Other Assets, Miscellaneous, Noncurrent Total assets Liabilities and Shareholders' Equity Liabilities and Equity [Abstract] Current liabilities: Liabilities, Current [Abstract] Current maturities of long-term debt Accounts payable Accounts Payable, Current Accrued salaries and wages Employee-related Liabilities, Current Accrued taxes payable Taxes Payable, Current Accrued insurance Accrued Insurance, Current Other accrued expenses Other Accrued Liabilities, Current Acquisition-related contingent consideration, current Business Acquisition, Contingent Consideration, at Fair Value, Current Billings in excess of costs and earnings Billings in Excess of Cost, Current Other current liabilities Other Liabilities, Current Current liabilities of discontinued operations Liabilities of Disposal Group, Including Discontinued Operation, Current Total current liabilities Liabilities, Current Acquisition-related contingent consideration Business Acquisition, Contingent Consideration, at Fair Value, Noncurrent Deferred tax liabilities, net Other liabilities Other Liabilities, Noncurrent Total liabilities Liabilities Commitments and contingencies (See Note 14) Commitments and Contingencies Shareholders' equity: Stockholders' Equity Attributable to Parent [Abstract] Preferred stock, $1.00 par value; authorized shares - 5,000,000; issued and outstanding shares - none Preferred Stock, Value, Issued Common stock, $0.10 par value; authorized shares - 145,000,000; issued shares - 85,915,552 and 85,162,527 as of December 31, 2012 and 2011, respectively Common Stock, Value, Issued Capital surplus Additional Paid in Capital, Common Stock Retained earnings Retained Earnings (Accumulated Deficit) Accumulated other comprehensive loss Treasury stock, at cost; shares as of December 31, 2012 – 9,467,286; shares as of December 31, 2011 - 4,593,663 Treasury Stock, Value Total MasTec, Inc. shareholders' equity Stockholders' Equity Attributable to Parent Non-controlling interests Stockholders' Equity Attributable to Noncontrolling Interest Total shareholders' equity Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest Total liabilities and shareholders' equity Liabilities and Equity All Other Segments [Member] All Other Segments [Member] Corporate [Member] Corporate [Member] Depreciation Amortization Capital expenditures Schedule of Gain (Loss) on Investments [Table] Schedule of Gain (Loss) on Investments [Table] Gain (Loss) on Investments [Line Items] Gain (Loss) on Investments [Line Items] Other than Temporary Impairment, Credit Losses Recognized in Earnings [Table Text Block] Other than Temporary Impairment Losses, Investments, Portion Recognized in Earnings, Net, Available-for-sale Securities Total other-than-temporary impairment losses on securities available for sale Other than Temporary Impairment Losses, Investments, Available-for-sale Securities Less: unrealized losses on securities available for sale, recognized in other comprehensive income Other than Temporary Impairment Losses, Investments, Portion in Other Comprehensive Income (Loss), before Tax, Including Portion Attributable to Noncontrolling Interest, Available-for-sale Securities Land [Member] Land [Member] Building and Leasehold Improvements [Member] Building and Building Improvements [Member] Office Furniture and Equipment [Member] Furniture and Fixtures [Member] Property and equipment gross Property, Plant and Equipment, Gross Less accumulated depreciation Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment Property and equipment, net Estimated useful lives Property, Plant and Equipment, Useful Life Schedule of Future Minimum Lease Commitments Schedule Of Future Minimum Rental Payments For Operating Leases And Lease Payments For Capital Leases [Table Text Block] [Table Text Block] for Schedule Of Future Minimum Rental Payments For Operating Leases And Lease Payments For Capital Leases [Table] Preferred stock, par value Preferred Stock, Par or Stated Value Per Share Preferred stock, shares authorized Preferred Stock, Shares Authorized Preferred stock, shares issued Preferred Stock, Shares Issued Preferred stock, shares outstanding Preferred Stock, Shares Outstanding Common stock, par value Common Stock, Par or Stated Value Per Share Common stock, shares authorized Common Stock, Shares Authorized Common stock, shares issued Common Stock, Shares, Issued Treasury stock, shares Treasury Stock, Shares Securities Available For Sale Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] Condensed Financial Statements, Supplemental Guarantor Information [Abstract] Condensed Financial Statements, Supplemental Guarantor Information [Abstract] Schedule of Condensed Financial Statements [Table] Schedule of Condensed Financial Statements [Table] Legal Entity [Axis] Legal Entity [Axis] Entity [Domain] Entity [Domain] Parent Company [Member] Parent Company [Member] Guarantor Subsidiaries [Member] Guarantor Subsidiaries [Member] Non-Guarantor Subsidiaries [Member] Non-Guarantor Subsidiaries [Member] Consolidation, Eliminations [Member] Consolidation, Eliminations [Member] Condensed Financial Statements, Captions [Line Items] Condensed Financial Statements, Captions [Line Items] Net cash provided by (used in) operating activities Proceeds from sale or redemption of investments Proceeds from stock options exercises and other share-based awards Payments of financing costs Net financing activities and advances (to) from consolidated affiliates Net Financing Activities And Advances From Consolidated Affiliates Net financing activities and advances (to) from consolidated affiliates. Underlying Asset Class [Axis] Underlying Asset Class [Axis] Underlying Asset Class [Domain] Underlying Asset Class [Domain] Credit Rating Source [Axis] Credit Rating Source [Axis] Credit Rating Source [Domain] Credit Rating Source [Domain] Underlying Credit Rating Aaa [Member] Underlying Credit Rating Aaa [Member] Underlying Credit Rating AAA [Member] Underlying Credit Rating AA- [Member] Underlying Credit Rating Aa Minus [Member] Underlying Credit Rating Aa Minus [Member] Underlying Credit Rating BB [Member] Underlying Credit Rating Bb [Member] Underlying Credit Rating Bb [Member] Underlying Credit Rating CCC [Member] Underlying Credit Rating Ccc [Member] Underlying Credit Rating CCC [Member] Schedule of Quarterly Financial Information Schedule of Quarterly Financial Information [Table Text Block] Property and Equipment, Net Property, Plant and Equipment Disclosure [Text Block] Ec Source [Member] Ec Source [Member] Ec Source [Member] Impairment of assets, disposal group Current assets Net investments in and advances to (from) consolidated affiliates Investment In Subsidiaries Investment In Subsidiaries Other assets Other Assets, Noncurrent Current liabilities Other liabilities Liabilities, Other than Long-term Debt, Noncurrent Total shareholders' equity Business Acquisition, Pro Forma Information Business Acquisition, Pro Forma Information [Table Text Block] Schedule of Business Acquisitions, Consideration Paid and Purchase Price Allocation Schedule of Business Acquisitions, by Acquisition [Table Text Block] Costs of revenue, excluding depreciation and amortization Interest expense, net Interest Income (Expense), Nonoperating, Net Other expense (income), net Benefit (provision) for income taxes Income (loss) from discontinued operations, net of tax Equity in income from subsidiaries, net of tax Income Loss From Investment In Subsidiaries Income (Loss) From Investment In Subsidiaries Comprehensive income (loss) Comprehensive Income (Loss), Net of Tax, Including Portion Attributable to Noncontrolling Interest Statement of Stockholders' Equity [Abstract] Equity Components [Axis] Equity Components [Axis] Equity Component [Domain] Equity Component [Domain] Comprehensive Income [Member] Comprehensive Income [Member] Additional Paid-in Capital [Member] Additional Paid-in Capital [Member] Retained Earnings [Member] Retained Earnings [Member] Treasury Stock [Member] Treasury Stock [Member] Accumulated Other Comprehensive Income (Loss) [Member] Accumulated Other Comprehensive Income (Loss) [Member] Parent [Member] Parent [Member] Noncontrolling Interest [Member] Noncontrolling Interest [Member] Increase (Decrease) in Stockholders' Equity [Roll Forward] Increase (Decrease) in Stockholders' Equity [Roll Forward] Beginning balance Beginning balance, shares Beginning balance, shares Common Stock, Shares, Outstanding Foreign currency translation adjustment Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Gain (Loss) Arising During Period, Net of Tax Unrealized losses/(gains), net of tax Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, Net of Tax Reclassification adjustment for impairment loss included in earnings, net of tax Other Comprehensive Income (Loss), Reclassification Adjustment for Write-down of Securities Included in Net Income, Net of Tax Reclassification adjustment for unrealized loss on sale/redemption of securities, net of tax Other Comprehensive Income (Loss), Reclassification Adjustment for Sale of Securities Included in Net Income, Net of Tax Acquisition of non-controlling interest Noncontrolling Interest, Increase from Business Combination Issuance of common stock in connection with acquisition Stock Issued During Period, Value, Acquisitions Issuance of common stock in connection with acquisition, shares Stock Issued During Period, Shares, Acquisitions Fair value, senior convertible noted conversion feature, net of tax Adjustments to Additional Paid in Capital, Equity Component of Convertible Debt Non cash stock compensation Adjustments to Additional Paid in Capital, Share-based Compensation, Requisite Service Period Recognition Non cash stock compensation Adjustments to Additional Paid in Capital, Share-based Compensation, Restricted Stock Unit or Restricted Stock Award, Requisite Service Period Recognition Excess tax benefits from stock based compensation Adjustments to Additional Paid in Capital, Income Tax Benefit from Share-based Compensation Stock options exercised Stock Issued During Period, Value, Stock Options Exercised Stock options exercised, shares Other stock issuances Stockholders' Equity, Other Other stock issuances, shares Stockholders' Equity, Other Shares Treasury stock acquired, at cost Treasury stock acquired, at cost, shares Ending balance Ending balance, shares Ending balance, shares Schedule of Multiemployer Plans Schedule of Multiemployer Plans [Table Text Block] Schedule of Costs of Multiemployer Plans Schedule of Costs of Retirement Plans [Table Text Block] Aggregate Principal [Member] Aggregate Principal [Member] Aggregate Principal [Member] Eurocurrency Rate [Member] Eurocurrency Rate [Member] Eurocurrency rate [Member] Base Rate [Member] Base Rate [Member] Base Rate [Member] Convertible Term 1 [Member] Convertible Term 1 [Member] Convertible Term 1 [Member] Convertible Term 2 [Member] Convertible Term 2 [Member] Convertible Term 2 [Member] Convertible Term 3 [Member] Convertible Term 3 [Member] Convertible Term 3 [Member] Total Remaining Original Convertible Notes [Member] Total Remaining Original Senior Convertible Notes [Member] Total Remaining Original Senior Convertible Notes [Member] Financial Standby Letter of Credit [Member] Financial Standby Letter of Credit [Member] Line of credit facility, maximum borrowing capacity Line of Credit Facility, Maximum Borrowing Capacity Line of credit facility, capacity available for issuance of letters of credit Line of Credit Facility, Capacity Available for Specific Purpose Other than for Trade Purchases Line of credit facility, borrowing capacity description Line of Credit Facility, Borrowing Capacity, Description Line of credit facility, covenant terms Line of Credit Facility, Covenant Terms Line of credit facility, leverage ratio Ratio of Indebtedness to Net Capital Line of credit facility, interest coverage ratio Interest Coverage Ratio Interest Coverage Ratio Line of credit facility, interest rate description Line of Credit Facility, Interest Rate Description Debt instrument, basis spread, variable interest or fee Debt Instrument, Basis Spread on Variable Rate Line of credit facility, commitment fee description Line of Credit Facility, Commitment Fee Description Letters of credit issued Line of credit facility, remaining borrowing capacity Line of Credit Facility, Remaining Borrowing Capacity Line of credit interest rate Line of Credit Facility, Interest Rate at Period End Unused credit facility fee Line of Credit Facility, Unused Capacity, Commitment Fee Percentage Line of credit facility, collateral Line of Credit Facility, Collateral Debt instrument exchange fee Debt Instrument, Fee Debt instrument, exchanged amount Exchange fee incurred for debt conversion Debt Issuance Costs Incurred During Noncash or Partial Noncash Transaction Debt issuance cost Debt Issuance Cost Convertible notes, guarantees description Debt instrument, terms of conversion feature Debt Instrument, Convertible, Terms of Conversion Feature Unamortized debt discount and financing costs Debt instrument, effective interest rate Debt Instrument, Convertible, Effective Interest Rate Debt instrument, remaining discount amortization period Debt Instrument, Convertible, Remaining Discount Amortization Period Debt instrument, issuance date Debt Instrument, Issuance Date Debt instrument, payment terms Debt Instrument, Payment Terms Debt Instrument, convertible, latest date Debt Instrument, Convertible, Latest Date Debt instrument, convertible, conversion ratio Debt Instrument, Convertible, Conversion Ratio Debt instrument, convertible, conversion price per share Debt instrument, restrictive covenants Debt Instrument, Restrictive Covenants Debt instrument, guarantees Debt Instrument, Collateral Debt instrument, covenant compliance Debt Instrument, Covenant Compliance Document Type Document Type Amendment Flag Amendment Flag Document Period End Date Document Period End Date Document Fiscal Year Focus Document Fiscal Year Focus Document Fiscal Period Focus Document Fiscal Period Focus Entity Registrant Name Entity Registrant Name Entity Central Index Key Entity Central Index Key Current Fiscal Year End Date Current Fiscal Year End Date Entity Filer Category Entity Filer Category Entity Common Stock, Shares Outstanding Entity Common Stock, Shares Outstanding Entity Voluntary Filers Entity Voluntary Filers Entity Current Reporting Status Entity Current Reporting Status Entity Well-known Seasoned Issuer Entity Well-known Seasoned Issuer Entity Public Float Entity Public Float Operating Lease Obligations [Abstract] Leases, Operating [Abstract] Operating leases, future minimum payments due, next twelve months Operating Leases, Future Minimum Payments Due, Next Twelve Months Operating leases, future minimum payments, due in two years Operating Leases, Future Minimum Payments, Due in Two Years Operating leases, future minimum payments, due in three years Operating Leases, Future Minimum Payments, Due in Three Years Operating leases, future minimum payments, due in four years Operating Leases, Future Minimum Payments, Due in Four Years Operating leases, future minimum payments, due in five years Operating Leases, Future Minimum Payments, Due in Five Years Operating leases, future minimum payments, due thereafter Operating Leases, Future Minimum Payments, Due Thereafter Operating leases, future minimum payments due Operating Leases, Future Minimum Payments Due Capital Lease Obligations [Abstract] Capital Lease Obligations [Abstract] Capital leases, future minimum payments due, next twelve months Capital Leases, Future Minimum Payments Due, Next Twelve Months Capital leases, future minimum payments due in two years Capital Leases, Future Minimum Payments Due in Two Years Capital leases, future minimum payments due in three years Capital Leases, Future Minimum Payments Due in Three Years Capital leases, future minimum payments due in four years Capital Leases, Future Minimum Payments Due in Four Years Capital leases, future minimum payments due in five years Capital Leases, Future Minimum Payments Due in Five Years Capital leases, future minimum payments due thereafter Capital Leases, Future Minimum Payments Due Thereafter Capital leases, future minimum payments due Capital leases, future minimum payments, interest included in payments Capital Leases, Future Minimum Payments, Interest Included in Payments Capital lease obligations Capital lease obligations, current Capital Lease Obligations, Current Capital lease obligations, noncurrent Capital Lease Obligations, Noncurrent Other Retirement Plans Pension and Other Postretirement Benefits Disclosure [Text Block] Components of Deferred Tax Assets and Liabilities [Abstract] Trade Accounts Receivable [Member] Trade Accounts Receivable [Member] Component of Other Income, Nonoperating [Axis] Component of Other Income, Nonoperating [Axis] Component of Other Income, Nonoperating, Name [Domain] Component of Other Income, Nonoperating, Name [Domain] Noncontrolling Interest and Earnings Losses Equity Investments [Member] Noncontrolling Interest and Earnings Losses Equity Investments [Member] Accrued self insurance Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Self Insurance Operating loss carryforward Compensation and benefits Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits Property and equipment Deferred Tax Assets, Property, Plant and Equipment Bed debts Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Allowance for Doubtful Accounts Other Deferred Tax Assets, Other Valuation allowance Total deferred tax assets Deferred Tax Assets, Net of Valuation Allowance Property and equipment Deferred Tax Liabilities, Property, Plant and Equipment Goodwill Deferred Tax Liabilities, Goodwill Other intangible assets Deferred Tax Liabilities, Intangible Assets Deferred tax liabilities, tax deferred income Deferred Tax Liabilities, Tax Deferred Income Other Deferred Tax Liabilities, Other Total deferred tax liabilities Deferred Tax Liabilities, Gross Debt instrument, interest rate Debt Instrument, Interest Rate, Stated Percentage Debt instrument, weighted average interest rate Debt, Weighted Average Interest Rate Maturities of Long-term Debt [Abstract] 2013 Long-term Debt, Maturities, Repayments of Principal in Next Twelve Months 2014 Long-term Debt, Maturities, Repayments of Principal in Year Two 2015 Long-term Debt, Maturities, Repayments of Principal in Year Three 2016 Long-term Debt, Maturities, Repayments of Principal in Year Four 2017 Long-term Debt, Maturities, Repayments of Principal in Year Five Thereafter Long-term Debt, Maturities, Repayments of Principal after Year Five Income Taxes Income Tax Disclosure [Text Block] Fair Value, Assets and Liabilities Measured on Recurring Basis [Abstract] Fair Value, Hierarchy [Axis] Fair Value, Hierarchy [Axis] Fair Value, Measurements, Fair Value Hierarchy [Domain] Fair Value, Measurements, Fair Value Hierarchy [Domain] Level 1 [Member] Fair Value, Inputs, Level 1 [Member] Level 2 [Member] Fair Value, Inputs, Level 2 [Member] Level 3 [Member] Fair Value, Inputs, Level 3 [Member] Cash Surrender Value [Member] Cash Surrender Value [Member] Fair value measurements, valuation techniques Fair Value Measurements, Valuation Techniques Assets measured at fair value on a nonrecurring basis, not separately disclosed Assets, Fair Value Disclosure, Nonrecurring Liabilities measured at fair value on a nonrecurring basis, not separately disclosed Liabilities, Fair Value Disclosure, Nonrecurring Related Party Transactions Related Party Transactions Disclosure [Text Block] Valuation and Qualifying Accounts [Abstract] Valuation and Qualifying Accounts Disclosure [Table] Valuation and Qualifying Accounts Disclosure [Table] Allowance for Doubtful Accounts, Continuing Operations [Member] Allowance for Doubtful Accounts, Continuing Operations [Member] Accumulated Net Unrealized Investment Gain (Loss) [Member] Accumulated Net Unrealized Investment Gain (Loss) [Member] Valuation Allowance, Operating Loss Carryforwards [Member] Valuation Allowance, Operating Loss Carryforwards [Member] Valuation and Qualifying Accounts Disclosure [Line Items] Valuation and Qualifying Accounts Disclosure [Line Items] Movement in Valuation Allowances and Reserves [Roll Forward] Movement in Valuation Allowances and Reserves [Roll Forward] Balance at beginning of period Charges Valuation Allowances and Reserves, Charged to Cost and Expense Charges Valuation Allowances and Reserves, Charged to Other Accounts Charges Valuation Allowances and Reserves, Period Increase (Decrease) Deductions Valuation Allowances and Reserves, Deductions Balance at end of period Stock Options [Member] Stock Options [Member] Income tax benefit from stock-based compensation Employee Service Share-based Compensation, Tax Benefit from Compensation Expense Excess tax benefit from stock-based compensation Financing Receivable [Member] Financing Receivable [Member] Financing receivable Financing Receivable, Net Financing receivable, non-current portion Notes, Loans and Financing Receivable, Gross, Noncurrent Schedule II - Valuation and Qualifying Accounts Schedule of Valuation and Qualifying Accounts Disclosure [Text Block] Schedule of Segment Reporting Information, by Segment Schedule of Segment Reporting Information, by Segment [Table Text Block] Reconciliation of EBITDA to Consolidated Income Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table Text Block] Reconciliation of Assets from Segments to Consolidated Entity Reconciliation of Assets from Segment to Consolidated [Table Text Block] Schedule of Significant Customers, Revenue Concentration Goodwill [Member] Goodwill [Member] Goodwill [Member] Fair Value, Inputs, Level 3 [Member] Interest Rate Risk [Member] Interest Rate Risk [Member] Fair value inputs, earnings before interest, taxes, depreciation, and amortization multiple Fair Value Inputs, Earnings before Interest, Taxes, Depreciation, and Amortization Multiple Change in discount rate Fair Value Inputs, Discount Rate Fair value measurements, sensitivity analysis, description Fair Value Measurements, Sensitivity Analysis, Description Impairment of intangible assets, indefinite-lived (excluding goodwill) Impairment of Intangible Assets, Indefinite-lived (Excluding Goodwill) Schedule of Goodwill and Other Intangible Assets Schedule of Intangible Assets and Goodwill [Table Text Block] Rollforward of Goodwill and Other Intangible Assets Schedule Of Rollforward Of Goodwill And Other Intangible Assets Table [Text Block] Schedule Of Rollforward Of Goodwill And Other Intangible Assets [Table Text Block] Rollforward of Goodwill by Segment Schedule of Goodwill [Table Text Block] Schedule of Future Amortization Expense for Amortizing Assets Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block] Allowance for Doubtful Accounts Receivable [Roll Forward] Allowance for Doubtful Accounts Receivable [Roll Forward] Allowance for doubtful accounts at beginning of year Amounts charged against the allowance Allowance for Doubtful Accounts Receivable, Charge-offs Allowance for doubtful accounts at end of year Statement of Other Comprehensive Income [Abstract] Foreign currency translation gains (losses) Unrealized gains (losses) on available for sale securities: Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax [Abstract] Unrealized gains (losses) on available for sale securities, before tax Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, before Tax Reversal of unrealized losses on redeemed securities sold at par Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, before Tax Reclassification adjustment for unrealized losses on sold securities, recognized in earnings Reclassification adjustment for impairment losses included in earnings Other Comprehensive Income (Loss), Reclassification Adjustment for Write-down of Securities Included in Net Income, before Tax Less: (Provision for) benefit from income taxes Other Comprehensive Income (Loss), Available-for-sale Securities, Tax Unrealized gain (loss) on available for sale securities, net of tax Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax Comprehensive income Comprehensive loss attributable to non-controlling interests Comprehensive Income (Loss), Net of Tax, Attributable to Noncontrolling Interest Comprehensive income attributable to MasTec, Inc. Comprehensive Income (Loss), Net of Tax, Attributable to Parent Schedule of Share Activity Schedule of Common Stock Outstanding Roll Forward [Table Text Block] Schedule of Stock by Class [Table] Schedule of Stock by Class [Table] Class of Stock [Line Items] Class of Stock [Line Items] Rollforward of Share Activity, Common and Treasury Shares Share Activity [Roll Forward] Share Activity [Roll Forward] Treasury shares, beginning balance Shares issued for stock options exercises Shares issued for restricted stock awards Stock Issued During Period, Shares, Restricted Stock Award, Gross Other shares issued Stock Issued During Period, Shares, Other Shares issued for acquisition of business Common stock repurchases Treasury shares, ending balance Adjusted Cost Basis Gross Cumulative Unrealized (Losses)/Gains Fair Value Available-for-sale Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value Gross Cumulative Unrealized (Losses)/Gains Gross Cumulative Unrealized (Losses)/Gains Available-for-sale Securities, Gross Unrealized Gain (Loss) Fair Value Antidilutive Securities [Axis] Antidilutive Securities [Axis] Antidilutive Securities, Name [Domain] Antidilutive Securities, Name [Domain] Anti-dilutive common stock equivalents, shares Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount Debt instrument interest rate, stated percentage Debt instrument, convertible, number of conversion shares, principal amount Computation of earnings per share, methodology Earnings Per Share Reconciliation Disclosure