2.4.0.82413402 - Disclosure - Stock-Based Compensation and Other Employee Benefit Plans (Narrative) (Detail)truefalseIn Millions, except Share data, unless otherwise specifiedfalse1false USDfalsefalse$D2013Q2QTDhttp://www.sec.gov/CIK0000015615duration2013-04-01T00:00:002013-06-30T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$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:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://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$5false USDtruefalseD2013Q2LastDay_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMemberhttp://www.sec.gov/CIK0000015615duration2013-06-29T00:00:002013-06-30T00:00:00falsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$6false USDtruefalse$D2013Q2QTD_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMemberhttp://www.sec.gov/CIK0000015615duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$7false USDtruefalse$D2012Q2_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMemberhttp://www.sec.gov/CIK0000015615duration2012-04-01T00:00:002012-06-30T00:00:00falsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$8false USDtruefalse$D2013Q2YTD_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$9false USDtruefalse$D2012Q2YTD_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMemberhttp://www.sec.gov/CIK0000015615duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$10false truefalseD2013Q2YTD_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMember_us-gaap_PlanNameAxis_mtz_A2013IncentivePlanMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalse2013 Incentive Plan [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_A2013IncentivePlanMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli011false truefalseI2013Q2_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMember_us-gaap_PlanNameAxis_mtz_A2003PlansMemberhttp://www.sec.gov/CIK0000015615instant2013-06-30T00:00:000001-01-01T00:00:00falsefalse2003 Plans [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_A2003PlansMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli012false truefalseD2013Q2QTD_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMember_us-gaap_PlanNameAxis_mtz_ECSourceShareAwardMemberhttp://www.sec.gov/CIK0000015615duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseEC Source Share Award [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_ECSourceShareAwardMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli013false truefalseD2013Q2YTD_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMember_us-gaap_PlanNameAxis_mtz_ECSourceShareAwardMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseEC Source Share Award [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_ECSourceShareAwardMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMember14false truefalseD2013Q2YTD_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockMember_us-gaap_PlanNameAxis_mtz_A2011ESPPMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalse2011 ESPP [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_A2011ESPPMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseEmployee Stock Purchase [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli015false truefalseI2011Q3ESPP_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockMember_us-gaap_PlanNameAxis_mtz_A2011ESPPMemberhttp://www.sec.gov/CIK0000015615instant2011-07-02T00:00:000001-01-01T00:00:00falsefalse2011 ESPP [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_A2011ESPPMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseEmployee Stock Purchase [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli016false truefalseD2013Q2YTD_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockMember_us-gaap_PlanNameAxis_mtz_A2013BargainingUnitsEsppMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalse2013 Bargaining Units ESPP [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_A2013BargainingUnitsEsppMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseEmployee Stock Purchase [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockMemberus-gaap_AwardTypeAxisexplicitMember17false truefalseI2013Q1_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockMember_us-gaap_PlanNameAxis_mtz_A2013BargainingUnitsEsppMemberhttp://www.sec.gov/CIK0000015615instant2013-03-31T00:00:000001-01-01T00:00:00falsefalse2013 Bargaining Units ESPP [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_A2013BargainingUnitsEsppMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseEmployee Stock Purchase [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli018false truefalseD2013Q2YTD_us-gaap_AwardTypeAxis_us-gaap_EmployeeStockMember_us-gaap_PlanNameAxis_mtz_ESPPsMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseESPPs [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_ESPPsMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseEmployee Stock Purchase [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockMemberus-gaap_AwardTypeAxisexplicitMembernumberStandardhttp://www.xbrl.org/2003/instancepurexbrli019false truefalseD2013Q2YTD_us-gaap_AwardTypeAxis_us-gaap_RestrictedStockMember_us-gaap_PlanNameAxis_mtz_ECSourceShareAwardMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_InvestorMemberhttp://www.sec.gov/CIK0000015615duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseInvestor [Member]us-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InvestorMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberfalsefalseEC Source Share Award [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldimtz_ECSourceShareAwardMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMember1true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDescriptionus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00the MasTec, Inc. 2013 Incentive Plan (the "2013 Incentive Plan"), which became effective in May 2013, the 2003 Employee Stock Incentive Plan, as amended (the "2003 Employee Plans"), and the Amended and Restated 2003 Stock Incentive Plan for Non-Employees, as amended (the "2003 Non-Employee Plan, and, together with the 2003 Employee Plan, the "2003 Plans"). As a result of the effectiveness of the 2013 Incentive Plan, no additional awards will be made under the 2003 Plans. As of June 30, 2013, the 2013 Incentive Plan had 4,929,697 shares available for issuance, including 2,629,697 shares that were available for issuance under the 2003 Plans at the time they were terminated.falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00During the second quarter of 2013, the Company entered into an agreement with the previous owners of EC Source to establish an incentive program for its employees and granted 350,000 restricted share awards (the “EC Source Share Award”).falsefalsefalse14falsefalsefalse00The MasTec, Inc. 2011 Employee Stock Purchase Plan (the “2011 ESPP" and, together with the 2013 Bargaining Units ESPP, the "ESPPs"), which became effective on July 1, 2011, also provides for the issuance of up to 1,000,000 shares of MasTec, Inc. common stock for eligible employees, of which 805,278 shares remained available for issuance as of June 30, 2013. falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00 In March 2013, the Company authorized the issuance of up to 1,000,000 new shares of MasTec, Inc. common stock to eligible employees under the MasTec, Inc. Bargaining Units Employee Stock Purchase Plan (the "2013 Bargaining Units ESPP"). The 2013 Bargaining Units ESPP became effective on July 1, 2013.falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00The Company's ESPPs allow qualified employees to purchase MasTec, Inc. common stock at 85% of the fair market value of the common stock at the lower of (i) the date of commencement of the offering period or (ii) the last day of the exercise period, as defined in the plan document. Through June 30, 2013, the offering period was an annual period, composed of four interim exercise periods. Effective July 1, 2013, the offering period became quarterly.falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringGeneral descriptive information regarding an arrangement under which employees and directors receive: (a) awards of equity shares, equity share options, or other equity instruments; or (b) the entity incurs liabilities to them: (1) in amounts based, at least in part, on the price of the entity's shares or other equity instruments; or (2) that require or may require settlement by issuance of the entity's shares. Such an arrangement is usually provided to employees and directors to compensate them, provide performance incentives to them, and to attract or retain their services. May also include pertinent information particular to a plan that is not elsewhere specified in the taxonomy.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -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, 65 -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 Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph a -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 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false03false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15truefalsefalse10000001000000falsefalsefalse16falsefalsefalse00falsefalsefalse17truefalsefalse10000001000000falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph a -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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false14false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse57349755734975falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse57349755734975falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10truefalsefalse49296974929697falsefalsefalse11truefalsefalse26296972629697falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14truefalsefalse805278805278falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false15false 4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptionsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse2050000020.5USD$falsetruefalse6truefalsefalse2050000020.5USD$falsetruefalse7falsefalsefalse00falsefalsefalse8truefalsefalse2050000020.5USD$falsetruefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate unrecognized cost of share-based awards, other than options, made to employees under an equity-based compensation plan, that have yet to vest.No definition available.false26false 4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse002 yearsfalsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average period over which unrecognized compensation is expected to be recognized for equity-based compensation plans, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false07false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValueus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse4000000.4falsefalsefalse7truefalsefalse19000001.9falsefalsefalse8truefalsefalse11000001.1falsefalsefalse9truefalsefalse21000002.1falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total fair value of equity-based awards for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -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 c(2) -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. false28false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8truefalsefalse425246425246falsefalsefalse9truefalsefalse175004175004falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12truefalsefalse350000350000falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(1) -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 b(2)(c) -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. false19false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermsOfAwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00In the event that shares granted under the EC Source Share Award are forfeited prior to vesting, the former owners of EC Source will be re-issued the pro-rata percentage of the former owners' contributed shares to total shares awarded under the EC Source share grant. falsefalsefalsexbrli:stringItemTypestringDescription of pertinent provisions of equity-based compensation awards that have actual or potential impact upon the company's financial statements.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph a -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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false010false 4us-gaap_FairValueMeasurementsSignificantAssumptionsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00As of June 30, 2013, the Company did not anticipate the occurrence of any such forfeitures.falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of significant assumptions used by management to measure fair value.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 false011false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGrossus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesGross number of share options (or share units) granted during the period.No definition available.false112false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValueus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse22000002.2falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse57000005.7falsefalsefalse4truefalsefalse3000000.3falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total accumulated difference between fair values of underlying shares on dates of exercise and exercise price on options which were exercised (or share units converted) into shares during the reporting period under the plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -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 c(2) -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. false213false 4us-gaap_EmployeeServiceShareBasedCompensationCashReceivedFromExerciseOfStockOptionsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse15000001.5USD$falsetruefalse2truefalsefalse2000000.2USD$falsetruefalse3truefalsefalse34000003.4USD$falsetruefalse4truefalsefalse3000000.3USD$falsetruefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate proceeds received by the entity during the annual period from exercises of stock or unit options and conversion of similar instruments granted under equity-based payment arrangements.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (j) -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 i -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. false214false 4us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercentus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsetruefalse00falsefalsefalse2falsetruefalse00falsefalsefalse3falsetruefalse00falsefalsefalse4falsetruefalse00falsefalsefalse5falsetruefalse00falsefalsefalse6falsetruefalse00falsefalsefalse7falsetruefalse00falsefalsefalse8falsetruefalse00falsefalsefalse9falsetruefalse00falsefalsefalse10falsetruefalse00falsefalsefalse11falsetruefalse00falsefalsefalse12falsetruefalse00falsefalsefalse13falsetruefalse00falsefalsefalse14falsetruefalse00falsefalsefalse15falsetruefalse00falsefalsefalse16falsetruefalse00falsefalsefalse17falsetruefalse00falsefalsefalse18truetruefalse0.850.85falsefalsefalse19falsetruefalse00falsefalsefalsenum:percentItemTypepurePurchase price of common stock expressed as a percentage of its fair market value.No definition available.false015false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse00falsefalsefalse15falsefalsefalse00falsefalsefalse16falsefalsefalse00falsefalsefalse17falsefalsefalse00falsefalsefalse18falsefalsefalse00The fair value of purchases under the Company's ESPP is estimated using the Black-Scholes option-pricing valuation model.falsefalsefalse19falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringFor each plan, identification of the award pricing model or other valuation method used in calculating the weighted average fair values disclosed. The model is also used to calculate the compensation expense that is shown within the balance sheet, income statement, and cash flow. Examples of valuation techniques are lattice models (binomial model), closed-form models (Black-Scholes-Merton formula), and a Monte Carlo simulation technique. Fair value is the amount at which an asset or liability could be bought or incurred or sold or settled in a current transaction between willing parties, that is, other than in a forced or liquidation sale. May include disclosures about the assumptions underlying application of the method selected.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(1) -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 e(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. false0falseStock-Based Compensation and Other Employee Benefit Plans (Narrative) (Detail) (USD $)HundredThousandsNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.mastec.com/role/StockBasedCompensationAndOtherEmployeeBenefitPlansNarrativeDetail1915