2.4.0.82413406 - Disclosure - Stock-Based Compensation and Other Employee Benefit Plans (Summary of Tax Benefits from Stock-Based Compensation) (Detail)truefalsefalse1false USDfalsefalse$D2013Q2QTDhttp://www.sec.gov/CIK0000015615duration2013-04-01T00:00:002013-06-30T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$D2012Q2http://www.sec.gov/CIK0000015615duration2012-04-01T00:00:002012-06-30T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$D2013Q2YTDhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false USDfalsefalse$D2012Q2YTDhttp://www.sec.gov/CIK0000015615duration2012-01-01T00:00:002012-06-30T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 1us-gaap_ShareBasedCompensationAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_AllocatedShareBasedCompensationExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse43000004300000USD$falsetruefalse2truefalsefalse12000001200000USD$falsetruefalse3truefalsefalse66170006617000USD$falsetruefalse4truefalsefalse21710002171000USD$falsetruefalsexbrli:monetaryItemTypemonetaryRepresents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph 64 -Subparagraph b -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 14.F) -URI http://asc.fasb.org/extlink&oid=6793087&loc=d3e301413-122809 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph g(1) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section F false23false 2us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpenseus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse18000001800000falsefalsefalse2truefalsefalse400000400000falsefalsefalse3truefalsefalse33000003300000falsefalsefalse4truefalsefalse900000900000falsefalsefalsexbrli:monetaryItemTypemonetaryThe total recognized tax benefit related to compensation cost for equity-based payment arrangements recognized in income during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph g(1) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. false24false 2us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivitiesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse800000800000[1]USD$falsetruefalse2truefalsefalse00[1]USD$falsetruefalse3truefalsefalse14620001462000[1]USD$falsetruefalse4truefalsefalse7000070000[1]USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of excess tax benefit (tax deficiency) that arises when compensation cost from non-qualified equity-based compensation recognized on the entity's tax return exceeds (is less than) compensation cost from equity-based compensation recognized in financial statements. Excess tax benefit (tax deficiency) reduces (increases) net cash provided by operating activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=6576910&loc=d3e11374-113907 false21Excess tax benefits, which represent cash flows from tax deductions in excess of the tax effect of compensation expense recognized for stock options exercised and vested restricted shares, are classified as financing cash flows in the Company’s condensed unaudited consolidated statements of cash flows.falseStock-Based Compensation and Other Employee Benefit Plans (Summary of Tax Benefits from Stock-Based Compensation) (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mastec.com/role/StockBasedCompensationAndOtherEmployeeBenefitPlansSummaryOfTaxBenefitsFromStockBasedCompensationDetail44