Income Statement [Abstract] Statement [Table] Statement [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] Statement [Line Items] Statement [Line Items] Revenue Revenues Costs of revenue, excluding depreciation and amortization Cost of Services, Excluding Depreciation, Depletion, and Amortization Depreciation and amortization Depreciation, Depletion and Amortization General and administrative expenses General and Administrative Expense Interest expense, net Interest Revenue (Expense), Net Loss on extinguishment of debt Gains (Losses) on Extinguishment of Debt Other expense (income), net Nonoperating Income (Expense) Income from continuing operations before provision for income taxes Income (Loss) from Continuing Operations before Income Taxes, Extraordinary Items, Noncontrolling Interest Provision for income taxes Income Tax Expense (Benefit) Income from continuing operations before non-controlling interests Income (Loss) from Continuing Operations, Including Portion Attributable to Noncontrolling Interest 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 impairment charges and loss on disposal (See Note 4 - Discontinued Operations) Income (Loss) from Discontinued Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest Net income Net Income (Loss), Including Portion Attributable to Noncontrolling Interest Net income (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 (loss) 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 (loss) 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 Share-based Compensation [Abstract] Stock-Based Compensation and Other Employee Benefit Plans Disclosure of Compensation Related Costs, Share-based Payments [Text Block] Segment Reporting [Abstract] Schedule of Segment Reporting Information, by Segment [Table] Schedule of Segment Reporting Information, by Segment [Table] Segment, Discontinued Operations [Member] Segment, Discontinued Operations [Member] Business Segments [Axis] Business Segments [Axis] Segment [Domain] Segment [Domain] Communications [Member] Communications [Member] Communications [Member] Oil and Gas [Member] 237120 Oil and Gas Pipeline and Related Structures Construction [Member] Electrical Transmission [Member] Electric Transmission [Member] Power Generation and Industrial [Member] Power Generation and Industrial [Member] Power plant, renewable energy, industrial infrastructure and related facilities contruction Concentration Risk Benchmark [Axis] Concentration Risk Benchmark [Axis] Concentration Risk Benchmark [Domain] Concentration Risk Benchmark [Domain] Sales Revenue, Services, Net [Member] Sales Revenue, Services, Net [Member] Major Customers [Axis] Major Customers [Axis] Name of Major Customer [Domain] Name of Major Customer [Domain] Utilities [Member] Utilities [Member] Utilities [Member] Concentration Risk Type [Axis] Concentration Risk Type [Axis] Concentration Risk Type [Domain] Concentration Risk Type [Domain] 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] Reportable Geographical Components [Member] Reportable Geographical Components [Member] Reportable Geographical Components [Member] Segment Reporting Information [Line Items] Segment Reporting Information [Line Items] Number of reportable segments Number of Reportable Segments Segment reporting, factors used to identify entity's reportable segments Segment Reporting, Factors Used to Identify Entity's Reportable Segments Segment reporting information, description of products and services Segment Reporting Information, Description of Products and Services Segment reporting, description of all other segments Segment Reporting, Description of All Other Segments Segment reporting, measurement for transactions between reportable segments Segment Reporting, Measurement for Transactions Between Reportable Segments Entity-wide revenue by customer type, percentage Concentration Risk, Percentage Property, Plant and Equipment [Abstract] Schedule of Property and Equipment [Table] Schedule of Property, Plant and Equipment [Table] Property and Equipment, Type [Axis] Property, Plant and Equipment, Type [Axis] Property and Equipment, Type [Domain] Property, Plant and Equipment, Type [Domain] Property and Equipment [Member] Property and Equipment [Member] Property and Equipment [Member] Property and Equipment [Line Items] Property, Plant and Equipment [Line Items] Investments, Debt and Equity Securities [Abstract] Schedule of Available-for-sale Securities [Table] Schedule of Available-for-sale Securities [Table] 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] Financial Instrument [Axis] Financial Instrument [Axis] Types of Financial Instruments [Domain] Types of Financial Instruments [Domain] Securities Redeemed or Sold [Member] Securities Redeemed or Sold [Member] Securities Redeemed or Sold [Member] Debt Security [Axis] Debt Security [Axis] Major Types of Debt Securities [Domain] Major Types of Debt Securities [Domain] Asset-backed Securities [Member] Asset-backed Securities [Member] Collateralized Debt Obligations [Member] Collateralized Debt Obligations [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] Fair Value [Member] Portion at Fair Value, Fair Value Disclosure [Member] Schedule of Available-for-sale Securities [Line Items] Schedule of Available-for-sale Securities [Line Items] Auction rate securities, par value Investment Owned, Balance, Principal Amount Cumulative credit and other losses recognized in earnings, auction rate securities sold Other than Temporary Impairment Losses, Investments, Portion Recognized in Earnings, Net Adjusted cost basis Available-for-sale Debt Securities, Amortized Cost Basis Available-for-sale securities, gross unrealized gain (loss) Available-for-sale Securities, Gross Unrealized Gain (Loss) Auction rate securities, fair value Available-for-sale Securities, Fair Value Disclosure Proceeds from sale or redemption of investments Proceeds from Sale of Available-for-sale Securities, Debt Reversal of unrealized (gains) losses Other Comprehensive Income (Loss), Unrealized Holding Gain (Loss) on Securities Arising During Period, before Tax Available-for-sale securities, gross realized gains Available-for-sale Securities, Gross Realized Gains Receivables [Abstract] Schedule Of Accounts Receivable, Net of Allowance Schedule of Accounts, Notes, Loans and Financing Receivable [Table 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] Indefinite lived intangible assets [Line Items] Goodwill [Line Items] Goodwill [Roll Forward] Goodwill [Roll Forward] Goodwill, beginning balance Goodwill Accruals of acquisition-related contingent consideration Goodwill, Other Changes Additions from new business combinations, goodwill Goodwill, Acquired During Period Currency translation adjustments, goodwill Goodwill, Translation Adjustments Goodwill, ending balance Common Stock, Number of Shares, Par Value and Other Disclosures [Abstract] Schedule of Stock by Class [Table] Schedule of Stock by Class [Table] Related Party [Axis] Related Party [Axis] Related Party [Domain] Related Party [Domain] Investor [Member] Investor [Member] Equity Components [Axis] Equity Components [Axis] Equity Component [Domain] Equity Component [Domain] Common Stock Outstanding [Member] Common Stock Outstanding [Member] Common Stock Outstanding Member [Member] Class of Stock [Line Items] Class of Stock [Line Items] Rollforward of Share Activity, Common and Treasury Shares Increase (Decrease) in Stockholders' Equity [Roll Forward] Common shares outstanding, beginning balance Common Stock, Shares, Outstanding Shares issued for stock option exercises Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period Shares issued for restricted stock awards Stock Issued During Period, Shares, Restricted Stock Award, Gross Other shares issued, net Stock Issued During Period, Shares, Other Common stock repurchases Treasury Stock, Shares, Acquired Shares contributed by shareholder, former owner of acquired business Common Stock, Shares Contributed Increase or decrease to outstanding shares resulting from contributed share transactions during the period Common shares outstanding, ending balance Treasury shares, beginning balance Treasury Stock, Shares Treasury shares, ending balance Long-term Debt, Unclassified [Abstract] Long-term Debt Instruments [Table] Schedule of Long-term Debt Instruments [Table] Range [Axis] Range [Axis] Range [Domain] Range [Domain] Weighted Average [Member] Weighted Average [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] 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] 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] Total New Senior Convertible Notes [Member] Total New Senior Convertible Notes [Member] Total New Senior Convertible Notes [Member] Debt Instrument [Line Items] Debt Instrument [Line Items] Principal amount Debt Instrument, Face Amount Unamortized debt discount and financing costs Debt Instrument, Unamortized Discount Debt instrument, effective interest rate Debt Instrument, Convertible, Effective Interest Rate Debt instrument, remaining discount amortization period Debt Instrument, Convertible, Remaining Discount Amortization Period Fair Value, Assets and Liabilities Measured on Recurring Basis [Abstract] Fair Value Measurements, Recurring and Nonrecurring [Table] Fair Value Measurements, Recurring and Nonrecurring [Table] 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 3 [Member] Fair Value, Inputs, Level 3 [Member] 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, 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 Liabilities Obligations, Fair Value Disclosure Commitments and Contingencies Disclosure [Abstract] Loss Contingencies [Table] Loss Contingencies [Table] 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] Loss Contingency Nature [Axis] Loss Contingency Nature [Axis] Loss Contingency, Nature [Domain] Loss Contingency, Nature [Domain] Insurance Claims [Member] Insurance Claims [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] 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] Commitments and Contingencies [Line Items] Loss Contingencies [Line Items] 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 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 Other guarantees, description Guarantor Obligations, Origin and Purpose Schedule Of Property And Equipment, Net Property, Plant and Equipment [Table Text Block] Schedule of Long-term Debt Instruments [Table] Unsecured Debt [Member] Unsecured Debt [Member] 4.875% Senior Notes [Member] Four Point Eight Seven Five Percent Senior Notes [Member] FourPointEightSevenFivePercentSeniorNotes [Member] 7.625% Senior Notes [Member] Seven Point Six Two Five Percent Senior Notes [Member] SevenPointSixTwoFivePercentSeniorNotes [Member] Senior Notes [Member] Senior Notes [Member] Capital Lease Obligations [Member] Capital Lease Obligations [Member] Loans Payable [Member] Loans Payable [Member] Debt instrument, interest rate Debt Instrument, Interest Rate, Stated Percentage Debt instrument, weighted average interest rate Debt, Weighted Average Interest Rate Earnings Per Share [Abstract] 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 Activity Schedule of Common Stock Outstanding Roll Forward [Table Text Block] Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Abstract] Assets measured at fair value on a nonrecurring basis Assets, Fair Value Disclosure, Nonrecurring Liabilities measured at fair value on a nonrecurring basis Liabilities, Fair Value Disclosure, Nonrecurring Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Plan Name [Axis] Plan Name [Axis] Plan Name [Domain] Plan Name [Domain] ESPPs [Member] ESPPs [Member] ESPPs [Member] Award Type [Axis] Award Type [Axis] Award Type [Domain] Award Type [Domain] Employee Stock Purchase [Member] Employee Stock [Member] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Cash proceeds (in millions) Proceeds from Issuance of Shares under Incentive and Share-based Compensation Plans, Excluding Stock Options Number of common shares (in thousands) Share-based Compensation Arrangement by Share-based Payment Award, Shares Purchased for Award Weighted average price per share Share-based Compensation Arrangement by Share-based Payment Award, Per Share Weighted Average Price of Shares Purchased Weighted average fair value per share, grant date Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Exercise Price Risks and Uncertainties [Abstract] Concentrations of Risk Concentration Risk Disclosure [Text Block] 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] Accounts Receivable, Net of Allowance Loans, Notes, Trade and Other Receivables Disclosure [Text Block] Schedule of Indefinite-Lived Intangible Assets [Table] Schedule of Indefinite-Lived Intangible Assets [Table] 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] Business Acquisition [Axis] Business Acquisition [Axis] Business Acquisition, Acquiree [Domain] Business Acquisition, Acquiree [Domain] Acquisitions During 2013 [Member] Acquisitions During 2013 [Member] Acquisitions During 2013 [Member] Bottom Line Services [Member] Bottom Line Services [Member] Bottom Line Services [Member] Dynamic Tower [Member] Dynamic Tower [Member] Dynamic Tower [Member] Goodwill And Other Intangible Assets [Line Items] Goodwill And Other Intangible Assets [Line Items] Goodwill And Other Intangible Assets [Line Items] Intangible assets, explanation of significant additions Intangible Assets, Explanation of Significant Additions Purchase price consideration, adjustment Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Consideration Transferred Business combination, provisional information, initial accounting incomplete, nature of adjustments Business Combination, Provisional Information, Initial Accounting Incomplete, Nature of Adjustments Goodwill and intangible asset impairment, disposal group Goodwill and Intangible Asset Impairment Statement of Financial Position [Abstract] Balance Sheet Location [Axis] Balance Sheet Location [Axis] Balance Sheet Location [Domain] Balance Sheet Location [Domain] Contributed Shares [Member] Contributed Shares [Member] Contributed Shares [Member] Assets Assets [Abstract] Current assets: Assets, Current [Abstract] Cash and cash equivalents Cash and Cash Equivalents, at Carrying Value Accounts receivable, net of allowance Accounts Receivable, Net, Current Inventories Inventory, Net Current deferred tax assets, net Deferred Tax Assets, Net, Current Prepaid expenses and deposits Prepaid Expense, Current Other current assets Other Assets, Current Current assets of discontinued operations Assets of Disposal Group, Including Discontinued Operation, Current Total current assets Assets, Current Property and equipment, net Property, Plant and Equipment, Net Goodwill 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 Long-term assets of discontinued operations Assets of Disposal Group, Including Discontinued Operation, Noncurrent Total assets Assets Liabilities and Shareholders' Equity Liabilities and Equity [Abstract] Current liabilities: Liabilities, Current [Abstract] Current maturities of long-term debt Long-term Debt and Capital Lease Obligations, Current 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, net of current portion Business Acquisition, Contingent Consideration, at Fair Value, Noncurrent Long-term debt Long-term Debt and Capital Lease Obligations Long-term deferred tax liabilities, net Deferred Tax Liabilities, Net, Noncurrent Other liabilities Other Liabilities, Noncurrent Total liabilities Liabilities Commitments and Contingencies (See Note 17) 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 - 86,194,290 and 85,915,552 as of June 30, 2013 and December 31, 2012, respectively Common Stock, Value, Issued Capital surplus Additional Paid in Capital, Common Stock Contributed shares Other Additional Capital Retained earnings Retained Earnings (Accumulated Deficit) Accumulated other comprehensive loss Accumulated Other Comprehensive Income (Loss), Net of Tax Treasury stock, at cost; 9,467,286 shares as of both June 30, 2013 and December 31, 2012 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 Condensed Unaudited Financial Statements, Supplemental Guarantor Information [Abstract] Condensed Unaudited Financial Statements, Supplemental Guarantor Information [Abstract] Supplemental Guarantor Financial Information Condensed Financial Statements [Text Block] Unamortized debt discount and financing costs Net carrying amount of debt component Long-term Debt Carrying amount of equity component Debt Instrument, Convertible, Carrying Amount of Equity Component 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) Additions from new business combinations, non-amortizing intangible assets Indefinite-lived Intangible Assets, Acquired During Period Currency translation adjustments, non-amortizing intangible assets Indefinite-lived Intangible Assets, Translation Adjustments Other intangible assets, non-amortizing, ending balance Other intangible assets, amortizing, beginning balance Finite-Lived Intangible Assets, Net Additions from new business combinations, amortizing intangible assets Finite-lived Intangible Assets Acquired Amortization expense Amortization of Intangible Assets Currency translation adjustments, amortizing intangible assets Finite-Lived Intangible Assets, Translation Adjustments Other intangible assets, amortizing, ending balance Goodwill and other intangible assets, beginning balance Intangible Assets, Net (Including Goodwill) Goodwill and other intangible assets acquired Goodwill and other intangible assets acquired Goodwill and other intangible assets acquired Goodwill and other intangible assets, translation adjustments 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. Goodwill and other intangible assets, ending balance Business Combinations [Abstract] Acquisitions and Other Investments Business Combination Disclosure [Text Block] Multiemployer Plans [Abstract] Other Retirement Plans Pension and Other Postretirement Benefits Disclosure [Text Block] Commitments and Contingencies Commitments and Contingencies Disclosure [Text Block] Stock-based compensation expense Allocated Share-based Compensation Expense Income tax benefit from stock-based compensation Employee Service Share-based Compensation, Tax Benefit from Compensation Expense Excess tax benefit from stock-based compensation Excess Tax Benefit (Tax Deficiency) from Share-based Compensation, Operating Activities Concentration Risk [Table] Concentration Risk [Table] Concentration Risk Benchmark [Domain] Customer Concentration Risk [Member] Customer Concentration Risk [Member] Ten Largest Customers [Member] Ten Largest Customers [Member] Ten Largest Customers [Member] Concentration Risk [Line Items] Concentration Risk [Line Items] Revenues as a percent of total Number Of Customers Number Of Customers1 Number Of Customers Debt Debt Disclosure [Text Block] Available-for-sale Securities [Abstract] Gross cumulative unrealized (losses)/gains Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Aggregate Losses Auction rate securities, fair value Available-for-sale Securities, Continuous Unrealized Loss Position, Twelve Months or Longer, Fair Value Gross cumulative unrealized (losses)/gains Available-for-sale Securities, Gross Unrealized Gains Gross cumulative unrealized (losses)/gains Securities Available For Sale Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] 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 Schedule of Revenues from External Customers and Long-Lived Assets [Table] Schedule of Revenues from External Customers and Long-Lived Assets [Table] Geographical [Axis] Geographical [Axis] Segment, Geographical [Domain] Segment, Geographical [Domain] Foreign Operation [Member] Foreign Operation [Member] Foreign Operation [Member] UNITED STATES UNITED STATES Revenues from External Customers and Long-Lived Assets [Line Items] Revenues from External Customers and Long-Lived Assets [Line Items] Goodwill and other intangible assets, net Condensed Unaudited Consolidating Statements Of Operations And Comprehensive Income Schedule of Condensed Income Statement [Table Text Block] Condensed Unaudited Consolidating Balance Sheets Schedule of Condensed Balance Sheet [Table Text Block] Condensed Unaudited Consolidating Statements Of Cash Flows Schedule of Condensed Cash Flow Statement [Table Text Block] Schedule of Major Customer Revenue Concentration Schedule of Revenue by Major Customers by Reporting Segments [Table Text Block] Leases [Abstract] Lease Obligations Leases of Lessee Disclosure [Text Block] Schedule of Condensed Financial Statements [Table] Schedule of Condensed Financial Statements [Table] Legal Entity [Axis] Legal Entity [Axis] Entity [Domain] Entity [Domain] MasTec, Inc. [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] Costs of revenue, excluding depreciation and amortization Interest expense (income), net Other expense (income) , net Provision for (benefit from ) income taxes (Loss) income 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 Goodwill and Other Intangible Assets Goodwill and Intangible Assets Disclosure [Text Block] Discontinued Operations and Disposal Groups [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] 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] 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] Schedule of Segment Reporting Information, by Segment Schedule of Segment Reporting Information, by Segment [Table Text Block] Reconciliation of EBITDA to Income from Continuing Operations Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table Text Block] Schedule of Revenue and Long-Lived Assets by Geographical Area Schedule of Revenue from External Customers and Long-Lived Assets, by Geographical Areas [Table Text Block] Schedule of Significant Customers, Revenue Concentration Statement of Cash Flows [Abstract] 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] Inventories [Member] Inventories [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] Cash flows from operating activities: Net Cash Provided by (Used in) Operating Activities [Abstract] Net income Adjustments to reconcile net income to net cash provided by (used in) operating activities: Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] Excess tax benefit from stock-based compensation Non-cash interest expense Amortization of Financing Costs and Discounts Write-off of unamortized financing costs on redeemed debt Write off of Deferred Debt Issuance Cost 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 Gain on sale of property and equipment Gain (Loss) on Sale of Property Plant Equipment Gain on sale of available for sale securities Impairment charges and loss on disposal, discontinued operations Discontinued Operation, Provision for Loss (Gain) on Disposal, before Income Tax Impairment charges and loss on disposal, discontinued operations Discontinued Operation, Gain (Loss) from Disposal of Discontinued Operation, before Income Tax 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 (used in) provided by 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 Capital expenditures Payments to Acquire Productive Assets Proceeds from sale of property and equipment Proceeds from Sale of Property, Plant, and Equipment Proceeds from disposal of business, net Proceeds from Divestiture of Businesses, Net of Cash Divested Investments in life insurance policies Payments to Acquire Life Insurance Policies Net cash (used in) provided by investing activities Net Cash Provided by (Used in) Investing Activities Cash flows provided by (used in) financing activities: Net Cash Provided by (Used in) Financing Activities [Abstract] Proceeds from issuance of 4.875% senior notes Proceeds from Unsecured Notes Payable Repayment of 7.625% senior notes Repayments of Unsecured Debt Proceeds from credit facility Proceeds from Long-term Lines of Credit Repayments of credit facility Repayments of Long-term Lines of Credit Repayments of other borrowings Repayments of Other Long-term Debt Proceeds from (repayment of) 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 for debt extinguishment, call premiums Payments of Debt Extinguishment Costs Payments of financing costs Payments of Financing Costs Net cash provided by (used in) financing activities Net Cash Provided by (Used in) Financing Activities Net decrease in cash 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 Supplemental cash flow information: Supplemental Cash Flow Information [Abstract] Interest paid Interest Paid Income taxes paid, net of refunds Income Taxes Paid, Net Non-cash transaction, value of consideration received Other Significant Noncash Transaction, Value of Consideration Received Supplemental disclosure of non-cash investing and financing 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 Value of shares withheld for payroll taxes under share-based compensation arrangements Adjustments Related to Tax Withholding for Share-based Compensation 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 Property, Plant and Equipment, Gross Less accumulated depreciation and amortization Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment Property and equipment, net Restricted Stock [Member] Restricted Stock [Member] 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 Receivable Type [Axis] Receivable Type [Axis] Receivable Type [Domain] Receivable Type [Domain] Financing Receivable [Member] Financing Receivable [Member] Trade Accounts Receivable [Member] Trade Accounts Receivable [Member] Asset-backed Securities, Securitized Loans and Receivables [Member] Asset-backed Securities, Securitized Loans and Receivables [Member] Discontinued operations description Disposal Group, Including Discontinued Operation, Description and Timing of Disposal Disposal date Disposal Date Net sale price 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 Estimated losses on disposal, other Gain (Loss) on Sale of Assets and Asset Impairment Charges Discontinued operations accounts receivable, additional disclosures Accounts Receivable, Additional Narrative Disclosure Financing receivable Financing Receivable, Net Financing receivable, non-current portion Notes, Loans and Financing Receivable, Net, Noncurrent Depreciation and amortization, discontinued operations Depreciation and Amortization, Discontinued Operations Operating Leases [Line Items] Operating Leased Assets [Line Items] Operating leases, rent expense Operating Leases, Rent Expense, Net 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 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] Auction rate securities, fair value Litigation Status [Axis] Litigation Status [Axis] Litigation Status [Domain] Litigation Status [Domain] Resolved Litigation [Member] Resolved Litigation [Member] Resolved Litigation [Member] Pending Litigation [Member] Pending Litigation [Member] Litigation Case [Axis] Litigation Case [Axis] Litigation Case Type [Domain] Litigation Case Type [Domain] Sintel [Member] Sintel [Member] Sintel [Member] Sunlight Entities Somerset [Member] Sunlight General Somerset [Member] Sunlight General Somerset [Member] Sunlight Entities Morris [Member] Sunlight General Morris [Member] Sunlight General Morris [Member] Sunlight Entities Sussex [Member] Sunlight General Sussex [Member] Sunlight General Sussex [Member] City Of Marathon [Member] City Of Marathon [Member] City Of Marathon [Member] Minimum [Member] Minimum [Member] Legal proceeding, plaintiff Loss Contingency, Name of Plaintiff Litigation, settlement agreement, terms Loss Contingency, Settlement Agreement, Terms Litigation, date of dismissal Loss Contingency, Date of Dismissal Pending or threatened litigation, loss in period Loss Contingency, Loss in Period Contract price, pending litigation Contracts Receivable, Claims and Uncertain Amounts Damages sought Loss Contingency, Damages Sought, Value Stock Options Outstanding [Roll Forward] Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward] Options outstanding, vested, beginning balance Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number Options exercised Options canceled/forfeited Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period Options outstanding, 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, 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] Options exercisable Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number Options exercisable, weighted average exercise price Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price Options exercisable, weighted average remaining contractual life Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term Options outstanding, vested, weighted average remaining contractual life Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term Options outstanding, aggregate intrinsic value, vested Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value Options exercisable, aggregate intrinsic value, vested Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value Contractual and other interest expense Interest Expense, Debt, Excluding Amortization Accretion of senior convertible note discount Accretion Expense Amortization of 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 Schedule of Business Acquisitions, by Acquisition [Table] Schedule of Business Acquisitions, by Acquisition [Table] Big Country [Member] Big Country [Member] Data Cell [Member] Data Cell [Member] Data Cell [Member] Long-term Debt [Member] Long-term Debt [Member] Business Acquisition [Line Items] Business Acquisition [Line Items] Effective date of acquisition Business Acquisition, Effective Date of Acquisition Business combination, percentage of voting interests acquired Business Acquisition, Percentage of Voting Interests Acquired Business combination, name of acquired entity Business Acquisition, Name of Acquired Entity Acquisition payments in cash Business Acquisition, Cost of Acquired Entity, Cash Paid Earn-out period Earn Out Period Earn out period. Estimated fair value of contingent consideration Business Acquisition, Contingent Consideration, at Fair Value Debt assumed Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Financial Liabilities Business combination, contingent consideration arrangements, basis for amount Business Combination, Contingent Consideration Arrangements, Basis for Amount Business combination, description of acquired entity Business Acquisition, Description of Acquired Entity Business combination, goodwill recognized, description Business Combination, Goodwill Recognized, Description Business combination, goodwill, tax deductible amount Business Acquisition, Purchase Price Allocation, Goodwill, Expected Tax Deductible Amount 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 Business combination, contingent consideration arrangements, range of outcomes, maximum unlimited Business Combination, Contingent Consideration Arrangements, Range of Outcomes, Maximum Unlimited Acquisition costs Business Combination, Acquisition Related Costs Segments and Operations by Geographic Area Segment Reporting Disclosure [Text Block] Carrying Amount [Member] Carrying (Reported) Amount, Fair Value Disclosure [Member] Senior notes Notes Payable, Fair Value Disclosure Senior convertible notes Convertible Debt, Fair Value Disclosures Earnings Per Share [Table] Schedule of Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Table] Total Convertible Debt [Member] Total Convertible Debt [Member] Total Convertible Debt [Member] Antidilutive Securities [Axis] Antidilutive Securities [Axis] Antidilutive Securities, Name [Domain] Antidilutive Securities, Name [Domain] Earnings Per Share [Line Items] Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items] Computation of earnings per share, methodology Earnings Per Share Reconciliation Disclosure Anti-dilutive common stock equivalents, shares Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount Stock repurchase program, amount authorized Stock Repurchase Program, Authorized Amount Treasury stock acquired, shares Treasury stock acquired, value Treasury Stock, Value, Acquired, Cost Method Debt instrument, convertible, number of conversion shares, principal amount Debt Instrument, Convertible, Number of Equity Instruments Net Income (Loss) Attributable to MasTec, Basic Net Income (Loss) Available to Common Stockholders, Basic [Abstract] Net income from continuing operations Income (Loss) from Continuing Operations Attributable to Parent Net (loss) income 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] Basic weighted average shares outstanding Earnings (Loss) Per Share, Basic Basic earnings per share, continuing operations Basic (loss) earnings per share, discontinued operations Net Income (Loss) Attributable to MasTec, 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 Incremental Common Shares Attributable to Contingently Issuable 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 (loss) earnings per share, discontinued operations Statement of Other Comprehensive Income [Abstract] Net income Foreign currency translation (losses) gains Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Gain (Loss) Arising During Period, Net of Tax Changes in value of available for sale securities (See Note 7 - Securities Available For Sale): Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax [Abstract] Unrealized (losses) gains on available for sale securities, before tax Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, before Tax Reversal and reclassification adjustments: Other Comprehensive Income (Loss) Available for Sale Securities, Reversal and Reclassification Adjustments [Abstract] Other Comprehensive Income (Loss) Available for Sale Securities, Reversal and Reclassification Adjustments [Abstract] Reversal of unrealized gains, net, on sold or redeemed securities Reclassification adjustment for unrealized gains on sold securities, recognized in earnings Other Comprehensive Income (Loss), Reclassification Adjustment for Sale of Securities Included in Net Income, before Tax Benefit from income taxes Other Comprehensive Income (Loss), Available-for-sale Securities, Tax Changes in value of available for sale securities, net of tax Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax Comprehensive income Comprehensive income (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 Document and Entity Information [Abstract] Document and Entity Information [Abstract] 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 Current Reporting Status Entity Current Reporting Status 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 (Provision for) benefit from income taxes Discontinued Operation, Tax Effect of Discontinued Operation (Loss) income from discontinued operations, net of tax Maximum [Member] Maximum [Member] Other Comprehensive Income (Loss) [Member] Other Comprehensive Income (Loss) [Member] Auction rate securities, sold at par Available-for-sale Securities, Sold at Par 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 Deferred tax liabilities, tax deferred income Deferred Tax Liabilities, Tax Deferred Income Auction-rate securities yield rate Investment Interest Rate Cumulative credit and other losses recognized in earnings Contractual maturities of securities, in years Available For Sale Securities Maturity Date In Years Available For Sale Securities Maturity Date In Years Property and Equipment, Net Property, Plant and Equipment Disclosure [Text Block] Finite-Lived Intangible Assets Acquired as Part of Business Combination [Table] Finite-Lived Intangible Assets Acquired as Part of Business Combination [Table] Big Country [Member] 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] Backlog [Member] Order or Production Backlog [Member] Trade Names [Member] Trade Names [Member] Noncompete Agreements [Member] Noncompete Agreements [Member] Customer Relationships [Member] Customer Relationships [Member] Acquired Finite-Lived Intangible Assets [Line Items] Acquired Finite-Lived Intangible Assets [Line Items] Intangible assets Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangibles Finite-lived intangible asset, useful life Acquired Finite-lived Intangible Assets, Weighted Average Useful Life Finite-lived intangible assets, gross Finite-Lived Intangible Assets, Gross Fair Value Disclosures [Abstract] Asset Class [Axis] Asset Class [Axis] Fair Value by Asset Class [Domain] Fair Value by Asset Class [Domain] Cash Surrender Value [Member] Cash Surrender Value [Member] Total Senior And Senior Convertible Notes [Member] Total Senior And Senior Convertible Notes [Member] Total Senior And Senior Convertible Notes [Member] DirectStar Business [Member] Fair value measurements, valuation techniques Fair Value Measurements, Valuation Techniques Loss on disposal and impairment charges, discontinued operations Accounting Policies [Abstract] Business, Basis of Presentation and Significant Accounting Policies Organization, Consolidation, Basis of Presentation, Business Description and Accounting Policies [Text Block] Ec Source Services Llc [Member] Ec Source Services Llc [Member] EC Source Services LLC [Member] 2013 Incentive Plan [Member] 2013 Incentive Plan [Member] 2013 Incentive Plan [Member] 2003 Plans [Member] 2003 Plans [Member] 2003 Plans [Member] EC Source Share Award [Member] EC Source Share Award [Member] EC Source Share Award [Member] 2011 ESPP [Member] 2011 ESPP [Member] 2011 ESPP [Member] 2013 Bargaining Units ESPP [Member] 2013 Bargaining Units ESPP [Member] 2013 Bargaining Units ESPP [Member] Share-based compensation plan, description Share-based Compensation Arrangement by Share-based Payment Award, Description Number of shares authorized under plan 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 Employee Service Share-based Compensation, Nonvested Awards, Total Compensation Cost Not yet Recognized, Period for Recognition Total intrinsic value of vested awards Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Total Fair Value Share-based compensation, terms of award Share-based Compensation Arrangement by Share-based Payment Award, Terms of Award Share-based compensation, fair value measurement, significant assumptions Options granted in period Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross 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 Share-based compensation, purchase price of common stock, percent of fair value Share-based Compensation Arrangement by Share-based Payment Award, Purchase Price of Common Stock, Percent Share-based compensation, fair value assumptions, method used Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Method Used New Accounting Pronouncements and Changes in Accounting Principles [Abstract] Recently issued accounting standards, not adopted as of June 30, 2013 Description of New Accounting Pronouncements Not yet Adopted [Text Block] Recently adopted accounting pronouncements New Accounting Pronouncements and Changes in Accounting Principles [Text Block] Conversion price per share Debt Instrument, Convertible, Conversion Price Number of conversion shares, principal amount 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 Debt Instrument Redemption Period [Axis] Debt Instrument Redemption Period [Axis] Information about timing of debt redemption features under terms of the debt agreement. Debt Instrument Redemption Period [Domain] Debt Instrument Redemption Period [Domain] [Domain] for Information about timing of debt redemption features under terms of the debt agreement. Non-Call Redemption [Member] Debt Instrument Redemption Period Two [Member] Period two representing second most current period of debt redemption features under terms of the debt agreement. Equity Claw Redemption [Member] Debt Instrument Redemption Period One [Member] Period one representing most current period of debt redemption features under terms of the debt agreement. Extinguishment of Debt [Axis] Extinguishment of Debt [Axis] Extinguishment of Debt, Type [Domain] Extinguishment of Debt, Type [Domain] Debt Repurchased [Member] Debt Repurchased [Member] Debt Repurchased [Member] Debt Redeemed [Member] Debt Redeemed [Member] Debt Redeemed [Member] Debt instrument, issuance date Debt Instrument, Issuance Date Debt instrument, maturity date Debt Instrument, Maturity Date Debt instrument, payment terms Debt Instrument, Payment Terms Debt instrument, date of first required payment Debt Instrument, Date of First Required Payment Debt instrument, guarantees Debt Instrument, Collateral Debt instrument, call feature description Debt Instrument, Call Feature Debt instrument, earliest call date Debt Instrument, Call Date, Earliest Debt instrument, redemption description Debt Instrument Redemption Description Description of debt redemption features under terms of the debt agreement Debt instrument, redemption period end date Debt Instrument Redemption Period End Date End date of debt instrument redemption period in CCYY-MM-DD format. Debt instrument, redemption price percentage of principal amount Debt Instrument Redemption Price Percentage Percentage price of original principal amount of debt at which debt can be redeemed by the issuer Debt instrument, redemption using proceeds from equity issuance, percentage of principal amount available for redemption Debt Instrument Redemption Price Percentage of Principal Amount Redeemed Percentage of principal amount of debt redeemed Debt instrument, restrictive covenants Debt Instrument, Restrictive Covenants Deferred financing costs Debt Issuance Cost Repurchase and redemption of notes, amount Payments for debt extinguishment, call premiums Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table] Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table] Property, Plant and Equipment, Type [Axis] Property, Plant and Equipment, Type [Domain] Segment Reporting, Reconciling Item [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 Depreciation Amortization Line of Credit [Member] Line of Credit [Member] Revolving Credit Facility [Member] Revolving Credit Facility [Member] Line of credit facility, expiration date Line of Credit Facility, Expiration 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 Total debt Debt and Capital Lease Obligations Less current maturities Current assets Net investments in and advances to (from) consolidated affilliates 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 Income Tax Disclosure [Abstract] Income Taxes Income Tax Disclosure [Text Block] Acquisitions During 2012 [Member] Acquisitions During 2012 [Member] Acquisitions During 2012 [Member] Pro forma information, description Business Acquisition, Pro Forma Information, Description Pro forma revenue Business Acquisition, Pro Forma Revenue Pro forma net income Business Acquisition, Pro Forma Net Income (Loss) Aquiree 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 Auction Rate Securites Redeemed and Sold Available-for-sale Securities [Table Text Block] Fair Value Of Auction Rate Securities By Security Type And Underlying Credit Rating Fair Value, Concentration of Risk [Table Text Block] Auction Rate Securities Reconciliation Of Cost Basis To Fair Value Schedule of Available-for-sale Securities Reconciliation [Table Text Block] Optima Network Services Inc [Member] Optima Network Services Inc [Member] Optima Network Services Inc [Member] Panama Subsidiary [Member] Panama Subsidiary [Member] Panama Subsidiary [Member] Beneficial Owner [Member] Beneficial Owner [Member] 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] Business combination, provisional information, initial accounting incomplete, items Business Combination, Provisional Information, Initial Accounting Incomplete, Items Change in range of outcomes, contingent consideration, reasons Business Combination, Contingent Consideration Arrangements, Change in Range of Outcomes, Contingent Consideration, Liability, Reasons 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 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 Discontinued Operations Disposal Groups, Including Discontinued Operations, Disclosure [Text Block] Accrued Liabilities [Member] Accrued Liabilities [Member] Accounts Receivable [Member] Go Green [Member] Go Green [Member] Go Green [Member] Business combination, provisional information, initial accounting incomplete, adjustment, financial liabilities Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Financial Liabilities Business combination, provisional information, initial accounting incomplete, adjustment, financial assets Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Financial Assets Goodwill, purchase price allocation adjustment Goodwill, Allocation Adjustment 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] Accumulated Translation Adjustment [Member] Accumulated Translation Adjustment [Member] 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 Changes in fair value recorded in earnings Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings Changes in fair value recorded in other comprehensive income Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Other Comprehensive Income (Loss) Redemption or sale of securities Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales 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 Payments of contingent consideration Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements Valuation changes recorded in earnings Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings Additions from new business combinations Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Purchases Currency translation adjustments included in other comprehensive income Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Other Comprehensive Income (Loss) Ending balance Schedule of Business Acquisitions, Consideration Paid and Purchase Price Allocation Schedule of Business Acquisitions, by Acquisition [Table Text Block] Schedule of Finite-Lived Intangible Assets Acquired as Part of Business Combination Schedule of Finite-Lived Intangible Assets Acquired as Part of Business Combination [Table Text Block] Business Acquisition, Pro Forma Information Business Acquisition, Pro Forma Information [Table Text Block] All Other Segments [Member] All Other Segments [Member] Corporate [Member] Corporate [Member] Intersegment Elimination [Member] Intersegment Elimination [Member] Depreciation Amortization 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] Multiemployer Plan Name [Axis] Multiemployer Plan Name [Axis] Multiemployer Plan Name [Domain] Multiemployer Plan Name [Domain] 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, withdrawal liability Multiemployer Plans, Withdrawal Obligation Fair Value of Financial Instruments Fair Value Disclosures [Text Block] 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 Interest Expense, Net Schedule of Other Nonoperating Expense, by Component [Table Text Block] Schedule of Revenue by Major Customers, by Reportable Segment [Table] Schedule of Revenue by Major Customers, by Reporting Segments [Table] At T [Member] At T [Member] AT & T [Member] Direct Tv [Member] Direct Tv [Member] Direct TV [Member] Enbridge [Member] [Domain] Enbridge [Member] [Domain] Enbridge [Member] Entity-wide revenue, major customer, percentage Entity-Wide Revenue, Major Customer, Percentage Segment reporting, disclosure of major customers Segment Reporting, Disclosure of Major Customers Workforce Subject to Collective Bargaining Arrangements [Member] Workforce Subject to Collective Bargaining Arrangements [Member] Multiemployer Plans, Postretirement Benefit [Member] Multiemployer Plans, Postretirement Benefit [Member] Entity number of employees during period Entity Number Of Employees During Period Number of employees employed by the entity over a period of time Multiemployer plan, period contributions Multiemployer Plan, Period Contributions Debt instrument, covenant compliance Debt Instrument, Covenant Compliance Withdrawal from Multiemployer Defined Benefit Plan [Member] Withdrawal from Multiemployer Defined Benefit Plan [Member] 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 Multiemployer Plans, Underfunded Status, Description Multi-employer pension plan withdrawal obligation, description Loss Contingency, Management's Assessment and Process Related Party Transactions [Abstract] Schedule of Related Party Transactions, by Related Party [Table] Schedule of Related Party Transactions, by Related Party [Table] Related Customer [Member] Related Customer [Member] Related Customer [Member] Management [Member] Management [Member] Board of Directors Chairman [Member] Board of Directors Chairman [Member] Chief Executive Officer [Member] Chief Executive Officer [Member] Postretirement Benefits, Type of Deferred Compensation [Axis] Postretirement Benefits, Type of Deferred Compensation [Axis] 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 Payments for life insurance policies Estimated fair value of life insurance policies Cash Surrender Value of Life Insurance 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] Amortizing intangible assets Finite-Lived Intangible Assets, Net [Abstract] Gross carrying amount Less: accumulated amortization Finite-Lived Intangible Assets, Accumulated Amortization Amortizing intangible assets, net Non-amortizing intangible assets Indefinite-Lived Intangible Assets (Excluding Goodwill) [Abstract] Non-amortizing intangible assets Goodwill and other intangible assets Capital Leases [Line Items] Capital Leased Assets [Line Items] Assets held under capital lease, net Capital Leases, Balance Sheet, Assets by Major Class, Net Schedule of Multiemployer Plan Contributions and Covered Employees Schedule of Costs of Retirement Plans [Table Text Block] Related Party Transactions Related Party Transactions Disclosure [Text Block] Common Stock Activity Stockholders' Equity Note Disclosure [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 Other long-term assets Disposal Group, Including Discontinued Operation, Other Noncurrent Assets Assets of discontinued operations Liabilities Liabilities [Abstract] Accounts payable and accrued expenses Disposal Group, Including Discontinued Operation, Accrued Liabilities Other current liabilities Disposal Group, Including Discontinued Operation, Other Current Liabilities Liabilities, Fair Value Disclosure, Nonrecurring Liabilities of discontinued operations Business Combinations Policy Business Combinations Policy [Policy Text Block] 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 Employee Stock Purchase Plan Activity Schedule of Share-based Compensation, Employee Stock Purchase Plan, Activity [Table Text Block] Summary of Tax Benefits from Stock-Based Compensation Schedule of Compensation Cost for Share-based Payment Arrangements, Allocation of Share-based Compensation Costs by Plan [Table Text Block] Other Current Assets [Member] Other Current Assets [Member] Deferred Income Tax Charges [Member] Deferred Income Tax Charges [Member] Backlog [Member] total acquired finite lived intangible assets [Member] total acquired finite lived intangible assets [Member] Purchase price consideration: Business Acquisition, Cost of Acquired Entity, Purchase Price [Abstract] Estimated fair value of contingent consideration Business Acquisition, Cost of Acquired Entity, Liabilities Incurred Total consideration transferred Business Combination, Consideration Transferred 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 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 Earnings Per Share Earnings Per Share [Text Block] Effective income tax rate, continuing operations Effective Income Tax Rate, Continuing Operations Quarterly financial information, income taxes Quarterly Financial Information, Income Taxes, Significant Variation, Description 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 A 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 A 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 Fair Values of Financial Assets And Liabilities Measured On A Nonrecurring Basis Fair Value Measurements, Nonrecurring [Table Text Block] 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 Line of credit interest rate Line of Credit Facility, Interest Rate at Period End Letters of credit issued Line of credit facility, remaining borrowing capacity Line of Credit Facility, Remaining 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 Unused credit facility fee Line of Credit Facility, Unused Capacity, Commitment Fee Percentage Net cash provided by (used in) operating activities (Repayments of) proceeds from book overdrafts 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. Total Dilutive Convertible Debt [Member] Total Dilutive Convertible Debt [Member] Total Dilutive Convertible Debt [Member] Dilutive Securities [Abstract] Weighted Average Number Diluted Shares Outstanding Adjustment [Abstract] Convertible debt, outstanding principal amount Business, Basis of Presentation and Significant Accounting Policies [Table] Business, Basis of Presentation and Significant Accounting Policies [Line Items] Nature of the Business Nature of Operations [Text Block] Basis of Presentation Basis of Accounting, Policy [Policy Text Block] Principles of Consolidation Consolidation, Policy [Policy Text Block] Management Estimates Use of Estimates, Policy [Policy Text Block] Reclassifications Reclassification, Policy [Policy Text Block] Significant Accounting Policies Significant Accounting Policies [Text Block] New Accounting Pronouncements New Accounting Pronouncements, Policy [Policy Text Block] Earnings Per Share Policy, Diluted Earnings Per Share Policy, Diluted Fair Value of Financial Instruments Fair Value of Financial Instruments, Policy [Policy Text Block]