XML 87 R64.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Debt Obligations - Additional Information (Detail) (USD $) | 12 Months Ended | 0 Months Ended
--- | --- | ---
Dec. 31, 2014 | Oct. 30, 2013
Line of Credit Facility [Line Items] |  |
Letters of credit and bank guarantees under the credit facility | $ 336,700,000 us-gaap_LettersOfCreditOutstandingAmount |
Amount borrowed under the credit facility | 68,793,000 us-gaap_LineOfCredit |
Credit facility available for revolving loans or issuing new letters of credit | 919,500,000 us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity |
U S Dollar [Member] |  |
Line of Credit Facility [Line Items] |  |
Letters of credit and bank guarantees under the credit facility | 225,100,000 us-gaap_LettersOfCreditOutstandingAmount / us-gaap_CurrencyAxis = currency_USD |
Canadian Dollars [Member] |  |
Line of Credit Facility [Line Items] |  |
Amount borrowed under the credit facility | 68,793,000 us-gaap_LineOfCredit / us-gaap_CurrencyAxis = pwr_CanadianDollarsMember |
Canada and Australia Dollar [Member] |  |
Line of Credit Facility [Line Items] |  |
Letters of credit and bank guarantees under the credit facility | 111,600,000 us-gaap_LettersOfCreditOutstandingAmount / us-gaap_CurrencyAxis = pwr_CanadaAndAustraliaDollarMember |
Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Reduction in Quanta's maximum funded debt and maximum senior debt by all cash and cash equivalents in excess of amount | 25,000,000 pwr_ReductionInCompanyMaximumFundedDebtAndMaximumSeniorDebtByAllCashAndCashEquivalentsInExcessOfAmount / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
Percentage of capital stock of direct foreign subsidiaries required to secure credit agreement | 65.00%pwr_PercentageOfCapitalStockOfDirectForeignSubsidiariesRequiredToSecureCreditAgreement / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
Amount of availability under the credit agreement and/or cash and cash equivalents on hand that must be present to allow for cash payments of dividends and stock repurchases | 100,000,000 pwr_AvailabilityAmountToAllowDividendsAndStockRepurchases / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
Cross default provisions with debt instruments exceeding this amount | 75,000,000 pwr_CrossDefaultProvisions / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Senior secured revolving credit facility |  | 700,000,000 us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember
Reduction in Quanta's maximum funded debt and maximum senior debt by all cash and cash equivalents in excess of amount |  | 25,000,000 pwr_ReductionInCompanyMaximumFundedDebtAndMaximumSeniorDebtByAllCashAndCashEquivalentsInExcessOfAmount / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember
Prior and After April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Senior secured revolving credit facility | 1,325,000,000 us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity / us-gaap_DebtInstrumentAxis = pwr_PeriodThreeMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
Maturity date of senior secured revolving credit facility | Oct. 30, 2018 |
Option to increase revolving commitments under the credit agreement | 300,000,000 pwr_OptionToIncreaseRevolvingCommitmentsUnderCreditAgreement / us-gaap_DebtInstrumentAxis = pwr_PeriodThreeMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
Prior to April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Commitment fee | 0.20%us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage / us-gaap_DebtInstrumentAxis = pwr_PeriodOneMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
Minimum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Commitment fee |  | 0.20%us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember
Minimum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Commitment fee | 0.20%us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember |
Maximum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Commitment fee |  | 0.45%us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember
Maximum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Commitment fee | 0.40%us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember |
Standby Letters of Credit [Member] | Prior to April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 1.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_CreditFacilityAxis = us-gaap_StandbyLettersOfCreditMember / us-gaap_DebtInstrumentAxis = pwr_PeriodOneMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
Standby Letters of Credit [Member] | Minimum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 1.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_CreditFacilityAxis = us-gaap_StandbyLettersOfCreditMember / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember
Standby Letters of Credit [Member] | Minimum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 1.125%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_CreditFacilityAxis = us-gaap_StandbyLettersOfCreditMember / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember |
Standby Letters of Credit [Member] | Maximum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 2.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_CreditFacilityAxis = us-gaap_StandbyLettersOfCreditMember / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember
Standby Letters of Credit [Member] | Maximum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 2.125%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_CreditFacilityAxis = us-gaap_StandbyLettersOfCreditMember / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember |
Performance Letters of Credit [Member] | Prior to April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 0.75%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_CreditFacilityAxis = pwr_PerformanceLettersOfCreditMember / us-gaap_DebtInstrumentAxis = pwr_PeriodOneMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
Performance Letters of Credit [Member] | Minimum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 0.675%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_CreditFacilityAxis = pwr_PerformanceLettersOfCreditMember / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember |
Performance Letters of Credit [Member] | Maximum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 1.275%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_CreditFacilityAxis = pwr_PerformanceLettersOfCreditMember / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember |
Excess of Eurocurrency Rate Applicable to Domestic Borrowings Only [Member] | Prior to April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 1.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_DebtInstrumentAxis = pwr_PeriodOneMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_VariableRateAxis = pwr_ExcessOfEurocurrencyRateApplicableToDomesticBorrowingsOnlyMember |
Excess of Eurocurrency Rate Applicable to Domestic Borrowings Only [Member] | Minimum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 1.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember / us-gaap_VariableRateAxis = pwr_ExcessOfEurocurrencyRateApplicableToDomesticBorrowingsOnlyMember
Excess of Eurocurrency Rate Applicable to Domestic Borrowings Only [Member] | Minimum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 1.125%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember / us-gaap_VariableRateAxis = pwr_ExcessOfEurocurrencyRateApplicableToDomesticBorrowingsOnlyMember |
Excess of Eurocurrency Rate Applicable to Domestic Borrowings Only [Member] | Maximum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 2.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_VariableRateAxis = pwr_ExcessOfEurocurrencyRateApplicableToDomesticBorrowingsOnlyMember
Excess of Eurocurrency Rate Applicable to Domestic Borrowings Only [Member] | Maximum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 2.125%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_VariableRateAxis = pwr_ExcessOfEurocurrencyRateApplicableToDomesticBorrowingsOnlyMember |
Excess of Base Rate Domestic Borrowings Only [Member] | Prior to April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 0.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_DebtInstrumentAxis = pwr_PeriodOneMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_VariableRateAxis = pwr_ExcessOfBaseRateDomesticBorrowingsOnlyMember |
Excess of Base Rate Domestic Borrowings Only [Member] | Minimum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 0.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember / us-gaap_VariableRateAxis = pwr_ExcessOfBaseRateDomesticBorrowingsOnlyMember
Excess of Base Rate Domestic Borrowings Only [Member] | Minimum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 0.125%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember / us-gaap_VariableRateAxis = pwr_ExcessOfBaseRateDomesticBorrowingsOnlyMember |
Excess of Base Rate Domestic Borrowings Only [Member] | Maximum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 1.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_VariableRateAxis = pwr_ExcessOfBaseRateDomesticBorrowingsOnlyMember
Excess of Base Rate Domestic Borrowings Only [Member] | Maximum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 1.125%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_VariableRateAxis = pwr_ExcessOfBaseRateDomesticBorrowingsOnlyMember |
Excess of Euro Currency Rate of Credit Agreement for Foreign Borrowings [Member] | Prior to April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 1.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_DebtInstrumentAxis = pwr_PeriodOneMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_VariableRateAxis = pwr_ExcessOfEuroCurrencyRateOfCreditAgreementForForeignBorrowingsMember |
Excess of Euro Currency Rate of Credit Agreement for Foreign Borrowings [Member] | Minimum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 1.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember / us-gaap_VariableRateAxis = pwr_ExcessOfEuroCurrencyRateOfCreditAgreementForForeignBorrowingsMember
Excess of Euro Currency Rate of Credit Agreement for Foreign Borrowings [Member] | Minimum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 1.125%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember / us-gaap_VariableRateAxis = pwr_ExcessOfEuroCurrencyRateOfCreditAgreementForForeignBorrowingsMember |
Excess of Euro Currency Rate of Credit Agreement for Foreign Borrowings [Member] | Maximum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 2.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_VariableRateAxis = pwr_ExcessOfEuroCurrencyRateOfCreditAgreementForForeignBorrowingsMember
Excess of Euro Currency Rate of Credit Agreement for Foreign Borrowings [Member] | Maximum [Member] | Effective April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 2.125%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_DebtInstrumentAxis = pwr_PeriodTwoMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember / us-gaap_VariableRateAxis = pwr_ExcessOfEuroCurrencyRateOfCreditAgreementForForeignBorrowingsMember |
Excess of Federal Funds Rate [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 0.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_VariableRateAxis = pwr_ExcessOfFederalFundsRateMember |
Excess of Federal Funds Rate [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 0.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_VariableRateAxis = pwr_ExcessOfFederalFundsRateMember
Excess of Euro Currency Rate [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate | 1.00%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_VariableRateAxis = pwr_ExcessOfEuroCurrencyRateMember |
Excess of Euro Currency Rate [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 1.00%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_VariableRateAxis = pwr_ExcessOfEuroCurrencyRateMember
Swing Line Loans [Member] | Prior and After April 1, 2014 [Member] | Second Amendment [Member] | U S Dollar [Member] |  |
Line of Credit Facility [Line Items] |  |
Senior secured revolving credit facility | 50,000,000 us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity / us-gaap_CurrencyAxis = currency_USD / us-gaap_DebtInstrumentAxis = pwr_PeriodThreeMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_BridgeLoanMember |
Swing Line Loans [Member] | Prior and After April 1, 2014 [Member] | Second Amendment [Member] | Canadian Dollars [Member] |  |
Line of Credit Facility [Line Items] |  |
Senior secured revolving credit facility | 30,000,000 us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity / us-gaap_CurrencyAxis = pwr_CanadianDollarsMember / us-gaap_DebtInstrumentAxis = pwr_PeriodThreeMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_BridgeLoanMember |
Swing Line Loans [Member] | Prior and After April 1, 2014 [Member] | Second Amendment [Member] | Australian Dollars [Member] |  |
Line of Credit Facility [Line Items] |  |
Senior secured revolving credit facility | 20,000,000 us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity / us-gaap_CurrencyAxis = currency_AUD / us-gaap_DebtInstrumentAxis = pwr_PeriodThreeMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_BridgeLoanMember |
Revolving Loans and Letter of Credit in Alternative Currencies [Member] | Prior and After April 1, 2014 [Member] | Second Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Senior secured revolving credit facility | $ 400,000,000 us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity / us-gaap_DebtInstrumentAxis = pwr_PeriodThreeMember / us-gaap_LineOfCreditFacilityAxis = pwr_RevolvingLoansAndLetterOfCreditInAlternativeCurrenciesMember / us-gaap_LongtermDebtTypeAxis = pwr_SecondAmendmentMember |
Performance Letters of Credit [Member] | Minimum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 0.75%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LineOfCreditFacilityAxis = pwr_PerformanceLettersOfCreditMember / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MinimumMember
Performance Letters of Credit [Member] | Maximum [Member] | First Amendment [Member] |  |
Line of Credit Facility [Line Items] |  |
Debt Instrument Basis Spread On Variable Rate |  | 1.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / us-gaap_LineOfCreditFacilityAxis = pwr_PerformanceLettersOfCreditMember / us-gaap_LongtermDebtTypeAxis = pwr_FirstAmendmentMember / us-gaap_RangeAxis = us-gaap_MaximumMember

X
- Definition Amount of availability under the credit agreement and/or cash and cash equivalents on hand that must be present to allow for cash payments of dividends and stock repurchases. + References No definition available. + Details
Name: | pwr_AvailabilityAmountToAllowDividendsAndStockRepurchases
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cross-default provisions. + References No definition available. + Details
Name: | pwr_CrossDefaultProvisions
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Option to increase revolving commitments under credit agreement. + References No definition available. + Details
Name: | pwr_OptionToIncreaseRevolvingCommitmentsUnderCreditAgreement
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of capital stock of direct foreign subsidiaries required to secure credit agreement. + References No definition available. + Details
Name: | pwr_PercentageOfCapitalStockOfDirectForeignSubsidiariesRequiredToSecureCreditAgreement
Namespace Prefix: | pwr_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Reduction in Quanta's maximum funded debt and maximum senior debt by all cash and cash equivalents in excess of amount. + References No definition available. + Details
Name: | pwr_ReductionInCompanyMaximumFundedDebtAndMaximumSeniorDebtByAllCashAndCashEquivalentsInExcessOfAmount
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 20, 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Date the credit facility terminates, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=pwr_PerformanceLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_StandbyLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CurrencyAxis=currency_USD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CurrencyAxis=pwr_CanadaAndAustraliaDollarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CurrencyAxis=pwr_CanadianDollarsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pwr_PeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pwr_PeriodThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=pwr_PerformanceLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=pwr_RevolvingLoansAndLetterOfCreditInAlternativeCurrenciesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=pwr_FirstAmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=pwr_SecondAmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_BridgeLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfBaseRateDomesticBorrowingsOnlyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfEurocurrencyRateApplicableToDomesticBorrowingsOnlyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfEuroCurrencyRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfEuroCurrencyRateOfCreditAgreementForForeignBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfFederalFundsRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |